0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/lib
Ruben Bridgewater 725682cc50 util: fix inspection of typed arrays with unusual length
This makes sure `util.inspect()` does not throw in case the typed
array's length property was set to something invalid. Instead,
always use the original information.

PR-URL: https://github.com/nodejs/node/pull/31458
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2020-01-24 21:09:17 -08:00
..
internal util: fix inspection of typed arrays with unusual length 2020-01-24 21:09:17 -08:00
_http_agent.js http: use for...of in http library code 2019-12-17 10:18:00 -08:00
_http_client.js http: make --insecure-http-parser configurable per-stream or per-server 2020-01-24 17:54:23 +01:00
_http_common.js http: llhttp opt-in insecure HTTP header parsing 2019-12-09 09:56:16 -08:00
_http_incoming.js stream: enable autoDestroy by default 2020-01-03 01:49:10 +01:00
_http_outgoing.js http: http_outgoing rename var to let and const 2020-01-03 15:44:38 +01:00
_http_server.js http: make --insecure-http-parser configurable per-stream or per-server 2020-01-24 17:54:23 +01:00
_stream_duplex.js stream: clean up definition using defineProperties 2020-01-08 21:38:02 -08:00
_stream_passthrough.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
_stream_readable.js stream: simplify push 2020-01-13 09:25:09 +01:00
_stream_transform.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
_stream_wrap.js
_stream_writable.js stream: replace Function.prototype with primordial 2020-01-08 06:10:11 -08:00
_tls_common.js tls: for...of in _tls_common.js 2019-12-17 08:11:13 -05:00
_tls_wrap.js lib: add RegExp primordials 2020-01-07 19:26:15 -08:00
.eslintrc.yaml lib: replace BigInt64Array global by the primordials 2020-01-13 12:42:21 +01:00
assert.js lib: replace Map global by the primordials 2020-01-04 14:56:52 -08:00
async_hooks.js async_hooks: remove internal only error checking 2020-01-11 19:20:45 -08:00
buffer.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00
child_process.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00
cluster.js
console.js
constants.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
crypto.js crypto: add crypto.diffieHellman 2020-01-21 10:49:20 -04:00
dgram.js dgram: test to add and to drop specific membership 2019-12-25 11:58:29 +01:00
dns.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
domain.js lib: replace Map global by the primordials 2020-01-04 14:56:52 -08:00
events.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00
fs.js fs: watch signals for recursive incompatibility 2020-01-24 20:57:27 -08:00
http2.js
http.js lib: flatten access to primordials 2019-11-25 10:28:15 +01:00
https.js https: prevent options object from being mutated 2020-01-03 20:09:27 -08:00
inspector.js lib: replace Map global by the primordials 2020-01-04 14:56:52 -08:00
module.js module: add API for interacting with source maps 2020-01-14 12:39:06 -08:00
net.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00
os.js lib: replace Symbol.toPrimitive to SymbolToPrimitive primordials 2019-12-13 20:05:49 -05:00
path.js
perf_hooks.js lib: replace Map global by the primordials 2020-01-04 14:56:52 -08:00
process.js
punycode.js lib: use strict equality comparison 2019-12-14 08:57:36 -05:00
querystring.js lib: enforce use of Array from primordials 2019-11-27 19:29:01 +01:00
readline.js util: improve unicode support 2020-01-22 15:33:03 +01:00
repl.js repl: do not preview while pasting code 2020-01-13 08:59:45 +01:00
stream.js
string_decoder.js lib: replace Symbol global by the primordials Symbol 2019-12-08 13:38:58 +01:00
sys.js
timers.js timers: fix refresh for expired timers 2019-12-25 12:45:24 +01:00
tls.js tls: allow empty subject even with altNames defined 2019-11-29 02:13:41 +01:00
trace_events.js lib: replace Set global by the primordials 2020-01-04 12:41:09 -08:00
tty.js lib: use static Number properties from primordials 2019-11-30 13:45:38 +01:00
url.js url: declare iterator inside loop 2019-12-11 16:38:06 -06:00
util.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00
v8.js lib: replace Map global by the primordials 2020-01-04 14:56:52 -08:00
vm.js doc,vm,test: remove _sandbox_ from vm documentation 2019-12-24 16:14:05 -08:00
wasi.js wasi: improve use of primordials 2020-01-07 21:49:20 -05:00
worker_threads.js
zlib.js lib: replace use of Error with primordials 2020-01-04 14:50:18 -08:00