Bump Babel to latest version and update Babel targets (#2182)

* Bump Babel to latest version and update Babel targets

* Bump babel to latest version
This commit is contained in:
absidue 2022-05-11 11:51:13 +02:00 committed by GitHub
parent 24bce11b05
commit ea04ef0a90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 903 additions and 441 deletions

View File

@ -4,15 +4,14 @@
"@babel/env", "@babel/env",
{ {
"targets": { "targets": {
"chrome": "73", "chrome": "96",
"node": 12 "node": 16
} }
} }
], ],
"@babel/typescript" "@babel/typescript"
], ],
"plugins": [ "plugins": [
"@babel/proposal-class-properties", "@babel/proposal-class-properties"
"@babel/proposal-object-rest-spread"
] ]
} }

View File

@ -97,15 +97,14 @@
"ytsr": "^3.8.0" "ytsr": "^3.8.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.15.0", "@babel/core": "^7.17.10",
"@babel/plugin-proposal-class-properties": "^7.14.5", "@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-object-rest-spread": "^7.14.7", "@babel/preset-env": "^7.17.10",
"@babel/preset-env": "^7.15.0", "@babel/preset-typescript": "^7.16.7",
"@babel/preset-typescript": "^7.15.0",
"@typescript-eslint/eslint-plugin": "^4.30.0", "@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0", "@typescript-eslint/parser": "^4.30.0",
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2", "babel-loader": "^8.2.5",
"copy-webpack-plugin": "^9.0.1", "copy-webpack-plugin": "^9.0.1",
"css-loader": "5.2.6", "css-loader": "5.2.6",
"electron": "^16.2.5", "electron": "^16.2.5",

1326
yarn.lock

File diff suppressed because it is too large Load Diff