diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 987025a571e16e..0653cbe273f206 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -3155,6 +3155,20 @@ Use [`diagnostics_channel.subscribe(name, onMessage)`][] or [`diagnostics_channel.unsubscribe(name, onMessage)`][] which does the same thing instead. +### DEP0164: `process.exit([code])` coercion to integer + + + +Type: Documentation-only + +`code` values other than `undefined`, `null`, integer numbers and integer +strings (e.g., '1') are deprecated as parameter in [`process.exit()`][]. + [Legacy URL API]: url.md#legacy-url-api [NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf [RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3 @@ -3233,6 +3247,7 @@ thing instead. [`os.networkInterfaces()`]: os.md#osnetworkinterfaces [`os.tmpdir()`]: os.md#ostmpdir [`process.env`]: process.md#processenv +[`process.exit()`]: process.md#processexitcode [`process.getActiveResourcesInfo()`]: process.md#processgetactiveresourcesinfo [`process.mainModule`]: process.md#processmainmodule [`punycode`]: punycode.md