File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -3163,6 +3163,20 @@ Use [`diagnostics_channel.subscribe(name, onMessage)`][] or
3163
3163
[ ` diagnostics_channel.unsubscribe(name, onMessage) ` ] [ ] which does the same
3164
3164
thing instead.
3165
3165
3166
+ ### DEP0164: ` process.exit([code]) ` coercion to integer
3167
+
3168
+ <!-- YAML
3169
+ changes:
3170
+ - version: REPLACEME
3171
+ pr-url: https://github.com/nodejs/node/pull/43738
3172
+ description: Documentation-only deprecation.
3173
+ -->
3174
+
3175
+ Type: Documentation-only
3176
+
3177
+ ` code ` values other than ` undefined ` , ` null ` , integer numbers and integer
3178
+ strings (e.g., '1') are deprecated as parameter in [ ` process.exit() ` ] [ ] .
3179
+
3166
3180
[ Legacy URL API ] : url.md#legacy-url-api
3167
3181
[ NIST SP 800-38D ] : https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
3168
3182
[ RFC 6066 ] : https://tools.ietf.org/html/rfc6066#section-3
@@ -3241,6 +3255,7 @@ thing instead.
3241
3255
[ `os.networkInterfaces()` ] : os.md#osnetworkinterfaces
3242
3256
[ `os.tmpdir()` ] : os.md#ostmpdir
3243
3257
[ `process.env` ] : process.md#processenv
3258
+ [ `process.exit()` ] : process.md#processexitcode
3244
3259
[ `process.getActiveResourcesInfo()` ] : process.md#processgetactiveresourcesinfo
3245
3260
[ `process.mainModule` ] : process.md#processmainmodule
3246
3261
[ `punycode` ] : punycode.md
You can’t perform that action at this time.
0 commit comments