diff options
author | Rich Trott <rtrott@gmail.com> | 2019-02-05 21:45:46 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-02-08 00:01:12 -0800 |
commit | 62942e9ad7a59b76e9255ea2560bad2245709efc (patch) | |
tree | b293b632cdd808efc578db6f122145032778d22a /lib/internal/modules/esm | |
parent | 5d609bb11c4c4b73f86100363430010b663f0775 (diff) | |
download | android-node-v8-62942e9ad7a59b76e9255ea2560bad2245709efc.tar.gz android-node-v8-62942e9ad7a59b76e9255ea2560bad2245709efc.tar.bz2 android-node-v8-62942e9ad7a59b76e9255ea2560bad2245709efc.zip |
lib: replace 'assert' with 'internal/assert' for many built-ins
Replace large 'assert' module with tiny 'internal/assert' module for
many built-in uses.
PR-URL: https://github.com/nodejs/node/pull/25956
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
Diffstat (limited to 'lib/internal/modules/esm')
-rw-r--r-- | lib/internal/modules/esm/module_job.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/modules/esm/module_job.js b/lib/internal/modules/esm/module_job.js index e900babefd..016495096c 100644 --- a/lib/internal/modules/esm/module_job.js +++ b/lib/internal/modules/esm/module_job.js @@ -7,7 +7,7 @@ const { } = primordials; const { decorateErrorStack } = require('internal/util'); -const assert = require('assert'); +const assert = require('internal/assert'); const resolvedPromise = SafePromise.resolve(); function noop() {} |