0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal
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
..
assert util: inspect() should not exceed breakLength 2019-04-03 02:20:31 +02:00
bootstrap src: do not call into JS in the maxAsyncCallStackDepthChanged interrupt 2019-03-29 23:37:21 -04:00
cluster lib: use Array#includes instead of Array#indexOf 2019-03-21 21:38:02 +08:00
console benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
crypto benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
dns dns: refactor lib/internal/dns/utils.js 2019-04-01 16:58:22 -07:00
fs benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
http2 http2: rename function for clarity 2019-03-27 17:05:17 +01:00
main src: do not call into JS in the maxAsyncCallStackDepthChanged interrupt 2019-03-29 23:37:21 -04:00
modules module: simpler esm loading 2019-03-31 13:13:49 +02:00
per_context src,lib: make DOMException available in all Contexts 2019-03-15 16:54:19 +01:00
policy policy: reduce internal usage of public util for manifest.js 2019-03-23 13:25:42 +08:00
process process: remove protection for SyncWriteStream destroy in stdio 2019-03-28 13:54:15 +01:00
repl repl: remove usage of require('util') in repl/history 2019-03-23 00:16:02 +08:00
streams benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
test src: replace heap_utils.createHeapSnapshot with v8.getHeapSnapshot 2019-03-19 01:04:51 +08:00
util util: inspect() should not exceed breakLength 2019-04-03 02:20:31 +02:00
vm lib: save primordials during bootstrap and use it in builtins 2019-02-02 05:40:47 +08:00
worker worker: remove usage of require('util') 2019-03-23 00:09:48 +08:00
assert.js assert: add internal assert.fail() 2019-02-14 00:00:50 +01:00
async_hooks.js process: load internal/async_hooks before inspector hooks registration 2019-03-23 15:02:23 -04:00
buffer.js buffer: move Buffer prototype wiring into internal/buffer.js 2019-01-10 16:59:27 +08:00
child_process.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
cli_table.js lib,test: remove lib/internal/test/unicode.js 2019-01-03 10:25:59 -08:00
constants.js
dgram.js
dtrace.js lib: move DTRACE_* probes out of global scope 2019-03-12 14:19:36 +00:00
encoding.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
error-serdes.js errors: remove usage of require('util') 2019-03-26 07:26:08 +01:00
errors.js tls: return an OpenSSL error from renegotiate 2019-03-28 14:03:25 -07:00
fixed_queue.js
freelist.js
freeze_intrinsics.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
http.js
idna.js lib: convert legacy process.binding to internalBinding 2019-02-18 07:21:48 +01:00
inspector_async_hook.js process: register the inspector async hooks in bootstrap/node.js 2019-01-16 16:19:22 +08:00
js_stream_socket.js stream: reduce internal usage of public require of util 2019-03-22 00:48:32 +01:00
linkedlist.js
net.js
options.js
priority_queue.js
profiler.js src: refactor coverage connection 2019-03-12 07:03:53 +08:00
querystring.js
readline.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
readme.md
repl.js repl: fix terminal default setting 2019-03-25 16:28:07 +01:00
socket_list.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
stream_base_commons.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
timers.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
tls.js
trace_events_async_hooks.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
tty.js repl: fix terminal default setting 2019-03-25 16:28:07 +01:00
url.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
util.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
v8_prof_polyfill.js
v8_prof_processor.js lib: convert to Arrow Function 2018-11-28 14:59:07 +05:30
validators.js lib: consolidate arrayBufferView validation 2019-03-27 17:05:19 +01:00
worker.js worker: use copy of process.env 2019-03-30 22:25:35 +01:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.