-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exports
field in package.json
breaks CJS imports
#181
Comments
thank you for your vigilance. looking into it now |
mirceanis
added a commit
that referenced
this issue
Jun 2, 2021
mirceanis
added a commit
that referenced
this issue
Jun 2, 2021
can you try again with version 5.5.2 ? Please reopen if it still looks broken |
🎉 This issue has been resolved in version 5.5.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Yes it works with 5.5.2, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
This change breaks CJS imports of the module:
To Reproduce
Try to import the module, for example
node -e "require('did-jwt')"
Expected behavior
Module can be imported
Desktop (please complete the following information):
Additional context
Using the
exports
field inpackage.json
doesn't imply the file uses ESM, see https://nodejs.org/dist/latest-v16.x/docs/api/packages.html#packages_exports.The text was updated successfully, but these errors were encountered: