Comparing version 8.23.1 to 8.24.0
@@ -19,3 +19,3 @@ /** | ||
const TARGET_NODE_TYPE = /^(?:Arrow)?FunctionExpression$/u; | ||
const TARGET_METHODS = /^(?:every|filter|find(?:Index)?|flatMap|forEach|map|reduce(?:Right)?|some|sort)$/u; | ||
const TARGET_METHODS = /^(?:every|filter|find(?:Last)?(?:Index)?|flatMap|forEach|map|reduce(?:Right)?|some|sort)$/u; | ||
@@ -22,0 +22,0 @@ /** |
@@ -75,2 +75,3 @@ /** | ||
"lines-between-class-members": () => require("./lines-between-class-members"), | ||
"logical-assignment-operators": () => require("./logical-assignment-operators"), | ||
"max-classes-per-file": () => require("./max-classes-per-file"), | ||
@@ -77,0 +78,0 @@ "max-depth": () => require("./max-depth"), |
@@ -108,3 +108,3 @@ /** | ||
} else if (mode === "safe") { | ||
mode = ecmaFeatures.globalReturn ? "global" : "function"; | ||
mode = ecmaFeatures.globalReturn || context.languageOptions.sourceType === "commonjs" ? "global" : "function"; | ||
} | ||
@@ -111,0 +111,0 @@ |
{ | ||
"name": "eslint", | ||
"version": "8.23.1", | ||
"version": "8.24.0", | ||
"author": "Nicholas C. Zakas <nicholas+npm@nczconsulting.com>", | ||
@@ -59,3 +59,3 @@ "description": "An AST-based pattern checker for JavaScript.", | ||
"@eslint/eslintrc": "^1.3.2", | ||
"@humanwhocodes/config-array": "^0.10.4", | ||
"@humanwhocodes/config-array": "^0.10.5", | ||
"@humanwhocodes/gitignore-to-minimatch": "^1.0.2", | ||
@@ -62,0 +62,0 @@ "@humanwhocodes/module-importer": "^1.0.1", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2826709
398
67077
6