@eslint-react/shared 1.48.3 → 1.48.4-beta.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.js CHANGED
@@ -242,7 +242,6 @@ var normalizeSettings = ({
242
242
  version,
243
243
  ...rest
244
244
  }) => {
245
- const fallbackVersion = DEFAULT_ESLINT_REACT_SETTINGS.version;
246
245
  return {
247
246
  ...rest,
248
247
  components: additionalComponents.map((component) => {
@@ -265,7 +264,7 @@ var normalizeSettings = ({
265
264
  polymorphicPropName,
266
265
  skipImportCheck,
267
266
  strict,
268
- version: tsPattern.match(version).with(tsPattern.P.union(tsPattern.P.nullish, "", "detect"), () => getReactVersion(fallbackVersion)).otherwise(eff.identity)
267
+ version: tsPattern.match(version).with(tsPattern.P.union(tsPattern.P.nullish, "", "detect"), () => getReactVersion("19.1.0")).otherwise(eff.identity)
269
268
  };
270
269
  };
271
270
  var cache = /* @__PURE__ */ new Map();
package/dist/index.mjs CHANGED
@@ -216,7 +216,6 @@ var normalizeSettings = ({
216
216
  version,
217
217
  ...rest
218
218
  }) => {
219
- const fallbackVersion = DEFAULT_ESLINT_REACT_SETTINGS.version;
220
219
  return {
221
220
  ...rest,
222
221
  components: additionalComponents.map((component) => {
@@ -239,7 +238,7 @@ var normalizeSettings = ({
239
238
  polymorphicPropName,
240
239
  skipImportCheck,
241
240
  strict,
242
- version: match(version).with(P.union(P.nullish, "", "detect"), () => getReactVersion(fallbackVersion)).otherwise(identity)
241
+ version: match(version).with(P.union(P.nullish, "", "detect"), () => getReactVersion("19.1.0")).otherwise(identity)
243
242
  };
244
243
  };
245
244
  var cache = /* @__PURE__ */ new Map();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/shared",
3
- "version": "1.48.3",
3
+ "version": "1.48.4-beta.0",
4
4
  "description": "ESLint React's Shared constants and functions.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -38,8 +38,8 @@
38
38
  "@typescript-eslint/utils": "^8.30.1",
39
39
  "@zod/mini": "^4.0.0-beta.20250415T232143",
40
40
  "ts-pattern": "^5.7.0",
41
- "@eslint-react/eff": "1.48.3",
42
- "@eslint-react/kit": "1.48.3"
41
+ "@eslint-react/eff": "1.48.4-beta.0",
42
+ "@eslint-react/kit": "1.48.4-beta.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@tsconfig/node22": "^22.0.1",