mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
27e12e7524
Previously, various inputs other than non-negative integers would produce incorrect results. Added type-checking on input, returning false for anything other than non-negative integers. Also clarified in docs. PR-URL: https://github.com/nodejs/node/pull/15567 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> |
||
---|---|---|
.. | ||
no_dropped_stdio.js | ||
no_dropped_stdio.out | ||
no_interleaved_stdio.js | ||
no_interleaved_stdio.out | ||
pseudo-tty.status | ||
ref_keeps_node_running.js | ||
ref_keeps_node_running.out | ||
stdin-setrawmode.js | ||
stdin-setrawmode.out | ||
test-handle-wrap-isrefed-tty.js | ||
test-handle-wrap-isrefed-tty.out | ||
test-stderr-stdout-handle-sigwinch.js | ||
test-stderr-stdout-handle-sigwinch.out | ||
test-tty-isatty.js | ||
test-tty-isatty.out | ||
test-tty-stdout-end.js | ||
test-tty-stdout-end.out | ||
test-tty-wrap.js | ||
test-tty-wrap.out | ||
testcfg.py |