From c25cf34ac1cfb8e3a9508c232d42100e45abd8e9 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 23 Sep 2020 03:53:37 -0700 Subject: [PATCH] doc: move DEP0018 to End-of-Life MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 3b10f7f93 resolves DEP0018. Move it to End-of-Life. Co-authored-by: Anna Henningsen PR-URL: https://github.com/nodejs/node/pull/35316 Reviewed-By: Michaël Zasso Reviewed-By: Colin Ihrig Reviewed-By: Matteo Collina Reviewed-By: Anna Henningsen Reviewed-By: Luigi Pinca Reviewed-By: Сковорода Никита Андреевич Reviewed-By: Shelley Vohr Reviewed-By: Tobias Nießen --- doc/api/deprecations.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 8d16d7f4d0effc..811821239e33c0 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -426,16 +426,20 @@ See [`Intl.Segmenter`](https://github.com/tc39/proposal-intl-segmenter). ### DEP0018: Unhandled promise rejections -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