Skip to content

Commit 376dbfa

Browse files
committed
feat: 14.9.0
1 parent 44b611b commit 376dbfa

File tree

82 files changed

+710
-521
lines changed

Some content is hidden

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

82 files changed

+710
-521
lines changed

async_hooks/asynchronous_context_example.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ async_hooks.createHook({
1111
const eid = async_hooks.executionAsyncId();
1212
const indentStr = ' '.repeat(indent);
1313
fs.writeSync(
14-
1,
14+
process.stdout.fd,
1515
`${indentStr}${type}(${asyncId}):` +
1616
` trigger: ${triggerAsyncId} execution: ${eid}\n`);
1717
},

async_hooks/triggerasyncid.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ async_hooks.createHook({
1111
init(asyncId, type, triggerAsyncId) {
1212
const eid = async_hooks.executionAsyncId();
1313
fs.writeSync(
14-
1, `${type}(${asyncId}): trigger: ${triggerAsyncId} execution: ${eid}\n`);
14+
process.stdout.fd,
15+
`${type}(${asyncId}): trigger: ${triggerAsyncId} execution: ${eid}\n`);
1516
}
1617
}).enable();
1718

buffer/buf_readuint16be_offset.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<!-- YAML
22
added: v0.5.5
33
changes:
4+
- version: v14.9.0
5+
pr-url: https://github.com/nodejs/node/pull/34729
6+
description: This function is also available as `buf.readUint16BE()`.
47
- version: v10.0.0
58
pr-url: https://github.com/nodejs/node/pull/18395
69
description: Removed `noAssert` and no implicit coercion of the offset

buffer/buf_readuint16le_offset.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<!-- YAML
22
added: v0.5.5
33
changes:
4+
- version: v14.9.0
5+
pr-url: https://github.com/nodejs/node/pull/34729
6+
description: This function is also available as `buf.readUint16LE()`.
47
- version: v10.0.0
58
pr-url: https://github.com/nodejs/node/pull/18395
69
description: Removed `noAssert` and no implicit coercion of the offset

buffer/buf_readuint32be_offset.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<!-- YAML
22
added: v0.5.5
33
changes:
4+
- version: v14.9.0
5+
pr-url: https://github.com/nodejs/node/pull/34729
6+
description: This function is also available as `buf.readUint32BE()`.
47
- version: v10.0.0
58
pr-url: https://github.com/nodejs/node/pull/18395
69
description: Removed `noAssert` and no implicit coercion of the offset

buffer/buf_readuint32le_offset.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<!-- YAML
22
added: v0.5.5
33
changes:
4+
- version: v14.9.0
5+
pr-url: https://github.com/nodejs/node/pull/34729
6+
description: This function is also available as `buf.readUint32LE()`.
47
- version: v10.0.0
58
pr-url: https://github.com/nodejs/node/pull/18395
69
description: Removed `noAssert` and no implicit coercion of the offset

buffer/buf_readuint8_offset.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<!-- YAML
22
added: v0.5.0
33
changes:
4+
- version: v14.9.0
5+
pr-url: https://github.com/nodejs/node/pull/34729
6+
description: This function is also available as `buf.readUint8()`.
47
- version: v10.0.0
58
pr-url: https://github.com/nodejs/node/pull/18395
69
description: Removed `noAssert` and no implicit coercion of the offset

buffer/buf_readuintbe_offset_bytelength.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<!-- YAML
22
added: v0.11.15
33
changes:
4+
- version: v14.9.0
5+
pr-url: https://github.com/nodejs/node/pull/34729
6+
description: This function is also available as `buf.readUintBE()`.
47
- version: v10.0.0
58
pr-url: https://github.com/nodejs/node/pull/18395
69
description: Removed `noAssert` and no implicit coercion of the offset

buffer/buf_readuintle_offset_bytelength.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<!-- YAML
22
added: v0.11.15
33
changes:
4+
- version: v14.9.0
5+
pr-url: https://github.com/nodejs/node/pull/34729
6+
description: This function is also available as `buf.readUintLE()`.
47
- version: v10.0.0
58
pr-url: https://github.com/nodejs/node/pull/18395
69
description: Removed `noAssert` and no implicit coercion of the offset

buffer/buf_writeuint16be_value_offset.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<!-- YAML
22
added: v0.5.5
33
changes:
4+
- version: v14.9.0
5+
pr-url: https://github.com/nodejs/node/pull/34729
6+
description: This function is also available as `buf.writeUint16BE()`.
47
- version: v10.0.0
58
pr-url: https://github.com/nodejs/node/pull/18395
69
description: Removed `noAssert` and no implicit coercion of the offset

buffer/buf_writeuint16le_value_offset.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<!-- YAML
22
added: v0.5.5
33
changes:
4+
- version: v14.9.0
5+
pr-url: https://github.com/nodejs/node/pull/34729
6+
description: This function is also available as `buf.writeUint16LE()`.
47
- version: v10.0.0
58
pr-url: https://github.com/nodejs/node/pull/18395
69
description: Removed `noAssert` and no implicit coercion of the offset

buffer/buf_writeuint32be_value_offset.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<!-- YAML
22
added: v0.5.5
33
changes:
4+
- version: v14.9.0
5+
pr-url: https://github.com/nodejs/node/pull/34729
6+
description: This function is also available as `buf.writeUint32BE()`.
47
- version: v10.0.0
58
pr-url: https://github.com/nodejs/node/pull/18395
69
description: Removed `noAssert` and no implicit coercion of the offset

buffer/buf_writeuint32le_value_offset.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<!-- YAML
22
added: v0.5.5
33
changes:
4+
- version: v14.9.0
5+
pr-url: https://github.com/nodejs/node/pull/34729
6+
description: This function is also available as `buf.writeUint32LE()`.
47
- version: v10.0.0
58
pr-url: https://github.com/nodejs/node/pull/18395
69
description: Removed `noAssert` and no implicit coercion of the offset

buffer/buf_writeuint8_value_offset.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<!-- YAML
22
added: v0.5.0
33
changes:
4+
- version: v14.9.0
5+
pr-url: https://github.com/nodejs/node/pull/34729
6+
description: This function is also available as `buf.writeUint8()`.
47
- version: v10.0.0
58
pr-url: https://github.com/nodejs/node/pull/18395
69
description: Removed `noAssert` and no implicit coercion of the offset

buffer/buf_writeuintbe_value_offset_bytelength.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<!-- YAML
22
added: v0.5.5
33
changes:
4+
- version: v14.9.0
5+
pr-url: https://github.com/nodejs/node/pull/34729
6+
description: This function is also available as `buf.writeUintBE()`.
47
- version: v10.0.0
58
pr-url: https://github.com/nodejs/node/pull/18395
69
description: Removed `noAssert` and no implicit coercion of the offset

buffer/buf_writeuintle_value_offset_bytelength.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<!-- YAML
22
added: v0.5.5
33
changes:
4+
- version: v14.9.0
5+
pr-url: https://github.com/nodejs/node/pull/34729
6+
description: This function is also available as `buf.writeUintLE()`.
47
- version: v10.0.0
58
pr-url: https://github.com/nodejs/node/pull/18395
69
description: Removed `noAssert` and no implicit coercion of the offset

cli/conditions_condition.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!-- YAML
2+
added: v14.9.0
3+
-->
4+
5+
> Stability: 1 - Experimental
6+
7+
Enable experimental support for custom conditional exports resolution
8+
conditions.
9+
10+
Any number of custom string condition names are permitted.
11+
12+
The default Node.js conditions of `"node"`, `"default"`, `"import"`, and
13+
`"require"` will always apply as defined.
14+

cli/node_options_options.md

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ node --require "./a.js" --require "./b.js"
3535

3636
Node.js options that are allowed are:
3737
<!-- node-options-node start -->
38+
* `--conditions`
3839
* `--diagnostic-dir`
3940
* `--disable-proto`
4041
* `--enable-fips`

crypto/ecdh_computesecret_otherpublickey_inputencoding_outputencoding.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ If `outputEncoding` is given a string will be returned; otherwise a
3030
`ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY` error when `otherPublicKey`
3131
lies outside of the elliptic curve. Since `otherPublicKey` is
3232
usually supplied from a remote user over an insecure network,
33-
its recommended for developers to handle this exception accordingly.
33+
be sure to handle this exception accordingly.
3434

crypto/legacy_api.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11

2-
As a still supported legacy interface, it is possible (but not recommended) to
3-
create new instances of the `crypto.Certificate` class as illustrated in the
4-
examples below.
2+
> Stability: 0 - Deprecated
3+
4+
As a legacy interface, it is possible to create new instances of
5+
the `crypto.Certificate` class as illustrated in the examples below.
56

deprecations/dep0079_custom_inspection_function_on_objects_via_inspect.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ Type: End-of-Life
1616
Using a property named `inspect` on an object to specify a custom inspection
1717
function for [`util.inspect()`][] is deprecated. Use [`util.inspect.custom`][]
1818
instead. For backward compatibility with Node.js prior to version 6.4.0, both
19-
may be specified.
19+
can be specified.
2020

2121
<a id="DEP0080"></a>

deprecations/dep0084_requiring_bundled_internal_dependencies.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The `v8/*` modules do not have any exports, and if not imported in a specific
3232
order would in fact throw errors. As such there are virtually no legitimate use
3333
cases for importing them through `require()`.
3434

35-
On the other hand, `node-inspect` may be installed locally through a package
35+
On the other hand, `node-inspect` can be installed locally through a package
3636
manager, as it is published on the npm registry under the same name. No source
3737
code modification is necessary if that is done.
3838

deprecations/dep0104_process_env_string_coercion.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Type: Documentation-only (supports [`--pending-deprecation`][])
99

1010
When assigning a non-string property to [`process.env`][], the assigned value is
1111
implicitly converted to a string. This behavior is deprecated if the assigned
12-
value is not a string, boolean, or number. In the future, such assignment may
12+
value is not a string, boolean, or number. In the future, such assignment might
1313
result in a thrown error. Please convert the property to a string before
1414
assigning it to `process.env`.
1515

deprecations/dep0115_crypto_prng_crypto_pseudorandombytes_crypto_rng.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Type: Documentation-only (supports [`--pending-deprecation`][])
1313
In recent versions of Node.js, there is no difference between
1414
[`crypto.randomBytes()`][] and `crypto.pseudoRandomBytes()`. The latter is
1515
deprecated along with the undocumented aliases `crypto.prng()` and
16-
`crypto.rng()` in favor of [`crypto.randomBytes()`][] and may be removed in a
16+
`crypto.rng()` in favor of [`crypto.randomBytes()`][] and might be removed in a
1717
future release.
1818

1919
<a id="DEP0116"></a>

deprecations/dep0137_closing_fs_filehandle_on_garbage_collection.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ changes:
88
Type: Runtime
99

1010
Allowing a [`fs.FileHandle`][] object to be closed on garbage collection is
11-
deprecated. In the future, doing so may result in a thrown error that will
11+
deprecated. In the future, doing so might result in a thrown error that will
1212
terminate the process.
1313

1414
Please ensure that all `fs.FileHandle` objects are explicitly closed using

deprecations/dep0145_socket_buffersize.md

+1-122
Original file line numberDiff line numberDiff line change
@@ -9,125 +9,4 @@ Type: Documentation-only
99

1010
[`socket.bufferSize`][] is just an alias for [`writable.writableLength`][].
1111

12-
13-
14-
15-
16-
17-
18-
19-
20-
21-
22-
23-
24-
25-
26-
27-
28-
29-
30-
31-
32-
33-
34-
35-
36-
37-
38-
39-
40-
41-
42-
43-
44-
45-
46-
47-
48-
49-
50-
51-
52-
53-
54-
55-
56-
57-
58-
59-
60-
61-
62-
63-
64-
65-
66-
67-
68-
69-
70-
71-
72-
73-
74-
75-
76-
77-
78-
79-
80-
81-
82-
83-
84-
85-
86-
87-
88-
89-
90-
91-
92-
93-
94-
95-
96-
97-
98-
99-
100-
101-
102-
103-
104-
105-
106-
107-
108-
109-
110-
111-
112-
113-
114-
115-
116-
117-
118-
119-
120-
121-
122-
123-
124-
125-
126-
127-
128-
129-
130-
131-
132-
133-
12+
<a id="DEP0146"></a>

0 commit comments

Comments
 (0)