GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: deprecate coercion to integer in process.exit · nodejs/node@302a134

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • deprecations.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/deprecations.md‎

Copy file name to clipboardExpand all lines: doc/api/deprecations.md
+15Lines changed: 15 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -3120,6 +3120,20 @@ Use [`diagnostics_channel.subscribe(name, onMessage)`][] or
31203120
[`diagnostics_channel.unsubscribe(name, onMessage)`][] which does the same
31213121
thing instead.
31223122

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+
31233137
[Legacy URL API]: url.md#legacy-url-api
31243138
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
31253139
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3
@@ -3198,6 +3212,7 @@ thing instead.
31983212
[`os.networkInterfaces()`]: os.md#osnetworkinterfaces
31993213
[`os.tmpdir()`]: os.md#ostmpdir
32003214
[`process.env`]: process.md#processenv
3215+
[`process.exit()`]: process.md#processexitcode
32013216
[`process.getActiveResourcesInfo()`]: process.md#processgetactiveresourcesinfo
32023217
[`process.mainModule`]: process.md#processmainmodule
32033218
[`punycode`]: punycode.md

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.