node/lib/internal
Daniel Bevenius 6c0fd55488 lib: guard inspector console using process var
Currently the inspector module is always loaded and if it does not
return anything the inspector console setup is skipped.

This commit uses the process.config.variables.v8_enable_inspector
variable to only load the inspector module if it is enabled.

PR-URL: https://github.com/nodejs/node/pull/15008
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
2017-11-13 08:00:12 -06:00
..
cluster lib: use destructuring for some constants 2017-10-16 23:34:32 +02:00
crypto crypto: migrate crypto.randomBytes to internal/errors 2017-10-26 08:09:00 -07:00
http2 lib: improve the usage of TypeError[INVALID_ARG_TYPE] 2017-11-13 08:00:10 -06:00
loader lib: refactor ES module loader for readability 2017-11-06 17:43:12 -05:00
process async_hooks: skip runtime checks when disabled 2017-10-19 12:45:21 +02:00
streams lib: use destructuring for some constants 2017-10-16 23:34:32 +02:00
test test: add Unicode characters regression test 2017-04-04 11:14:14 -07:00
util util,assert: expose util.isDeepStrictEqual() 2017-10-25 22:30:37 -07:00
bootstrap_node.js lib: guard inspector console using process var 2017-11-13 08:00:12 -06:00
buffer.js buffer: move setupBufferJS to internal 2017-10-25 10:36:17 -07:00
child_process.js lib: improve the usage of TypeError[INVALID_ARG_TYPE] 2017-11-13 08:00:10 -06:00
encoding.js lib: improve the usage of TypeError[INVALID_ARG_TYPE] 2017-11-13 08:00:10 -06:00
errors.js lib: improve the usage of TypeError[INVALID_ARG_TYPE] 2017-11-13 08:00:10 -06:00
freelist.js lib: update indentation of ternaries 2017-07-17 22:09:46 -07:00
fs.js lib: use destructuring for some constants 2017-10-16 23:34:32 +02:00
http.js http2: introducing HTTP/2 2017-08-04 12:55:44 -07:00
inspector_async_hook.js inspector: track async stacks when necessary 2017-10-29 09:38:37 -07:00
linkedlist.js linkedlist: correct grammar in comments 2017-07-31 08:03:19 +08:00
module.js module: support custom paths to require.resolve() 2017-10-25 09:14:14 -04:00
net.js net: add symbol to normalized connect() args 2017-05-19 11:22:40 -04:00
os.js os: add CIDR support 2017-08-14 15:43:10 -04:00
process.js lib: improve the usage of TypeError[INVALID_ARG_TYPE] 2017-11-13 08:00:10 -06:00
querystring.js lib: use Object.create(null) directly 2017-03-24 15:25:49 -07:00
readline.js lib: remove excess indentation 2017-07-07 13:18:19 -07:00
readme.md doc: limit lines to 80 cols in internal README 2017-04-13 15:30:10 -07:00
repl.js lib: use destructuring for some constants 2017-10-16 23:34:32 +02:00
safe_globals.js module: Allow runMain to be ESM 2017-09-07 15:18:32 -05:00
socket_list.js child_process: fix memory leak in .fork() 2017-09-30 22:18:29 -07:00
tls.js tls: deprecate parseCertString & move to internal 2017-09-13 16:54:35 -03:00
url.js lib: improve the usage of TypeError[INVALID_ARG_TYPE] 2017-11-13 08:00:10 -06:00
util.js lib: improve the usage of TypeError[INVALID_ARG_TYPE] 2017-11-13 08:00:10 -06:00
v8_prof_polyfill.js lib: replace String concatenation with template 2017-11-13 07:59:49 -06:00
v8_prof_processor.js fix --prof-process --preprocess flag 2017-08-23 08:19:14 -07:00
wrap_js_stream.js lib: refactor wrap_js_stream for ES6/readability 2017-10-19 18:06:27 +02: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 are subject to change at any time. Reliance on these modules outside of core is not supported in any way.