v10.0.0
Breaking
- Require Node.js 12 (#181) 05320ac
- This package is now pure ESM. Please read this.
- You must now pass in the
importMeta
option someow
can find your package.json:
const cli = meow(…, {
+ importMeta: import.meta
});
Previously, meow
used some tricks to infer the location of your package.json, but this no longer works in ESM.