summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2019-02-05 21:05:24 -0800
committerRich Trott <rtrott@gmail.com>2019-02-08 00:01:09 -0800
commit5d609bb11c4c4b73f86100363430010b663f0775 (patch)
tree62ff89568f2269961114e93be2d8b8ad0fe1af7f /node.gyp
parent64745c3ade8bad694fffba06736b461ab9a05a1d (diff)
downloadandroid-node-v8-5d609bb11c4c4b73f86100363430010b663f0775.tar.gz
android-node-v8-5d609bb11c4c4b73f86100363430010b663f0775.tar.bz2
android-node-v8-5d609bb11c4c4b73f86100363430010b663f0775.zip
assert: create internal/assert micro-module
For use in built-in modules that could benefit from `assert()` without having to load the entire module (unless an AssertionError actually occurs): lib/internal/assert.js. 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 'node.gyp')
-rw-r--r--node.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 5596c6e491..3624a65eae 100644
--- a/node.gyp
+++ b/node.gyp
@@ -85,6 +85,7 @@
'lib/vm.js',
'lib/worker_threads.js',
'lib/zlib.js',
+ 'lib/internal/assert.js',
'lib/internal/assert/assertion_error.js',
'lib/internal/async_hooks.js',
'lib/internal/buffer.js',