diff options
-rw-r--r-- | doc/api/deprecations.md | 4 | ||||
-rw-r--r-- | lib/_stream_wrap.js | 2 | ||||
-rw-r--r-- | test/parallel/test-warn-stream-wrap.js | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index dbd9e8648c..24d4a3ea32 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -2349,8 +2349,8 @@ Type: Runtime This property is a reference to the instance itself. -<a id="DEP0XXX"></a> -### DEP0XXX: require('\_stream\_wrap') +<a id="DEP0125"></a> +### DEP0125: require('\_stream\_wrap') <!-- YAML changes: - version: REPLACEME diff --git a/lib/_stream_wrap.js b/lib/_stream_wrap.js index 227548e59d..904128a382 100644 --- a/lib/_stream_wrap.js +++ b/lib/_stream_wrap.js @@ -2,4 +2,4 @@ module.exports = require('internal/js_stream_socket'); process.emitWarning('The _stream_wrap module is deprecated.', - 'DeprecationWarning', 'DEP0XXX'); + 'DeprecationWarning', 'DEP0125'); diff --git a/test/parallel/test-warn-stream-wrap.js b/test/parallel/test-warn-stream-wrap.js index ffc2c510d0..837a6e880b 100644 --- a/test/parallel/test-warn-stream-wrap.js +++ b/test/parallel/test-warn-stream-wrap.js @@ -5,6 +5,6 @@ const common = require('../common'); // _stream_wrap is deprecated. common.expectWarning('DeprecationWarning', - 'The _stream_wrap module is deprecated.', 'DEP0XXX'); + 'The _stream_wrap module is deprecated.', 'DEP0125'); require('_stream_wrap'); |