-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Breaking change in minor version #19
Comments
👍 this... The changes break a fresh husky/lint-staged/prettier setup for me and I can only imagine countless other things. |
@ljharb How is adding |
If you are on NPM, run: |
Yes. How is this braking. Adding exports should be backwards compatible |
example logs w/ lighthouse-ci failing, for what it's worth: https://github.com/jakejarvis/jarv.is/runs/618312068#step:6:9
edit: just saw a fix was pushed, thanks for the prompt response @RyanZim! |
If in fact every single possible require path in v2.1 is available in v2.2, then it’s not breaking. This includes:
Adding exports is intended to be a breaking change. Adding ESM after that is what’s not supposed to have to be breaking. |
It should now be resolved. Since there are 4 issues about this, I'm going to close this issue in favour of #20. Please comment there if 2.2.1 does not fix your issue. |
Thanks! at first glance in v2.2.0 there is no .mjs file.. |
Adding "exports" is a breaking change, and should not have happened in v2.2.0. Please release a new v2 that does not have "exports" and does not use type:module or ESM, and then rerelease as v3.
The text was updated successfully, but these errors were encountered: