diff options
author | Anna Henningsen <anna@addaleax.net> | 2018-09-22 11:45:42 +0200 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-09-27 08:43:05 -0400 |
commit | 709b3b1e1c75afe6b5dd9d7859d0142dd4d20e5c (patch) | |
tree | 70cd237b1f9f8ca4a2d5f02cb84f2dc046947041 /test/parallel/test-crypto-random.js | |
parent | eccc65919a6dc9a05936e070181a16604ba346e6 (diff) | |
download | android-node-v8-709b3b1e1c75afe6b5dd9d7859d0142dd4d20e5c.tar.gz android-node-v8-709b3b1e1c75afe6b5dd9d7859d0142dd4d20e5c.tar.bz2 android-node-v8-709b3b1e1c75afe6b5dd9d7859d0142dd4d20e5c.zip |
crypto: downgrade DEP0115 to `--pending-deprecation` only
Aliases are very cheap to maintain, so an unconditional runtime
deprecation that affects existing ecosystem code is not
a good idea. This commit turns the runtime deprecation into
a `--pending-deprecation` one.
Fixes: https://github.com/nodejs/node/issues/23013
PR-URL: https://github.com/nodejs/node/pull/23017
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'test/parallel/test-crypto-random.js')
-rw-r--r-- | test/parallel/test-crypto-random.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/parallel/test-crypto-random.js b/test/parallel/test-crypto-random.js index fe7b24b485..df06134e43 100644 --- a/test/parallel/test-crypto-random.js +++ b/test/parallel/test-crypto-random.js @@ -19,6 +19,7 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. +// Flags: --pending-deprecation 'use strict'; const common = require('../common'); |