From d3806f9f3cded6bce9831f5d8ff88372ba7e5861 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Tue, 15 Jan 2019 21:57:29 +0800 Subject: console: refactor inspector console extension installation - Instead of creating the console extensions eagerly during bootstrap and storing them on an object, wrap the code into a function to be called during `installAdditionalCommandLineAPI` only when the extensions are actually needed, which may not even happen if the user do not use the console in an inspector session, and does not need to happen during bootstrap unconditionally. - Simplify the console methods wrapping and move the `consoleFromVM` storage to `internal/util/inspector.js` PR-URL: https://github.com/nodejs/node/pull/25450 Reviewed-By: John-David Dalton Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater --- node.gyp | 1 - 1 file changed, 1 deletion(-) (limited to 'node.gyp') diff --git a/node.gyp b/node.gyp index 91a6304049..6a536c9285 100644 --- a/node.gyp +++ b/node.gyp @@ -97,7 +97,6 @@ 'lib/internal/cluster/worker.js', 'lib/internal/console/constructor.js', 'lib/internal/console/global.js', - 'lib/internal/console/inspector.js', 'lib/internal/coverage-gen/with_profiler.js', 'lib/internal/crypto/certificate.js', 'lib/internal/crypto/cipher.js', -- cgit v1.2.3