eslint 8.48.0 → 8.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/lib/config/rule-validator.js +2 -1
- package/lib/linter/code-path-analysis/code-path-analyzer.js +32 -24
- package/lib/linter/code-path-analysis/code-path.js +1 -0
- package/lib/linter/linter.js +1 -0
- package/lib/rule-tester/flat-rule-tester.js +28 -1
- package/lib/rule-tester/rule-tester.js +87 -2
- package/lib/rules/array-callback-return.js +36 -11
- package/lib/rules/consistent-return.js +32 -7
- package/lib/rules/constructor-super.js +37 -14
- package/lib/rules/getter-return.js +33 -8
- package/lib/rules/lines-between-class-members.js +92 -7
- package/lib/rules/no-fallthrough.js +42 -14
- package/lib/rules/no-this-before-super.js +38 -11
- package/lib/rules/no-unreachable-loop.js +47 -12
- package/lib/rules/no-unreachable.js +39 -10
- package/lib/rules/no-useless-return.js +35 -4
- package/lib/rules/require-atomic-updates.js +21 -7
- package/package.json +11 -9
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "eslint",
|
3
|
-
"version": "8.
|
3
|
+
"version": "8.49.0",
|
4
4
|
"author": "Nicholas C. Zakas <nicholas+npm@nczconsulting.com>",
|
5
5
|
"description": "An AST-based pattern checker for JavaScript.",
|
6
6
|
"bin": {
|
@@ -63,8 +63,8 @@
|
|
63
63
|
"@eslint-community/eslint-utils": "^4.2.0",
|
64
64
|
"@eslint-community/regexpp": "^4.6.1",
|
65
65
|
"@eslint/eslintrc": "^2.1.2",
|
66
|
-
"@eslint/js": "8.
|
67
|
-
"@humanwhocodes/config-array": "^0.11.
|
66
|
+
"@eslint/js": "8.49.0",
|
67
|
+
"@humanwhocodes/config-array": "^0.11.11",
|
68
68
|
"@humanwhocodes/module-importer": "^1.0.1",
|
69
69
|
"@nodelib/fs.walk": "^1.2.8",
|
70
70
|
"ajv": "^6.12.4",
|
@@ -101,6 +101,11 @@
|
|
101
101
|
"devDependencies": {
|
102
102
|
"@babel/core": "^7.4.3",
|
103
103
|
"@babel/preset-env": "^7.4.3",
|
104
|
+
"@wdio/browser-runner": "^8.14.6",
|
105
|
+
"@wdio/cli": "^8.14.6",
|
106
|
+
"@wdio/concise-reporter": "^8.14.0",
|
107
|
+
"@wdio/globals": "^8.14.6",
|
108
|
+
"@wdio/mocha-framework": "^8.14.0",
|
104
109
|
"babel-loader": "^8.0.5",
|
105
110
|
"c8": "^7.12.0",
|
106
111
|
"chai": "^4.0.1",
|
@@ -124,11 +129,6 @@
|
|
124
129
|
"glob": "^7.1.6",
|
125
130
|
"got": "^11.8.3",
|
126
131
|
"gray-matter": "^4.0.3",
|
127
|
-
"karma": "^6.1.1",
|
128
|
-
"karma-chrome-launcher": "^3.1.0",
|
129
|
-
"karma-mocha": "^2.0.1",
|
130
|
-
"karma-mocha-reporter": "^2.2.5",
|
131
|
-
"karma-webpack": "^5.0.0",
|
132
132
|
"lint-staged": "^11.0.0",
|
133
133
|
"load-perf": "^0.2.0",
|
134
134
|
"markdownlint": "^0.25.1",
|
@@ -148,12 +148,14 @@
|
|
148
148
|
"pirates": "^4.0.5",
|
149
149
|
"progress": "^2.0.3",
|
150
150
|
"proxyquire": "^2.0.1",
|
151
|
-
"puppeteer": "^13.7.0",
|
152
151
|
"recast": "^0.20.4",
|
153
152
|
"regenerator-runtime": "^0.13.2",
|
153
|
+
"rollup-plugin-node-polyfills": "^0.2.1",
|
154
154
|
"semver": "^7.5.3",
|
155
155
|
"shelljs": "^0.8.2",
|
156
156
|
"sinon": "^11.0.0",
|
157
|
+
"vite-plugin-commonjs": "^0.8.2",
|
158
|
+
"webdriverio": "^8.14.6",
|
157
159
|
"webpack": "^5.23.0",
|
158
160
|
"webpack-cli": "^4.5.0",
|
159
161
|
"yorkie": "^2.0.0"
|