GeezerVison is showing github.com — tools: remove @babel/plugin-syntax-top-level-await · nodejs/node@a6fd39f
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .eslintrc.js -2Lines changed: 0 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -19,7 +19,6 @@ const hacks = [ |
19 | 19 | '@babel/eslint-parser', |
20 | 20 | '@babel/plugin-syntax-class-properties', |
21 | 21 | '@babel/plugin-syntax-import-assertions', |
22 | | - '@babel/plugin-syntax-top-level-await', |
23 | 22 | ]; |
24 | 23 | Module._findPath = (request, paths, isMain) => { |
25 | 24 | const r = ModuleFindPath(request, paths, isMain); |
@@ -43,7 +42,6 @@ module.exports = { |
43 | 42 | plugins: [ |
44 | 43 | Module._findPath('@babel/plugin-syntax-class-properties'), |
45 | 44 | Module._findPath('@babel/plugin-syntax-import-assertions'), |
46 | | - Module._findPath('@babel/plugin-syntax-top-level-await'), |
47 | 45 | ], |
48 | 46 | }, |
49 | 47 | requireConfigFile: false, |
|
Collapse file
Copy file name to clipboardExpand all lines: tools/update-babel-eslint.sh +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -18,7 +18,7 @@ ROOT="$PWD/../.." |
18 | 18 | NPM="$ROOT/deps/npm/bin/npm-cli.js" |
19 | 19 |
|
20 | 20 | "$NODE" "$NPM" init --yes |
21 | | -"$NODE" "$NPM" install --global-style --no-bin-links --production --no-package-lock @babel/core @babel/eslint-parser@latest @babel/plugin-syntax-class-properties@latest @babel/plugin-syntax-import-assertions@latest @babel/plugin-syntax-top-level-await@latest |
| 21 | +"$NODE" "$NPM" install --global-style --no-bin-links --production --no-package-lock @babel/core @babel/eslint-parser@latest @babel/plugin-syntax-class-properties@latest @babel/plugin-syntax-import-assertions@latest |
22 | 22 |
|
23 | 23 | # Use dmn to remove some unneeded files. |
24 | 24 | |
|