@eslint-react/shared 1.32.0 → 1.32.1-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 +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -103,7 +103,7 @@ type SchemaWithFallbackAsync<TSchema extends BaseSchema<unknown, unknown, BaseIs
|
|
|
103
103
|
/**
|
|
104
104
|
* Schema with pipe type.
|
|
105
105
|
*/
|
|
106
|
-
type SchemaWithPipe<TPipe extends [
|
|
106
|
+
type SchemaWithPipe<TPipe extends readonly [
|
|
107
107
|
BaseSchema<unknown, unknown, BaseIssue<unknown>>,
|
|
108
108
|
...PipeItem<any, unknown, BaseIssue<unknown>>[]
|
|
109
109
|
]> = Omit<FirstTupleItem<TPipe>, '~standard' | '~run' | '~types'> & {
|
|
@@ -143,7 +143,7 @@ type SchemaWithPipe<TPipe extends [
|
|
|
143
143
|
/**
|
|
144
144
|
* Schema with pipe async type.
|
|
145
145
|
*/
|
|
146
|
-
type SchemaWithPipeAsync<TPipe extends [
|
|
146
|
+
type SchemaWithPipeAsync<TPipe extends readonly [
|
|
147
147
|
(BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>),
|
|
148
148
|
...(PipeItem<any, unknown, BaseIssue<unknown>> | PipeItemAsync<any, unknown, BaseIssue<unknown>>)[]
|
|
149
149
|
]> = Omit<FirstTupleItem<TPipe>, 'async' | '~standard' | '~run' | '~types'> & {
|
|
@@ -618,12 +618,14 @@ type Prettify<TObject> = {
|
|
|
618
618
|
type MarkOptional<TObject, TKeys extends keyof TObject> = Partial<TObject> & Required<Omit<TObject, TKeys>>;
|
|
619
619
|
/**
|
|
620
620
|
* Extracts first tuple item.
|
|
621
|
+
*
|
|
621
622
|
*/
|
|
622
|
-
type FirstTupleItem<TTuple extends [unknown, ...unknown[]]> = TTuple[0];
|
|
623
|
+
type FirstTupleItem<TTuple extends readonly [unknown, ...unknown[]]> = TTuple[0];
|
|
623
624
|
/**
|
|
624
625
|
* Extracts last tuple item.
|
|
626
|
+
*
|
|
625
627
|
*/
|
|
626
|
-
type LastTupleItem<TTuple extends [unknown, ...unknown[]]> = TTuple[TTuple extends [unknown, ...infer TRest] ? TRest['length'] : never];
|
|
628
|
+
type LastTupleItem<TTuple extends readonly [unknown, ...unknown[]]> = TTuple[TTuple extends readonly [unknown, ...infer TRest] ? TRest['length'] : never];
|
|
627
629
|
|
|
628
630
|
/**
|
|
629
631
|
* Error message type.
|
package/dist/index.d.ts
CHANGED
|
@@ -103,7 +103,7 @@ type SchemaWithFallbackAsync<TSchema extends BaseSchema<unknown, unknown, BaseIs
|
|
|
103
103
|
/**
|
|
104
104
|
* Schema with pipe type.
|
|
105
105
|
*/
|
|
106
|
-
type SchemaWithPipe<TPipe extends [
|
|
106
|
+
type SchemaWithPipe<TPipe extends readonly [
|
|
107
107
|
BaseSchema<unknown, unknown, BaseIssue<unknown>>,
|
|
108
108
|
...PipeItem<any, unknown, BaseIssue<unknown>>[]
|
|
109
109
|
]> = Omit<FirstTupleItem<TPipe>, '~standard' | '~run' | '~types'> & {
|
|
@@ -143,7 +143,7 @@ type SchemaWithPipe<TPipe extends [
|
|
|
143
143
|
/**
|
|
144
144
|
* Schema with pipe async type.
|
|
145
145
|
*/
|
|
146
|
-
type SchemaWithPipeAsync<TPipe extends [
|
|
146
|
+
type SchemaWithPipeAsync<TPipe extends readonly [
|
|
147
147
|
(BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>),
|
|
148
148
|
...(PipeItem<any, unknown, BaseIssue<unknown>> | PipeItemAsync<any, unknown, BaseIssue<unknown>>)[]
|
|
149
149
|
]> = Omit<FirstTupleItem<TPipe>, 'async' | '~standard' | '~run' | '~types'> & {
|
|
@@ -618,12 +618,14 @@ type Prettify<TObject> = {
|
|
|
618
618
|
type MarkOptional<TObject, TKeys extends keyof TObject> = Partial<TObject> & Required<Omit<TObject, TKeys>>;
|
|
619
619
|
/**
|
|
620
620
|
* Extracts first tuple item.
|
|
621
|
+
*
|
|
621
622
|
*/
|
|
622
|
-
type FirstTupleItem<TTuple extends [unknown, ...unknown[]]> = TTuple[0];
|
|
623
|
+
type FirstTupleItem<TTuple extends readonly [unknown, ...unknown[]]> = TTuple[0];
|
|
623
624
|
/**
|
|
624
625
|
* Extracts last tuple item.
|
|
626
|
+
*
|
|
625
627
|
*/
|
|
626
|
-
type LastTupleItem<TTuple extends [unknown, ...unknown[]]> = TTuple[TTuple extends [unknown, ...infer TRest] ? TRest['length'] : never];
|
|
628
|
+
type LastTupleItem<TTuple extends readonly [unknown, ...unknown[]]> = TTuple[TTuple extends readonly [unknown, ...infer TRest] ? TRest['length'] : never];
|
|
627
629
|
|
|
628
630
|
/**
|
|
629
631
|
* Error message type.
|
package/dist/index.js
CHANGED
|
@@ -77,7 +77,7 @@ function getReactVersion(fallback = "19.0.0") {
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
// ../../node_modules/.pnpm/valibot@1.0.0-rc.
|
|
80
|
+
// ../../node_modules/.pnpm/valibot@1.0.0-rc.4_typescript@5.8.2/node_modules/valibot/dist/index.js
|
|
81
81
|
var store;
|
|
82
82
|
// @__NO_SIDE_EFFECTS__
|
|
83
83
|
function getGlobalConfig(config2) {
|
package/dist/index.mjs
CHANGED
|
@@ -69,7 +69,7 @@ function getReactVersion(fallback = "19.0.0") {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
// ../../node_modules/.pnpm/valibot@1.0.0-rc.
|
|
72
|
+
// ../../node_modules/.pnpm/valibot@1.0.0-rc.4_typescript@5.8.2/node_modules/valibot/dist/index.js
|
|
73
73
|
var store;
|
|
74
74
|
// @__NO_SIDE_EFFECTS__
|
|
75
75
|
function getGlobalConfig(config2) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/shared",
|
|
3
|
-
"version": "1.32.
|
|
3
|
+
"version": "1.32.1-next.1",
|
|
4
4
|
"description": "ESLint React's Shared constants and functions.",
|
|
5
5
|
"homepage": "https://github.com/Rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@typescript-eslint/utils": "^8.26.1",
|
|
39
39
|
"picomatch": "^4.0.2",
|
|
40
40
|
"ts-pattern": "^5.6.2",
|
|
41
|
-
"@eslint-react/eff": "1.32.
|
|
41
|
+
"@eslint-react/eff": "1.32.1-next.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/picomatch": "^3.0.2",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"micro-memoize": "^4.1.3",
|
|
47
47
|
"tsup": "^8.4.0",
|
|
48
48
|
"type-fest": "^4.37.0",
|
|
49
|
-
"valibot": "^1.0.0-rc.
|
|
49
|
+
"valibot": "^1.0.0-rc.4",
|
|
50
50
|
"@local/configs": "0.0.0"
|
|
51
51
|
},
|
|
52
52
|
"engines": {
|