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 @@ -3120,6 +3120,20 @@ Use [`diagnostics_channel.subscribe(name, onMessage)`][] or
3120
3120
[ ` diagnostics_channel.unsubscribe(name, onMessage) ` ] [ ] which does the same
3121
3121
thing instead.
3122
3122
3123
+ ### DEP0164: ` process.exit([code]) ` coercion to integer
3124
+
3125
+ <!-- YAML
3126
+ changes:
3127
+ - version: REPLACEME
3128
+ pr-url: https://github.com/nodejs/node/pull/43738
3129
+ description: Documentation-only deprecation.
3130
+ -->
3131
+
3132
+ Type: Documentation-only
3133
+
3134
+ ` code ` values other than ` undefined ` , ` null ` , integer numbers and integer
3135
+ strings (e.g., '1') are deprecated as parameter in [ ` process.exit() ` ] [ ] .
3136
+
3123
3137
[ Legacy URL API ] : url.md#legacy-url-api
3124
3138
[ NIST SP 800-38D ] : https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
3125
3139
[ RFC 6066 ] : https://tools.ietf.org/html/rfc6066#section-3
@@ -3198,6 +3212,7 @@ thing instead.
3198
3212
[ `os.networkInterfaces()` ] : os.md#osnetworkinterfaces
3199
3213
[ `os.tmpdir()` ] : os.md#ostmpdir
3200
3214
[ `process.env` ] : process.md#processenv
3215
+ [ `process.exit()` ] : process.md#processexitcode
3201
3216
[ `process.getActiveResourcesInfo()` ] : process.md#processgetactiveresourcesinfo
3202
3217
[ `process.mainModule` ] : process.md#processmainmodule
3203
3218
[ `punycode` ] : punycode.md
You can’t perform that action at this time.
0 commit comments