V3#2
Merged
Merged
Conversation
- native ES modules: type=module, exports map, explicit .js import extensions, engines node >=22.12.0 - TypeScript 7 (tsgo) with es2024 target, nodenext resolution, verbatimModuleSyntax and explicit types: [node] - tests migrated from mocha/chai/nyc to node:test + node:assert/strict with built-in coverage (test-coverage / test-lcov scripts) - lint/format switched from eslint to oxlint + oxfmt - dev dependencies reduced to @types/node, oxlint, oxfmt, typescript - @types/node moved out of runtime dependencies - version bumped to 3.0.0
The migration commit had pre-set 3.0.0, which would make the usual 'npm version major' release flow skip to 4.0.0. Align back to the published 2.0.1 so the release flow itself produces 3.0.0 with its tag and commit.
- ip-regex -> node:net isIP/isIPv4/isIPv6 (verified identical behavior, including zone-id acceptance on IPv6) - bigint-buffer -> local little-endian bigint<->buffer helpers (src/bigint-le.ts, exported from the barrel); the package is an abandoned addon whose prebuilt bindings fail to load on modern Node, printing a stderr warning and silently falling back to JS anyway The package now has zero runtime dependencies.
Master's 2.0.1 release replaced the vulnerable bigint-buffer package with a local src/bigint-buffer implementation - the v3 branch had done the same independently (src/bigint-le). Resolution keeps master's implementation (stricter: validates size, sign and overflow) under the v3 ESM layout: explicit .js import extensions, spec files importing via the package barrel, and the v3 dependency-free package.json.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.