File tree 3 files changed +25
-0
lines changed
3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -2349,6 +2349,19 @@ Type: Runtime
2349
2349
2350
2350
This property is a reference to the instance itself.
2351
2351
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
+
2352
2365
[`--pending-deprecation`]: cli.html#cli_pending_deprecation
2353
2366
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size
2354
2367
[`Buffer.from(array)`]: buffer.html#buffer_class_method_buffer_from_array
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
3
module . 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