Repository navigation
Conversation
Overall package sizeSelf size: 3.01 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | pprof-format | 2.4.1 | 924.37 kB | 924.37 kB | | source-map | 0.8.0 | 185.66 kB | 185.66 kB | | node-gyp-build | 4.8.4 | 13.86 kB | 13.86 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
szegedi
reviewed
Nov 30, 2026
BREAKING CHANGE: The package requires Node.js 18 or later.
The gts settings let TypeScript accept calls to Array.prototype.toSorted. These calls throw a TypeError on Node.js 18.
BridgeAR
force-pushed
the
BridgeAR/2026-11-27-es2022-target
branch
from
November 30, 2026 14:37
04d14db to
56651c6
Compare
BridgeAR
marked this pull request as ready for review
November 30, 2026 14:50
BridgeAR
requested review from
IlyasShabi,
nsavoire and
r1viollet
as code owners
November 30, 2026 14:50
IlyasShabi
approved these changes
Nov 30, 2026
This branch has not been deployed
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.
What does this PR do?
Emit ES2022 and declare Node.js 18 as the minimum runtime. The engine change is breaking for Node.js 16.
Motivation
Node.js 18 is the minimum in the README and release matrix. ES2022 keeps native class fields in the published JavaScript.
Additional Notes
Both targets produced identical pprof and OpenTelemetry bytes for two captured NestJS wall profiles.
Values are CPU ms per profile, ES2020 → ES2022, on macOS arm64. Seven alternating trials per build warmed up with 18 replays and timed 16 each. The means exclude the fastest and slowest trials. Trial ranges overlapped for every workload.
How to test the change?
Run
npm testandnpm run lint. On Node 18, rebuild the addon and run the pprof serializer, OpenTelemetry serializer, and source mapper suites.