From 72c6ea26830025c9b7cecb2b1dfd1002481d93ad Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Wed, 24 Apr 2019 22:49:32 +0200 Subject: deps: add acorn stage-3 plugins MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This adds bigint, class-fields, numeric-separators, static-class features, private class methods and fields as dependency. That way it's possible to use these in combination with acorn to parse these language features. This also removes a couple of files that were not necessary for Node.js to reduce the code base. PR-URL: https://github.com/nodejs/node/pull/27400 Refs: https://github.com/nodejs/node/issues/27391 Refs: https://github.com/nodejs/node/issues/25835 Reviewed-By: Anna Henningsen Reviewed-By: Michaƫl Zasso --- node.gyp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'node.gyp') diff --git a/node.gyp b/node.gyp index daae6afb58..1ab6b15d73 100644 --- a/node.gyp +++ b/node.gyp @@ -224,6 +224,12 @@ 'deps/node-inspect/lib/internal/inspect_repl.js', 'deps/acorn/acorn/dist/acorn.js', 'deps/acorn/acorn-walk/dist/walk.js', + 'deps/acorn-plugins/acorn-bigint/index.js', + 'deps/acorn-plugins/acorn-class-fields/index.js', + 'deps/acorn-plugins/acorn-numeric-separator/index.js', + 'deps/acorn-plugins/acorn-private-class-elements/index.js', + 'deps/acorn-plugins/acorn-private-methods/index.js', + 'deps/acorn-plugins/acorn-static-class-features/index.js', ], 'node_mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)node_mksnapshot<(EXECUTABLE_SUFFIX)', 'mkcodecache_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mkcodecache<(EXECUTABLE_SUFFIX)', -- cgit v1.2.3