File tree 1 file changed +9
-4
lines changed 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -426,16 +426,20 @@ See [`Intl.Segmenter`](https://github.com/tc39/proposal-intl-segmenter).
426
426
### DEP0018: Unhandled promise rejections
427
427
<!-- YAML
428
428
changes:
429
+ - version: REPLACEME
430
+ pr-url: https://github.com/nodejs/node/pull/35316
431
+ description: End-of-Life.
429
432
- version: v7.0.0
430
433
pr-url: https://github.com/nodejs/node/pull/8217
431
434
description: Runtime deprecation.
432
435
-->
433
436
434
- Type: Runtime
437
+ Type: End-of-Life
435
438
436
- Unhandled promise rejections are deprecated. In the future, promise rejections
437
- that are not handled will terminate the Node.js process with a non-zero exit
438
- code.
439
+ Unhandled promise rejections are deprecated. By default, promise rejections
440
+ that are not handled terminate the Node.js process with a non-zero exit
441
+ code. To change the way Node.js treats unhandled rejections, use the
442
+ [ ` --unhandled-rejections ` ] [ ] command-line option.
439
443
440
444
### DEP0019: ` require('.') ` resolved outside directory
441
445
<!-- YAML
@@ -2648,6 +2652,7 @@ The [`crypto.Certificate()` constructor][] is deprecated. Use
2648
2652
2649
2653
[ `--pending-deprecation` ] : cli.html#cli_pending_deprecation
2650
2654
[ `--throw-deprecation` ] : cli.html#cli_throw_deprecation
2655
+ [ `--unhandled-rejections` ] : cli.html#cli_unhandled_rejections_mode
2651
2656
[ `Buffer.allocUnsafeSlow(size)` ] : buffer.html#buffer_static_method_buffer_allocunsafeslow_size
2652
2657
[ `Buffer.from(array)` ] : buffer.html#buffer_static_method_buffer_from_array
2653
2658
[ `Buffer.from(buffer)` ] : buffer.html#buffer_static_method_buffer_from_buffer
You can’t perform that action at this time.
0 commit comments