eslint-plugin-react-web-api 3.0.0-next.65 → 3.0.0-next.67

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 +2 -2
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -27,7 +27,7 @@ var __exportAll = (all, no_symbols) => {
27
27
  //#endregion
28
28
  //#region package.json
29
29
  var name$1 = "eslint-plugin-react-web-api";
30
- var version = "3.0.0-next.65";
30
+ var version = "3.0.0-next.67";
31
31
 
32
32
  //#endregion
33
33
  //#region src/types/component-phase.ts
@@ -136,7 +136,7 @@ function create$3(context) {
136
136
  const { type: aType, callee: aCallee, capture: aCapture, listener: aListener, phase: aPhase } = aEntry;
137
137
  const { type: rType, callee: rCallee, capture: rCapture, listener: rListener, phase: rPhase } = rEntry;
138
138
  if (!isInversePhase(aPhase, rPhase)) return false;
139
- return isSameObject(aCallee, rCallee) && ast.isNodeEqual(aListener, rListener) && isValueEqual(aType, rType, [context.sourceCode.getScope(aType), context.sourceCode.getScope(rType)]) && aCapture === rCapture;
139
+ return isSameObject(aCallee, rCallee) && ast.isNodeEqual(aListener, rListener) && isValueEqual(context, aType, rType) && aCapture === rCapture;
140
140
  }
141
141
  function checkInlineFunction(node, callKind, options) {
142
142
  const listener = node.arguments.at(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-web-api",
3
- "version": "3.0.0-next.65",
3
+ "version": "3.0.0-next.67",
4
4
  "description": "ESLint React's ESLint plugin for interacting with Web APIs",
5
5
  "keywords": [
6
6
  "react",
@@ -43,11 +43,11 @@
43
43
  "@typescript-eslint/utils": "canary",
44
44
  "birecord": "^0.1.1",
45
45
  "ts-pattern": "^5.9.0",
46
- "@eslint-react/ast": "3.0.0-next.65",
47
- "@eslint-react/core": "3.0.0-next.65",
48
- "@eslint-react/eff": "3.0.0-next.65",
49
- "@eslint-react/shared": "3.0.0-next.65",
50
- "@eslint-react/var": "3.0.0-next.65"
46
+ "@eslint-react/ast": "3.0.0-next.67",
47
+ "@eslint-react/core": "3.0.0-next.67",
48
+ "@eslint-react/shared": "3.0.0-next.67",
49
+ "@eslint-react/var": "3.0.0-next.67",
50
+ "@eslint-react/eff": "3.0.0-next.67"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/react": "^19.2.14",