Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c25cf34

Browse filesBrowse files
committed
doc: move DEP0018 to End-of-Life
3b10f7f resolves DEP0018. Move it to End-of-Life. Co-authored-by: Anna Henningsen <github@addaleax.net> PR-URL: #35316 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent 895832c commit c25cf34
Copy full SHA for c25cf34

File tree

Expand file treeCollapse file tree

1 file changed

+9
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-4
lines changed
Open diff view settings
Collapse file

‎doc/api/deprecations.md‎

Copy file name to clipboardExpand all lines: doc/api/deprecations.md
+9-4Lines changed: 9 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -426,16 +426,20 @@ See [`Intl.Segmenter`](https://github.com/tc39/proposal-intl-segmenter).
426426
### DEP0018: Unhandled promise rejections
427427
<!-- YAML
428428
changes:
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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.