@eslint-react/shared 1.20.0-next.6 → 1.20.0-next.7

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 CHANGED
@@ -41,7 +41,7 @@ declare const HOST_HTML_COMPONENT_TYPES: readonly ["aside", "audio", "b", "base"
41
41
  * @internal
42
42
  */
43
43
  declare const HOST_SVG_COMPONENT_TYPES: readonly ["a", "animate", "animateMotion", "animateTransform", "circle", "clipPath", "defs", "desc", "discard", "ellipse", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "filter", "foreignObject", "g", "hatch", "hatchpath", "image", "line", "linearGradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "script", "set", "stop", "style", "svg", "switch", "symbol", "text", "textPath", "title", "tspan", "use", "view"];
44
- declare const REACT_BUILD_IN_HOOKS: readonly ["useActionState", "useCallback", "useContext", "useDebugValue", "useDeferredValue", "useEffect", "useId", "useImperativeHandle", "useInsertionEffect", "useLayoutEffect", "useMemo", "useOptimistic", "useReducer", "useRef", "useState", "useSyncExternalStore", "useTransition"];
44
+ declare const REACT_BUILD_IN_HOOKS: readonly ["use", "useActionState", "useCallback", "useContext", "useDebugValue", "useDeferredValue", "useEffect", "useFormStatus", "useId", "useImperativeHandle", "useInsertionEffect", "useLayoutEffect", "useMemo", "useOptimistic", "useReducer", "useRef", "useState", "useSyncExternalStore", "useTransition"];
45
45
 
46
46
  /**
47
47
  * Get the ESLint rule creator for a plugin.
@@ -2195,6 +2195,7 @@ declare const decodeSettings: Memoized<(data: unknown) => {
2195
2195
  useDebugValue?: string[];
2196
2196
  useDeferredValue?: string[];
2197
2197
  useEffect?: string[];
2198
+ useFormStatus?: string[];
2198
2199
  useId?: string[];
2199
2200
  useImperativeHandle?: string[];
2200
2201
  useInsertionEffect?: string[];
@@ -2206,7 +2207,6 @@ declare const decodeSettings: Memoized<(data: unknown) => {
2206
2207
  useState?: string[];
2207
2208
  useSyncExternalStore?: string[];
2208
2209
  useTransition?: string[];
2209
- useFormStatus?: string[];
2210
2210
  };
2211
2211
  }>;
2212
2212
  /**
@@ -2244,6 +2244,7 @@ declare const normalizeSettings: Memoized<(settings: ESLintReactSettings) => {
2244
2244
  useDebugValue?: string[];
2245
2245
  useDeferredValue?: string[];
2246
2246
  useEffect?: string[];
2247
+ useFormStatus?: string[];
2247
2248
  useId?: string[];
2248
2249
  useImperativeHandle?: string[];
2249
2250
  useInsertionEffect?: string[];
@@ -2255,7 +2256,6 @@ declare const normalizeSettings: Memoized<(settings: ESLintReactSettings) => {
2255
2256
  useState?: string[];
2256
2257
  useSyncExternalStore?: string[];
2257
2258
  useTransition?: string[];
2258
- useFormStatus?: string[];
2259
2259
  };
2260
2260
  }>;
2261
2261
  /**
package/dist/index.d.ts CHANGED
@@ -41,7 +41,7 @@ declare const HOST_HTML_COMPONENT_TYPES: readonly ["aside", "audio", "b", "base"
41
41
  * @internal
42
42
  */
43
43
  declare const HOST_SVG_COMPONENT_TYPES: readonly ["a", "animate", "animateMotion", "animateTransform", "circle", "clipPath", "defs", "desc", "discard", "ellipse", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "filter", "foreignObject", "g", "hatch", "hatchpath", "image", "line", "linearGradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "script", "set", "stop", "style", "svg", "switch", "symbol", "text", "textPath", "title", "tspan", "use", "view"];
44
- declare const REACT_BUILD_IN_HOOKS: readonly ["useActionState", "useCallback", "useContext", "useDebugValue", "useDeferredValue", "useEffect", "useId", "useImperativeHandle", "useInsertionEffect", "useLayoutEffect", "useMemo", "useOptimistic", "useReducer", "useRef", "useState", "useSyncExternalStore", "useTransition"];
44
+ declare const REACT_BUILD_IN_HOOKS: readonly ["use", "useActionState", "useCallback", "useContext", "useDebugValue", "useDeferredValue", "useEffect", "useFormStatus", "useId", "useImperativeHandle", "useInsertionEffect", "useLayoutEffect", "useMemo", "useOptimistic", "useReducer", "useRef", "useState", "useSyncExternalStore", "useTransition"];
45
45
 
46
46
  /**
47
47
  * Get the ESLint rule creator for a plugin.
@@ -2195,6 +2195,7 @@ declare const decodeSettings: Memoized<(data: unknown) => {
2195
2195
  useDebugValue?: string[];
2196
2196
  useDeferredValue?: string[];
2197
2197
  useEffect?: string[];
2198
+ useFormStatus?: string[];
2198
2199
  useId?: string[];
2199
2200
  useImperativeHandle?: string[];
2200
2201
  useInsertionEffect?: string[];
@@ -2206,7 +2207,6 @@ declare const decodeSettings: Memoized<(data: unknown) => {
2206
2207
  useState?: string[];
2207
2208
  useSyncExternalStore?: string[];
2208
2209
  useTransition?: string[];
2209
- useFormStatus?: string[];
2210
2210
  };
2211
2211
  }>;
2212
2212
  /**
@@ -2244,6 +2244,7 @@ declare const normalizeSettings: Memoized<(settings: ESLintReactSettings) => {
2244
2244
  useDebugValue?: string[];
2245
2245
  useDeferredValue?: string[];
2246
2246
  useEffect?: string[];
2247
+ useFormStatus?: string[];
2247
2248
  useId?: string[];
2248
2249
  useImperativeHandle?: string[];
2249
2250
  useInsertionEffect?: string[];
@@ -2255,7 +2256,6 @@ declare const normalizeSettings: Memoized<(settings: ESLintReactSettings) => {
2255
2256
  useState?: string[];
2256
2257
  useSyncExternalStore?: string[];
2257
2258
  useTransition?: string[];
2258
- useFormStatus?: string[];
2259
2259
  };
2260
2260
  }>;
2261
2261
  /**
package/dist/index.js CHANGED
@@ -192,12 +192,14 @@ var HOST_SVG_COMPONENT_TYPES = [
192
192
  "view"
193
193
  ];
194
194
  var REACT_BUILD_IN_HOOKS = [
195
+ "use",
195
196
  "useActionState",
196
197
  "useCallback",
197
198
  "useContext",
198
199
  "useDebugValue",
199
200
  "useDeferredValue",
200
201
  "useEffect",
202
+ "useFormStatus",
201
203
  "useId",
202
204
  "useImperativeHandle",
203
205
  "useInsertionEffect",
package/dist/index.mjs CHANGED
@@ -186,12 +186,14 @@ var HOST_SVG_COMPONENT_TYPES = [
186
186
  "view"
187
187
  ];
188
188
  var REACT_BUILD_IN_HOOKS = [
189
+ "use",
189
190
  "useActionState",
190
191
  "useCallback",
191
192
  "useContext",
192
193
  "useDebugValue",
193
194
  "useDeferredValue",
194
195
  "useEffect",
196
+ "useFormStatus",
195
197
  "useId",
196
198
  "useImperativeHandle",
197
199
  "useInsertionEffect",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/shared",
3
- "version": "1.20.0-next.6",
3
+ "version": "1.20.0-next.7",
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.20.0-next.6"
42
+ "@eslint-react/tools": "1.20.0-next.7"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/picomatch": "^3.0.1",