File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -3155,6 +3155,20 @@ Use [`diagnostics_channel.subscribe(name, onMessage)`][] or
3155
3155
[ ` diagnostics_channel.unsubscribe(name, onMessage) ` ] [ ] which does the same
3156
3156
thing instead.
3157
3157
3158
+ ### DEP0164: ` process.exit([code]) ` coercion to integer
3159
+
3160
+ <!-- YAML
3161
+ changes:
3162
+ - version: REPLACEME
3163
+ pr-url: https://github.com/nodejs/node/pull/43738
3164
+ description: Documentation-only deprecation.
3165
+ -->
3166
+
3167
+ Type: Documentation-only
3168
+
3169
+ ` code ` values other than ` undefined ` , ` null ` , integer numbers and integer
3170
+ strings (e.g., '1') are deprecated as parameter in [ ` process.exit() ` ] [ ] .
3171
+
3158
3172
[ Legacy URL API ] : url.md#legacy-url-api
3159
3173
[ NIST SP 800-38D ] : https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
3160
3174
[ RFC 6066 ] : https://tools.ietf.org/html/rfc6066#section-3
@@ -3233,6 +3247,7 @@ thing instead.
3233
3247
[ `os.networkInterfaces()` ] : os.md#osnetworkinterfaces
3234
3248
[ `os.tmpdir()` ] : os.md#ostmpdir
3235
3249
[ `process.env` ] : process.md#processenv
3250
+ [ `process.exit()` ] : process.md#processexitcode
3236
3251
[ `process.getActiveResourcesInfo()` ] : process.md#processgetactiveresourcesinfo
3237
3252
[ `process.mainModule` ] : process.md#processmainmodule
3238
3253
[ `punycode` ] : punycode.md
You can’t perform that action at this time.
0 commit comments