chore(Deps) update Babel and eslint to their latest versions
This commit is contained in:
parent
5e4f09dd0a
commit
0aba61d5c6
File diff suppressed because it is too large
Load Diff
35
package.json
35
package.json
|
@ -123,30 +123,25 @@
|
||||||
"zxcvbn": "4.4.2"
|
"zxcvbn": "4.4.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "7.9.0",
|
"@babel/core": "7.16.0",
|
||||||
"@babel/plugin-proposal-class-properties": "7.1.0",
|
"@babel/eslint-parser": "7.16.0",
|
||||||
"@babel/plugin-proposal-export-default-from": "7.0.0",
|
"@babel/plugin-proposal-export-default-from": "7.16.0",
|
||||||
"@babel/plugin-proposal-export-namespace-from": "7.0.0",
|
"@babel/preset-env": "7.16.0",
|
||||||
"@babel/plugin-proposal-nullish-coalescing-operator": "7.4.4",
|
"@babel/preset-flow": "7.16.0",
|
||||||
"@babel/plugin-proposal-optional-chaining": "7.2.0",
|
"@babel/preset-react": "7.16.0",
|
||||||
"@babel/plugin-transform-flow-strip-types": "7.0.0",
|
"@babel/runtime": "7.16.0",
|
||||||
"@babel/preset-env": "7.1.0",
|
"babel-loader": "8.2.3",
|
||||||
"@babel/preset-flow": "7.0.0",
|
|
||||||
"@babel/preset-react": "7.0.0",
|
|
||||||
"@babel/runtime": "7.15.3",
|
|
||||||
"babel-eslint": "10.0.1",
|
|
||||||
"babel-loader": "8.0.4",
|
|
||||||
"babel-plugin-optional-require": "0.3.1",
|
"babel-plugin-optional-require": "0.3.1",
|
||||||
"circular-dependency-plugin": "5.2.0",
|
"circular-dependency-plugin": "5.2.0",
|
||||||
"clean-css-cli": "4.3.0",
|
"clean-css-cli": "4.3.0",
|
||||||
"css-loader": "3.6.0",
|
"css-loader": "3.6.0",
|
||||||
"eslint": "5.6.1",
|
"eslint": "8.1.0",
|
||||||
"eslint-config-jitsi": "github:jitsi/eslint-config-jitsi#2.0.0",
|
"eslint-config-jitsi": "github:jitsi/eslint-config-jitsi#a19c9a76ca17e6f468ae5a8097001a6e7f0fee01",
|
||||||
"eslint-plugin-flowtype": "2.50.3",
|
"eslint-plugin-flowtype": "8.0.3",
|
||||||
"eslint-plugin-import": "2.20.2",
|
"eslint-plugin-import": "2.25.2",
|
||||||
"eslint-plugin-jsdoc": "3.8.0",
|
"eslint-plugin-jsdoc": "37.0.3",
|
||||||
"eslint-plugin-react": "7.11.1",
|
"eslint-plugin-react": "7.26.1",
|
||||||
"eslint-plugin-react-native": "3.3.0",
|
"eslint-plugin-react-native": "3.11.0",
|
||||||
"expose-loader": "3.0.0",
|
"expose-loader": "3.0.0",
|
||||||
"flow-bin": "0.104.0",
|
"flow-bin": "0.104.0",
|
||||||
"imports-loader": "0.7.1",
|
"imports-loader": "0.7.1",
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
diff --git a/node_modules/eslint-plugin-flowtype/dist/configs/recommended.json b/node_modules/eslint-plugin-flowtype/dist/configs/recommended.json
|
||||||
|
index 90a0d69..2ad7d68 100644
|
||||||
|
--- a/node_modules/eslint-plugin-flowtype/dist/configs/recommended.json
|
||||||
|
+++ b/node_modules/eslint-plugin-flowtype/dist/configs/recommended.json
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
{
|
||||||
|
- "parser": "@babel/eslint",
|
||||||
|
+ "parser": "@babel/eslint-parser",
|
||||||
|
"parserOptions": {
|
||||||
|
"babelOptions": {
|
||||||
|
"plugins": [
|
|
@ -113,12 +113,7 @@ function getConfig(options = {}) {
|
||||||
// presets when lib-jitsi-meet, for example, is npm linked in
|
// presets when lib-jitsi-meet, for example, is npm linked in
|
||||||
// jitsi-meet.
|
// jitsi-meet.
|
||||||
plugins: [
|
plugins: [
|
||||||
require.resolve('@babel/plugin-transform-flow-strip-types'),
|
require.resolve('@babel/plugin-proposal-export-default-from')
|
||||||
require.resolve('@babel/plugin-proposal-class-properties'),
|
|
||||||
require.resolve('@babel/plugin-proposal-export-default-from'),
|
|
||||||
require.resolve('@babel/plugin-proposal-export-namespace-from'),
|
|
||||||
require.resolve('@babel/plugin-proposal-nullish-coalescing-operator'),
|
|
||||||
require.resolve('@babel/plugin-proposal-optional-chaining')
|
|
||||||
],
|
],
|
||||||
presets: [
|
presets: [
|
||||||
[
|
[
|
||||||
|
@ -133,10 +128,10 @@ function getConfig(options = {}) {
|
||||||
// done unnecessarily. For browsers not specified
|
// done unnecessarily. For browsers not specified
|
||||||
// here, the ES2015+ profile will be used.
|
// here, the ES2015+ profile will be used.
|
||||||
targets: {
|
targets: {
|
||||||
chrome: 58,
|
chrome: 80,
|
||||||
electron: 2,
|
electron: 10,
|
||||||
firefox: 54,
|
firefox: 68,
|
||||||
safari: 11
|
safari: 14
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue