mirror of
https://github.com/semver/semver.git
synced 2026-07-11 03:53:53 -05:00
[GH-ISSUE #1123] Migrate to ESM #5798
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @filipw01 on GitHub (Jun 9, 2025).
Original GitHub issue: https://github.com/semver/semver/issues/1123
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
@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)