Skip to content

Commit

Permalink
feat: 14.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
h7lin committed Aug 31, 2020
1 parent 44b611b commit 376dbfa
Show file tree
Hide file tree
Showing 82 changed files with 710 additions and 521 deletions.
2 changes: 1 addition & 1 deletion async_hooks/asynchronous_context_example.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async_hooks.createHook({
const eid = async_hooks.executionAsyncId();
const indentStr = ' '.repeat(indent);
fs.writeSync(
1,
process.stdout.fd,
`${indentStr}${type}(${asyncId}):` +
` trigger: ${triggerAsyncId} execution: ${eid}\n`);
},
Expand Down
3 changes: 2 additions & 1 deletion async_hooks/triggerasyncid.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ async_hooks.createHook({
init(asyncId, type, triggerAsyncId) {
const eid = async_hooks.executionAsyncId();
fs.writeSync(
1, `${type}(${asyncId}): trigger: ${triggerAsyncId} execution: ${eid}\n`);
process.stdout.fd,
`${type}(${asyncId}): trigger: ${triggerAsyncId} execution: ${eid}\n`);
}
}).enable();
Expand Down
3 changes: 3 additions & 0 deletions buffer/buf_readuint16be_offset.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!-- YAML
added: v0.5.5
changes:
- version: v14.9.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.readUint16BE()`.
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed `noAssert` and no implicit coercion of the offset
Expand Down
3 changes: 3 additions & 0 deletions buffer/buf_readuint16le_offset.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!-- YAML
added: v0.5.5
changes:
- version: v14.9.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.readUint16LE()`.
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed `noAssert` and no implicit coercion of the offset
Expand Down
3 changes: 3 additions & 0 deletions buffer/buf_readuint32be_offset.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!-- YAML
added: v0.5.5
changes:
- version: v14.9.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.readUint32BE()`.
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed `noAssert` and no implicit coercion of the offset
Expand Down
3 changes: 3 additions & 0 deletions buffer/buf_readuint32le_offset.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!-- YAML
added: v0.5.5
changes:
- version: v14.9.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.readUint32LE()`.
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed `noAssert` and no implicit coercion of the offset
Expand Down
3 changes: 3 additions & 0 deletions buffer/buf_readuint8_offset.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!-- YAML
added: v0.5.0
changes:
- version: v14.9.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.readUint8()`.
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed `noAssert` and no implicit coercion of the offset
Expand Down
3 changes: 3 additions & 0 deletions buffer/buf_readuintbe_offset_bytelength.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!-- YAML
added: v0.11.15
changes:
- version: v14.9.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.readUintBE()`.
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed `noAssert` and no implicit coercion of the offset
Expand Down
3 changes: 3 additions & 0 deletions buffer/buf_readuintle_offset_bytelength.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!-- YAML
added: v0.11.15
changes:
- version: v14.9.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.readUintLE()`.
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed `noAssert` and no implicit coercion of the offset
Expand Down
3 changes: 3 additions & 0 deletions buffer/buf_writeuint16be_value_offset.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!-- YAML
added: v0.5.5
changes:
- version: v14.9.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.writeUint16BE()`.
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed `noAssert` and no implicit coercion of the offset
Expand Down
3 changes: 3 additions & 0 deletions buffer/buf_writeuint16le_value_offset.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!-- YAML
added: v0.5.5
changes:
- version: v14.9.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.writeUint16LE()`.
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed `noAssert` and no implicit coercion of the offset
Expand Down
3 changes: 3 additions & 0 deletions buffer/buf_writeuint32be_value_offset.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!-- YAML
added: v0.5.5
changes:
- version: v14.9.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.writeUint32BE()`.
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed `noAssert` and no implicit coercion of the offset
Expand Down
3 changes: 3 additions & 0 deletions buffer/buf_writeuint32le_value_offset.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!-- YAML
added: v0.5.5
changes:
- version: v14.9.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.writeUint32LE()`.
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed `noAssert` and no implicit coercion of the offset
Expand Down
3 changes: 3 additions & 0 deletions buffer/buf_writeuint8_value_offset.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!-- YAML
added: v0.5.0
changes:
- version: v14.9.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.writeUint8()`.
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed `noAssert` and no implicit coercion of the offset
Expand Down
3 changes: 3 additions & 0 deletions buffer/buf_writeuintbe_value_offset_bytelength.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!-- YAML
added: v0.5.5
changes:
- version: v14.9.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.writeUintBE()`.
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed `noAssert` and no implicit coercion of the offset
Expand Down
3 changes: 3 additions & 0 deletions buffer/buf_writeuintle_value_offset_bytelength.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<!-- YAML
added: v0.5.5
changes:
- version: v14.9.0
pr-url: https://github.com/nodejs/node/pull/34729
description: This function is also available as `buf.writeUintLE()`.
- version: v10.0.0
pr-url: https://github.com/nodejs/node/pull/18395
description: Removed `noAssert` and no implicit coercion of the offset
Expand Down
14 changes: 14 additions & 0 deletions cli/conditions_condition.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!-- YAML
added: v14.9.0
-->

> Stability: 1 - Experimental

Enable experimental support for custom conditional exports resolution
conditions.

Any number of custom string condition names are permitted.

The default Node.js conditions of `"node"`, `"default"`, `"import"`, and
`"require"` will always apply as defined.

1 change: 1 addition & 0 deletions cli/node_options_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ node --require "./a.js" --require "./b.js"

Node.js options that are allowed are:
<!-- node-options-node start -->
* `--conditions`
* `--diagnostic-dir`
* `--disable-proto`
* `--enable-fips`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ If `outputEncoding` is given a string will be returned; otherwise a
`ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY` error when `otherPublicKey`
lies outside of the elliptic curve. Since `otherPublicKey` is
usually supplied from a remote user over an insecure network,
its recommended for developers to handle this exception accordingly.
be sure to handle this exception accordingly.

7 changes: 4 additions & 3 deletions crypto/legacy_api.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

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

As a legacy interface, it is possible to create new instances of
the `crypto.Certificate` class as illustrated in the examples below.

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

<a id="DEP0080"></a>
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The `v8/*` modules do not have any exports, and if not imported in a specific
order would in fact throw errors. As such there are virtually no legitimate use
cases for importing them through `require()`.

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

Expand Down
2 changes: 1 addition & 1 deletion deprecations/dep0104_process_env_string_coercion.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Type: Documentation-only (supports [`--pending-deprecation`][])

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

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

<a id="DEP0116"></a>
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ changes:
Type: Runtime

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

Please ensure that all `fs.FileHandle` objects are explicitly closed using
Expand Down
123 changes: 1 addition & 122 deletions deprecations/dep0145_socket_buffersize.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,125 +9,4 @@ Type: Documentation-only

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



























































































































<a id="DEP0146"></a>
Loading

0 comments on commit 376dbfa

Please sign in to comment.