diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-09-20 02:56:13 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-09-20 02:56:13 +0200 |
commit | bbff7403fbf46f9ad92240ac213df8d30ef31b64 (patch) | |
tree | c58400ec5124da1c7d56b01aea83309f80a56c3b /node_modules/acorn-dynamic-import/src | |
parent | 003fb34971cf63466184351b4db5f7c67df4f444 (diff) | |
download | wallet-core-bbff7403fbf46f9ad92240ac213df8d30ef31b64.tar.xz |
update packages
Diffstat (limited to 'node_modules/acorn-dynamic-import/src')
-rw-r--r-- | node_modules/acorn-dynamic-import/src/inject.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/node_modules/acorn-dynamic-import/src/inject.js b/node_modules/acorn-dynamic-import/src/inject.js index 7a666b278..796d87db5 100644 --- a/node_modules/acorn-dynamic-import/src/inject.js +++ b/node_modules/acorn-dynamic-import/src/inject.js @@ -1,5 +1,7 @@ /* eslint-disable no-underscore-dangle */ +export const DynamicImportKey = 'Import'; + export default function injectDynamicImport(acorn) { const tt = acorn.tokTypes; @@ -12,7 +14,7 @@ export default function injectDynamicImport(acorn) { if (this.type !== tt.parenL) { this.unexpected(); } - return this.finishNode(node, 'Import'); + return this.finishNode(node, DynamicImportKey); } function peekNext() { |