GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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
Filter options
  • .eslintrc.js
  • tools
    • update-babel-eslint.sh
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.eslintrc.js‎

Copy file name to clipboardExpand all lines: .eslintrc.js
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ const hacks = [
1919
'@babel/eslint-parser',
2020
'@babel/plugin-syntax-class-properties',
2121
'@babel/plugin-syntax-import-assertions',
22-
'@babel/plugin-syntax-top-level-await',
2322
];
2423
Module._findPath = (request, paths, isMain) => {
2524
const r = ModuleFindPath(request, paths, isMain);
@@ -43,7 +42,6 @@ module.exports = {
4342
plugins: [
4443
Module._findPath('@babel/plugin-syntax-class-properties'),
4544
Module._findPath('@babel/plugin-syntax-import-assertions'),
46-
Module._findPath('@babel/plugin-syntax-top-level-await'),
4745
],
4846
},
4947
requireConfigFile: false,
Collapse file

‎tools/update-babel-eslint.sh‎

Copy file name to clipboardExpand all lines: tools/update-babel-eslint.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ROOT="$PWD/../.."
1818
NPM="$ROOT/deps/npm/bin/npm-cli.js"
1919

2020
"$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
2222

2323
# Use dmn to remove some unneeded files.
2424
"$NODE" "$NPM" exec -- [email protected] -f clean

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.