Skip to content

Commit 76e67e9

Browse files
committed
lib: assign missed deprecation code
Refs: #26245 PR-URL: #26492 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 0fa1165 commit 76e67e9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

doc/api/deprecations.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2349,8 +2349,8 @@ Type: Runtime
23492349
23502350
This property is a reference to the instance itself.
23512351
2352-
<a id="DEP0XXX"></a>
2353-
### DEP0XXX: require('\_stream\_wrap')
2352+
<a id="DEP0125"></a>
2353+
### DEP0125: require('\_stream\_wrap')
23542354
<!-- YAML
23552355
changes:
23562356
- version: REPLACEME

lib/_stream_wrap.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
module.exports = require('internal/js_stream_socket');
44
process.emitWarning('The _stream_wrap module is deprecated.',
5-
'DeprecationWarning', 'DEP0XXX');
5+
'DeprecationWarning', 'DEP0125');

test/parallel/test-warn-stream-wrap.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ const common = require('../common');
55
// _stream_wrap is deprecated.
66

77
common.expectWarning('DeprecationWarning',
8-
'The _stream_wrap module is deprecated.', 'DEP0XXX');
8+
'The _stream_wrap module is deprecated.', 'DEP0125');
99

1010
require('_stream_wrap');

0 commit comments

Comments
 (0)