mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
assert: reduce internal usage of public require of util
PR-URL: https://github.com/nodejs/node/pull/26762 Refs: https://github.com/nodejs/node/issues/26546 Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Masashi Hirano <shisama07@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
1 parent
de353b75d5
commit
db7c4ac40b
1 file changed
+2
-1
+2
-1
@@ -29,7 +29,8 @@ const { codes: {
|
||||
} } = require('internal/errors');
|
||||
const AssertionError = require('internal/assert/assertion_error');
|
||||
const { openSync, closeSync, readSync } = require('fs');
|
||||
const { inspect, types: { isPromise, isRegExp } } = require('util');
|
||||
const { inspect } = require('internal/util/inspect');
|
||||
const { isPromise, isRegExp } = require('internal/util/types');
|
||||
const { EOL } = require('internal/constants');
|
||||
const { NativeModule } = require('internal/bootstrap/loaders');
|
||||
|
||||
|
||||
Reference in new issue
Block a user