-
Notifications
You must be signed in to change notification settings - Fork 248
Open
Description
Motivation ("The Why")
Many npm packages contain invalid ESM, which makes Node.js choke.
The situation is quite bad, as described in nodejs/node#46074.
Example
For example, the npm package @aws-amplify/ui-react
contains invalid ESM, see aws-amplify/amplify-ui#3155.
How
Current Behaviour
Npm packages can be published while containing invalid ESM.
Desired Behaviour
Validate npm packages before they are published: npm should reject any npm publish
that publishes invalid ESM.
References
For reference, https://publint.dev is a project that validates whether an npm package is published correctly.
neolectron, marvinhagemeister, Asifm95, cyco130, vchirikov and 5 morealaddin-add
Metadata
Metadata
Assignees
Labels
No labels