Browse Source

chore(deps) update Babel and ESLint to the latest versions

tags/v0.0.2
Saúl Ibarra Corretgé 2 years ago
parent
commit
8e35121588
4 changed files with 4130 additions and 6077 deletions
  1. 4
    1
      .eslintrc.js
  2. 4114
    6054
      package-lock.json
  3. 8
    12
      package.json
  4. 4
    10
      webpack-shared-config.js

+ 4
- 1
.eslintrc.js View File

@@ -1,5 +1,8 @@
1 1
 module.exports = {
2
+    parserOptions: {
3
+        requireConfigFile: false
4
+    },
2 5
     'extends': [
3
-        'eslint-config-jitsi'
6
+        '@jitsi/eslint-config'
4 7
     ]
5 8
 };

+ 4114
- 6054
package-lock.json
File diff suppressed because it is too large
View File


+ 8
- 12
package.json View File

@@ -35,18 +35,14 @@
35 35
     "webrtc-adapter": "8.0.0"
36 36
   },
37 37
   "devDependencies": {
38
-    "@babel/core": "7.5.5",
39
-    "@babel/plugin-proposal-class-properties": "7.1.0",
40
-    "@babel/plugin-proposal-export-namespace-from": "7.0.0",
41
-    "@babel/plugin-proposal-nullish-coalescing-operator": "7.13.8",
42
-    "@babel/plugin-proposal-optional-chaining": "7.2.0",
43
-    "@babel/preset-env": "7.1.0",
44
-    "babel-eslint": "10.0.1",
45
-    "babel-loader": "8.0.4",
46
-    "core-js": "2.5.1",
47
-    "eslint": "5.6.1",
48
-    "eslint-config-jitsi": "github:jitsi/eslint-config-jitsi#974ab743dde38bf2207ad4ea5e4e89cfb98517b1",
49
-    "eslint-plugin-import": "2.20.2",
38
+    "@babel/core": "7.16.0",
39
+    "@babel/eslint-parser": "7.16.0",
40
+    "@babel/preset-env": "7.16.0",
41
+    "@jitsi/eslint-config": "4.0.0",
42
+    "babel-loader": "8.2.3",
43
+    "core-js": "3.19.1",
44
+    "eslint": "8.1.0",
45
+    "eslint-plugin-import": "2.25.2",
50 46
     "jasmine-core": "3.5.0",
51 47
     "karma": "5.1.1",
52 48
     "karma-chrome-launcher": "3.1.0",

+ 4
- 10
webpack-shared-config.js View File

@@ -43,19 +43,13 @@ module.exports = (minimize, analyzeBundle) => {
43 43
                                 // done unnecessarily. For browsers not specified
44 44
                                 // here, the ES2015+ profile will be used.
45 45
                                 targets: {
46
-                                    chrome: 58,
47
-                                    electron: 2,
48
-                                    firefox: 54,
49
-                                    safari: 11
46
+                                    chrome: 80,
47
+                                    electron: 10,
48
+                                    firefox: 68,
49
+                                    safari: 14
50 50
                                 }
51 51
                             }
52 52
                         ]
53
-                    ],
54
-                    plugins: [
55
-                        '@babel/plugin-proposal-class-properties',
56
-                        '@babel/plugin-proposal-optional-chaining',
57
-                        '@babel/plugin-proposal-export-namespace-from',
58
-                        '@babel/plugin-proposal-nullish-coalescing-operator'
59 53
                     ]
60 54
                 },
61 55
                 test: /\.js$/

Loading…
Cancel
Save