@eslint-react/shared 1.6.1-next.3 → 1.7.0-next.1
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 +8 -5
- package/dist/index.d.ts +8 -5
- package/dist/index.js +4 -3
- package/dist/index.mjs +4 -3
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -169,6 +169,7 @@ declare const ESLintReactSettingsSchema: valibot.ObjectSchema<{
|
|
|
169
169
|
readonly importSource: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
170
170
|
readonly jsxPragma: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
171
171
|
readonly jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
172
|
+
readonly polymorphicPropName: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
172
173
|
readonly strict: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
|
|
173
174
|
readonly version: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
174
175
|
readonly additionalComponents: valibot.OptionalSchema<valibot.ArraySchema<valibot.ObjectSchema<{
|
|
@@ -221,7 +222,7 @@ declare const ESLintReactSettingsSchema: valibot.ObjectSchema<{
|
|
|
221
222
|
*/
|
|
222
223
|
readonly defaultValue: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
223
224
|
}, undefined>, undefined>, readonly []>;
|
|
224
|
-
}, undefined>, undefined>,
|
|
225
|
+
}, undefined>, undefined>, never>;
|
|
225
226
|
readonly additionalHooks: valibot.OptionalSchema<valibot.ObjectSchema<{
|
|
226
227
|
readonly use: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
|
|
227
228
|
readonly useActionState: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
|
|
@@ -251,6 +252,7 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
251
252
|
readonly importSource: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
252
253
|
readonly jsxPragma: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
253
254
|
readonly jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
255
|
+
readonly polymorphicPropName: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
254
256
|
readonly strict: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
|
|
255
257
|
readonly version: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
256
258
|
readonly additionalComponents: valibot.OptionalSchema<valibot.ArraySchema<valibot.ObjectSchema<{
|
|
@@ -303,7 +305,7 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
303
305
|
*/
|
|
304
306
|
readonly defaultValue: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
305
307
|
}, undefined>, undefined>, readonly []>;
|
|
306
|
-
}, undefined>, undefined>,
|
|
308
|
+
}, undefined>, undefined>, never>;
|
|
307
309
|
readonly additionalHooks: valibot.OptionalSchema<valibot.ObjectSchema<{
|
|
308
310
|
readonly use: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
|
|
309
311
|
readonly useActionState: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
|
|
@@ -324,7 +326,7 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
324
326
|
readonly useSyncExternalStore: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
|
|
325
327
|
readonly useTransition: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
|
|
326
328
|
}, undefined>, never>;
|
|
327
|
-
}, undefined>,
|
|
329
|
+
}, undefined>, never>;
|
|
328
330
|
/**
|
|
329
331
|
* @internal
|
|
330
332
|
* @deprecated
|
|
@@ -333,6 +335,7 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
333
335
|
readonly importSource: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
334
336
|
readonly jsxPragma: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
335
337
|
readonly jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
338
|
+
readonly polymorphicPropName: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
336
339
|
readonly strict: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
|
|
337
340
|
readonly version: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
338
341
|
readonly additionalComponents: valibot.OptionalSchema<valibot.ArraySchema<valibot.ObjectSchema<{
|
|
@@ -385,7 +388,7 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
385
388
|
*/
|
|
386
389
|
readonly defaultValue: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
387
390
|
}, undefined>, undefined>, readonly []>;
|
|
388
|
-
}, undefined>, undefined>,
|
|
391
|
+
}, undefined>, undefined>, never>;
|
|
389
392
|
readonly additionalHooks: valibot.OptionalSchema<valibot.ObjectSchema<{
|
|
390
393
|
readonly use: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
|
|
391
394
|
readonly useActionState: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
|
|
@@ -406,7 +409,7 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
406
409
|
readonly useSyncExternalStore: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
|
|
407
410
|
readonly useTransition: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
|
|
408
411
|
}, undefined>, never>;
|
|
409
|
-
}, undefined>,
|
|
412
|
+
}, undefined>, never>;
|
|
410
413
|
}, undefined>, {}>;
|
|
411
414
|
interface CustomHook extends InferOutput<typeof CustomHookSchema> {
|
|
412
415
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -169,6 +169,7 @@ declare const ESLintReactSettingsSchema: valibot.ObjectSchema<{
|
|
|
169
169
|
readonly importSource: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
170
170
|
readonly jsxPragma: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
171
171
|
readonly jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
172
|
+
readonly polymorphicPropName: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
172
173
|
readonly strict: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
|
|
173
174
|
readonly version: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
174
175
|
readonly additionalComponents: valibot.OptionalSchema<valibot.ArraySchema<valibot.ObjectSchema<{
|
|
@@ -221,7 +222,7 @@ declare const ESLintReactSettingsSchema: valibot.ObjectSchema<{
|
|
|
221
222
|
*/
|
|
222
223
|
readonly defaultValue: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
223
224
|
}, undefined>, undefined>, readonly []>;
|
|
224
|
-
}, undefined>, undefined>,
|
|
225
|
+
}, undefined>, undefined>, never>;
|
|
225
226
|
readonly additionalHooks: valibot.OptionalSchema<valibot.ObjectSchema<{
|
|
226
227
|
readonly use: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
|
|
227
228
|
readonly useActionState: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
|
|
@@ -251,6 +252,7 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
251
252
|
readonly importSource: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
252
253
|
readonly jsxPragma: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
253
254
|
readonly jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
255
|
+
readonly polymorphicPropName: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
254
256
|
readonly strict: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
|
|
255
257
|
readonly version: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
256
258
|
readonly additionalComponents: valibot.OptionalSchema<valibot.ArraySchema<valibot.ObjectSchema<{
|
|
@@ -303,7 +305,7 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
303
305
|
*/
|
|
304
306
|
readonly defaultValue: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
305
307
|
}, undefined>, undefined>, readonly []>;
|
|
306
|
-
}, undefined>, undefined>,
|
|
308
|
+
}, undefined>, undefined>, never>;
|
|
307
309
|
readonly additionalHooks: valibot.OptionalSchema<valibot.ObjectSchema<{
|
|
308
310
|
readonly use: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
|
|
309
311
|
readonly useActionState: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
|
|
@@ -324,7 +326,7 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
324
326
|
readonly useSyncExternalStore: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
|
|
325
327
|
readonly useTransition: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
|
|
326
328
|
}, undefined>, never>;
|
|
327
|
-
}, undefined>,
|
|
329
|
+
}, undefined>, never>;
|
|
328
330
|
/**
|
|
329
331
|
* @internal
|
|
330
332
|
* @deprecated
|
|
@@ -333,6 +335,7 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
333
335
|
readonly importSource: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
334
336
|
readonly jsxPragma: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
335
337
|
readonly jsxPragmaFrag: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
338
|
+
readonly polymorphicPropName: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
336
339
|
readonly strict: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, never>;
|
|
337
340
|
readonly version: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
338
341
|
readonly additionalComponents: valibot.OptionalSchema<valibot.ArraySchema<valibot.ObjectSchema<{
|
|
@@ -385,7 +388,7 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
385
388
|
*/
|
|
386
389
|
readonly defaultValue: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>;
|
|
387
390
|
}, undefined>, undefined>, readonly []>;
|
|
388
|
-
}, undefined>, undefined>,
|
|
391
|
+
}, undefined>, undefined>, never>;
|
|
389
392
|
readonly additionalHooks: valibot.OptionalSchema<valibot.ObjectSchema<{
|
|
390
393
|
readonly use: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
|
|
391
394
|
readonly useActionState: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
|
|
@@ -406,7 +409,7 @@ declare const ESLintSettingsSchema: valibot.OptionalSchema<valibot.ObjectSchema<
|
|
|
406
409
|
readonly useSyncExternalStore: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
|
|
407
410
|
readonly useTransition: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, never>;
|
|
408
411
|
}, undefined>, never>;
|
|
409
|
-
}, undefined>,
|
|
412
|
+
}, undefined>, never>;
|
|
410
413
|
}, undefined>, {}>;
|
|
411
414
|
interface CustomHook extends InferOutput<typeof CustomHookSchema> {
|
|
412
415
|
}
|
package/dist/index.js
CHANGED
|
@@ -536,9 +536,10 @@ var ESLintReactSettingsSchema = object({
|
|
|
536
536
|
importSource: optional(string()),
|
|
537
537
|
jsxPragma: optional(string()),
|
|
538
538
|
jsxPragmaFrag: optional(string()),
|
|
539
|
+
polymorphicPropName: optional(string()),
|
|
539
540
|
strict: optional(boolean()),
|
|
540
541
|
version: optional(string()),
|
|
541
|
-
additionalComponents: optional(array(CustomComponentSchema)
|
|
542
|
+
additionalComponents: optional(array(CustomComponentSchema)),
|
|
542
543
|
additionalHooks: optional(object({
|
|
543
544
|
use: optional(array(string())),
|
|
544
545
|
useActionState: optional(array(string())),
|
|
@@ -562,12 +563,12 @@ var ESLintReactSettingsSchema = object({
|
|
|
562
563
|
});
|
|
563
564
|
var ESLintSettingsSchema = optional(
|
|
564
565
|
object({
|
|
565
|
-
"react-x": optional(ESLintReactSettingsSchema
|
|
566
|
+
"react-x": optional(ESLintReactSettingsSchema),
|
|
566
567
|
/**
|
|
567
568
|
* @internal
|
|
568
569
|
* @deprecated
|
|
569
570
|
*/
|
|
570
|
-
reactOptions: optional(ESLintReactSettingsSchema
|
|
571
|
+
reactOptions: optional(ESLintReactSettingsSchema)
|
|
571
572
|
}),
|
|
572
573
|
{}
|
|
573
574
|
);
|
package/dist/index.mjs
CHANGED
|
@@ -530,9 +530,10 @@ var ESLintReactSettingsSchema = object({
|
|
|
530
530
|
importSource: optional(string()),
|
|
531
531
|
jsxPragma: optional(string()),
|
|
532
532
|
jsxPragmaFrag: optional(string()),
|
|
533
|
+
polymorphicPropName: optional(string()),
|
|
533
534
|
strict: optional(boolean()),
|
|
534
535
|
version: optional(string()),
|
|
535
|
-
additionalComponents: optional(array(CustomComponentSchema)
|
|
536
|
+
additionalComponents: optional(array(CustomComponentSchema)),
|
|
536
537
|
additionalHooks: optional(object({
|
|
537
538
|
use: optional(array(string())),
|
|
538
539
|
useActionState: optional(array(string())),
|
|
@@ -556,12 +557,12 @@ var ESLintReactSettingsSchema = object({
|
|
|
556
557
|
});
|
|
557
558
|
var ESLintSettingsSchema = optional(
|
|
558
559
|
object({
|
|
559
|
-
"react-x": optional(ESLintReactSettingsSchema
|
|
560
|
+
"react-x": optional(ESLintReactSettingsSchema),
|
|
560
561
|
/**
|
|
561
562
|
* @internal
|
|
562
563
|
* @deprecated
|
|
563
564
|
*/
|
|
564
|
-
reactOptions: optional(ESLintReactSettingsSchema
|
|
565
|
+
reactOptions: optional(ESLintReactSettingsSchema)
|
|
565
566
|
}),
|
|
566
567
|
{}
|
|
567
568
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/shared",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0-next.1",
|
|
4
4
|
"description": "ESLint React's Shared constants and functions.",
|
|
5
5
|
"homepage": "https://github.com/rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"./package.json"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@typescript-eslint/utils": "^7.
|
|
38
|
+
"@typescript-eslint/utils": "^7.18.0",
|
|
39
39
|
"picomatch": "^4.0.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|