File tree Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -2349,6 +2349,19 @@ Type: Runtime
23492349
23502350This property is a reference to the instance itself.
23512351
2352+ <a id="DEP0XXX"></a>
2353+ ### DEP0XXX: require(' \_ stream\_ wrap' )
2354+ <!-- YAML
2355+ changes:
2356+ - version: REPLACEME
2357+ pr-url: https://github.com/nodejs/node/pull/26245
2358+ description: Runtime deprecation.
2359+ -->
2360+
2361+ Type: Runtime
2362+
2363+ The `_stream_wrap` module is deprecated.
2364+
23522365[`--pending-deprecation`]: cli.html#cli_pending_deprecation
23532366[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size
23542367[`Buffer.from(array)`]: buffer.html#buffer_class_method_buffer_from_array
Original file line number Diff line number Diff line change 11'use strict' ;
22
33module . exports = require ( 'internal/js_stream_socket' ) ;
4+ process . emitWarning ( 'The _stream_wrap module is deprecated.' ,
5+ 'DeprecationWarning' , 'DEP0XXX' ) ;
Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+
3+ const common = require ( '../common' ) ;
4+
5+ // _stream_wrap is deprecated.
6+
7+ common . expectWarning ( 'DeprecationWarning' ,
8+ 'The _stream_wrap module is deprecated.' , 'DEP0XXX' ) ;
9+
10+ require ( '_stream_wrap' ) ;
You can’t perform that action at this time.
0 commit comments