Skip to content

Commit ced104e

Browse files
jasnellMayaLekova
authored andcommitted
crypto,doc: fix unassignd deprecation codes
Missed when landing the original PRs PR-URL: nodejs#18492 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent a4fda89 commit ced104e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

doc/api/deprecations.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -824,15 +824,15 @@ a future version at which point only authentication tag lengths of 128, 120,
824824
is not included in this list will be considered invalid in compliance with
825825
[NIST SP 800-38D][].
826826
827-
<a id="DEP00XX"></a>
828-
### DEP00XX: crypto.DEFAULT_ENCODING
827+
<a id="DEP0091"></a>
828+
### DEP0091: crypto.DEFAULT_ENCODING
829829
830830
Type: Runtime
831831
832832
The [`crypto.DEFAULT_ENCODING`][] property is deprecated.
833833
834-
<a id="DEP00XX"></a>
835-
### DEP00XX: Top-level `this` bound to `module.exports`
834+
<a id="DEP0092"></a>
835+
### DEP0092: Top-level `this` bound to `module.exports`
836836
837837
Type: Documentation-only
838838

lib/crypto.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ Object.defineProperties(exports, {
206206
enumerable: true,
207207
configurable: true,
208208
get: deprecate(getDefaultEncoding,
209-
'crypto.DEFAULT_ENCODING is deprecated.', 'DEP00XX'),
209+
'crypto.DEFAULT_ENCODING is deprecated.', 'DEP0091'),
210210
set: deprecate(setDefaultEncoding,
211-
'crypto.DEFAULT_ENCODING is deprecated.', 'DEP00XX')
211+
'crypto.DEFAULT_ENCODING is deprecated.', 'DEP0091')
212212
},
213213
constants: {
214214
configurable: false,

0 commit comments

Comments
 (0)