eslint-plugin-react-web-api
Advanced tools
Comparing version 1.11.0-next.3 to 1.11.0-next.4
@@ -20,3 +20,3 @@ 'use strict'; | ||
var name = "eslint-plugin-react-web-api"; | ||
var version = "1.11.0-next.3"; | ||
var version = "1.11.0-next.4"; | ||
var createRule = shared.createRuleForPlugin("web-api"); | ||
@@ -161,3 +161,3 @@ | ||
const listeners = callKind === "addEventListener" ? addedEventListeners : removedEventListeners; | ||
listeners.push({ ...opts, type, callee, listener, phase: functionKind }); | ||
listeners.push({ ...opts, _: node, type, callee, listener, phase: functionKind }); | ||
} | ||
@@ -176,3 +176,3 @@ break; | ||
messageId: "noLeakedEventListenerInEffect", | ||
node: added.listener, | ||
node: added._, | ||
data: { | ||
@@ -187,3 +187,3 @@ effectMethodKind: "useEffect" | ||
messageId: "noLeakedEventListenerInLifecycle", | ||
node: added.listener | ||
node: added._ | ||
}); | ||
@@ -190,0 +190,0 @@ continue; |
{ | ||
"name": "eslint-plugin-react-web-api", | ||
"version": "1.11.0-next.3", | ||
"version": "1.11.0-next.4", | ||
"description": "ESLint React's ESLint plugin for interacting with Web APIs", | ||
@@ -51,9 +51,9 @@ "keywords": [ | ||
"ts-pattern": "^5.3.1", | ||
"@eslint-react/ast": "1.11.0-next.3", | ||
"@eslint-react/core": "1.11.0-next.3", | ||
"@eslint-react/jsx": "1.11.0-next.3", | ||
"@eslint-react/shared": "1.11.0-next.3", | ||
"@eslint-react/tools": "1.11.0-next.3", | ||
"@eslint-react/types": "1.11.0-next.3", | ||
"@eslint-react/var": "1.11.0-next.3" | ||
"@eslint-react/ast": "1.11.0-next.4", | ||
"@eslint-react/core": "1.11.0-next.4", | ||
"@eslint-react/jsx": "1.11.0-next.4", | ||
"@eslint-react/shared": "1.11.0-next.4", | ||
"@eslint-react/tools": "1.11.0-next.4", | ||
"@eslint-react/types": "1.11.0-next.4", | ||
"@eslint-react/var": "1.11.0-next.4" | ||
}, | ||
@@ -60,0 +60,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
24674
+ Added@eslint-react/ast@1.11.0-next.4(transitive)
+ Added@eslint-react/core@1.11.0-next.4(transitive)
+ Added@eslint-react/jsx@1.11.0-next.4(transitive)
+ Added@eslint-react/shared@1.11.0-next.4(transitive)
+ Added@eslint-react/tools@1.11.0-next.4(transitive)
+ Added@eslint-react/types@1.11.0-next.4(transitive)
+ Added@eslint-react/var@1.11.0-next.4(transitive)
- Removed@eslint-react/ast@1.11.0-next.3(transitive)
- Removed@eslint-react/core@1.11.0-next.3(transitive)
- Removed@eslint-react/jsx@1.11.0-next.3(transitive)
- Removed@eslint-react/shared@1.11.0-next.3(transitive)
- Removed@eslint-react/tools@1.11.0-next.3(transitive)
- Removed@eslint-react/types@1.11.0-next.3(transitive)
- Removed@eslint-react/var@1.11.0-next.3(transitive)