zod-error-map 0.2.0 → 0.2.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/package.json
CHANGED
|
@@ -25,7 +25,7 @@ export function getInputDescription(input) {
|
|
|
25
25
|
export const defaultFormatMessages = {
|
|
26
26
|
[FormatType.EMAIL]: (label) => `The ${label.quoted} must be a valid email address`,
|
|
27
27
|
[FormatType.UUID]: (label) => `The ${label.quoted} must be a valid UUID`,
|
|
28
|
-
[FormatType.URL]: (label) => `The ${label.quoted}
|
|
28
|
+
[FormatType.URL]: (label) => `The ${label.quoted} is invalid`,
|
|
29
29
|
[FormatType.REGEX]: (label) => `The ${label.quoted} has an invalid format`,
|
|
30
30
|
[FormatType.CUID]: (label) => `The ${label.quoted} must be a valid CUID`,
|
|
31
31
|
[FormatType.CUID2]: (label) => `The ${label.quoted} must be a valid CUID2`,
|