0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Ruben Bridgewater e1e9f1e9ee
util: inspect() should not exceed breakLength
Using `util.inspect()` with the `compact` option set to a number
could result in output that exceeded the `breakLength` option. This
change makes sure that limit is taken into account.

PR-URL: https://github.com/nodejs/node/pull/26914
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2019-04-03 02:20:31 +02:00
..
internal util: inspect() should not exceed breakLength 2019-04-03 02:20:31 +02:00
_http_agent.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_http_client.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_http_common.js
_http_incoming.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_http_outgoing.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_http_server.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_stream_duplex.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
_stream_passthrough.js
_stream_readable.js stream: do not unconditionally call _read() on resume() 2019-03-31 14:09:35 +02:00
_stream_transform.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_stream_wrap.js
_stream_writable.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_tls_common.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_tls_wrap.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
.eslintrc.yaml tools: remove eslint rule no-let-in-for-declaration 2019-03-26 09:46:41 -07:00
assert.js
async_hooks.js
buffer.js buffer: use stricter from() input validation 2019-03-30 13:28:24 +01:00
child_process.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
cluster.js
console.js
constants.js
crypto.js crypto: add crypto.sign() and crypto.verify() 2019-03-28 21:57:53 -04:00
dgram.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
dns.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
domain.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
events.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
fs.js fs: remove experimental warning for fs.promises 2019-04-02 14:20:05 +02:00
http2.js
http.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
https.js
inspector.js
module.js
net.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
os.js
path.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
perf_hooks.js
process.js
punycode.js
querystring.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
readline.js readline: replace quadratic regex with linear one 2019-03-30 13:34:39 +01:00
repl.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
stream.js
string_decoder.js
sys.js
timers.js timers: rename validateTimerDuration to getTimerDuration 2019-03-27 17:05:14 +01:00
tls.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
trace_events.js trace_events: remove usage of require('util') 2019-03-24 18:28:07 +08:00
tty.js tty: remove util.inherits usage 2019-03-25 00:26:49 +01:00
url.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
util.js util: don't set the prototype of callbackified functions 2019-03-27 22:45:20 +01:00
v8.js
vm.js
worker_threads.js worker: use copy of process.env 2019-03-30 22:25:35 +01:00
zlib.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00