@eslint-react/jsx 5.30.0-beta.22 → 5.30.0-beta.23

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 +0 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -271,7 +271,6 @@ function getStaticPropertyName(context, property) {
271
271
  if (!property.computed) {
272
272
  if (Check.isIdentifier(key)) return key.name;
273
273
  if (key.type === AST_NODE_TYPES.Literal && typeof key.value === "string") return key.value;
274
- if (key.type === AST_NODE_TYPES.TemplateLiteral && key.expressions.length === 0) return key.quasis[0]?.value.cooked ?? key.quasis[0]?.value.raw ?? null;
275
274
  return null;
276
275
  }
277
276
  const staticValue = getStaticValue(key, context.sourceCode.getScope(key));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/jsx",
3
- "version": "5.30.0-beta.22",
3
+ "version": "5.30.0-beta.23",
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": {
@@ -29,8 +29,8 @@
29
29
  "dist"
30
30
  ],
31
31
  "dependencies": {
32
- "@eslint-react/ast": "5.30.0-beta.22",
33
- "@eslint-react/eslint": "5.30.0-beta.22",
32
+ "@eslint-react/ast": "5.30.0-beta.23",
33
+ "@eslint-react/eslint": "5.30.0-beta.23",
34
34
  "@typescript-eslint/types": "^8.72.1",
35
35
  "@typescript-eslint/utils": "^8.72.1"
36
36
  },