Closed renovate[bot] closed 2 years ago
This PR contains the following updates:
16.14.2
18.0.0
📅 Schedule: "before 7am every weekday" in timezone Europe/Brussels.
🚦 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.
This PR contains the following updates:
16.14.2
->18.0.0
Release Notes
nodejs/node
### [`v18.0.0`](https://togithub.com/nodejs/node/releases/v18.0.0) [Compare Source](https://togithub.com/nodejs/node/compare/v17.9.0...v18.0.0) Node.js 18 is here! Highlights include the update of the V8 JavaScript engine to 10.1, global fetch enabled by default, and a core test runner module. Initially, Node.js 18 will replace Node.js 17 as our ‘Current’ release line. As per the release schedule, Node.js 18 will be the ‘Current’ release for the next 6 months and then promoted to Long-term Support (LTS) in October 2022. Once promoted to long-term support the release will be designated the codename ‘Hydrogen’. Node.js 18 will be supported until April 2025. ##### Notable Changes ##### Deprecations and Removals - **(SEMVER-MAJOR)** **fs**: runtime deprecate string coercion in `fs.write`, `fs.writeFileSync` (Livia Medeiros) [#42607](https://togithub.com/nodejs/node/pull/42607) - **(SEMVER-MAJOR)** **dns**: remove `dns.lookup` and `dnsPromises.lookup` options type coercion (Antoine du Hamel) [#41431](https://togithub.com/nodejs/node/pull/41431) - **(SEMVER-MAJOR)** **process**: runtime deprecate multipleResolves (Benjamin Gruenbaum) [#41896](https://togithub.com/nodejs/node/pull/41896) - **(SEMVER-MAJOR)** **stream**: remove thenable support (Robert Nagy) [#40773](https://togithub.com/nodejs/node/pull/40773) - **(SEMVER-MAJOR)** **tls**: move tls.parseCertString to end-of-life (Tobias Nießen) [#41479](https://togithub.com/nodejs/node/pull/41479) ##### fetch (experimental) An experimental fetch API is available on the global scope by default. The implementation is based upon [undici](https://undici.nodejs.org/#/), an HTTP/1.1 client written for Node.js by contributors to the project. ```mjs const res = await fetch('https://nodejs.org/api/documentation.json'); if (res.ok) { const data = await res.json(); console.log(data); } ``` Through this addition, the following globals are made available: `fetch`, `FormData`, `Headers`, `Request`, `Response`. Disable this API with the `--no-experimental-fetch` command-line flag. Contributed by Michaël Zasso in [#41811](https://togithub.com/nodejs/node/pull/41811). ##### HTTP Timeouts `server.headersTimeout` which limits the amount of time the parser will wait to receive the complete HTTP headers is now set to `60000` (60 seconds) by default. `server.requestTimeout` which sets the timeout value in milliseconds for receiving the entire request from the client is now set to `300000` (5 minutes) by default. If these timeouts expire, the server responds with status 408 without forwarding the request to the request listener and then closes the connection. Both timeouts must be set to a non-zero value to protect against potential Denial-of-Service attacks in case the server is deployed without a reverse proxy in front. Contributed by Paolo Insogna in [#41263](https://togithub.com/nodejs/node/pull/41263). ##### Test Runner module (experimental) The `node:test` module facilitates the creation of JavaScript tests that report results in TAP format. To access it: `import test from 'node:test';` This module is only available under the `node:` scheme. The following is an example implementation of a parent test with two subtests: ```js test('top level test', async (t) => { await t.test('subtest 1', (t) => { assert.strictEqual(1, 1); }); await t.test('subtest 2', (t) => { assert.strictEqual(2, 2); }); }); ``` Read more inConfiguration
📅 Schedule: "before 7am every weekday" in timezone Europe/Brussels.
🚦 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.