@optique/zod 1.0.0-dev.1572 → 1.0.0-dev.1574
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.cjs +4 -1
- package/dist/index.js +4 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -145,7 +145,10 @@ function preConvertBoolean(input) {
|
|
|
145
145
|
};
|
|
146
146
|
return {
|
|
147
147
|
success: false,
|
|
148
|
-
error: __optique_core_message.message`Invalid Boolean value: ${input}. Expected one of ${(0, __optique_core_message.valueSet)([...BOOL_TRUE_LITERALS, ...BOOL_FALSE_LITERALS], {
|
|
148
|
+
error: __optique_core_message.message`Invalid Boolean value: ${input}. Expected one of ${(0, __optique_core_message.valueSet)([...BOOL_TRUE_LITERALS, ...BOOL_FALSE_LITERALS], {
|
|
149
|
+
fallback: "",
|
|
150
|
+
locale: "en-US"
|
|
151
|
+
})}.`
|
|
149
152
|
};
|
|
150
153
|
}
|
|
151
154
|
/**
|
package/dist/index.js
CHANGED
|
@@ -122,7 +122,10 @@ function preConvertBoolean(input) {
|
|
|
122
122
|
};
|
|
123
123
|
return {
|
|
124
124
|
success: false,
|
|
125
|
-
error: message`Invalid Boolean value: ${input}. Expected one of ${valueSet([...BOOL_TRUE_LITERALS, ...BOOL_FALSE_LITERALS], {
|
|
125
|
+
error: message`Invalid Boolean value: ${input}. Expected one of ${valueSet([...BOOL_TRUE_LITERALS, ...BOOL_FALSE_LITERALS], {
|
|
126
|
+
fallback: "",
|
|
127
|
+
locale: "en-US"
|
|
128
|
+
})}.`
|
|
126
129
|
};
|
|
127
130
|
}
|
|
128
131
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optique/zod",
|
|
3
|
-
"version": "1.0.0-dev.
|
|
3
|
+
"version": "1.0.0-dev.1574+d9b3596d",
|
|
4
4
|
"description": "Zod value parsers for Optique",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"zod": "^3.25.0 || ^4.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@optique/core": "1.0.0-dev.
|
|
60
|
+
"@optique/core": "1.0.0-dev.1574+d9b3596d"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@types/node": "^20.19.9",
|