@eslint-react/shared 1.28.0-beta.1 → 1.28.0-beta.4
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 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1433,10 +1433,14 @@ declare function string(): StringSchema<undefined>;
|
|
|
1433
1433
|
*/
|
|
1434
1434
|
declare function string<const TMessage extends ErrorMessage<StringIssue> | undefined>(message: TMessage): StringSchema<TMessage>;
|
|
1435
1435
|
|
|
1436
|
+
/**
|
|
1437
|
+
* Readonly output type.
|
|
1438
|
+
*/
|
|
1439
|
+
type ReadonlyOutput<TInput> = TInput extends Map<infer TKey, infer TValue> ? ReadonlyMap<TKey, TValue> : TInput extends Set<infer TValue> ? ReadonlySet<TValue> : Readonly<TInput>;
|
|
1436
1440
|
/**
|
|
1437
1441
|
* Readonly action interface.
|
|
1438
1442
|
*/
|
|
1439
|
-
interface ReadonlyAction<TInput> extends BaseTransformation<TInput,
|
|
1443
|
+
interface ReadonlyAction<TInput> extends BaseTransformation<TInput, ReadonlyOutput<TInput>, never> {
|
|
1440
1444
|
/**
|
|
1441
1445
|
* The action type.
|
|
1442
1446
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -1433,10 +1433,14 @@ declare function string(): StringSchema<undefined>;
|
|
|
1433
1433
|
*/
|
|
1434
1434
|
declare function string<const TMessage extends ErrorMessage<StringIssue> | undefined>(message: TMessage): StringSchema<TMessage>;
|
|
1435
1435
|
|
|
1436
|
+
/**
|
|
1437
|
+
* Readonly output type.
|
|
1438
|
+
*/
|
|
1439
|
+
type ReadonlyOutput<TInput> = TInput extends Map<infer TKey, infer TValue> ? ReadonlyMap<TKey, TValue> : TInput extends Set<infer TValue> ? ReadonlySet<TValue> : Readonly<TInput>;
|
|
1436
1440
|
/**
|
|
1437
1441
|
* Readonly action interface.
|
|
1438
1442
|
*/
|
|
1439
|
-
interface ReadonlyAction<TInput> extends BaseTransformation<TInput,
|
|
1443
|
+
interface ReadonlyAction<TInput> extends BaseTransformation<TInput, ReadonlyOutput<TInput>, never> {
|
|
1440
1444
|
/**
|
|
1441
1445
|
* The action type.
|
|
1442
1446
|
*/
|
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.2_typescript@5.8.1-rc/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.2_typescript@5.8.1-rc/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.28.0-beta.
|
|
3
|
+
"version": "1.28.0-beta.4",
|
|
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.25.0",
|
|
39
39
|
"picomatch": "^4.0.2",
|
|
40
40
|
"ts-pattern": "^5.6.2",
|
|
41
|
-
"@eslint-react/eff": "1.28.0-beta.
|
|
41
|
+
"@eslint-react/eff": "1.28.0-beta.4"
|
|
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.3.6",
|
|
48
48
|
"type-fest": "^4.35.0",
|
|
49
|
-
"valibot": "^1.0.0-rc.
|
|
49
|
+
"valibot": "^1.0.0-rc.2",
|
|
50
50
|
"@local/configs": "0.0.0"
|
|
51
51
|
},
|
|
52
52
|
"engines": {
|