Skip to content

Commit

Permalink
doc: sync deprecation numbers with v14.x
Browse files Browse the repository at this point in the history
Syncs master and v14.x for DEP0143 - `Transform._transformState`.
Bumps `module.parent` from DEP0143 to DEP0144 on master. Adds
missing DEP number and  metadata for DEP0145: `socket.bufferSize`.

PR-URL: #34368
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
  • Loading branch information
BethGriggs authored and MylesBorins committed Jul 15, 2020
1 parent 3b13032 commit 2183812
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions doc/api/deprecations.md
Expand Up @@ -2719,13 +2719,25 @@ native modules. It was incomplete so far and instead it's better to rely upon
`require('module').builtinModules`.

<a id="DEP0143"></a>
### DEP0143: `module.parent`
### DEP0143: `Transform._transformState`
<!-- YAML
changes:
- version: v14.5.0
pr-url: https://github.com/nodejs/node/pull/33126
description: Runtime deprecation.
-->
Type: Runtime
`Transform._transformState` will be removed in future versions where it is
no longer required due to simplification of the implementation.

<a id="DEP0144"></a>
### DEP0144: `module.parent`
<!-- YAML
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/32217
description: Documentation-only deprecation.
-->

Type: Documentation-only (supports [`--pending-deprecation`][])

Expand All @@ -2751,12 +2763,12 @@ const moduleParents = Object.values(require.cache)
.filter((m) => m.children.includes(module));
```

<a id="DEP0XXX"></a>
### DEP0XXX: `socket.bufferSize`
<a id="DEP0145"></a>
### DEP0145: `socket.bufferSize`
<!-- YAML
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/REPLACEME
pr-url: https://github.com/nodejs/node/pull/34088
description: Documentation-only deprecation.
-->

Expand Down

0 comments on commit 2183812

Please sign in to comment.