Skip to content

Commit 49a77a5

Browse files
committed
2022-04-19, Version 18.0.0 (Current)
Notable Changes: Deprecations and Removals: - (SEMVER-MAJOR) fs: runtime deprecate string coercion in `fs.write`, `fs.writeFileSync` (Livia Medeiros) (#42607) - (SEMVER-MAJOR) dns: remove `dns.lookup` and `dnsPromises.lookup` options type coercion (Antoine du Hamel) (#41431) - (SEMVER-MAJOR) process: runtime deprecate multipleResolves (Benjamin Gruenbaum) (#41896) - (SEMVER-MAJOR) stream: remove thenable support (Robert Nagy) (#40773) - (SEMVER-MAJOR) tls: move tls.parseCertString to end-of-life (Tobias Nießen) (#41479) fetch (experimental): An experimental fetch API is available on the global scope by default. The implementation is based upon https://undici.nodejs.org/#/, an HTTP/1.1 client written for Node.js by contributors to the project. 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. 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. Test Runner module (experimental): The `node:test` module facilitates the creation of JavaScript tests that report results in TAP format. This module is only available under the `node:` scheme. Contributed by Colin Ihrig in #42325. Toolchain and Compiler Upgrades: - Prebuilt binaries for Linux are now built on Red Hat Enterprise Linux (RHEL) 8 and are compatible with Linux distributions based on glibc 2.28 or later, for example, Debian 10, RHEL 8, Ubuntu 20.04. - Prebuilt binaries for macOS now require macOS 10.15 or later. - For AIX the minimum supported architecture has been raised from Power 7 to Power 8. Prebuilt binaries for 32-bit Windows will initially not be available due to issues building the V8 dependency in Node.js. We hope to restore 32-bit Windows binaries for Node.js 18 with a future V8 update. Node.js does not support running on operating systems that are no longer supported by their vendor. For operating systems where their vendor has planned to end support earlier than April 2025, such as Windows 8.1 (January 2023) and Windows Server 2012 R2 (October 2023), support for Node.js 18 will end at the earlier date. Full details about the supported toolchains and compilers are documented in the Node.js `BUILDING.md` file. Contributed by Richard Lau in #42292, #42604 and #42659 , and Michaël Zasso in #42105 and #42666. V8 10.1: The V8 engine is updated to version 10.1, which is part of Chromium 101. Compared to the version included in Node.js 17.9.0, the following new features are included: - The `findLast` and `findLastIndex` array methods. - Improvements to the `Intl.Locale` API. - The `Intl.supportedValuesOf` function. - Improved performance of class fields and private class methods (the initialization of them is now as fast as ordinary property stores). The data format returned by the serialization API (`v8.serialize(value)`) has changed, and cannot be deserialized by earlier versions of Node.js. On the other hand, it is still possible to deserialize the previous format, as the API is backwards-compatible. Contributed by Michaël Zasso in #42657. Web Streams API (experimental): Node.js now exposes the experimental implementation of the Web Streams API on the global scope. This means the following APIs are now globally available: - `ReadableStream`, `ReadableStreamDefaultReader`, `ReadableStreamBYOBReader`, `ReadableStreamBYOBRequest`, `ReadableByteStreamController`, `ReadableStreamDefaultController`, `TransformStream`, `TransformStreamDefaultController`, `WritableStream`, `WritableStreamDefaultWriter`, `WritableStreamDefaultController`, `ByteLengthQueuingStrategy`, `CountQueuingStrategy`, `TextEncoderStream`, `TextDecoderStream`, `CompressionStream`, `DecompressionStream`. Contributed James Snell in #39062, and Antoine du Hamel in #42225. Other Notable Changes: - (SEMVER-MAJOR) buffer: expose Blob as a global (James M Snell) (#41270) - (SEMVER-MAJOR) child\_process: improve argument validation (Rich Trott) (#41305) - doc: add RafaelGSS to collaborators (RafaelGSS) (#42718) - (SEMVER-MAJOR) http: make TCP noDelay enabled by default (Paolo Insogna) (#42163) - (SEMVER-MAJOR) net: make `server.address()` return an integer for `family` (Antoine du Hamel) (#41431) - (SEMVER-MAJOR) worker: expose BroadcastChannel as a global (James M Snell) (#41271) - (SEMVER-MAJOR) worker: graduate BroadcastChannel to supported (James M Snell) (#41271) Semver-Major Commits: - (SEMVER-MAJOR) assert,util: compare RegExp.lastIndex while using deep equal checks (Ruben Bridgewater) (#41020) - (SEMVER-MAJOR) buffer: refactor `byteLength` to remove outdated optimizations (Rongjian Zhang) (#38545) - (SEMVER-MAJOR) buffer: expose Blob as a global (James M Snell) (#41270) - (SEMVER-MAJOR) buffer: graduate Blob from experimental (James M Snell) (#41270) - (SEMVER-MAJOR) build: make x86 Windows support temporarily experimental (Michaël Zasso) (#42666) - (SEMVER-MAJOR) build: bump macOS deployment target to 10.15 (Richard Lau) (#42292) - (SEMVER-MAJOR) build: downgrade Windows 8.1 and server 2012 R2 to experimental (Michaël Zasso) (#42105) - (SEMVER-MAJOR) child\_process: improve argument validation (Rich Trott) (#41305) - (SEMVER-MAJOR) cluster: make `kill` to be just `process.kill` (Bar Admoni) (#34312) - (SEMVER-MAJOR) crypto: cleanup validation (Mohammed Keyvanzadeh) (#39841) - (SEMVER-MAJOR) crypto: prettify othername in PrintGeneralName (Tobias Nießen) (#42123) - (SEMVER-MAJOR) crypto: fix X509Certificate toLegacyObject (Tobias Nießen) (#42124) - (SEMVER-MAJOR) crypto: use RFC2253 format in PrintGeneralName (Tobias Nießen) (#42002) - (SEMVER-MAJOR) crypto: change default check(Host|Email) behavior (Tobias Nießen) (#41600) - (SEMVER-MAJOR) deps: V8: cherry-pick semver-major commits from 10.2 (Michaël Zasso) (#42657) - (SEMVER-MAJOR) deps: update V8 to 10.1.124.6 (Michaël Zasso) (#42657) - (SEMVER-MAJOR) deps: update V8 to 9.8.177.9 (Michaël Zasso) (#41610) - (SEMVER-MAJOR) deps: update V8 to 9.7.106.18 (Michaël Zasso) (#40907) - (SEMVER-MAJOR) dns: remove `dns.lookup` and `dnsPromises.lookup` options type coercion (Antoine du Hamel) (#41431) - (SEMVER-MAJOR) doc: update minimum glibc requirements for Linux (Richard Lau) (#42659) - (SEMVER-MAJOR) doc: update AIX minimum supported arch (Richard Lau) (#42604) - (SEMVER-MAJOR) fs: runtime deprecate string coercion in `fs.write`, `fs.writeFileSync` (Livia Medeiros) (#42607) - (SEMVER-MAJOR) http: refactor headersTimeout and requestTimeout logic (Paolo Insogna) (#41263) - (SEMVER-MAJOR) http: make TCP noDelay enabled by default (Paolo Insogna) (#42163) - (SEMVER-MAJOR) lib: enable fetch by default (Michaël Zasso) (#41811) - (SEMVER-MAJOR) lib: replace validator and error (Mohammed Keyvanzadeh) (#41678) - (SEMVER-MAJOR) module,repl: support 'node:'-only core modules (Colin Ihrig) (#42325) - (SEMVER-MAJOR) net: make `server.address()` return an integer for `family` (Antoine du Hamel) (#41431) - (SEMVER-MAJOR) process: disallow some uses of Object.defineProperty() on process.env (Himself65) (#28006) - (SEMVER-MAJOR) process: runtime deprecate multipleResolves (Benjamin Gruenbaum) (#41896) - (SEMVER-MAJOR) readline: fix question still called after closed (Xuguang Mei) (#42464) - (SEMVER-MAJOR) stream: remove thenable support (Robert Nagy) (#40773) - (SEMVER-MAJOR) stream: expose web streams globals, remove runtime experimental warning (Antoine du Hamel) (#42225) - (SEMVER-MAJOR) stream: need to cleanup event listeners if last stream is readable (Xuguang Mei) (#41954) - (SEMVER-MAJOR) stream: revert revert `map` spec compliance (Benjamin Gruenbaum) (#41933) - (SEMVER-MAJOR) stream: throw invalid arg type from End Of Stream (Jithil P Ponnan) (#41766) - (SEMVER-MAJOR) stream: don't emit finish after destroy (Robert Nagy) (#40852) - (SEMVER-MAJOR) stream: add errored and closed props (Robert Nagy) (#40696) - (SEMVER-MAJOR) test: add initial test module (Colin Ihrig) (#42325) - (SEMVER-MAJOR) timers: refactor internal classes to ES2015 syntax (Rabbit) (#37408) - (SEMVER-MAJOR) tls: represent registeredID numerically always (Tobias Nießen) (#41561) - (SEMVER-MAJOR) tls: move tls.parseCertString to end-of-life (Tobias Nießen) (#41479) - (SEMVER-MAJOR) url: throw on NULL in IPv6 hostname (Rich Trott) (#42313) - (SEMVER-MAJOR) v8: make v8.writeHeapSnapshot() error codes consistent (Darshan Sen) (#42577) - (SEMVER-MAJOR) v8: make writeHeapSnapshot throw if fopen fails (Antonio Román) (#41373) - (SEMVER-MAJOR) worker: expose BroadcastChannel as a global (James M Snell) (#41271) - (SEMVER-MAJOR) worker: graduate BroadcastChannel to supported (James M Snell) (#41271) PR-URL: #42262
1 parent 19064be commit 49a77a5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+489
-161
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
Select a Node.js version below to view the changelog history:
44

5+
* [Node.js 18](doc/changelogs/CHANGELOG_V18.md) **Current**
56
* [Node.js 17](doc/changelogs/CHANGELOG_V17.md) **Current**
67
* [Node.js 16](doc/changelogs/CHANGELOG_V16.md) **Long Term Support**
78
* [Node.js 15](doc/changelogs/CHANGELOG_V15.md) End-of-Life
@@ -26,13 +27,17 @@ release.
2627

2728
<table>
2829
<tr>
30+
<th title="Current"><a href="doc/changelogs/CHANGELOG_V18.md">18</a> (Current)</th>
2931
<th title="Current"><a href="doc/changelogs/CHANGELOG_V17.md">17</a> (Current)</th>
3032
<th title="LTS Until 2024-04"><a href="doc/changelogs/CHANGELOG_V16.md">16</a> (LTS)</th>
3133
<th title="LTS Until 2023-04"><a href="doc/changelogs/CHANGELOG_V14.md">14</a> (LTS)</th>
3234
<th title="LTS Until 2022-04"><a href="doc/changelogs/CHANGELOG_V12.md">12</a> (LTS)</th>
3335
</tr>
3436
<tr>
3537
<td valign="top">
38+
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.0.0">18.0.0</a></b><br/>
39+
</td>
40+
<td valign="top">
3641
<b><a href="doc/changelogs/CHANGELOG_V17.md#17.8.0">17.8.0</a></b><br/>
3742
<a href="doc/changelogs/CHANGELOG_V17.md#17.7.2">17.7.2</a><br/>
3843
<a href="doc/changelogs/CHANGELOG_V17.md#17.7.1">17.7.1</a><br/>

doc/abi_version_registry.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"NODE_MODULE_VERSION": [
3-
{ "modules": 108,"runtime": "node", "variant": "v8_10.1", "versions": "18.0.0-pre" },
3+
{ "modules": 108,"runtime": "node", "variant": "v8_10.1", "versions": "18.0.0" },
44
{ "modules": 107,"runtime": "electron", "variant": "electron", "versions": "20" },
55
{ "modules": 106,"runtime": "electron", "variant": "electron", "versions": "19" },
66
{ "modules": 105,"runtime": "node", "variant": "v8_9.8", "versions": "18.0.0-pre" },

doc/api/assert.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ An alias of [`assert.ok()`][].
463463
<!-- YAML
464464
added: v0.1.21
465465
changes:
466-
- version: REPLACEME
466+
- version: v18.0.0
467467
pr-url: https://github.com/nodejs/node/pull/41020
468468
description: Regular expressions lastIndex property is now compared as well.
469469
- version:
@@ -644,7 +644,7 @@ parameter is an instance of an [`Error`][] then it will be thrown instead of the
644644
<!-- YAML
645645
added: v1.2.0
646646
changes:
647-
- version: REPLACEME
647+
- version: v18.0.0
648648
pr-url: https://github.com/nodejs/node/pull/41020
649649
description: Regular expressions lastIndex property is now compared as well.
650650
- version: v9.0.0

doc/api/buffer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ added:
457457
- v15.7.0
458458
- v14.18.0
459459
changes:
460-
- version: REPLACEME
460+
- version: v18.0.0
461461
pr-url: https://github.com/nodejs/node/pull/41270
462462
description: No longer experimental.
463463
-->

doc/api/cli.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ Use the specified file as a security policy.
328328
### `--no-experimental-fetch`
329329

330330
<!-- YAML
331-
added: REPLACEME
331+
added: v18.0.0
332332
-->
333333

334334
Disable experimental support for the [Fetch API][].
@@ -1055,7 +1055,7 @@ The value given must be a power of two.
10551055
### `--test-only`
10561056

10571057
<!-- YAML
1058-
added: REPLACEME
1058+
added: v18.0.0
10591059
-->
10601060

10611061
Configures the test runner to only execute top level tests that have the `only`

doc/api/crypto.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -2493,7 +2493,7 @@ added: v15.6.0
24932493
<!-- YAML
24942494
added: v15.6.0
24952495
changes:
2496-
- version: REPLACEME
2496+
- version: v18.0.0
24972497
pr-url: https://github.com/nodejs/node/pull/41600
24982498
description: The subject option now defaults to `'default'`.
24992499
- version:
@@ -2533,7 +2533,7 @@ considered, even if the certificate contains no subject alternative names.
25332533
<!-- YAML
25342534
added: v15.6.0
25352535
changes:
2536-
- version: REPLACEME
2536+
- version: v18.0.0
25372537
pr-url: https://github.com/nodejs/node/pull/41600
25382538
description: The subject option now defaults to `'default'`.
25392539
- version: v17.5.0
@@ -2911,7 +2911,7 @@ This property is deprecated. Please use `crypto.setFips()` and
29112911
<!-- YAML
29122912
added: v15.8.0
29132913
changes:
2914-
- version: REPLACEME
2914+
- version: v18.0.0
29152915
pr-url: https://github.com/nodejs/node/pull/41678
29162916
description: Passing an invalid callback to the `callback` argument
29172917
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -3612,7 +3612,7 @@ Both keys must have the same `asymmetricKeyType`, which must be one of `'dh'`
36123612
<!-- YAML
36133613
added: v15.0.0
36143614
changes:
3615-
- version: REPLACEME
3615+
- version: v18.0.0
36163616
pr-url: https://github.com/nodejs/node/pull/41678
36173617
description: Passing an invalid callback to the `callback` argument
36183618
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -3662,7 +3662,7 @@ generateKey('hmac', { length: 64 }, (err, key) => {
36623662
<!-- YAML
36633663
added: v10.12.0
36643664
changes:
3665-
- version: REPLACEME
3665+
- version: v18.0.0
36663666
pr-url: https://github.com/nodejs/node/pull/41678
36673667
description: Passing an invalid callback to the `callback` argument
36683668
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -3928,7 +3928,7 @@ console.log(key.export().toString('hex')); // e89..........41e
39283928
<!-- YAML
39293929
added: v15.8.0
39303930
changes:
3931-
- version: REPLACEME
3931+
- version: v18.0.0
39323932
pr-url: https://github.com/nodejs/node/pull/41678
39333933
description: Passing an invalid callback to the `callback` argument
39343934
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -4202,7 +4202,7 @@ web-compatible code use [`crypto.webcrypto.getRandomValues()`][] instead.
42024202
<!-- YAML
42034203
added: v15.0.0
42044204
changes:
4205-
- version: REPLACEME
4205+
- version: v18.0.0
42064206
pr-url: https://github.com/nodejs/node/pull/41678
42074207
description: Passing an invalid callback to the `callback` argument
42084208
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -4310,7 +4310,7 @@ console.log(Buffer.from(derivedKey).toString('hex')); // '24156e2...5391653'
43104310
<!-- YAML
43114311
added: v0.5.5
43124312
changes:
4313-
- version: REPLACEME
4313+
- version: v18.0.0
43144314
pr-url: https://github.com/nodejs/node/pull/41678
43154315
description: Passing an invalid callback to the `callback` argument
43164316
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -4696,7 +4696,7 @@ be passed instead of a public key.
46964696
<!-- YAML
46974697
added: v0.5.8
46984698
changes:
4699-
- version: REPLACEME
4699+
- version: v18.0.0
47004700
pr-url: https://github.com/nodejs/node/pull/41678
47014701
description: Passing an invalid callback to the `callback` argument
47024702
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -4881,7 +4881,7 @@ added:
48814881
- v7.10.0
48824882
- v6.13.0
48834883
changes:
4884-
- version: REPLACEME
4884+
- version: v18.0.0
48854885
pr-url: https://github.com/nodejs/node/pull/41678
48864886
description: Passing an invalid callback to the `callback` argument
48874887
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -5023,7 +5023,7 @@ added:
50235023
- v14.10.0
50245024
- v12.19.0
50255025
changes:
5026-
- version: REPLACEME
5026+
- version: v18.0.0
50275027
pr-url: https://github.com/nodejs/node/pull/41678
50285028
description: Passing an invalid callback to the `callback` argument
50295029
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -5131,7 +5131,7 @@ cryptographic pseudorandom number generator.
51315131
<!-- YAML
51325132
added: v10.5.0
51335133
changes:
5134-
- version: REPLACEME
5134+
- version: v18.0.0
51355135
pr-url: https://github.com/nodejs/node/pull/41678
51365136
description: Passing an invalid callback to the `callback` argument
51375137
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -5359,7 +5359,7 @@ Throws an error if FIPS mode is not available.
53595359
<!-- YAML
53605360
added: v12.0.0
53615361
changes:
5362-
- version: REPLACEME
5362+
- version: v18.0.0
53635363
pr-url: https://github.com/nodejs/node/pull/41678
53645364
description: Passing an invalid callback to the `callback` argument
53655365
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -5460,7 +5460,7 @@ not introduce timing vulnerabilities.
54605460
<!-- YAML
54615461
added: v12.0.0
54625462
changes:
5463-
- version: REPLACEME
5463+
- version: v18.0.0
54645464
pr-url: https://github.com/nodejs/node/pull/41678
54655465
description: Passing an invalid callback to the `callback` argument
54665466
now throws `ERR_INVALID_ARG_TYPE` instead of

doc/api/deprecations.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1595,7 +1595,7 @@ Type: End-of-Life
15951595

15961596
<!-- YAML
15971597
changes:
1598-
- version: REPLACEME
1598+
- version: v18.0.0
15991599
pr-url: https://github.com/nodejs/node/pull/41479
16001600
description: End-of-Life.
16011601
- version: v9.0.0
@@ -2943,7 +2943,7 @@ deprecated and should no longer be used.
29432943

29442944
<!-- YAML
29452945
changes:
2946-
- version: REPLACEME
2946+
- version: v18.0.0
29472947
pr-url: https://github.com/nodejs/node/pull/41431
29482948
description: End-of-Life.
29492949
- version: v17.0.0
@@ -3023,7 +3023,7 @@ it was an aborted or graceful destroy.
30233023

30243024
<!-- YAML
30253025
changes:
3026-
- version: REPLACEME
3026+
- version: v18.0.0
30273027
pr-url: https://github.com/nodejs/node/pull/40773
30283028
description: End-of-life.
30293029
- version:
@@ -3072,7 +3072,7 @@ Use [`buffer.subarray`][] which does the same thing instead.
30723072

30733073
<!-- YAML
30743074
changes:
3075-
- version: REPLACEME
3075+
- version: v18.0.0
30763076
pr-url: https://github.com/nodejs/node/pull/41678
30773077
description: End-of-Life.
30783078
-->
@@ -3086,7 +3086,7 @@ the errors used for value type validation.
30863086

30873087
<!-- YAML
30883088
changes:
3089-
- version: REPLACEME
3089+
- version: v18.0.0
30903090
pr-url: https://github.com/nodejs/node/pull/41896
30913091
description: Runtime deprecation.
30923092
- version: v17.6.0
@@ -3121,7 +3121,7 @@ resources and not the actual references.
31213121

31223122
<!-- YAML
31233123
changes:
3124-
- version: REPLACEME
3124+
- version: v18.0.0
31253125
pr-url: https://github.com/nodejs/node/pull/42607
31263126
description: Runtime deprecation.
31273127
- version: v17.8.0

doc/api/dns.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ section if a custom port is used.
179179
<!-- YAML
180180
added: v0.1.90
181181
changes:
182-
- version: REPLACEME
182+
- version: v18.0.0
183183
pr-url: https://github.com/nodejs/node/pull/41678
184184
description: Passing an invalid callback to the `callback` argument
185185
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -288,7 +288,7 @@ The following flags can be passed as hints to [`dns.lookup()`][].
288288
<!-- YAML
289289
added: v0.11.14
290290
changes:
291-
- version: REPLACEME
291+
- version: v18.0.0
292292
pr-url: https://github.com/nodejs/node/pull/41678
293293
description: Passing an invalid callback to the `callback` argument
294294
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -327,7 +327,7 @@ If this method is invoked as its [`util.promisify()`][]ed version, it returns a
327327
<!-- YAML
328328
added: v0.1.27
329329
changes:
330-
- version: REPLACEME
330+
- version: v18.0.0
331331
pr-url: https://github.com/nodejs/node/pull/41678
332332
description: Passing an invalid callback to the `callback` argument
333333
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -368,7 +368,7 @@ On error, `err` is an [`Error`][] object, where `err.code` is one of the
368368
<!-- YAML
369369
added: v0.1.16
370370
changes:
371-
- version: REPLACEME
371+
- version: v18.0.0
372372
pr-url: https://github.com/nodejs/node/pull/41678
373373
description: Passing an invalid callback to the `callback` argument
374374
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -399,7 +399,7 @@ will contain an array of IPv4 addresses (e.g.
399399
<!-- YAML
400400
added: v0.1.16
401401
changes:
402-
- version: REPLACEME
402+
- version: v18.0.0
403403
pr-url: https://github.com/nodejs/node/pull/41678
404404
description: Passing an invalid callback to the `callback` argument
405405
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -428,7 +428,7 @@ will contain an array of IPv6 addresses.
428428

429429
<!-- YAML
430430
changes:
431-
- version: REPLACEME
431+
- version: v18.0.0
432432
pr-url: https://github.com/nodejs/node/pull/41678
433433
description: Passing an invalid callback to the `callback` argument
434434
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -488,7 +488,7 @@ queries. It may be better to call individual methods like [`dns.resolve4()`][],
488488
<!-- YAML
489489
added: v0.3.2
490490
changes:
491-
- version: REPLACEME
491+
- version: v18.0.0
492492
pr-url: https://github.com/nodejs/node/pull/41678
493493
description: Passing an invalid callback to the `callback` argument
494494
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -512,7 +512,7 @@ added:
512512
- v15.0.0
513513
- v14.17.0
514514
changes:
515-
- version: REPLACEME
515+
- version: v18.0.0
516516
pr-url: https://github.com/nodejs/node/pull/41678
517517
description: Passing an invalid callback to the `callback` argument
518518
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -535,7 +535,7 @@ available for the `hostname` (e.g. `[{critical: 0, iodef:
535535
<!-- YAML
536536
added: v0.1.27
537537
changes:
538-
- version: REPLACEME
538+
- version: v18.0.0
539539
pr-url: https://github.com/nodejs/node/pull/41678
540540
description: Passing an invalid callback to the `callback` argument
541541
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -557,7 +557,7 @@ property (e.g. `[{priority: 10, exchange: 'mx.example.com'}, ...]`).
557557
<!-- YAML
558558
added: v0.9.12
559559
changes:
560-
- version: REPLACEME
560+
- version: v18.0.0
561561
pr-url: https://github.com/nodejs/node/pull/41678
562562
description: Passing an invalid callback to the `callback` argument
563563
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -598,7 +598,7 @@ function will contain an array of objects with the following properties:
598598
<!-- YAML
599599
added: v0.1.90
600600
changes:
601-
- version: REPLACEME
601+
- version: v18.0.0
602602
pr-url: https://github.com/nodejs/node/pull/41678
603603
description: Passing an invalid callback to the `callback` argument
604604
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -620,7 +620,7 @@ contain an array of name server records available for `hostname`
620620
<!-- YAML
621621
added: v6.0.0
622622
changes:
623-
- version: REPLACEME
623+
- version: v18.0.0
624624
pr-url: https://github.com/nodejs/node/pull/41678
625625
description: Passing an invalid callback to the `callback` argument
626626
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -641,7 +641,7 @@ be an array of strings containing the reply records.
641641
<!-- YAML
642642
added: v0.11.10
643643
changes:
644-
- version: REPLACEME
644+
- version: v18.0.0
645645
pr-url: https://github.com/nodejs/node/pull/41678
646646
description: Passing an invalid callback to the `callback` argument
647647
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -684,7 +684,7 @@ be an object with the following properties:
684684
<!-- YAML
685685
added: v0.1.27
686686
changes:
687-
- version: REPLACEME
687+
- version: v18.0.0
688688
pr-url: https://github.com/nodejs/node/pull/41678
689689
description: Passing an invalid callback to the `callback` argument
690690
now throws `ERR_INVALID_ARG_TYPE` instead of
@@ -721,7 +721,7 @@ be an array of objects with the following properties:
721721
<!-- YAML
722722
added: v0.1.27
723723
changes:
724-
- version: REPLACEME
724+
- version: v18.0.0
725725
pr-url: https://github.com/nodejs/node/pull/41678
726726
description: Passing an invalid callback to the `callback` argument
727727
now throws `ERR_INVALID_ARG_TYPE` instead of

0 commit comments

Comments
 (0)