浏览代码

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

dev1
Saúl Ibarra Corretgé 3 年前
父节点
当前提交
8e35121588
共有 4 个文件被更改,包括 4130 次插入6077 次删除
  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 查看文件

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

+ 4114
- 6054
package-lock.json
文件差异内容过多而无法显示
查看文件


+ 8
- 12
package.json 查看文件

35
     "webrtc-adapter": "8.0.0"
35
     "webrtc-adapter": "8.0.0"
36
   },
36
   },
37
   "devDependencies": {
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
     "jasmine-core": "3.5.0",
46
     "jasmine-core": "3.5.0",
51
     "karma": "5.1.1",
47
     "karma": "5.1.1",
52
     "karma-chrome-launcher": "3.1.0",
48
     "karma-chrome-launcher": "3.1.0",

+ 4
- 10
webpack-shared-config.js 查看文件

43
                                 // done unnecessarily. For browsers not specified
43
                                 // done unnecessarily. For browsers not specified
44
                                 // here, the ES2015+ profile will be used.
44
                                 // here, the ES2015+ profile will be used.
45
                                 targets: {
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
                 test: /\.js$/
55
                 test: /\.js$/

正在加载...
取消
保存