Skip to content

chore(deps): update node.js to v22 #349

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 1, 2025

This PR contains the following updates:

Package Type Update New value References Sourcegraph Change Age Confidence
node (source) engines major ^22.18.0 homepage, source code search for "node" ^14.0.0 -> ^22.18.0 age confidence
@types/node (source) devDependencies major 22.17.0 homepage, source code search for "@types/node" 12.20.55 -> 22.17.0 age confidence
node uses-with major 22.18.0 source code search for "node" 14.x -> 22.18.0 age confidence

Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.


Release Notes

nodejs/node (node)

v22.18.0

Compare Source

v22.17.1

Compare Source

v22.17.0: 2025-06-24, Version 22.17.0 'Jod' (LTS), @​aduh95

Compare Source

Notable Changes
⚠️ Deprecations
Instantiating node:http classes without new

Constructing classes like IncomingMessage or ServerResponse without the new
keyword is now discouraged. This clarifies API expectations and aligns with standard
JavaScript behavior. It may warn or error in future versions.

Contributed by Yagiz Nizipli in #​58518.

options.shell = "" in node:child_process

Using an empty string for shell previously had undefined behavior. This change
encourages explicit choices (e.g., shell: true or a shell path) and avoids
relying on implementation quirks.

Contributed by Antoine du Hamel and Renegade334 #​58564.

HTTP/2 priority signaling

The HTTP/2 prioritization API (e.g., stream.priority) is now deprecated due to
poor real-world support. Applications should avoid using priority hints and expect future removal.

Contributed by Matteo Collina and Antoine du Hamel #​58313.

✅ Features graduated to stable
assert.partialDeepStrictEqual()

This method compares only a subset of properties in deep object comparisons,
useful for flexible test assertions. Its stabilization means it's now safe for
general use and won't change unexpectedly in future releases.

Contributed by Ruben Bridgewater in #​57370.

Miscellaneous
  • dirent.parentPath
  • filehandle.readableWebStream()
  • fs.glob()
  • fs.openAsBlob()
  • node:readline/promises
  • port.hasRef()
  • readable.compose()
  • readable.iterator()
  • readable.readableAborted
  • readable.readableDidRead
  • Duplex.fromWeb()
  • Duplex.toWeb()
  • Readable.fromWeb()
  • Readable.isDisturbed()
  • Readable.toWeb()
  • stream.isErrored()
  • stream.isReadable()
  • URL.createObjectURL()
  • URL.revokeObjectURL()
  • v8.setHeapSnapshotNearHeapLimit()
  • Writable.fromWeb()
  • Writable.toWeb()
  • writable.writableAborted
  • Startup Snapshot API
  • ERR_INPUT_TYPE_NOT_ALLOWED
  • ERR_UNKNOWN_FILE_EXTENSION
  • ERR_UNKNOWN_MODULE_FORMAT
  • ERR_USE_AFTER_CLOSE

Contributed by James M Snell in
#​57513 and
#​58541.

Semver-minor features
🔧 fs.FileHandle.readableWebStream gets autoClose option

This gives developers explicit control over whether the file descriptor should
be closed when the stream ends. Helps avoid subtle resource leaks.

Contributed by James M Snell in #​58548.

🔧 fs.Dir now supports explicit resource management

This improves ergonomics around async iteration of directories. Developers can
now manually control when a directory is closed using .close() or with Symbol.asyncDispose.

Contributed by Antoine du Hamel in #​58206.

📊 http2 gains diagnostics channel: http2.server.stream.finish

Adds observability support for when a stream finishes. Useful for logging,
monitoring, and debugging HTTP/2 behavior without patching internals.

Contributed by Darshan Sen in #​58560.

🔐 Permissions: implicit allow-fs-read to entrypoint

Node.js permissions model now allows read access to the entry file by default.
It makes running permission-restricted apps smoother while preserving security.

Contributed by Rafael Gonzaga in #​58579.

🎨 util.styleText() adds 'none' style

This lets developers remove styling cleanly without hacks. Useful for overriding
inherited terminal styles when composing styled strings.

Contributed by James M Snell in #​58437.

🧑‍💻 Community updates
Commits

v22.16.0: 2025-05-21, Version 22.16.0 'Jod' (LTS), @​aduh95

Compare Source

Notable Changes
  • [c3ceaebb7a] - deps: update timezone to 2025b (Node.js GitHub Bot) #​57857
  • [5059a746ec] - doc: add dario-piotrowicz to collaborators (Dario Piotrowicz) #​58102
  • [c8ceaaf397] - (SEMVER-MINOR) doc: graduate multiple experimental apis (James M Snell) #​57765
  • [e21b37d9df] - (SEMVER-MINOR) esm: graduate import.meta properties (James M Snell) #​58011
  • [832640c35e] - (SEMVER-MINOR) esm: support top-level Wasm without package type (Guy Bedford) #​57610
  • [c510391d2f] - (SEMVER-MINOR) sqlite: add StatementSync.prototype.columns() (Colin Ihrig) #​57490
  • [5d1230bec0] - (SEMVER-MINOR) src: set default config as node.config.json (Marco Ippolito) #​57171
  • [30bb1ccbb0] - (SEMVER-MINOR) src: create THROW_ERR_OPTIONS_BEFORE_BOOTSTRAPPING (Marco Ippolito) #​57016
  • [0350c6f478] - (SEMVER-MINOR) src: add config file support (Marco Ippolito) #​57016
  • [e1d3a9e192] - (SEMVER-MINOR) src: add ExecutionAsyncId getter for any Context (Attila Szegedi) #​57820
  • [0ec912f452] - (SEMVER-MINOR) stream: preserve AsyncLocalStorage context in finished() (Gürgün Dayıoğlu) #​57865
  • [43490c8797] - (SEMVER-MINOR) util: add types.isFloat16Array() (Livia Medeiros) #​57879
  • [dda6ca9172] - (SEMVER-MINOR) worker: add worker.getHeapStatistics() (Matteo Collina) #​57888
Commits

Configuration

📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/node-22.x branch 3 times, most recently from cccaa4d to fdbe98c Compare March 8, 2025 09:11
@renovate renovate bot force-pushed the renovate/node-22.x branch from fdbe98c to 5a82aea Compare March 11, 2025 18:39
@renovate renovate bot force-pushed the renovate/node-22.x branch 4 times, most recently from c951818 to 7854659 Compare March 27, 2025 05:40
@renovate renovate bot force-pushed the renovate/node-22.x branch 3 times, most recently from f00e7f1 to 9588300 Compare April 2, 2025 20:37
@renovate renovate bot force-pushed the renovate/node-22.x branch from 9588300 to c3d83c6 Compare April 12, 2025 01:09
@renovate renovate bot changed the title chore(deps): update dependency @types/node to v22 chore(deps): update node.js to v22 Apr 21, 2025
@renovate renovate bot force-pushed the renovate/node-22.x branch 6 times, most recently from 012f37c to 8055622 Compare April 28, 2025 09:46
@renovate renovate bot force-pushed the renovate/node-22.x branch 8 times, most recently from c2354d7 to 8f1caa0 Compare May 8, 2025 14:44
@renovate renovate bot force-pushed the renovate/node-22.x branch 5 times, most recently from 8db940b to db113f7 Compare May 22, 2025 05:38
@renovate renovate bot force-pushed the renovate/node-22.x branch 5 times, most recently from b1fe86c to 268eba5 Compare May 30, 2025 20:48
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from 9a8a8f8 to 4f4381e Compare June 10, 2025 04:02
@renovate renovate bot force-pushed the renovate/node-22.x branch from 4f4381e to 75a61b3 Compare June 16, 2025 09:52
@renovate renovate bot force-pushed the renovate/node-22.x branch 3 times, most recently from 9cbbc2f to 82e3042 Compare June 28, 2025 11:26
@renovate renovate bot force-pushed the renovate/node-22.x branch 3 times, most recently from 6e9001f to 364ab78 Compare July 9, 2025 00:38
@renovate renovate bot force-pushed the renovate/node-22.x branch 3 times, most recently from 74b8d6b to aab51ad Compare July 16, 2025 05:00
@renovate renovate bot force-pushed the renovate/node-22.x branch from aab51ad to 522dd09 Compare July 19, 2025 04:10
@renovate renovate bot force-pushed the renovate/node-22.x branch 3 times, most recently from 8b17024 to 89a6297 Compare August 1, 2025 09:07
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from 88a978d to a8557a7 Compare August 10, 2025 15:43
@renovate renovate bot force-pushed the renovate/node-22.x branch from a8557a7 to a4f65bb Compare August 15, 2025 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants