0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/lib
Teddy Katz 80496a5570
util: add inspect suffix to BigInt64Array elements
This commit updates `util.inspect` to add an `n` suffix to BigInts that
appear in BigInt64Arrays. BigInts are formatted with an `n` suffix in
most cases, but this did not occur in BigInt64Arrays due to an apparent
oversight where the implementation of `inspect` for typed arrays assumed
that all typed array elements are numbers.

PR-URL: https://github.com/nodejs/node/pull/21499
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
2018-06-27 19:04:55 -07:00
..
internal per_context: add warning to Atomics.wake 2018-06-27 17:11:26 -05:00
_http_agent.js http: do not rely on the 'agentRemove' event 2018-05-22 12:10:22 +04:00
_http_client.js http: do not rely on the 'agentRemove' event 2018-05-22 12:10:22 +04:00
_http_common.js http: remove a pair of outdated comments 2018-06-10 20:25:43 -07:00
_http_incoming.js
_http_outgoing.js
_http_server.js http: fix res emit close before user finish 2018-05-24 13:23:57 -04:00
_stream_duplex.js
_stream_passthrough.js
_stream_readable.js stream: inline needMoreData function 2018-06-02 14:18:40 +02:00
_stream_transform.js
_stream_wrap.js
_stream_writable.js stream: simplify writable's validChunk() 2018-05-14 13:30:56 -04:00
_tls_common.js
_tls_wrap.js lib,src: remove openssl feature conditionals 2018-06-08 00:53:37 +02:00
.eslintrc.yaml tools: stricter eslint rule for globals 2018-05-18 15:27:29 +02:00
assert.js assert: handle undefined filename in getErrMessage 2018-05-23 08:40:10 -07:00
async_hooks.js
buffer.js
child_process.js child_process: change windowsHide default to true 2018-06-20 11:02:01 -04:00
cluster.js
console.js lib,src: use V8 API for collection inspection 2018-05-19 01:02:14 +02:00
constants.js
crypto.js crypto: refer to correct deprecation id in comment 2018-06-20 22:02:48 +02:00
dgram.js dns: lazy loaded 2018-05-18 15:25:42 +02:00
dns.js dns: add promisified dns module 2018-06-20 13:35:27 -04:00
domain.js
events.js
fs.js fs: undeprecate lchown() 2018-06-27 11:37:17 -04:00
http2.js
http.js
https.js lib,src: remove openssl feature conditionals 2018-06-08 00:53:37 +02:00
inspector.js worker: initial implementation 2018-06-06 19:43:52 +02:00
module.js
net.js net: report uv_tcp_open() errors 2018-06-22 10:41:31 -04:00
os.js
path.js
perf_hooks.js perf_hooks: remove less useful bootstrap marks 2018-06-15 09:05:19 -07:00
process.js
punycode.js
querystring.js
readline.js repl: changes ctrl+u to delete from cursor to line start 2018-05-18 15:56:14 +02:00
repl.js Revert "repl: add friendly tips about how to exit repl" 2018-05-28 13:53:26 -04:00
stream.js
string_decoder.js
sys.js
timers.js src: refactor timers to remove TimerWrap 2018-06-24 21:35:05 -07:00
tls.js doc: fix inconsistent documentation (host vs hostname) 2018-06-01 11:10:50 +02:00
trace_events.js
tty.js readline: lazy loaded 2018-05-18 15:25:40 +02:00
url.js lib: remove unnecessary require 2018-05-18 15:32:05 +02:00
util.js util: add inspect suffix to BigInt64Array elements 2018-06-27 19:04:55 -07:00
v8.js v8: replace Buffer with FastBuffer in deserialize 2018-06-14 11:47:53 +05:30
vm.js
worker_threads.js worker: rename to worker_threads 2018-06-06 19:44:15 +02:00
zlib.js zlib: removed extra util require 2018-06-05 18:57:44 -07:00