Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/_stream_wrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

module.exports = require('internal/js_stream_socket');
process.emitWarning('The _stream_wrap module is deprecated.',
'DeprecationWarning', 'DEP0XXX');
'DeprecationWarning', 'DEP0125');
2 changes: 1 addition & 1 deletion test/parallel/test-warn-stream-wrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');