@eslint-react/jsx 5.2.3-next.2 → 5.2.4-next.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -64,7 +64,7 @@ function getAttributeName(node) {
64
64
  function findAttribute(context, element, name) {
65
65
  function findProperty(of, named) {
66
66
  for (const property of of) {
67
- if (property.type === AST_NODE_TYPES.Property && Extract.propertyName(property.key) === named) return property;
67
+ if (property.type === AST_NODE_TYPES.Property && Extract.getPropertyName(property.key) === named) return property;
68
68
  if (property.type === AST_NODE_TYPES.SpreadElement && property.argument.type === AST_NODE_TYPES.ObjectExpression) {
69
69
  const found = findProperty(property.argument.properties, named);
70
70
  if (found != null) return found;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/jsx",
3
- "version": "5.2.3-next.2",
3
+ "version": "5.2.4-next.0",
4
4
  "description": "ESLint React's TSESTree JSX utility module for static analysis of JSX patterns.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -33,10 +33,10 @@
33
33
  "@typescript-eslint/types": "^8.58.2",
34
34
  "@typescript-eslint/utils": "^8.58.2",
35
35
  "ts-pattern": "^5.9.0",
36
- "@eslint-react/shared": "5.2.3-next.2",
37
- "@eslint-react/var": "5.2.3-next.2",
38
- "@eslint-react/ast": "5.2.3-next.2",
39
- "@eslint-react/eslint": "5.2.3-next.2"
36
+ "@eslint-react/eslint": "5.2.4-next.0",
37
+ "@eslint-react/ast": "5.2.4-next.0",
38
+ "@eslint-react/var": "5.2.4-next.0",
39
+ "@eslint-react/shared": "5.2.4-next.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "tsdown": "^0.21.8",