Skip to content
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

Update Node.js to v18.20.5 #201

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

Update Node.js to v18.20.5 #201

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 27, 2022

This PR contains the following updates:

Package Type Update Change
node final minor 18.6.0-alpine -> 18.20.5-alpine

Release Notes

nodejs/node (node)

v18.20.5: 2024-11-12, Version 18.20.5 'Hydrogen' (LTS), @​aduh95

Compare Source

Notable Changes
  • [ac37e554a5] - esm: mark import attributes and JSON module as stable (Nicolò Ribaudo) #​55333
Commits

v18.20.4: 2024-07-08, Version 18.20.4 'Hydrogen' (LTS), @​RafaelGSS

Compare Source

This is a security release.

Notable Changes
Commits

v18.20.3: 2024-05-21, Version 18.20.3 'Hydrogen' (LTS), @​richardlau

Compare Source

Notable Changes

This release fixes a regression introduced in Node.js 18.19.0 where http.server.close() was incorrectly closing idle connections.

A fix has also been included for compiling Node.js from source with newer versions of Clang.

The list of keys used to sign releases has been synchronized with the current list from the main branch.

Updated dependencies
  • acorn updated to 8.11.3.
  • acorn-walk updated to 8.3.2.
  • ada updated to 2.7.8.
  • c-ares updated to 1.28.1.
  • corepack updated to 0.28.0.
  • nghttp2 updated to 1.61.0.
  • ngtcp2 updated to 1.3.0.
  • npm updated to 10.7.0. Includes a fix from [email protected] to limit the number of open connections npm/cli#7324.
  • simdutf updated to 5.2.4.
  • zlib updated to 1.3.0.1-motley-7d77fb7.
Commits

v18.20.2: 2024-04-10, Version 18.20.2 'Hydrogen' (LTS), @​RafaelGSS

Compare Source

This is a security release.

Notable Changes
  • CVE-2024-27980 - Command injection via args parameter of child_process.spawn without shell option enabled on Windows
Commits

v18.20.1: 2024-04-03, Version 18.20.1 'Hydrogen' (LTS), @​RafaelGSS

Compare Source

This is a security release.

Notable Changes
  • CVE-2024-27983 - Assertion failed in node::http2::Http2Session::~Http2Session() leads to HTTP/2 server crash- (High)
  • CVE-2024-27982 - HTTP Request Smuggling via Content Length Obfuscation - (Medium)
  • llhttp version 9.2.1
  • undici version 5.28.4
Commits

v18.20.0: 2024-03-26, Version 18.20.0 'Hydrogen' (LTS), @​richardlau

Compare Source

Notable Changes
Added support for import attributes

Support has been added for import attributes, to replace the old import
assertions syntax. This will aid migration by making the new syntax available
across all currently supported Node.js release lines.

This adds the with keyword which should be used in place of the previous
assert keyword, which will be removed in a future semver-major Node.js
release.

For example,

import "foo" assert { ... }

should be replaced with

import "foo" with { ... }

For more details, see

Contributed by Nicolò Ribaudo in #​51136
and Antoine du Hamel in #​50140.

Doc deprecation for dirent.path

Please use newly added dirent.parentPath instead.

Contributed by Antoine du Hamel in #​50976
and #​51020.

Experimental node-api feature flags

Introduces an experimental feature to segregate finalizers that affect GC state.
A new type called node_api_nogc_env has been introduced as the const version
of napi_env and node_api_nogc_finalize as a variant of napi_finalize that
accepts a node_api_nogc_env as its first argument.

This feature can be turned off by defining
NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT.

Contributed by Gabriel Schulhof in #​50060.

Root certificates updated to NSS 3.98

Certificates added:

  • Telekom Security TLS ECC Root 2020
  • Telekom Security TLS RSA Root 2023

Certificates removed:

  • Security Communication Root CA
Updated dependencies
  • ada updated to 2.7.6.
  • base64 updated to 0.5.2.
  • c-ares updated to 1.27.0.
  • corepack updated to 0.25.2.
  • ICU updated to 74.2. Includes CLDR 44.1 and Unicode 15.1.
  • npm updated to 10.5.0. Fixes a regression in signals not being passed onto child processes.
  • simdutf8 updated to 4.0.8.
  • Timezone updated to 2024a.
  • zlib updated to 1.3.0.1-motley-40e35a7.
vm: fix V8 compilation cache support for vm.Script

Previously repeated compilation of the same source code using vm.Script
stopped hitting the V8 compilation cache after v16.x when support for
importModuleDynamically was added to vm.Script, resulting in a performance
regression that blocked users (in particular Jest users) from upgrading from
v16.x.

The recent fixes allow the compilation cache to be hit again
for vm.Script when --experimental-vm-modules is not used even in the
presence of the importModuleDynamically option, so that users affected by the
performance regression can now upgrade. Ongoing work is also being done to
enable compilation cache support for vm.CompileFunction.

Contributed by Joyee Cheung in #​49950
and #​50137.

Commits

v18.19.1: 2024-02-14, Version 18.19.1 'Hydrogen' (LTS), @​RafaelGSS prepared by @​marco-ippolito

Compare Source

Notable changes

This is a security release.

Notable changes
  • CVE-2024-21892 - Code injection and privilege escalation through Linux capabilities- (High)
  • CVE-2024-22019 - http: Reading unprocessed HTTP request with unbounded chunk extension allows DoS attacks- (High)
  • CVE-2023-46809 - Node.js is vulnerable to the Marvin Attack (timing variant of the Bleichenbacher attack against PKCS#1 v1.5 padding) - (Medium)
  • CVE-2024-22025 - Denial of Service by resource exhaustion in fetch() brotli decoding - (Medium)
  • undici version 5.28.3
  • npm version 10.2.4
Commits

v18.19.0: 2023-11-29, Version 18.19.0 'Hydrogen' (LTS), @​targos

Compare Source

Notable Changes
npm updated to v10

After two months of baking time in Node.js 20, npm 10 is backported, so that all
release lines include a supported version of npm. This release includes npm v10.2.3.

Refer to nodejs/Release#884 for the plan to land npm 10.

ESM and customization hook changes
Leverage loaders when resolving subsequent loaders

Loaders now apply to subsequent loaders, for example: --experimental-loader ts-node --experimental-loader loader-written-in-typescript.

Contributed by Maël Nison in #​43772.

New node:module API register for module customization hooks; new initialize hook

There is a new API register available on node:module to specify a file that exports module customization hooks, and pass data to the hooks, and establish communication channels with them. The “define the file with the hooks” part was previously handled by a flag --experimental-loader, but when the hooks moved into a dedicated thread in 20.0.0 there was a need to provide a way to communicate between the main (application) thread and the hooks thread. This can now be done by calling register from the main thread and passing data, including MessageChannel instances.

We encourage users to migrate to an approach that uses --import with register, such as:

node --import ./file-that-calls-register.js ./app.js

Using --import ensures that the customization hooks are registered before any application code runs, even the entry point.

Contributed by João Lenon and Jacob Smith in #​46826, Izaak Schroeder and Jacob Smith in #​48842 and #​48559.

import.meta.resolve unflagged

In ES modules, import.meta.resolve(specifier)
can be used to get an absolute URL string to which specifier resolves, similar
to require.resolve in CommonJS. This aligns Node.js with browsers and other server-side runtimes.

Contributed by Guy Bedford in #​49028.

--experimental-default-type flag to flip module defaults

The new flag --experimental-default-type can be used to flip the default
module system used by Node.js. Input that is already explicitly defined as ES
modules or CommonJS, such as by a package.json "type" field or .mjs/.cjs
file extension or the --input-type flag, is unaffected. What is currently
implicitly CommonJS would instead be interpreted as ES modules under
--experimental-default-type=module:

  • String input provided via --eval or STDIN, if --input-type is unspecified.

  • Files ending in .js or with no extension, if there is no package.json file
    present in the same folder or any parent folder.

  • Files ending in .js or with no extension, if the nearest parent
    package.json field lacks a type field; unless the folder is inside a
    node_modules folder.

In addition, extensionless files are interpreted as Wasm if
--experimental-wasm-modules is passed and the file contains the "magic bytes"
Wasm header.

Contributed by Geoffrey Booth in #​49869.

Other ESM-related changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update 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 enabled auto-merge (rebase) July 27, 2022 19:48
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scan Summary

Tool Critical High Medium Low Status
Dependency Scan (nodejs) 0 0 1 0
Security Audit for Infrastructure 2 4 1 1

Recommendation

Please review the findings from Code scanning alerts before approving this pull request. You can also configure the build rules or add suppressions to customize this bot 👍

@renovate renovate bot force-pushed the renovate/node-18.x branch 3 times, most recently from 3d43db0 to 3e1c89d Compare July 30, 2022 13:06
@renovate renovate bot force-pushed the renovate/node-18.x branch 3 times, most recently from 8375d86 to 3e42e5d Compare August 10, 2022 09:53
@renovate renovate bot force-pushed the renovate/node-18.x branch from 3e42e5d to 39a5793 Compare August 17, 2022 17:31
@renovate renovate bot force-pushed the renovate/node-18.x branch from 39a5793 to 5795a0d Compare August 24, 2022 23:07
@renovate renovate bot changed the title Update Node.js to v18.7.0 Update Node.js to v18.8.0 Aug 24, 2022
@renovate renovate bot force-pushed the renovate/node-18.x branch from 5795a0d to 2fe6e3c Compare August 25, 2022 02:11
@renovate renovate bot force-pushed the renovate/node-18.x branch 2 times, most recently from 3789a16 to 2db1c79 Compare September 9, 2022 02:23
@renovate renovate bot changed the title Update Node.js to v18.8.0 Update Node.js to v18.9.0 Sep 9, 2022
@renovate renovate bot force-pushed the renovate/node-18.x branch from 2db1c79 to 9eb034c Compare September 13, 2022 19:58
@renovate renovate bot force-pushed the renovate/node-18.x branch from 9eb034c to a54d966 Compare September 25, 2022 16:08
@renovate renovate bot force-pushed the renovate/node-18.x branch from a54d966 to 7462a11 Compare November 20, 2022 14:03
@renovate renovate bot changed the title Update Node.js to v18.9.0 Update Node.js to v18.12.1 Nov 20, 2022
@renovate renovate bot force-pushed the renovate/node-18.x branch from 7462a11 to 2abbe19 Compare March 12, 2023 22:00
@renovate renovate bot changed the title Update Node.js to v18.12.1 Update Node.js to v18.15.0 Mar 12, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scan Summary

Tool Critical High Medium Low Status
Dependency Scan (universal) 0 2 1 18
Security Audit for Infrastructure 2 4 1 1

Recommendation

Please review the findings from Code scanning alerts before approving this pull request. You can also configure the build rules or add suppressions to customize this bot 👍

@renovate renovate bot force-pushed the renovate/node-18.x branch from 2abbe19 to f79455f Compare March 13, 2023 23:13
@renovate renovate bot force-pushed the renovate/node-18.x branch from f79455f to dabb814 Compare March 29, 2023 23:06
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scan Summary

Tool Critical High Medium Low Status
Dependency Scan (universal) 0 2 1 19
Security Audit for Infrastructure 2 4 1 1

Recommendation

Please review the findings from Code scanning alerts before approving this pull request. You can also configure the build rules or add suppressions to customize this bot 👍

@renovate renovate bot force-pushed the renovate/node-18.x branch 3 times, most recently from f3d43ae to a5fa480 Compare March 30, 2023 10:17
@renovate renovate bot force-pushed the renovate/node-18.x branch from a5fa480 to 3de79c9 Compare April 17, 2023 11:20
@renovate renovate bot force-pushed the renovate/node-18.x branch 4 times, most recently from a9f77d5 to c1dc2a9 Compare June 21, 2024 18:24
@renovate renovate bot force-pushed the renovate/node-18.x branch from c1dc2a9 to 255647c Compare July 9, 2024 18:25
@renovate renovate bot changed the title Update Node.js to v18.20.3 Update Node.js to v18.20.4 Jul 9, 2024
@renovate renovate bot force-pushed the renovate/node-18.x branch 3 times, most recently from f4b692d to 20ff8fa Compare July 10, 2024 03:41
@renovate renovate bot force-pushed the renovate/node-18.x branch 4 times, most recently from 2116b71 to 6478aff Compare July 24, 2024 04:35
@renovate renovate bot changed the title Update Node.js to v18.20.4 Update node Docker tag to v18.20.4 Aug 6, 2024
@renovate renovate bot changed the title Update node Docker tag to v18.20.4 Update Node.js to v18.20.4 Aug 28, 2024
@renovate renovate bot force-pushed the renovate/node-18.x branch 3 times, most recently from 82b2e8a to 5c54cf8 Compare September 7, 2024 15:41
@renovate renovate bot force-pushed the renovate/node-18.x branch 5 times, most recently from e96f5b4 to f84fe59 Compare November 18, 2024 20:18
@renovate renovate bot changed the title Update Node.js to v18.20.4 Update Node.js to v18.20.5 Nov 18, 2024
@renovate renovate bot force-pushed the renovate/node-18.x branch from f84fe59 to 796fa83 Compare November 19, 2024 00:54
@renovate renovate bot force-pushed the renovate/node-18.x branch 3 times, most recently from a635fc8 to ab8ae5b Compare December 10, 2024 09:05
@renovate renovate bot force-pushed the renovate/node-18.x branch from ab8ae5b to f2f2a9e Compare January 7, 2025 08:15
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