File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -426,16 +426,20 @@ See [`Intl.Segmenter`](https://github.com/tc39/proposal-intl-segmenter).
426426### DEP0018: Unhandled promise rejections
427427<!-- YAML
428428changes:
429+ - version: REPLACEME
430+ pr-url: https://github.com/nodejs/node/pull/35316
431+ description: End-of-Life.
429432 - version: v7.0.0
430433 pr-url: https://github.com/nodejs/node/pull/8217
431434 description: Runtime deprecation.
432435-->
433436
434- Type: Runtime
437+ Type: End-of-Life
435438
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.
439443
440444### DEP0019: ` require('.') ` resolved outside directory
441445<!-- YAML
@@ -2648,6 +2652,7 @@ The [`crypto.Certificate()` constructor][] is deprecated. Use
26482652
26492653[ `--pending-deprecation` ] : cli.html#cli_pending_deprecation
26502654[ `--throw-deprecation` ] : cli.html#cli_throw_deprecation
2655+ [ `--unhandled-rejections` ] : cli.html#cli_unhandled_rejections_mode
26512656[ `Buffer.allocUnsafeSlow(size)` ] : buffer.html#buffer_static_method_buffer_allocunsafeslow_size
26522657[ `Buffer.from(array)` ] : buffer.html#buffer_static_method_buffer_from_array
26532658[ `Buffer.from(buffer)` ] : buffer.html#buffer_static_method_buffer_from_buffer
You can’t perform that action at this time.
0 commit comments