0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal/util
Ruben Bridgewater 5672ab7668
util: prevent tampering with internals in inspect()
This makes sure user options passed to `util.inspect()` will not
override any internal properties (besides `stylize`).

PR-URL: https://github.com/nodejs/node/pull/26577
Fixes: https://github.com/nodejs/node/issues/24765
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2019-03-13 19:28:56 +01:00
..
comparisons.js assert: adjust loose assertions 2019-01-27 03:34:25 +01:00
debuglog.js lib: explicitly initialize debuglog during bootstrap 2019-03-08 13:57:38 +01:00
inspect.js util: prevent tampering with internals in inspect() 2019-03-13 19:28:56 +01:00
inspector.js src: simplify InspectorConsoleCall 2019-02-20 16:54:39 +01:00
types.js lib: expose all type checks from the internal types module 2018-12-27 22:34:47 +01:00