eslint-plugin-react-web-api 5.11.0 → 5.11.2

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import * as core from "@eslint-react/core";
3
3
  import birecord from "birecord";
4
4
  import { P, isMatching, match } from "ts-pattern";
5
5
  import { ESLintUtils } from "@typescript-eslint/utils";
6
- import { Check, Compare, Extract, Traverse, isOneOf } from "@eslint-react/ast";
6
+ import { Check, Compare, Extract, Traverse } from "@eslint-react/ast";
7
7
  import "@eslint-react/eslint";
8
8
  import { isAssignmentTargetEqual, isInitializedFromReactNative, isValueEqual, resolve, resolveEnclosingAssignmentTarget } from "@eslint-react/var";
9
9
  import { AST_NODE_TYPES } from "@typescript-eslint/types";
@@ -28,7 +28,7 @@ var __exportAll = (all, no_symbols) => {
28
28
  //#endregion
29
29
  //#region package.json
30
30
  var name$1 = "eslint-plugin-react-web-api";
31
- var version = "5.11.0";
31
+ var version = "5.11.2";
32
32
 
33
33
  //#endregion
34
34
  //#region src/types/component-phase.ts
@@ -531,7 +531,7 @@ const compose = dual(2, (ab, bc) => (a) => bc(ab(a)));
531
531
  * @param node The node to check
532
532
  * @returns True if the node is conditional
533
533
  */
534
- const isConditional$1 = isOneOf([
534
+ const isConditional$1 = Check.isOneOf([
535
535
  AST_NODE_TYPES.DoWhileStatement,
536
536
  AST_NODE_TYPES.ForInStatement,
537
537
  AST_NODE_TYPES.ForOfStatement,
@@ -802,7 +802,7 @@ function create$2(context) {
802
802
  * @param node The node to check
803
803
  * @returns True if the node is conditional
804
804
  */
805
- const isConditional = isOneOf([
805
+ const isConditional = Check.isOneOf([
806
806
  AST_NODE_TYPES.DoWhileStatement,
807
807
  AST_NODE_TYPES.ForInStatement,
808
808
  AST_NODE_TYPES.ForOfStatement,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-web-api",
3
- "version": "5.11.0",
3
+ "version": "5.11.2",
4
4
  "description": "ESLint React's ESLint plugin for interacting with Web APIs",
5
5
  "keywords": [
6
6
  "react",
@@ -41,11 +41,11 @@
41
41
  "@typescript-eslint/utils": "^8.62.1",
42
42
  "birecord": "^0.1.1",
43
43
  "ts-pattern": "^5.9.0",
44
- "@eslint-react/ast": "5.11.0",
45
- "@eslint-react/eslint": "5.11.0",
46
- "@eslint-react/var": "5.11.0",
47
- "@eslint-react/core": "5.11.0",
48
- "@eslint-react/shared": "5.11.0"
44
+ "@eslint-react/ast": "5.11.2",
45
+ "@eslint-react/core": "5.11.2",
46
+ "@eslint-react/shared": "5.11.2",
47
+ "@eslint-react/var": "5.11.2",
48
+ "@eslint-react/eslint": "5.11.2"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/react": "^19.2.17",