Closed khteh closed 3 years ago
Duplicate of #17
I don't understand how reading your README could solve the issue!
/open
Not the readme, the release notes. Which in turn bring you to this page.
@sindresorhus Would you consider releasing a hybrid version (ESM + common js)? I use typescript but I have to release my project in hybrid mode for compatibility. But v8 breaks the possibility because the code can't call read-pkg-up in the commonjs way anymore.
Using
node:latest
bumps into this error:https://stackoverflow.com/questions/66938218/node-js-read-pkg-up-bumps-into-error-err-require-esm-must-use-import-to-load