summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAntoine du Hamel <duhamelantoine1995@gmail.com>2022-02-19 18:14:09 +0100
committerDanielle Adams <adamzdanielle@gmail.com>2022-04-23 22:26:08 -0400
commitaace6c262621fb47c15fb02acc3633bc90d6fe5f (patch)
tree0f69c380258713b051178c4f1840e3f5e8ffafba /doc
parent1324023fea0657746983a21254ec339c539e7991 (diff)
downloadnode-new-aace6c262621fb47c15fb02acc3633bc90d6fe5f.tar.gz
tools: lint deprecation codes
Add a rule to make sure deprecation codes are in order. PR-URL: https://github.com/nodejs/node/pull/41992 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/deprecations.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md
index 6837217719..e6fea6582d 100644
--- a/doc/api/deprecations.md
+++ b/doc/api/deprecations.md
@@ -1822,6 +1822,10 @@ Type: End-of-Life
`runInAsyncIdScope` doesn't emit the `'before'` or `'after'` event and can thus
cause a lot of issues. See <https://github.com/nodejs/node/issues/14328>.
+<!-- md-lint skip-deprecation DEP0087 -->
+
+<!-- md-lint skip-deprecation DEP0088 -->
+
### DEP0089: `require('assert')`
<!-- YAML
@@ -2262,10 +2266,10 @@ Type: End-of-Life
The `crypto._toBuf()` function was not designed to be used by modules outside
of Node.js core and was removed.
-### DEP0115: `crypto.prng()`, `crypto.pseudoRandomBytes()`, `crypto.rng()`
-
<!--lint disable nodejs-yaml-comments -->
+### DEP0115: `crypto.prng()`, `crypto.pseudoRandomBytes()`, `crypto.rng()`
+
<!-- YAML
changes:
- version: v11.0.0
@@ -2276,10 +2280,10 @@ changes:
with `--pending-deprecation` support.
-->
-<!--lint enable nodejs-yaml-comments -->
-
Type: Documentation-only (supports [`--pending-deprecation`][])
+<!--lint enable nodejs-yaml-comments -->
+
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