diff options
author | Daiki Ihara <sasurau4@gmail.com> | 2019-03-19 09:05:06 +0900 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-03-22 00:42:55 +0100 |
commit | de3b164f4fd069ecfcf496609466fdc85838c08f (patch) | |
tree | 32d3f7c9c2cce4161ee8830a20f1de58fd112d00 /lib/assert.js | |
parent | 245c96e7e5c86260833a6fcfaaa013cdbb5ccf71 (diff) | |
download | android-node-v8-de3b164f4fd069ecfcf496609466fdc85838c08f.tar.gz android-node-v8-de3b164f4fd069ecfcf496609466fdc85838c08f.tar.bz2 android-node-v8-de3b164f4fd069ecfcf496609466fdc85838c08f.zip |
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>
Diffstat (limited to 'lib/assert.js')
-rw-r--r-- | lib/assert.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/assert.js b/lib/assert.js index 4cdbdc7da9..99c000e316 100644 --- a/lib/assert.js +++ b/lib/assert.js @@ -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'); |