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 v20 #476

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

Update Node.js to v20 #476

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 24, 2023

This PR contains the following updates:

Package Type Update Change
node (source) volta major 18.20.4 -> 20.18.0

Release Notes

nodejs/node (node)

v20.18.0: 2024-10-03, Version 20.18.0 'Iron' (LTS), @​targos

Compare Source

Notable Changes
Experimental Network Inspection Support in Node.js

This update introduces the initial support for network inspection in Node.js.
Currently, this is an experimental feature, so you need to enable it using the --experimental-network-inspection flag.
With this feature enabled, you can inspect network activities occurring within a JavaScript application.

To use network inspection, start your Node.js application with the following command:

$ node --inspect-wait --experimental-network-inspection index.js

Please note that the network inspection capabilities are in active development.
We are actively working on enhancing this feature and will continue to expand its functionality in future updates.

Contributed by Kohei Ueno in #​53593 and #​54246

Exposes X509_V_FLAG_PARTIAL_CHAIN to tls.createSecureContext

This releases introduces a new option to the API tls.createSecureContext. From
now on, tls.createSecureContext({ allowPartialTrustChain: true }) can be used
to treat intermediate (non-self-signed) certificates in the trust CA certificate
list as trusted.

Contributed by Anna Henningsen in #​54790

New option for vm.createContext() to create a context with a freezable globalThis

Node.js implements a flavor of vm.createContext() and friends that creates a context without contextifying its global
object when vm.constants.DONT_CONTEXTIFY is used. This is suitable when users want to freeze the context
(impossible when the global is contextified i.e. has interceptors installed) or speed up the global access if they
don't need the interceptor behavior.

Contributed by Joyee Cheung in #​54394

Deprecations
  • [64aa31f6e5] - repl: doc-deprecate instantiating node:repl classes without new (Aviv Keller) #​54842
  • [4c52ee3d7f] - zlib: deprecate instantiating classes without new (Yagiz Nizipli) #​54708
Other Notable Changes
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 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 force-pushed the renovate/node-20.x branch 2 times, most recently from d5b9b42 to 15810b4 Compare October 27, 2023 18:11
@renovate renovate bot force-pushed the renovate/node-20.x branch 3 times, most recently from 7c411ec to f7cf71d Compare November 14, 2023 17:28
@renovate renovate bot force-pushed the renovate/node-20.x branch 2 times, most recently from 66f83d0 to aac069d Compare November 25, 2023 01:48
@renovate renovate bot force-pushed the renovate/node-20.x branch 2 times, most recently from 6fc3c35 to 5d0a2c6 Compare December 13, 2023 13:29
@renovate renovate bot force-pushed the renovate/node-20.x branch 2 times, most recently from 776ebf4 to a3ce37c Compare January 9, 2024 22:55
Copy link
Contributor Author

renovate bot commented Jan 9, 2024

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
[22:54:56.830] INFO (74): Installing tool [email protected]...
[22:54:57.351] ERROR (74): download failed
    run: 3
    err: {
      "type": "HTTPError",
      "message": "Response code 404 (Not Found)",
      "stack":
          HTTPError: Response code 404 (Not Found)
              at _Request._onResponseBase (/snapshot/dist/containerbase-cli.js:42857:25)
              at _Request._onResponse (/snapshot/dist/containerbase-cli.js:42912:18)
              at ClientRequest.<anonymous> (/snapshot/dist/containerbase-cli.js:42927:17)
              at Object.onceWrapper (node:events:629:26)
              at ClientRequest.emit (node:events:526:35)
              at ClientRequest.emit (node:domain:488:12)
              at HTTPParser.parserOnIncomingClient (node:_http_client:693:27)
              at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
              at TLSSocket.socketOnData (node:_http_client:535:22)
              at TLSSocket.emit (node:events:514:28)
      "code": "ERR_NON_2XX_3XX_RESPONSE",
      "timings": {
        "start": 1704840897081,
        "socket": 1704840897082,
        "lookup": 1704840897082,
        "connect": 1704840897082,
        "secureConnect": 1704840897082,
        "upload": 1704840897082,
        "response": 1704840897348,
        "end": 1704840897349,
        "phases": {
          "wait": 1,
          "dns": 0,
          "tcp": 0,
          "tls": 0,
          "request": 0,
          "firstByte": 266,
          "download": 1,
          "total": 268
        }
      },
      "name": "HTTPError",
      "options": {
        "agent": {},
        "decompress": true,
        "timeout": {},
        "prefixUrl": "",
        "ignoreInvalidCookies": false,
        "context": {},
        "hooks": {
          "init": [],
          "beforeRequest": [],
          "beforeError": [],
          "beforeRedirect": [],
          "beforeRetry": [],
          "afterResponse": []
        },
        "followRedirect": true,
        "maxRedirects": 10,
        "throwHttpErrors": true,
        "username": "",
        "password": "",
        "http2": false,
        "allowGetBody": false,
        "headers": {
          "user-agent": "containerbase/9.31.3 node/20.10.0 (https://github.com/containerbase)",
          "accept-encoding": "gzip, deflate, br"
        },
        "methodRewriting": false,
        "retry": {
          "limit": 2,
          "methods": [
            "GET",
            "PUT",
            "HEAD",
            "DELETE",
            "OPTIONS",
            "TRACE"
          ],
          "statusCodes": [
            408,
            413,
            429,
            500,
            502,
            503,
            504,
            521,
            522,
            524
          ],
          "errorCodes": [
            "ETIMEDOUT",
            "ECONNRESET",
            "EADDRINUSE",
            "ECONNREFUSED",
            "EPIPE",
            "ENOTFOUND",
            "ENETUNREACH",
            "EAI_AGAIN"
          ],
          "backoffLimit": null,
          "noise": 100
        },
        "method": "GET",
        "cacheOptions": {},
        "https": {},
        "resolveBodyOnly": false,
        "isStream": true,
        "responseType": "text",
        "url": "https://nodejs.org/dist/v20.11.0/SHASUMS256.txt",
        "pagination": {
          "countLimit": null,
          "backoff": 0,
          "requestLimit": 10000,
          "stackAllItems": false
        },
        "setHost": true,
        "enableUnixSockets": false
      }
    }
[22:54:57.354] FATAL (74): download failed
    err: {
      "type": "Error",
      "message": "download failed",
      "stack":
          Error: download failed
              at HttpService.download (/snapshot/dist/containerbase-cli.js:46423:11)
              at async InstallNodeService.install (/snapshot/dist/containerbase-cli.js:51554:30)
              at async InstallToolService.execute (/snapshot/dist/containerbase-cli.js:52121:11)
              at async InstallToolShortCommand.execute (/snapshot/dist/containerbase-cli.js:52337:14)
              at async InstallToolShortCommand.validateAndExecute (/snapshot/dist/containerbase-cli.js:2426:26)
              at async _Cli.run (/snapshot/dist/containerbase-cli.js:3539:22)
              at async _Cli.runExit (/snapshot/dist/containerbase-cli.js:3547:28)
              at async main (/snapshot/dist/containerbase-cli.js:52531:3)
    }

@renovate renovate bot force-pushed the renovate/node-20.x branch 3 times, most recently from e2a30a5 to 06b0249 Compare January 28, 2024 04:11
@renovate renovate bot force-pushed the renovate/node-20.x branch 4 times, most recently from aca1340 to 2958e79 Compare February 15, 2024 16:35
@renovate renovate bot force-pushed the renovate/node-20.x branch 3 times, most recently from 28a3551 to 4bc5cfb Compare April 2, 2024 00:33
@renovate renovate bot force-pushed the renovate/node-20.x branch 2 times, most recently from a69cb05 to ba0c155 Compare April 10, 2024 17:00
@renovate renovate bot force-pushed the renovate/node-20.x branch 2 times, most recently from a273f58 to b00ef0c Compare April 13, 2024 21:53
@renovate renovate bot force-pushed the renovate/node-20.x branch 2 times, most recently from 0a13bcd to cf97e03 Compare May 9, 2024 16:46
@renovate renovate bot force-pushed the renovate/node-20.x branch 2 times, most recently from 68773cf to 7eeb60d Compare May 28, 2024 19:12
@renovate renovate bot force-pushed the renovate/node-20.x branch 2 times, most recently from 8138e91 to 6af084d Compare July 9, 2024 01:10
@renovate renovate bot force-pushed the renovate/node-20.x branch 2 times, most recently from 44a0308 to 64829c5 Compare July 24, 2024 13:37
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.

0 participants