Skip to content

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

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: v5
Choose a base branch
from
Open

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

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 4, 2024

This PR contains the following updates:

Package Type Update Change Age Confidence
node (source) volta major 16.15.1 -> 22.18.0 age confidence
node (source) engines major >=16.x <=16.16 -> >=16.x <=22.18 age confidence
@types/node (source) devDependencies major 17.0.41 -> 22.17.2 age confidence
node final major 17.9.1-alpine -> 22.18.0-alpine age confidence

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 - At any time (no schedule defined), 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.

Copy link
Contributor

coderabbitai bot commented Nov 4, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Join our Discord community for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@renovate renovate bot force-pushed the renovate/node-22.x branch from 0de28fb to a7cbd47 Compare November 5, 2024 04:07
@renovate renovate bot force-pushed the renovate/node-22.x branch 4 times, most recently from e79bc30 to 3bdebfa Compare November 26, 2024 07:55
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from f39230e to 498f900 Compare December 3, 2024 21:04
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from af2d475 to 66f370c Compare December 11, 2024 10:08
@renovate renovate bot force-pushed the renovate/node-22.x branch 3 times, most recently from 02c200b to e41bf08 Compare January 4, 2025 05:52
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from b4fba88 to 8bb38ba Compare January 13, 2025 21:02
@renovate renovate bot force-pushed the renovate/node-22.x branch from 8bb38ba to 4ebe9c6 Compare January 16, 2025 01:27
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from 6f7a2c3 to a77e605 Compare January 29, 2025 04:17
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from 8e1bffa to e090e83 Compare February 5, 2025 00:11
@renovate renovate bot force-pushed the renovate/node-22.x branch from e090e83 to ba229fe Compare February 14, 2025 23:53
@renovate renovate bot changed the title chore(deps): update node.js to v22 chore(deps): update dependency @types/node to v22 Feb 20, 2025
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from 3859807 to c022f43 Compare February 28, 2025 22:04
@renovate renovate bot force-pushed the renovate/node-22.x branch 4 times, most recently from c362613 to b600bb0 Compare March 3, 2025 20:36
@renovate renovate bot force-pushed the renovate/node-22.x branch 4 times, most recently from bada0e1 to 11077ee Compare May 21, 2025 23:14
@renovate renovate bot force-pushed the renovate/node-22.x branch 6 times, most recently from f74b042 to 63b86a2 Compare May 30, 2025 19:54
@renovate renovate bot force-pushed the renovate/node-22.x branch 2 times, most recently from 10b0459 to d3d0993 Compare June 10, 2025 08:02
@renovate renovate bot force-pushed the renovate/node-22.x branch from d3d0993 to b24d544 Compare June 16, 2025 15:04
@renovate renovate bot force-pushed the renovate/node-22.x branch 3 times, most recently from dec73c2 to 6b4a89f Compare June 25, 2025 16:38
@renovate renovate bot force-pushed the renovate/node-22.x branch 4 times, most recently from 71e2e41 to 9b01f69 Compare July 10, 2025 20:28
@renovate renovate bot force-pushed the renovate/node-22.x branch 4 times, most recently from a5b414a to bec793b Compare July 20, 2025 10:09
@renovate renovate bot force-pushed the renovate/node-22.x branch 3 times, most recently from 66d4209 to 78de7ff Compare August 4, 2025 15:30
@renovate renovate bot force-pushed the renovate/node-22.x branch from 78de7ff to 36e2630 Compare August 8, 2025 17:42
@renovate renovate bot force-pushed the renovate/node-22.x branch from 36e2630 to bc6fe09 Compare August 15, 2025 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant