@eslint-react/shared 1.17.4-next.4 → 1.17.4-next.8
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.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1631,6 +1631,7 @@ declare const ESLintReactSettingsSchema: ObjectSchema<{
|
|
|
1631
1631
|
readonly useDebugValue: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1632
1632
|
readonly useDeferredValue: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1633
1633
|
readonly useEffect: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1634
|
+
readonly useFormStatus: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1634
1635
|
readonly useId: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1635
1636
|
readonly useImperativeHandle: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1636
1637
|
readonly useInsertionEffect: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
@@ -1757,6 +1758,7 @@ declare const ESLintSettingsSchema: OptionalSchema<ObjectSchema<{
|
|
|
1757
1758
|
readonly useDebugValue: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1758
1759
|
readonly useDeferredValue: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1759
1760
|
readonly useEffect: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1761
|
+
readonly useFormStatus: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1760
1762
|
readonly useId: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1761
1763
|
readonly useImperativeHandle: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1762
1764
|
readonly useInsertionEffect: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
@@ -1880,6 +1882,7 @@ declare const ESLintSettingsSchema: OptionalSchema<ObjectSchema<{
|
|
|
1880
1882
|
readonly useDebugValue: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1881
1883
|
readonly useDeferredValue: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1882
1884
|
readonly useEffect: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1885
|
+
readonly useFormStatus: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1883
1886
|
readonly useId: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1884
1887
|
readonly useImperativeHandle: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1885
1888
|
readonly useInsertionEffect: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
@@ -2203,6 +2206,7 @@ declare const decodeSettings: Memoized<(data: unknown) => {
|
|
|
2203
2206
|
useState?: string[];
|
|
2204
2207
|
useSyncExternalStore?: string[];
|
|
2205
2208
|
useTransition?: string[];
|
|
2209
|
+
useFormStatus?: string[];
|
|
2206
2210
|
};
|
|
2207
2211
|
}>;
|
|
2208
2212
|
/**
|
|
@@ -2240,6 +2244,7 @@ declare const normalizeSettings: Memoized<(settings: ESLintReactSettings) => {
|
|
|
2240
2244
|
useState?: string[];
|
|
2241
2245
|
useSyncExternalStore?: string[];
|
|
2242
2246
|
useTransition?: string[];
|
|
2247
|
+
useFormStatus?: string[];
|
|
2243
2248
|
};
|
|
2244
2249
|
}>;
|
|
2245
2250
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1631,6 +1631,7 @@ declare const ESLintReactSettingsSchema: ObjectSchema<{
|
|
|
1631
1631
|
readonly useDebugValue: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1632
1632
|
readonly useDeferredValue: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1633
1633
|
readonly useEffect: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1634
|
+
readonly useFormStatus: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1634
1635
|
readonly useId: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1635
1636
|
readonly useImperativeHandle: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1636
1637
|
readonly useInsertionEffect: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
@@ -1757,6 +1758,7 @@ declare const ESLintSettingsSchema: OptionalSchema<ObjectSchema<{
|
|
|
1757
1758
|
readonly useDebugValue: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1758
1759
|
readonly useDeferredValue: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1759
1760
|
readonly useEffect: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1761
|
+
readonly useFormStatus: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1760
1762
|
readonly useId: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1761
1763
|
readonly useImperativeHandle: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1762
1764
|
readonly useInsertionEffect: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
@@ -1880,6 +1882,7 @@ declare const ESLintSettingsSchema: OptionalSchema<ObjectSchema<{
|
|
|
1880
1882
|
readonly useDebugValue: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1881
1883
|
readonly useDeferredValue: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1882
1884
|
readonly useEffect: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1885
|
+
readonly useFormStatus: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1883
1886
|
readonly useId: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1884
1887
|
readonly useImperativeHandle: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
1885
1888
|
readonly useInsertionEffect: OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
|
|
@@ -2203,6 +2206,7 @@ declare const decodeSettings: Memoized<(data: unknown) => {
|
|
|
2203
2206
|
useState?: string[];
|
|
2204
2207
|
useSyncExternalStore?: string[];
|
|
2205
2208
|
useTransition?: string[];
|
|
2209
|
+
useFormStatus?: string[];
|
|
2206
2210
|
};
|
|
2207
2211
|
}>;
|
|
2208
2212
|
/**
|
|
@@ -2240,6 +2244,7 @@ declare const normalizeSettings: Memoized<(settings: ESLintReactSettings) => {
|
|
|
2240
2244
|
useState?: string[];
|
|
2241
2245
|
useSyncExternalStore?: string[];
|
|
2242
2246
|
useTransition?: string[];
|
|
2247
|
+
useFormStatus?: string[];
|
|
2243
2248
|
};
|
|
2244
2249
|
}>;
|
|
2245
2250
|
/**
|
package/dist/index.js
CHANGED
|
@@ -654,6 +654,7 @@ var ESLintReactSettingsSchema = object({
|
|
|
654
654
|
useDebugValue: optional(array(string())),
|
|
655
655
|
useDeferredValue: optional(array(string())),
|
|
656
656
|
useEffect: optional(array(string())),
|
|
657
|
+
useFormStatus: optional(array(string())),
|
|
657
658
|
useId: optional(array(string())),
|
|
658
659
|
useImperativeHandle: optional(array(string())),
|
|
659
660
|
useInsertionEffect: optional(array(string())),
|
|
@@ -1351,7 +1352,7 @@ var normalizeSettings = createMemoizedFunction((settings) => {
|
|
|
1351
1352
|
if (!/^[\w-]+$/u.test(name)) return acc;
|
|
1352
1353
|
return acc.set(name, as);
|
|
1353
1354
|
}, /* @__PURE__ */ new Map()),
|
|
1354
|
-
version: tsPattern.match(settings.version).with(tsPattern.P.union(tsPattern.P.nullish, "", "detect"), () => localPkg.getPackageInfoSync("react")?.version).otherwise(tools.F.identity) ?? "
|
|
1355
|
+
version: tsPattern.match(settings.version).with(tsPattern.P.union(tsPattern.P.nullish, "", "detect"), () => localPkg.getPackageInfoSync("react")?.version).otherwise(tools.F.identity) ?? "19.0.0"
|
|
1355
1356
|
});
|
|
1356
1357
|
}, { isEqual: shallowEqual });
|
|
1357
1358
|
var defineSettings = tools.F.identity;
|
package/dist/index.mjs
CHANGED
|
@@ -648,6 +648,7 @@ var ESLintReactSettingsSchema = object({
|
|
|
648
648
|
useDebugValue: optional(array(string())),
|
|
649
649
|
useDeferredValue: optional(array(string())),
|
|
650
650
|
useEffect: optional(array(string())),
|
|
651
|
+
useFormStatus: optional(array(string())),
|
|
651
652
|
useId: optional(array(string())),
|
|
652
653
|
useImperativeHandle: optional(array(string())),
|
|
653
654
|
useInsertionEffect: optional(array(string())),
|
|
@@ -1345,7 +1346,7 @@ var normalizeSettings = createMemoizedFunction((settings) => {
|
|
|
1345
1346
|
if (!/^[\w-]+$/u.test(name)) return acc;
|
|
1346
1347
|
return acc.set(name, as);
|
|
1347
1348
|
}, /* @__PURE__ */ new Map()),
|
|
1348
|
-
version: match(settings.version).with(P.union(P.nullish, "", "detect"), () => getPackageInfoSync("react")?.version).otherwise(F.identity) ?? "
|
|
1349
|
+
version: match(settings.version).with(P.union(P.nullish, "", "detect"), () => getPackageInfoSync("react")?.version).otherwise(F.identity) ?? "19.0.0"
|
|
1349
1350
|
});
|
|
1350
1351
|
}, { isEqual: shallowEqual });
|
|
1351
1352
|
var defineSettings = F.identity;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/shared",
|
|
3
|
-
"version": "1.17.4-next.
|
|
3
|
+
"version": "1.17.4-next.8",
|
|
4
4
|
"description": "ESLint React's Shared constants and functions.",
|
|
5
5
|
"homepage": "https://github.com/rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"local-pkg": "^0.5.1",
|
|
40
40
|
"picomatch": "^4.0.2",
|
|
41
41
|
"ts-pattern": "^5.5.0",
|
|
42
|
-
"@eslint-react/tools": "1.17.4-next.
|
|
42
|
+
"@eslint-react/tools": "1.17.4-next.8"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/picomatch": "^3.0.1",
|