Skip to content

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

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 20, 2025

This PR contains the following updates:

Package Type Update Change Age Confidence
node (source) major 20 -> 22 age confidence
@types/node (source) devDependencies major 20.14.15 -> 22.16.5 age confidence
node final major 20-alpine -> 22-alpine age confidence
node stage major 20-alpine -> 22-alpine age confidence

Release Notes

nodejs/node (node)

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.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Mar 20, 2025
Copy link
Contributor

github-actions bot commented Mar 20, 2025

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-inspector/action 5.0.9-alpha-20250719010515-23b2fdad05b801a5e69455bcf1dbc214cc6185b1 npm ↗︎ unpkg ↗︎
@graphql-inspector/cli 5.0.9-alpha-20250719010515-23b2fdad05b801a5e69455bcf1dbc214cc6185b1 npm ↗︎ unpkg ↗︎
@graphql-inspector/audit-command 5.0.9-alpha-20250719010515-23b2fdad05b801a5e69455bcf1dbc214cc6185b1 npm ↗︎ unpkg ↗︎
@graphql-inspector/coverage-command 6.1.3-alpha-20250719010515-23b2fdad05b801a5e69455bcf1dbc214cc6185b1 npm ↗︎ unpkg ↗︎
@graphql-inspector/diff-command 5.0.9-alpha-20250719010515-23b2fdad05b801a5e69455bcf1dbc214cc6185b1 npm ↗︎ unpkg ↗︎
@graphql-inspector/introspect-command 5.0.9-alpha-20250719010515-23b2fdad05b801a5e69455bcf1dbc214cc6185b1 npm ↗︎ unpkg ↗︎
@graphql-inspector/similar-command 5.0.9-alpha-20250719010515-23b2fdad05b801a5e69455bcf1dbc214cc6185b1 npm ↗︎ unpkg ↗︎
@graphql-inspector/validate-command 5.0.9-alpha-20250719010515-23b2fdad05b801a5e69455bcf1dbc214cc6185b1 npm ↗︎ unpkg ↗︎
@graphql-inspector/core 6.3.0-alpha-20250719010515-23b2fdad05b801a5e69455bcf1dbc214cc6185b1 npm ↗︎ unpkg ↗︎

Copy link
Contributor

github-actions bot commented Mar 20, 2025

💻 Website Preview

The latest changes are available as preview in: https://pr-2870.graphql-inspector.pages.dev

@renovate renovate bot force-pushed the renovate/node-22.x branch from 2b9eb44 to 4e89734 Compare March 21, 2025 11:41
@renovate renovate bot force-pushed the renovate/node-22.x branch from 4e89734 to 6ce4507 Compare March 24, 2025 13:41
@renovate renovate bot force-pushed the renovate/node-22.x branch from 6ce4507 to 83f8561 Compare March 27, 2025 06:37
@renovate renovate bot force-pushed the renovate/node-22.x branch from 83f8561 to ebc21b4 Compare April 1, 2025 05:49
@renovate renovate bot force-pushed the renovate/node-22.x branch from ebc21b4 to e49ae8d Compare April 1, 2025 13:38
@renovate renovate bot force-pushed the renovate/node-22.x branch from e49ae8d to 46b7aa7 Compare April 1, 2025 18:27
@renovate renovate bot force-pushed the renovate/node-22.x branch from 46b7aa7 to 2142cf9 Compare April 2, 2025 19:06
@renovate renovate bot force-pushed the renovate/node-22.x branch from 2142cf9 to b81ebe2 Compare April 11, 2025 23:31
@renovate renovate bot force-pushed the renovate/node-22.x branch from b81ebe2 to 1119f18 Compare April 24, 2025 22:56
@renovate renovate bot force-pushed the renovate/node-22.x branch from 1119f18 to ffe02b6 Compare April 25, 2025 07:41
@renovate renovate bot force-pushed the renovate/node-22.x branch from ffe02b6 to b8877d8 Compare April 28, 2025 07:36
@renovate renovate bot force-pushed the renovate/node-22.x branch from b8877d8 to da4908e Compare May 5, 2025 20:12
@renovate renovate bot force-pushed the renovate/node-22.x branch from da4908e to 8704764 Compare May 6, 2025 00:29
@renovate renovate bot force-pushed the renovate/node-22.x branch from 0497171 to acefc0d Compare May 30, 2025 06:10
@renovate renovate bot force-pushed the renovate/node-22.x branch from acefc0d to 5305466 Compare May 30, 2025 17:55
@renovate renovate bot force-pushed the renovate/node-22.x branch from 5305466 to a2502b9 Compare May 30, 2025 21:16
@renovate renovate bot force-pushed the renovate/node-22.x branch from a2502b9 to 5498976 Compare June 6, 2025 19:31
@renovate renovate bot force-pushed the renovate/node-22.x branch from 5498976 to 15870be Compare June 10, 2025 02:41
@renovate renovate bot force-pushed the renovate/node-22.x branch from 15870be to ee2970e Compare June 16, 2025 14:00
@renovate renovate bot force-pushed the renovate/node-22.x branch from ee2970e to e0c9e3d Compare June 24, 2025 19:34
@renovate renovate bot force-pushed the renovate/node-22.x branch from e0c9e3d to fb1509d Compare June 28, 2025 10:31
@renovate renovate bot force-pushed the renovate/node-22.x branch from fb1509d to 2cb7f53 Compare July 1, 2025 21:42
@renovate renovate bot force-pushed the renovate/node-22.x branch from 2cb7f53 to a9eec64 Compare July 8, 2025 21:08
@renovate renovate bot force-pushed the renovate/node-22.x branch from a9eec64 to dec19c8 Compare July 9, 2025 01:35
@renovate renovate bot force-pushed the renovate/node-22.x branch from dec19c8 to dc47b57 Compare July 10, 2025 23:43
@renovate renovate bot force-pushed the renovate/node-22.x branch from dc47b57 to d844ad9 Compare July 15, 2025 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants