Skip to content

Commit

Permalink
doc: move DEP0018 to End-of-Life
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Trott committed Sep 25, 2020
1 parent 895832c commit c25cf34
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,16 +426,20 @@ See [`Intl.Segmenter`](https://github.com/tc39/proposal-intl-segmenter).
### DEP0018: Unhandled promise rejections
<!-- YAML
changes:
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/35316
description: End-of-Life.
- version: v7.0.0
pr-url: https://github.com/nodejs/node/pull/8217
description: Runtime deprecation.
-->

Type: Runtime
Type: End-of-Life

Unhandled promise rejections are deprecated. In the future, promise rejections
that are not handled will terminate the Node.js process with a non-zero exit
code.
Unhandled promise rejections are deprecated. By default, promise rejections
that are not handled terminate the Node.js process with a non-zero exit
code. To change the way Node.js treats unhandled rejections, use the
[`--unhandled-rejections`][] command-line option.

### DEP0019: `require('.')` resolved outside directory
<!-- YAML
Expand Down Expand Up @@ -2648,6 +2652,7 @@ The [`crypto.Certificate()` constructor][] is deprecated. Use

[`--pending-deprecation`]: cli.html#cli_pending_deprecation
[`--throw-deprecation`]: cli.html#cli_throw_deprecation
[`--unhandled-rejections`]: cli.html#cli_unhandled_rejections_mode
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_static_method_buffer_allocunsafeslow_size
[`Buffer.from(array)`]: buffer.html#buffer_static_method_buffer_from_array
[`Buffer.from(buffer)`]: buffer.html#buffer_static_method_buffer_from_buffer
Expand Down

0 comments on commit c25cf34

Please sign in to comment.