-
-
Notifications
You must be signed in to change notification settings - Fork 241
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
🛠 Tooling: Add test that CJS require() works (not just ESM import) #153
Comments
Hello 👋🏼 We are affected by release version Wanted to inform that we got report using |
Hey @BatuhanW! First of all, sorry for breaking your (and @askoufis's) builds. That was a miss on my part. A workaround that should work across package managers in the case of a dependency breaking, including a deep dependency-of-a-dependency, is using an
I can reproduce your issue with npm:
Adding |
#157 pins this package's If there are any other issues, please do file a new issue on this repo and I'd be happy1 to take a look. Thanks all! Footnotes
|
Hey @JoshuaKGoldberg it seems the version |
Bug Report Checklist
main
branch of the repository.Overview
This library is meant to support both CommonJS (CJS /
require()
) and ECMAScript Modules (ESM /import
) entry points:node-emoji/package.json
Lines 30 to 35 in 6714e21
But, per #151, it's possible for a change to make it in that breaks just CJS. We should add in some kind of end-to-end/integration test to make sure that CJS isn't broken.
Additional Info
No response
The text was updated successfully, but these errors were encountered: