summaryrefslogtreecommitdiff
path: root/lib/crypto.js
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2018-01-31 17:50:21 -0800
committerJames M Snell <jasnell@gmail.com>2018-02-01 08:09:38 -0800
commit2ac66582968f5117c88e6b95623ca5e3087a0d9d (patch)
tree2cfb108cf44aca39c8b3a9ef3ffb8e5dca154936 /lib/crypto.js
parent84cc8329f71dc8d468923a98dcf6906583b568e4 (diff)
downloadandroid-node-v8-2ac66582968f5117c88e6b95623ca5e3087a0d9d.tar.gz
android-node-v8-2ac66582968f5117c88e6b95623ca5e3087a0d9d.tar.bz2
android-node-v8-2ac66582968f5117c88e6b95623ca5e3087a0d9d.zip
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>
Diffstat (limited to 'lib/crypto.js')
-rw-r--r--lib/crypto.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/crypto.js b/lib/crypto.js
index 5983f1db4f..aa6d4f463d 100644
--- a/lib/crypto.js
+++ b/lib/crypto.js
@@ -206,9 +206,9 @@ Object.defineProperties(exports, {
enumerable: true,
configurable: true,
get: deprecate(getDefaultEncoding,
- 'crypto.DEFAULT_ENCODING is deprecated.', 'DEP00XX'),
+ 'crypto.DEFAULT_ENCODING is deprecated.', 'DEP0091'),
set: deprecate(setDefaultEncoding,
- 'crypto.DEFAULT_ENCODING is deprecated.', 'DEP00XX')
+ 'crypto.DEFAULT_ENCODING is deprecated.', 'DEP0091')
},
constants: {
configurable: false,