mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00: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:
committed by
Ruben Bridgewater
parent
245c96e7e5
commit
de3b164f4f
@@ -30,7 +30,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