util: move inspect in separate file
The inspect function became very big and it's better to handle this in a separate file. PR-URL: https://github.com/nodejs/node/pull/22845 Reviewed-By: John-David Dalton <john.david.dalton@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
4da11f2dc5
commit
c600a3ce1c
1155
lib/internal/util/inspect.js
Normal file
1155
lib/internal/util/inspect.js
Normal file
File diff suppressed because it is too large
Load Diff
1130
lib/util.js
1130
lib/util.js
File diff suppressed because it is too large
Load Diff
1
node.gyp
1
node.gyp
@ -162,6 +162,7 @@
|
||||
'lib/internal/url.js',
|
||||
'lib/internal/util.js',
|
||||
'lib/internal/util/comparisons.js',
|
||||
'lib/internal/util/inspect.js',
|
||||
'lib/internal/util/inspector.js',
|
||||
'lib/internal/util/types.js',
|
||||
'lib/internal/http2/core.js',
|
||||
|
@ -11,4 +11,4 @@ const list = process.moduleLoadList.slice();
|
||||
|
||||
const assert = require('assert');
|
||||
|
||||
assert(list.length <= 75, list);
|
||||
assert(list.length <= 76, list);
|
||||
|
Loading…
x
Reference in New Issue
Block a user