summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2018-05-02 16:21:40 +0200
committerRuben Bridgewater <ruben@bridgewater.de>2018-05-10 13:39:19 +0200
commitb304096a14f4b266738faeaded8ea31215528ea0 (patch)
tree018595b6f5f88e6f706d3fc33324fdfcf779ac77 /node.gyp
parent4c6df73ae4e3c7ce0b2346bc38c04c6501239b02 (diff)
downloadandroid-node-v8-b304096a14f4b266738faeaded8ea31215528ea0.tar.gz
android-node-v8-b304096a14f4b266738faeaded8ea31215528ea0.tar.bz2
android-node-v8-b304096a14f4b266738faeaded8ea31215528ea0.zip
assert: move AssertionError into own file
This moves the `assert` parts from `internal/errors` into an own file. `internal/errors` got bigger and bigger and it was difficult to keep a good overview of what was going on. While doing so it also removes the `internalAssert` function and just lazy loads `assert`. PR-URL: https://github.com/nodejs/node/pull/20486 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.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 aeb558d566..54f22a33da 100644
--- a/node.gyp
+++ b/node.gyp
@@ -79,6 +79,7 @@
'lib/v8.js',
'lib/vm.js',
'lib/zlib.js',
+ 'lib/internal/assert.js',
'lib/internal/async_hooks.js',
'lib/internal/buffer.js',
'lib/internal/cli_table.js',