@eslint-react/core 1.40.4-next.3 → 1.40.4-next.5

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.js CHANGED
@@ -46,7 +46,7 @@ var DISPLAY_NAME_ASSIGNMENT_SELECTOR = [
46
46
  "[left.property.name='displayName']"
47
47
  ].join("");
48
48
 
49
- // ../../node_modules/.pnpm/valibot@1.0.0_typescript@5.8.2/node_modules/valibot/dist/index.js
49
+ // ../../node_modules/.pnpm/valibot@1.0.0_typescript@5.8.3/node_modules/valibot/dist/index.js
50
50
  var store;
51
51
  // @__NO_SIDE_EFFECTS__
52
52
  function getGlobalConfig(config2) {
@@ -551,7 +551,7 @@ function isInitializedFromReact(name, importSource, initialScope) {
551
551
  }
552
552
  const args = getRequireExpressionArguments(init);
553
553
  const arg0 = args?.[0];
554
- if (arg0 == null || !AST6__namespace.isKindOfLiteral(arg0, "string")) {
554
+ if (arg0 == null || !AST6__namespace.isLiteral(arg0, "string")) {
555
555
  return false;
556
556
  }
557
557
  return arg0.value === importSource || arg0.value.startsWith(`${importSource}/`);
package/dist/index.mjs CHANGED
@@ -19,7 +19,7 @@ var DISPLAY_NAME_ASSIGNMENT_SELECTOR = [
19
19
  "[left.property.name='displayName']"
20
20
  ].join("");
21
21
 
22
- // ../../node_modules/.pnpm/valibot@1.0.0_typescript@5.8.2/node_modules/valibot/dist/index.js
22
+ // ../../node_modules/.pnpm/valibot@1.0.0_typescript@5.8.3/node_modules/valibot/dist/index.js
23
23
  var store;
24
24
  // @__NO_SIDE_EFFECTS__
25
25
  function getGlobalConfig(config2) {
@@ -524,7 +524,7 @@ function isInitializedFromReact(name, importSource, initialScope) {
524
524
  }
525
525
  const args = getRequireExpressionArguments(init);
526
526
  const arg0 = args?.[0];
527
- if (arg0 == null || !AST6.isKindOfLiteral(arg0, "string")) {
527
+ if (arg0 == null || !AST6.isLiteral(arg0, "string")) {
528
528
  return false;
529
529
  }
530
530
  return arg0.value === importSource || arg0.value.startsWith(`${importSource}/`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/core",
3
- "version": "1.40.4-next.3",
3
+ "version": "1.40.4-next.5",
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": {
@@ -41,12 +41,12 @@
41
41
  "@typescript-eslint/utils": "^8.29.0",
42
42
  "birecord": "^0.1.1",
43
43
  "ts-pattern": "^5.7.0",
44
- "@eslint-react/ast": "1.40.4-next.3",
45
- "@eslint-react/eff": "1.40.4-next.3",
46
- "@eslint-react/jsx": "1.40.4-next.3",
47
- "@eslint-react/kit": "1.40.4-next.3",
48
- "@eslint-react/shared": "1.40.4-next.3",
49
- "@eslint-react/var": "1.40.4-next.3"
44
+ "@eslint-react/ast": "1.40.4-next.5",
45
+ "@eslint-react/eff": "1.40.4-next.5",
46
+ "@eslint-react/kit": "1.40.4-next.5",
47
+ "@eslint-react/shared": "1.40.4-next.5",
48
+ "@eslint-react/jsx": "1.40.4-next.5",
49
+ "@eslint-react/var": "1.40.4-next.5"
50
50
  },
51
51
  "devDependencies": {
52
52
  "tsup": "^8.4.0",