crypto,doc: fix unassignd deprecation codes
Missed when landing the original PRs PR-URL: https://github.com/nodejs/node/pull/18492 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
84cc8329f7
commit
2ac6658296
@ -824,15 +824,15 @@ a future version at which point only authentication tag lengths of 128, 120,
|
|||||||
is not included in this list will be considered invalid in compliance with
|
is not included in this list will be considered invalid in compliance with
|
||||||
[NIST SP 800-38D][].
|
[NIST SP 800-38D][].
|
||||||
|
|
||||||
<a id="DEP00XX"></a>
|
<a id="DEP0091"></a>
|
||||||
### DEP00XX: crypto.DEFAULT_ENCODING
|
### DEP0091: crypto.DEFAULT_ENCODING
|
||||||
|
|
||||||
Type: Runtime
|
Type: Runtime
|
||||||
|
|
||||||
The [`crypto.DEFAULT_ENCODING`][] property is deprecated.
|
The [`crypto.DEFAULT_ENCODING`][] property is deprecated.
|
||||||
|
|
||||||
<a id="DEP00XX"></a>
|
<a id="DEP0092"></a>
|
||||||
### DEP00XX: Top-level `this` bound to `module.exports`
|
### DEP0092: Top-level `this` bound to `module.exports`
|
||||||
|
|
||||||
Type: Documentation-only
|
Type: Documentation-only
|
||||||
|
|
||||||
|
@ -206,9 +206,9 @@ Object.defineProperties(exports, {
|
|||||||
enumerable: true,
|
enumerable: true,
|
||||||
configurable: true,
|
configurable: true,
|
||||||
get: deprecate(getDefaultEncoding,
|
get: deprecate(getDefaultEncoding,
|
||||||
'crypto.DEFAULT_ENCODING is deprecated.', 'DEP00XX'),
|
'crypto.DEFAULT_ENCODING is deprecated.', 'DEP0091'),
|
||||||
set: deprecate(setDefaultEncoding,
|
set: deprecate(setDefaultEncoding,
|
||||||
'crypto.DEFAULT_ENCODING is deprecated.', 'DEP00XX')
|
'crypto.DEFAULT_ENCODING is deprecated.', 'DEP0091')
|
||||||
},
|
},
|
||||||
constants: {
|
constants: {
|
||||||
configurable: false,
|
configurable: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user