@eslint-react/core 5.26.8 → 5.27.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.
package/dist/index.d.ts CHANGED
@@ -494,9 +494,8 @@ export type FunctionDisplayNameAssignment = TSESTree.AssignmentExpression & {
494
494
  };
495
495
  };
496
496
  operator: "=";
497
- right: TSESTree.Literal;
498
497
  };
499
- /** The esquery selector matching `displayName` assignment expressions with a statically determinable property name and a literal right side. */
498
+ /** The esquery selector matching `displayName` assignment expressions with a statically determinable property name. */
500
499
  export declare const SEL_FUNCTION_DISPLAY_NAME_ASSIGNMENT: string;
501
500
  //#endregion
502
501
  //#region src/hook.d.ts
package/dist/index.js CHANGED
@@ -430,7 +430,6 @@ const SEL_FUNCTION_DISPLAY_NAME_ASSIGNMENT = [
430
430
  "AssignmentExpression",
431
431
  "[operator='=']",
432
432
  "[left.type='MemberExpression']",
433
- "[right.type='Literal']",
434
433
  ":matches(",
435
434
  "[left.computed=false][left.property.name='displayName']",
436
435
  ", ",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/core",
3
- "version": "5.26.8",
3
+ "version": "5.27.0",
4
4
  "description": "ESLint React's ESLint utility module for static analysis of React core APIs and patterns.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -29,10 +29,10 @@
29
29
  "dist"
30
30
  ],
31
31
  "dependencies": {
32
- "@eslint-react/ast": "5.26.8",
33
- "@eslint-react/eslint": "5.26.8",
34
- "@eslint-react/shared": "5.26.8",
35
- "@eslint-react/var": "5.26.8",
32
+ "@eslint-react/ast": "5.27.0",
33
+ "@eslint-react/eslint": "5.27.0",
34
+ "@eslint-react/shared": "5.27.0",
35
+ "@eslint-react/var": "5.27.0",
36
36
  "@typescript-eslint/types": "^8.71.2",
37
37
  "@typescript-eslint/utils": "^8.71.2",
38
38
  "ts-pattern": "^5.9.2"