Migrate to ESM #681

Closed
opened 2026-02-17 12:16:36 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @filipw01 on GitHub (Jun 9, 2025).

Require can be now used in the oldest supported LTS version so there should be nothing stopping from an esm migration
https://socket.dev/blog/require-esm-backported-to-node-js-20

Originally created by @filipw01 on GitHub (Jun 9, 2025). Require can be now used in the oldest supported LTS version so there should be nothing stopping from an esm migration https://socket.dev/blog/require-esm-backported-to-node-js-20
Author
Owner

@ljharb commented on GitHub (Jun 9, 2025):

ESM is slower, less instrumentable, and has less features than CJS, so it's still not an obvious benefit. (also i think you meant node-semver, not the semver spec - ie, wrong repo)

@ljharb commented on GitHub (Jun 9, 2025): ESM is slower, less instrumentable, and has less features than CJS, so it's still not an obvious benefit. (also i think you meant node-semver, not the semver spec - ie, wrong repo)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/semver#681