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 @@ -2348,6 +2348,19 @@ Type: Runtime
2348
2348
2349
2349
This property is a reference to the instance itself.
2350
2350
2351
+ <a id="DEP0XXX"></a>
2352
+ ### DEP0XXX: require(' \_ stream\_ wrap' )
2353
+ <!-- YAML
2354
+ changes:
2355
+ - version: REPLACEME
2356
+ pr-url: https://github.com/nodejs/node/pull/26245
2357
+ description: Runtime deprecation.
2358
+ -->
2359
+
2360
+ Type: Runtime
2361
+
2362
+ The `_stream_wrap` module is deprecated.
2363
+
2351
2364
[`--pending-deprecation`]: cli.html#cli_pending_deprecation
2352
2365
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size
2353
2366
[`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