Skip to content

Commit

Permalink
fixup: allow integer strings
Browse files Browse the repository at this point in the history
Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com
  • Loading branch information
daeyeon committed Jul 9, 2022
1 parent 8332bd2 commit 1c53a9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -3156,8 +3156,8 @@ changes:

Type: Documentation-only

Implicit coercion of a non-integer `code` parameter in [`process.exit()`][] is
deprecated. Please use an integer value.
`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
Expand Down

0 comments on commit 1c53a9b

Please sign in to comment.