@keycloakify/svelte 0.2.4 → 0.2.5
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.
|
@@ -37,10 +37,11 @@ function symToStr(wrap) {
|
|
|
37
37
|
__webpack_require__.d(__webpack_exports__, {
|
|
38
38
|
Ikc: () => (/* reexport */ object),
|
|
39
39
|
g1P: () => (/* reexport */ record),
|
|
40
|
+
YjP: () => (/* reexport */ schemas_string),
|
|
40
41
|
L5J: () => (/* reexport */ unknown)
|
|
41
42
|
});
|
|
42
43
|
|
|
43
|
-
// UNUSED EXPORTS: $brand, $input, $output, NEVER, TimePrecision, ZodAny, ZodArray, ZodBase64, ZodBase64URL, ZodBigInt, ZodBigIntFormat, ZodBoolean, ZodCIDRv4, ZodCIDRv6, ZodCUID, ZodCUID2, ZodCatch, ZodCodec, ZodCustom, ZodCustomStringFormat, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodE164, ZodEmail, ZodEmoji, ZodEnum, ZodError, ZodFile, ZodFirstPartyTypeKind, ZodFunction, ZodGUID, ZodIPv4, ZodIPv6, ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime, ZodIntersection, ZodIssueCode, ZodJWT, ZodKSUID, ZodLazy, ZodLiteral, ZodMap, ZodNaN, ZodNanoID, ZodNever, ZodNonOptional, ZodNull, ZodNullable, ZodNumber, ZodNumberFormat, ZodObject, ZodOptional, ZodPipe, ZodPrefault, ZodPromise, ZodReadonly, ZodRealError, ZodRecord, ZodSet, ZodString, ZodStringFormat, ZodSuccess, ZodSymbol, ZodTemplateLiteral, ZodTransform, ZodTuple, ZodType, ZodULID, ZodURL, ZodUUID, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, ZodXID, _ZodString, _default, _function, any, array, base64, base64url, bigint, boolean, catch, check, cidrv4, cidrv6, clone, codec, coerce, config, core, cuid, cuid2, custom, date, decode, decodeAsync, discriminatedUnion, e164, email, emoji, encode, encodeAsync, endsWith, enum, file, flattenError, float32, float64, formatError, function, getErrorMap, globalRegistry, gt, gte, guid, hash, hex, hostname, httpUrl, includes, instanceof, int, int32, int64, intersection, ipv4, ipv6, iso, json, jwt, keyof, ksuid, lazy, length, literal, locales, looseObject, lowercase, lt, lte, map, maxLength, maxSize, mime, minLength, minSize, multipleOf, nan, nanoid, nativeEnum, negative, never, nonnegative, nonoptional, nonpositive, normalize, null, nullable, nullish, number, optional, overwrite, parse, parseAsync, partialRecord, pipe, positive, prefault, preprocess, prettifyError, promise, property, readonly, refine, regex, regexes, registry, safeDecode, safeDecodeAsync, safeEncode, safeEncodeAsync, safeParse, safeParseAsync, set, setErrorMap, size, startsWith, strictObject,
|
|
44
|
+
// UNUSED EXPORTS: $brand, $input, $output, NEVER, TimePrecision, ZodAny, ZodArray, ZodBase64, ZodBase64URL, ZodBigInt, ZodBigIntFormat, ZodBoolean, ZodCIDRv4, ZodCIDRv6, ZodCUID, ZodCUID2, ZodCatch, ZodCodec, ZodCustom, ZodCustomStringFormat, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodE164, ZodEmail, ZodEmoji, ZodEnum, ZodError, ZodFile, ZodFirstPartyTypeKind, ZodFunction, ZodGUID, ZodIPv4, ZodIPv6, ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime, ZodIntersection, ZodIssueCode, ZodJWT, ZodKSUID, ZodLazy, ZodLiteral, ZodMap, ZodNaN, ZodNanoID, ZodNever, ZodNonOptional, ZodNull, ZodNullable, ZodNumber, ZodNumberFormat, ZodObject, ZodOptional, ZodPipe, ZodPrefault, ZodPromise, ZodReadonly, ZodRealError, ZodRecord, ZodSet, ZodString, ZodStringFormat, ZodSuccess, ZodSymbol, ZodTemplateLiteral, ZodTransform, ZodTuple, ZodType, ZodULID, ZodURL, ZodUUID, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, ZodXID, _ZodString, _default, _function, any, array, base64, base64url, bigint, boolean, catch, check, cidrv4, cidrv6, clone, codec, coerce, config, core, cuid, cuid2, custom, date, decode, decodeAsync, discriminatedUnion, e164, email, emoji, encode, encodeAsync, endsWith, enum, file, flattenError, float32, float64, formatError, function, getErrorMap, globalRegistry, gt, gte, guid, hash, hex, hostname, httpUrl, includes, instanceof, int, int32, int64, intersection, ipv4, ipv6, iso, json, jwt, keyof, ksuid, lazy, length, literal, locales, looseObject, lowercase, lt, lte, map, maxLength, maxSize, mime, minLength, minSize, multipleOf, nan, nanoid, nativeEnum, negative, never, nonnegative, nonoptional, nonpositive, normalize, null, nullable, nullish, number, optional, overwrite, parse, parseAsync, partialRecord, pipe, positive, prefault, preprocess, prettifyError, promise, property, readonly, refine, regex, regexes, registry, safeDecode, safeDecodeAsync, safeEncode, safeEncodeAsync, safeParse, safeParseAsync, set, setErrorMap, size, startsWith, strictObject, stringFormat, stringbool, success, superRefine, symbol, templateLiteral, toJSONSchema, toLowerCase, toUpperCase, transform, treeifyError, trim, tuple, uint32, uint64, ulid, undefined, union, uppercase, url, util, uuid, uuidv4, uuidv6, uuidv7, void, xid
|
|
44
45
|
|
|
45
46
|
;// CONCATENATED MODULE: ./node_modules/zod/v4/core/core.js
|
|
46
47
|
/** A special constant with type `never` */
|
|
@@ -1036,7 +1037,7 @@ const unicodeEmail = /^[^\s@"]{1,64}@[^\s@]{1,255}$/u;
|
|
|
1036
1037
|
const idnEmail = (/* unused pure expression or super */ null && (unicodeEmail));
|
|
1037
1038
|
const browserEmail = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;
|
|
1038
1039
|
// from https://thekevinscott.com/emojis-in-javascript/#writing-a-regular-expression
|
|
1039
|
-
const _emoji =
|
|
1040
|
+
const _emoji = `^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;
|
|
1040
1041
|
function emoji() {
|
|
1041
1042
|
return new RegExp(_emoji, "u");
|
|
1042
1043
|
}
|
|
@@ -1530,7 +1531,7 @@ const $ZodCheckLengthEquals = /*@__PURE__*/ $constructor("$ZodCheckLengthEquals"
|
|
|
1530
1531
|
});
|
|
1531
1532
|
};
|
|
1532
1533
|
});
|
|
1533
|
-
const $ZodCheckStringFormat = /*@__PURE__*/
|
|
1534
|
+
const $ZodCheckStringFormat = /*@__PURE__*/ $constructor("$ZodCheckStringFormat", (inst, def) => {
|
|
1534
1535
|
var _a, _b;
|
|
1535
1536
|
$ZodCheck.init(inst, def);
|
|
1536
1537
|
inst._zod.onattach.push((inst) => {
|
|
@@ -1558,8 +1559,8 @@ const $ZodCheckStringFormat = /*@__PURE__*/ (/* unused pure expression or super
|
|
|
1558
1559
|
});
|
|
1559
1560
|
else
|
|
1560
1561
|
(_b = inst._zod).check ?? (_b.check = () => { });
|
|
1561
|
-
})
|
|
1562
|
-
const $ZodCheckRegex = /*@__PURE__*/
|
|
1562
|
+
});
|
|
1563
|
+
const $ZodCheckRegex = /*@__PURE__*/ $constructor("$ZodCheckRegex", (inst, def) => {
|
|
1563
1564
|
$ZodCheckStringFormat.init(inst, def);
|
|
1564
1565
|
inst._zod.check = (payload) => {
|
|
1565
1566
|
def.pattern.lastIndex = 0;
|
|
@@ -1575,18 +1576,18 @@ const $ZodCheckRegex = /*@__PURE__*/ (/* unused pure expression or super */ null
|
|
|
1575
1576
|
continue: !def.abort,
|
|
1576
1577
|
});
|
|
1577
1578
|
};
|
|
1578
|
-
})
|
|
1579
|
-
const $ZodCheckLowerCase = /*@__PURE__*/
|
|
1580
|
-
def.pattern ?? (def.pattern =
|
|
1579
|
+
});
|
|
1580
|
+
const $ZodCheckLowerCase = /*@__PURE__*/ $constructor("$ZodCheckLowerCase", (inst, def) => {
|
|
1581
|
+
def.pattern ?? (def.pattern = lowercase);
|
|
1581
1582
|
$ZodCheckStringFormat.init(inst, def);
|
|
1582
|
-
})
|
|
1583
|
-
const $ZodCheckUpperCase = /*@__PURE__*/
|
|
1584
|
-
def.pattern ?? (def.pattern =
|
|
1583
|
+
});
|
|
1584
|
+
const $ZodCheckUpperCase = /*@__PURE__*/ $constructor("$ZodCheckUpperCase", (inst, def) => {
|
|
1585
|
+
def.pattern ?? (def.pattern = uppercase);
|
|
1585
1586
|
$ZodCheckStringFormat.init(inst, def);
|
|
1586
|
-
})
|
|
1587
|
-
const $ZodCheckIncludes = /*@__PURE__*/
|
|
1587
|
+
});
|
|
1588
|
+
const $ZodCheckIncludes = /*@__PURE__*/ $constructor("$ZodCheckIncludes", (inst, def) => {
|
|
1588
1589
|
$ZodCheck.init(inst, def);
|
|
1589
|
-
const escapedRegex =
|
|
1590
|
+
const escapedRegex = escapeRegex(def.includes);
|
|
1590
1591
|
const pattern = new RegExp(typeof def.position === "number" ? `^.{${def.position}}${escapedRegex}` : escapedRegex);
|
|
1591
1592
|
def.pattern = pattern;
|
|
1592
1593
|
inst._zod.onattach.push((inst) => {
|
|
@@ -1607,10 +1608,10 @@ const $ZodCheckIncludes = /*@__PURE__*/ (/* unused pure expression or super */ n
|
|
|
1607
1608
|
continue: !def.abort,
|
|
1608
1609
|
});
|
|
1609
1610
|
};
|
|
1610
|
-
})
|
|
1611
|
-
const $ZodCheckStartsWith = /*@__PURE__*/
|
|
1611
|
+
});
|
|
1612
|
+
const $ZodCheckStartsWith = /*@__PURE__*/ $constructor("$ZodCheckStartsWith", (inst, def) => {
|
|
1612
1613
|
$ZodCheck.init(inst, def);
|
|
1613
|
-
const pattern = new RegExp(`^${
|
|
1614
|
+
const pattern = new RegExp(`^${escapeRegex(def.prefix)}.*`);
|
|
1614
1615
|
def.pattern ?? (def.pattern = pattern);
|
|
1615
1616
|
inst._zod.onattach.push((inst) => {
|
|
1616
1617
|
const bag = inst._zod.bag;
|
|
@@ -1630,10 +1631,10 @@ const $ZodCheckStartsWith = /*@__PURE__*/ (/* unused pure expression or super */
|
|
|
1630
1631
|
continue: !def.abort,
|
|
1631
1632
|
});
|
|
1632
1633
|
};
|
|
1633
|
-
})
|
|
1634
|
-
const $ZodCheckEndsWith = /*@__PURE__*/
|
|
1634
|
+
});
|
|
1635
|
+
const $ZodCheckEndsWith = /*@__PURE__*/ $constructor("$ZodCheckEndsWith", (inst, def) => {
|
|
1635
1636
|
$ZodCheck.init(inst, def);
|
|
1636
|
-
const pattern = new RegExp(`.*${
|
|
1637
|
+
const pattern = new RegExp(`.*${escapeRegex(def.suffix)}$`);
|
|
1637
1638
|
def.pattern ?? (def.pattern = pattern);
|
|
1638
1639
|
inst._zod.onattach.push((inst) => {
|
|
1639
1640
|
const bag = inst._zod.bag;
|
|
@@ -1653,7 +1654,7 @@ const $ZodCheckEndsWith = /*@__PURE__*/ (/* unused pure expression or super */ n
|
|
|
1653
1654
|
continue: !def.abort,
|
|
1654
1655
|
});
|
|
1655
1656
|
};
|
|
1656
|
-
})
|
|
1657
|
+
});
|
|
1657
1658
|
///////////////////////////////////
|
|
1658
1659
|
///// $ZodCheckProperty /////
|
|
1659
1660
|
///////////////////////////////////
|
|
@@ -1742,7 +1743,7 @@ class Doc {
|
|
|
1742
1743
|
const version = {
|
|
1743
1744
|
major: 4,
|
|
1744
1745
|
minor: 1,
|
|
1745
|
-
patch:
|
|
1746
|
+
patch: 8,
|
|
1746
1747
|
};
|
|
1747
1748
|
|
|
1748
1749
|
;// CONCATENATED MODULE: ./node_modules/zod/v4/core/schemas.js
|
|
@@ -1885,9 +1886,9 @@ const $ZodType = /*@__PURE__*/ $constructor("$ZodType", (inst, def) => {
|
|
|
1885
1886
|
};
|
|
1886
1887
|
});
|
|
1887
1888
|
|
|
1888
|
-
const $ZodString = /*@__PURE__*/
|
|
1889
|
+
const $ZodString = /*@__PURE__*/ $constructor("$ZodString", (inst, def) => {
|
|
1889
1890
|
$ZodType.init(inst, def);
|
|
1890
|
-
inst._zod.pattern = [...(inst?._zod.bag?.patterns ?? [])].pop() ??
|
|
1891
|
+
inst._zod.pattern = [...(inst?._zod.bag?.patterns ?? [])].pop() ?? string(inst._zod.bag);
|
|
1891
1892
|
inst._zod.parse = (payload, _) => {
|
|
1892
1893
|
if (def.coerce)
|
|
1893
1894
|
try {
|
|
@@ -1904,17 +1905,17 @@ const $ZodString = /*@__PURE__*/ (/* unused pure expression or super */ null &&
|
|
|
1904
1905
|
});
|
|
1905
1906
|
return payload;
|
|
1906
1907
|
};
|
|
1907
|
-
})
|
|
1908
|
-
const $ZodStringFormat = /*@__PURE__*/
|
|
1908
|
+
});
|
|
1909
|
+
const $ZodStringFormat = /*@__PURE__*/ $constructor("$ZodStringFormat", (inst, def) => {
|
|
1909
1910
|
// check initialization must come first
|
|
1910
|
-
|
|
1911
|
+
$ZodCheckStringFormat.init(inst, def);
|
|
1911
1912
|
$ZodString.init(inst, def);
|
|
1912
|
-
})
|
|
1913
|
-
const $ZodGUID = /*@__PURE__*/
|
|
1914
|
-
def.pattern ?? (def.pattern =
|
|
1913
|
+
});
|
|
1914
|
+
const $ZodGUID = /*@__PURE__*/ $constructor("$ZodGUID", (inst, def) => {
|
|
1915
|
+
def.pattern ?? (def.pattern = guid);
|
|
1915
1916
|
$ZodStringFormat.init(inst, def);
|
|
1916
|
-
})
|
|
1917
|
-
const $ZodUUID = /*@__PURE__*/
|
|
1917
|
+
});
|
|
1918
|
+
const $ZodUUID = /*@__PURE__*/ $constructor("$ZodUUID", (inst, def) => {
|
|
1918
1919
|
if (def.version) {
|
|
1919
1920
|
const versionMap = {
|
|
1920
1921
|
v1: 1,
|
|
@@ -1929,17 +1930,17 @@ const $ZodUUID = /*@__PURE__*/ (/* unused pure expression or super */ null && (c
|
|
|
1929
1930
|
const v = versionMap[def.version];
|
|
1930
1931
|
if (v === undefined)
|
|
1931
1932
|
throw new Error(`Invalid UUID version: "${def.version}"`);
|
|
1932
|
-
def.pattern ?? (def.pattern =
|
|
1933
|
+
def.pattern ?? (def.pattern = uuid(v));
|
|
1933
1934
|
}
|
|
1934
1935
|
else
|
|
1935
|
-
def.pattern ?? (def.pattern =
|
|
1936
|
+
def.pattern ?? (def.pattern = uuid());
|
|
1936
1937
|
$ZodStringFormat.init(inst, def);
|
|
1937
|
-
})
|
|
1938
|
-
const $ZodEmail = /*@__PURE__*/
|
|
1939
|
-
def.pattern ?? (def.pattern =
|
|
1938
|
+
});
|
|
1939
|
+
const $ZodEmail = /*@__PURE__*/ $constructor("$ZodEmail", (inst, def) => {
|
|
1940
|
+
def.pattern ?? (def.pattern = email);
|
|
1940
1941
|
$ZodStringFormat.init(inst, def);
|
|
1941
|
-
})
|
|
1942
|
-
const $ZodURL = /*@__PURE__*/
|
|
1942
|
+
});
|
|
1943
|
+
const $ZodURL = /*@__PURE__*/ $constructor("$ZodURL", (inst, def) => {
|
|
1943
1944
|
$ZodStringFormat.init(inst, def);
|
|
1944
1945
|
inst._zod.check = (payload) => {
|
|
1945
1946
|
try {
|
|
@@ -1954,7 +1955,7 @@ const $ZodURL = /*@__PURE__*/ (/* unused pure expression or super */ null && (co
|
|
|
1954
1955
|
code: "invalid_format",
|
|
1955
1956
|
format: "url",
|
|
1956
1957
|
note: "Invalid hostname",
|
|
1957
|
-
pattern:
|
|
1958
|
+
pattern: hostname.source,
|
|
1958
1959
|
input: payload.value,
|
|
1959
1960
|
inst,
|
|
1960
1961
|
continue: !def.abort,
|
|
@@ -1996,61 +1997,61 @@ const $ZodURL = /*@__PURE__*/ (/* unused pure expression or super */ null && (co
|
|
|
1996
1997
|
});
|
|
1997
1998
|
}
|
|
1998
1999
|
};
|
|
1999
|
-
})
|
|
2000
|
-
const $ZodEmoji = /*@__PURE__*/
|
|
2001
|
-
def.pattern ?? (def.pattern =
|
|
2000
|
+
});
|
|
2001
|
+
const $ZodEmoji = /*@__PURE__*/ $constructor("$ZodEmoji", (inst, def) => {
|
|
2002
|
+
def.pattern ?? (def.pattern = emoji());
|
|
2002
2003
|
$ZodStringFormat.init(inst, def);
|
|
2003
|
-
})
|
|
2004
|
-
const $ZodNanoID = /*@__PURE__*/
|
|
2005
|
-
def.pattern ?? (def.pattern =
|
|
2004
|
+
});
|
|
2005
|
+
const $ZodNanoID = /*@__PURE__*/ $constructor("$ZodNanoID", (inst, def) => {
|
|
2006
|
+
def.pattern ?? (def.pattern = nanoid);
|
|
2006
2007
|
$ZodStringFormat.init(inst, def);
|
|
2007
|
-
})
|
|
2008
|
-
const $ZodCUID = /*@__PURE__*/
|
|
2009
|
-
def.pattern ?? (def.pattern =
|
|
2008
|
+
});
|
|
2009
|
+
const $ZodCUID = /*@__PURE__*/ $constructor("$ZodCUID", (inst, def) => {
|
|
2010
|
+
def.pattern ?? (def.pattern = cuid);
|
|
2010
2011
|
$ZodStringFormat.init(inst, def);
|
|
2011
|
-
})
|
|
2012
|
-
const $ZodCUID2 = /*@__PURE__*/
|
|
2013
|
-
def.pattern ?? (def.pattern =
|
|
2012
|
+
});
|
|
2013
|
+
const $ZodCUID2 = /*@__PURE__*/ $constructor("$ZodCUID2", (inst, def) => {
|
|
2014
|
+
def.pattern ?? (def.pattern = cuid2);
|
|
2014
2015
|
$ZodStringFormat.init(inst, def);
|
|
2015
|
-
})
|
|
2016
|
-
const $ZodULID = /*@__PURE__*/
|
|
2017
|
-
def.pattern ?? (def.pattern =
|
|
2016
|
+
});
|
|
2017
|
+
const $ZodULID = /*@__PURE__*/ $constructor("$ZodULID", (inst, def) => {
|
|
2018
|
+
def.pattern ?? (def.pattern = ulid);
|
|
2018
2019
|
$ZodStringFormat.init(inst, def);
|
|
2019
|
-
})
|
|
2020
|
-
const $ZodXID = /*@__PURE__*/
|
|
2021
|
-
def.pattern ?? (def.pattern =
|
|
2020
|
+
});
|
|
2021
|
+
const $ZodXID = /*@__PURE__*/ $constructor("$ZodXID", (inst, def) => {
|
|
2022
|
+
def.pattern ?? (def.pattern = xid);
|
|
2022
2023
|
$ZodStringFormat.init(inst, def);
|
|
2023
|
-
})
|
|
2024
|
-
const $ZodKSUID = /*@__PURE__*/
|
|
2025
|
-
def.pattern ?? (def.pattern =
|
|
2024
|
+
});
|
|
2025
|
+
const $ZodKSUID = /*@__PURE__*/ $constructor("$ZodKSUID", (inst, def) => {
|
|
2026
|
+
def.pattern ?? (def.pattern = ksuid);
|
|
2026
2027
|
$ZodStringFormat.init(inst, def);
|
|
2027
|
-
})
|
|
2028
|
-
const $ZodISODateTime = /*@__PURE__*/
|
|
2029
|
-
def.pattern ?? (def.pattern =
|
|
2028
|
+
});
|
|
2029
|
+
const $ZodISODateTime = /*@__PURE__*/ $constructor("$ZodISODateTime", (inst, def) => {
|
|
2030
|
+
def.pattern ?? (def.pattern = datetime(def));
|
|
2030
2031
|
$ZodStringFormat.init(inst, def);
|
|
2031
|
-
})
|
|
2032
|
-
const $ZodISODate = /*@__PURE__*/
|
|
2033
|
-
def.pattern ?? (def.pattern =
|
|
2032
|
+
});
|
|
2033
|
+
const $ZodISODate = /*@__PURE__*/ $constructor("$ZodISODate", (inst, def) => {
|
|
2034
|
+
def.pattern ?? (def.pattern = date);
|
|
2034
2035
|
$ZodStringFormat.init(inst, def);
|
|
2035
|
-
})
|
|
2036
|
-
const $ZodISOTime = /*@__PURE__*/
|
|
2037
|
-
def.pattern ?? (def.pattern =
|
|
2036
|
+
});
|
|
2037
|
+
const $ZodISOTime = /*@__PURE__*/ $constructor("$ZodISOTime", (inst, def) => {
|
|
2038
|
+
def.pattern ?? (def.pattern = time(def));
|
|
2038
2039
|
$ZodStringFormat.init(inst, def);
|
|
2039
|
-
})
|
|
2040
|
-
const $ZodISODuration = /*@__PURE__*/
|
|
2041
|
-
def.pattern ?? (def.pattern =
|
|
2040
|
+
});
|
|
2041
|
+
const $ZodISODuration = /*@__PURE__*/ $constructor("$ZodISODuration", (inst, def) => {
|
|
2042
|
+
def.pattern ?? (def.pattern = duration);
|
|
2042
2043
|
$ZodStringFormat.init(inst, def);
|
|
2043
|
-
})
|
|
2044
|
-
const $ZodIPv4 = /*@__PURE__*/
|
|
2045
|
-
def.pattern ?? (def.pattern =
|
|
2044
|
+
});
|
|
2045
|
+
const $ZodIPv4 = /*@__PURE__*/ $constructor("$ZodIPv4", (inst, def) => {
|
|
2046
|
+
def.pattern ?? (def.pattern = ipv4);
|
|
2046
2047
|
$ZodStringFormat.init(inst, def);
|
|
2047
2048
|
inst._zod.onattach.push((inst) => {
|
|
2048
2049
|
const bag = inst._zod.bag;
|
|
2049
2050
|
bag.format = `ipv4`;
|
|
2050
2051
|
});
|
|
2051
|
-
})
|
|
2052
|
-
const $ZodIPv6 = /*@__PURE__*/
|
|
2053
|
-
def.pattern ?? (def.pattern =
|
|
2052
|
+
});
|
|
2053
|
+
const $ZodIPv6 = /*@__PURE__*/ $constructor("$ZodIPv6", (inst, def) => {
|
|
2054
|
+
def.pattern ?? (def.pattern = ipv6);
|
|
2054
2055
|
$ZodStringFormat.init(inst, def);
|
|
2055
2056
|
inst._zod.onattach.push((inst) => {
|
|
2056
2057
|
const bag = inst._zod.bag;
|
|
@@ -2072,13 +2073,13 @@ const $ZodIPv6 = /*@__PURE__*/ (/* unused pure expression or super */ null && (c
|
|
|
2072
2073
|
});
|
|
2073
2074
|
}
|
|
2074
2075
|
};
|
|
2075
|
-
})
|
|
2076
|
-
const $ZodCIDRv4 = /*@__PURE__*/
|
|
2077
|
-
def.pattern ?? (def.pattern =
|
|
2076
|
+
});
|
|
2077
|
+
const $ZodCIDRv4 = /*@__PURE__*/ $constructor("$ZodCIDRv4", (inst, def) => {
|
|
2078
|
+
def.pattern ?? (def.pattern = cidrv4);
|
|
2078
2079
|
$ZodStringFormat.init(inst, def);
|
|
2079
|
-
})
|
|
2080
|
-
const $ZodCIDRv6 = /*@__PURE__*/
|
|
2081
|
-
def.pattern ?? (def.pattern =
|
|
2080
|
+
});
|
|
2081
|
+
const $ZodCIDRv6 = /*@__PURE__*/ $constructor("$ZodCIDRv6", (inst, def) => {
|
|
2082
|
+
def.pattern ?? (def.pattern = cidrv6); // not used for validation
|
|
2082
2083
|
$ZodStringFormat.init(inst, def);
|
|
2083
2084
|
inst._zod.check = (payload) => {
|
|
2084
2085
|
const parts = payload.value.split("/");
|
|
@@ -2106,7 +2107,7 @@ const $ZodCIDRv6 = /*@__PURE__*/ (/* unused pure expression or super */ null &&
|
|
|
2106
2107
|
});
|
|
2107
2108
|
}
|
|
2108
2109
|
};
|
|
2109
|
-
})
|
|
2110
|
+
});
|
|
2110
2111
|
////////////////////////////// ZodBase64 //////////////////////////////
|
|
2111
2112
|
function isValidBase64(data) {
|
|
2112
2113
|
if (data === "")
|
|
@@ -2122,8 +2123,8 @@ function isValidBase64(data) {
|
|
|
2122
2123
|
return false;
|
|
2123
2124
|
}
|
|
2124
2125
|
}
|
|
2125
|
-
const $ZodBase64 = /*@__PURE__*/
|
|
2126
|
-
def.pattern ?? (def.pattern =
|
|
2126
|
+
const $ZodBase64 = /*@__PURE__*/ $constructor("$ZodBase64", (inst, def) => {
|
|
2127
|
+
def.pattern ?? (def.pattern = base64);
|
|
2127
2128
|
$ZodStringFormat.init(inst, def);
|
|
2128
2129
|
inst._zod.onattach.push((inst) => {
|
|
2129
2130
|
inst._zod.bag.contentEncoding = "base64";
|
|
@@ -2139,17 +2140,17 @@ const $ZodBase64 = /*@__PURE__*/ (/* unused pure expression or super */ null &&
|
|
|
2139
2140
|
continue: !def.abort,
|
|
2140
2141
|
});
|
|
2141
2142
|
};
|
|
2142
|
-
})
|
|
2143
|
+
});
|
|
2143
2144
|
////////////////////////////// ZodBase64 //////////////////////////////
|
|
2144
2145
|
function isValidBase64URL(data) {
|
|
2145
|
-
if (!
|
|
2146
|
+
if (!base64url.test(data))
|
|
2146
2147
|
return false;
|
|
2147
2148
|
const base64 = data.replace(/[-_]/g, (c) => (c === "-" ? "+" : "/"));
|
|
2148
2149
|
const padded = base64.padEnd(Math.ceil(base64.length / 4) * 4, "=");
|
|
2149
2150
|
return isValidBase64(padded);
|
|
2150
2151
|
}
|
|
2151
|
-
const $ZodBase64URL = /*@__PURE__*/
|
|
2152
|
-
def.pattern ?? (def.pattern =
|
|
2152
|
+
const $ZodBase64URL = /*@__PURE__*/ $constructor("$ZodBase64URL", (inst, def) => {
|
|
2153
|
+
def.pattern ?? (def.pattern = base64url);
|
|
2153
2154
|
$ZodStringFormat.init(inst, def);
|
|
2154
2155
|
inst._zod.onattach.push((inst) => {
|
|
2155
2156
|
inst._zod.bag.contentEncoding = "base64url";
|
|
@@ -2165,11 +2166,11 @@ const $ZodBase64URL = /*@__PURE__*/ (/* unused pure expression or super */ null
|
|
|
2165
2166
|
continue: !def.abort,
|
|
2166
2167
|
});
|
|
2167
2168
|
};
|
|
2168
|
-
})
|
|
2169
|
-
const $ZodE164 = /*@__PURE__*/
|
|
2170
|
-
def.pattern ?? (def.pattern =
|
|
2169
|
+
});
|
|
2170
|
+
const $ZodE164 = /*@__PURE__*/ $constructor("$ZodE164", (inst, def) => {
|
|
2171
|
+
def.pattern ?? (def.pattern = e164);
|
|
2171
2172
|
$ZodStringFormat.init(inst, def);
|
|
2172
|
-
})
|
|
2173
|
+
});
|
|
2173
2174
|
////////////////////////////// ZodJWT //////////////////////////////
|
|
2174
2175
|
function isValidJWT(token, algorithm = null) {
|
|
2175
2176
|
try {
|
|
@@ -2193,7 +2194,7 @@ function isValidJWT(token, algorithm = null) {
|
|
|
2193
2194
|
return false;
|
|
2194
2195
|
}
|
|
2195
2196
|
}
|
|
2196
|
-
const $ZodJWT = /*@__PURE__*/
|
|
2197
|
+
const $ZodJWT = /*@__PURE__*/ $constructor("$ZodJWT", (inst, def) => {
|
|
2197
2198
|
$ZodStringFormat.init(inst, def);
|
|
2198
2199
|
inst._zod.check = (payload) => {
|
|
2199
2200
|
if (isValidJWT(payload.value, def.alg))
|
|
@@ -2206,7 +2207,7 @@ const $ZodJWT = /*@__PURE__*/ (/* unused pure expression or super */ null && (co
|
|
|
2206
2207
|
continue: !def.abort,
|
|
2207
2208
|
});
|
|
2208
2209
|
};
|
|
2209
|
-
})
|
|
2210
|
+
});
|
|
2210
2211
|
const $ZodCustomStringFormat = /*@__PURE__*/ (/* unused pure expression or super */ null && (core.$constructor("$ZodCustomStringFormat", (inst, def) => {
|
|
2211
2212
|
$ZodStringFormat.init(inst, def);
|
|
2212
2213
|
inst._zod.check = (payload) => {
|
|
@@ -9274,7 +9275,7 @@ const $output = Symbol("ZodOutput");
|
|
|
9274
9275
|
const $input = Symbol("ZodInput");
|
|
9275
9276
|
class registries_$ZodRegistry {
|
|
9276
9277
|
constructor() {
|
|
9277
|
-
this._map = new
|
|
9278
|
+
this._map = new WeakMap();
|
|
9278
9279
|
this._idmap = new Map();
|
|
9279
9280
|
}
|
|
9280
9281
|
add(schema, ..._meta) {
|
|
@@ -9289,7 +9290,7 @@ class registries_$ZodRegistry {
|
|
|
9289
9290
|
return this;
|
|
9290
9291
|
}
|
|
9291
9292
|
clear() {
|
|
9292
|
-
this._map = new
|
|
9293
|
+
this._map = new WeakMap();
|
|
9293
9294
|
this._idmap = new Map();
|
|
9294
9295
|
return this;
|
|
9295
9296
|
}
|
|
@@ -9330,7 +9331,7 @@ const registries_globalRegistry = /*@__PURE__*/ registry();
|
|
|
9330
9331
|
function _string(Class, params) {
|
|
9331
9332
|
return new Class({
|
|
9332
9333
|
type: "string",
|
|
9333
|
-
...
|
|
9334
|
+
...normalizeParams(params),
|
|
9334
9335
|
});
|
|
9335
9336
|
}
|
|
9336
9337
|
function _coercedString(Class, params) {
|
|
@@ -9346,7 +9347,7 @@ function _email(Class, params) {
|
|
|
9346
9347
|
format: "email",
|
|
9347
9348
|
check: "string_format",
|
|
9348
9349
|
abort: false,
|
|
9349
|
-
...
|
|
9350
|
+
...normalizeParams(params),
|
|
9350
9351
|
});
|
|
9351
9352
|
}
|
|
9352
9353
|
function _guid(Class, params) {
|
|
@@ -9355,7 +9356,7 @@ function _guid(Class, params) {
|
|
|
9355
9356
|
format: "guid",
|
|
9356
9357
|
check: "string_format",
|
|
9357
9358
|
abort: false,
|
|
9358
|
-
...
|
|
9359
|
+
...normalizeParams(params),
|
|
9359
9360
|
});
|
|
9360
9361
|
}
|
|
9361
9362
|
function _uuid(Class, params) {
|
|
@@ -9364,7 +9365,7 @@ function _uuid(Class, params) {
|
|
|
9364
9365
|
format: "uuid",
|
|
9365
9366
|
check: "string_format",
|
|
9366
9367
|
abort: false,
|
|
9367
|
-
...
|
|
9368
|
+
...normalizeParams(params),
|
|
9368
9369
|
});
|
|
9369
9370
|
}
|
|
9370
9371
|
function _uuidv4(Class, params) {
|
|
@@ -9374,7 +9375,7 @@ function _uuidv4(Class, params) {
|
|
|
9374
9375
|
check: "string_format",
|
|
9375
9376
|
abort: false,
|
|
9376
9377
|
version: "v4",
|
|
9377
|
-
...
|
|
9378
|
+
...normalizeParams(params),
|
|
9378
9379
|
});
|
|
9379
9380
|
}
|
|
9380
9381
|
function _uuidv6(Class, params) {
|
|
@@ -9384,7 +9385,7 @@ function _uuidv6(Class, params) {
|
|
|
9384
9385
|
check: "string_format",
|
|
9385
9386
|
abort: false,
|
|
9386
9387
|
version: "v6",
|
|
9387
|
-
...
|
|
9388
|
+
...normalizeParams(params),
|
|
9388
9389
|
});
|
|
9389
9390
|
}
|
|
9390
9391
|
function _uuidv7(Class, params) {
|
|
@@ -9394,7 +9395,7 @@ function _uuidv7(Class, params) {
|
|
|
9394
9395
|
check: "string_format",
|
|
9395
9396
|
abort: false,
|
|
9396
9397
|
version: "v7",
|
|
9397
|
-
...
|
|
9398
|
+
...normalizeParams(params),
|
|
9398
9399
|
});
|
|
9399
9400
|
}
|
|
9400
9401
|
function _url(Class, params) {
|
|
@@ -9403,7 +9404,7 @@ function _url(Class, params) {
|
|
|
9403
9404
|
format: "url",
|
|
9404
9405
|
check: "string_format",
|
|
9405
9406
|
abort: false,
|
|
9406
|
-
...
|
|
9407
|
+
...normalizeParams(params),
|
|
9407
9408
|
});
|
|
9408
9409
|
}
|
|
9409
9410
|
function api_emoji(Class, params) {
|
|
@@ -9412,7 +9413,7 @@ function api_emoji(Class, params) {
|
|
|
9412
9413
|
format: "emoji",
|
|
9413
9414
|
check: "string_format",
|
|
9414
9415
|
abort: false,
|
|
9415
|
-
...
|
|
9416
|
+
...normalizeParams(params),
|
|
9416
9417
|
});
|
|
9417
9418
|
}
|
|
9418
9419
|
function _nanoid(Class, params) {
|
|
@@ -9421,7 +9422,7 @@ function _nanoid(Class, params) {
|
|
|
9421
9422
|
format: "nanoid",
|
|
9422
9423
|
check: "string_format",
|
|
9423
9424
|
abort: false,
|
|
9424
|
-
...
|
|
9425
|
+
...normalizeParams(params),
|
|
9425
9426
|
});
|
|
9426
9427
|
}
|
|
9427
9428
|
function _cuid(Class, params) {
|
|
@@ -9430,7 +9431,7 @@ function _cuid(Class, params) {
|
|
|
9430
9431
|
format: "cuid",
|
|
9431
9432
|
check: "string_format",
|
|
9432
9433
|
abort: false,
|
|
9433
|
-
...
|
|
9434
|
+
...normalizeParams(params),
|
|
9434
9435
|
});
|
|
9435
9436
|
}
|
|
9436
9437
|
function _cuid2(Class, params) {
|
|
@@ -9439,7 +9440,7 @@ function _cuid2(Class, params) {
|
|
|
9439
9440
|
format: "cuid2",
|
|
9440
9441
|
check: "string_format",
|
|
9441
9442
|
abort: false,
|
|
9442
|
-
...
|
|
9443
|
+
...normalizeParams(params),
|
|
9443
9444
|
});
|
|
9444
9445
|
}
|
|
9445
9446
|
function _ulid(Class, params) {
|
|
@@ -9448,7 +9449,7 @@ function _ulid(Class, params) {
|
|
|
9448
9449
|
format: "ulid",
|
|
9449
9450
|
check: "string_format",
|
|
9450
9451
|
abort: false,
|
|
9451
|
-
...
|
|
9452
|
+
...normalizeParams(params),
|
|
9452
9453
|
});
|
|
9453
9454
|
}
|
|
9454
9455
|
function _xid(Class, params) {
|
|
@@ -9457,7 +9458,7 @@ function _xid(Class, params) {
|
|
|
9457
9458
|
format: "xid",
|
|
9458
9459
|
check: "string_format",
|
|
9459
9460
|
abort: false,
|
|
9460
|
-
...
|
|
9461
|
+
...normalizeParams(params),
|
|
9461
9462
|
});
|
|
9462
9463
|
}
|
|
9463
9464
|
function _ksuid(Class, params) {
|
|
@@ -9466,7 +9467,7 @@ function _ksuid(Class, params) {
|
|
|
9466
9467
|
format: "ksuid",
|
|
9467
9468
|
check: "string_format",
|
|
9468
9469
|
abort: false,
|
|
9469
|
-
...
|
|
9470
|
+
...normalizeParams(params),
|
|
9470
9471
|
});
|
|
9471
9472
|
}
|
|
9472
9473
|
function _ipv4(Class, params) {
|
|
@@ -9475,7 +9476,7 @@ function _ipv4(Class, params) {
|
|
|
9475
9476
|
format: "ipv4",
|
|
9476
9477
|
check: "string_format",
|
|
9477
9478
|
abort: false,
|
|
9478
|
-
...
|
|
9479
|
+
...normalizeParams(params),
|
|
9479
9480
|
});
|
|
9480
9481
|
}
|
|
9481
9482
|
function _ipv6(Class, params) {
|
|
@@ -9484,7 +9485,7 @@ function _ipv6(Class, params) {
|
|
|
9484
9485
|
format: "ipv6",
|
|
9485
9486
|
check: "string_format",
|
|
9486
9487
|
abort: false,
|
|
9487
|
-
...
|
|
9488
|
+
...normalizeParams(params),
|
|
9488
9489
|
});
|
|
9489
9490
|
}
|
|
9490
9491
|
function _cidrv4(Class, params) {
|
|
@@ -9493,7 +9494,7 @@ function _cidrv4(Class, params) {
|
|
|
9493
9494
|
format: "cidrv4",
|
|
9494
9495
|
check: "string_format",
|
|
9495
9496
|
abort: false,
|
|
9496
|
-
...
|
|
9497
|
+
...normalizeParams(params),
|
|
9497
9498
|
});
|
|
9498
9499
|
}
|
|
9499
9500
|
function _cidrv6(Class, params) {
|
|
@@ -9502,7 +9503,7 @@ function _cidrv6(Class, params) {
|
|
|
9502
9503
|
format: "cidrv6",
|
|
9503
9504
|
check: "string_format",
|
|
9504
9505
|
abort: false,
|
|
9505
|
-
...
|
|
9506
|
+
...normalizeParams(params),
|
|
9506
9507
|
});
|
|
9507
9508
|
}
|
|
9508
9509
|
function _base64(Class, params) {
|
|
@@ -9511,7 +9512,7 @@ function _base64(Class, params) {
|
|
|
9511
9512
|
format: "base64",
|
|
9512
9513
|
check: "string_format",
|
|
9513
9514
|
abort: false,
|
|
9514
|
-
...
|
|
9515
|
+
...normalizeParams(params),
|
|
9515
9516
|
});
|
|
9516
9517
|
}
|
|
9517
9518
|
function _base64url(Class, params) {
|
|
@@ -9520,7 +9521,7 @@ function _base64url(Class, params) {
|
|
|
9520
9521
|
format: "base64url",
|
|
9521
9522
|
check: "string_format",
|
|
9522
9523
|
abort: false,
|
|
9523
|
-
...
|
|
9524
|
+
...normalizeParams(params),
|
|
9524
9525
|
});
|
|
9525
9526
|
}
|
|
9526
9527
|
function _e164(Class, params) {
|
|
@@ -9529,7 +9530,7 @@ function _e164(Class, params) {
|
|
|
9529
9530
|
format: "e164",
|
|
9530
9531
|
check: "string_format",
|
|
9531
9532
|
abort: false,
|
|
9532
|
-
...
|
|
9533
|
+
...normalizeParams(params),
|
|
9533
9534
|
});
|
|
9534
9535
|
}
|
|
9535
9536
|
function _jwt(Class, params) {
|
|
@@ -9538,7 +9539,7 @@ function _jwt(Class, params) {
|
|
|
9538
9539
|
format: "jwt",
|
|
9539
9540
|
check: "string_format",
|
|
9540
9541
|
abort: false,
|
|
9541
|
-
...
|
|
9542
|
+
...normalizeParams(params),
|
|
9542
9543
|
});
|
|
9543
9544
|
}
|
|
9544
9545
|
const TimePrecision = {
|
|
@@ -9556,7 +9557,7 @@ function _isoDateTime(Class, params) {
|
|
|
9556
9557
|
offset: false,
|
|
9557
9558
|
local: false,
|
|
9558
9559
|
precision: null,
|
|
9559
|
-
...
|
|
9560
|
+
...normalizeParams(params),
|
|
9560
9561
|
});
|
|
9561
9562
|
}
|
|
9562
9563
|
function _isoDate(Class, params) {
|
|
@@ -9564,7 +9565,7 @@ function _isoDate(Class, params) {
|
|
|
9564
9565
|
type: "string",
|
|
9565
9566
|
format: "date",
|
|
9566
9567
|
check: "string_format",
|
|
9567
|
-
...
|
|
9568
|
+
...normalizeParams(params),
|
|
9568
9569
|
});
|
|
9569
9570
|
}
|
|
9570
9571
|
function _isoTime(Class, params) {
|
|
@@ -9573,7 +9574,7 @@ function _isoTime(Class, params) {
|
|
|
9573
9574
|
format: "time",
|
|
9574
9575
|
check: "string_format",
|
|
9575
9576
|
precision: null,
|
|
9576
|
-
...
|
|
9577
|
+
...normalizeParams(params),
|
|
9577
9578
|
});
|
|
9578
9579
|
}
|
|
9579
9580
|
function _isoDuration(Class, params) {
|
|
@@ -9581,7 +9582,7 @@ function _isoDuration(Class, params) {
|
|
|
9581
9582
|
type: "string",
|
|
9582
9583
|
format: "duration",
|
|
9583
9584
|
check: "string_format",
|
|
9584
|
-
...
|
|
9585
|
+
...normalizeParams(params),
|
|
9585
9586
|
});
|
|
9586
9587
|
}
|
|
9587
9588
|
function _number(Class, params) {
|
|
@@ -9847,48 +9848,48 @@ function _length(length, params) {
|
|
|
9847
9848
|
});
|
|
9848
9849
|
}
|
|
9849
9850
|
function _regex(pattern, params) {
|
|
9850
|
-
return new
|
|
9851
|
+
return new $ZodCheckRegex({
|
|
9851
9852
|
check: "string_format",
|
|
9852
9853
|
format: "regex",
|
|
9853
|
-
...
|
|
9854
|
+
...normalizeParams(params),
|
|
9854
9855
|
pattern,
|
|
9855
9856
|
});
|
|
9856
9857
|
}
|
|
9857
9858
|
function _lowercase(params) {
|
|
9858
|
-
return new
|
|
9859
|
+
return new $ZodCheckLowerCase({
|
|
9859
9860
|
check: "string_format",
|
|
9860
9861
|
format: "lowercase",
|
|
9861
|
-
...
|
|
9862
|
+
...normalizeParams(params),
|
|
9862
9863
|
});
|
|
9863
9864
|
}
|
|
9864
9865
|
function _uppercase(params) {
|
|
9865
|
-
return new
|
|
9866
|
+
return new $ZodCheckUpperCase({
|
|
9866
9867
|
check: "string_format",
|
|
9867
9868
|
format: "uppercase",
|
|
9868
|
-
...
|
|
9869
|
+
...normalizeParams(params),
|
|
9869
9870
|
});
|
|
9870
9871
|
}
|
|
9871
9872
|
function _includes(includes, params) {
|
|
9872
|
-
return new
|
|
9873
|
+
return new $ZodCheckIncludes({
|
|
9873
9874
|
check: "string_format",
|
|
9874
9875
|
format: "includes",
|
|
9875
|
-
...
|
|
9876
|
+
...normalizeParams(params),
|
|
9876
9877
|
includes,
|
|
9877
9878
|
});
|
|
9878
9879
|
}
|
|
9879
9880
|
function _startsWith(prefix, params) {
|
|
9880
|
-
return new
|
|
9881
|
+
return new $ZodCheckStartsWith({
|
|
9881
9882
|
check: "string_format",
|
|
9882
9883
|
format: "starts_with",
|
|
9883
|
-
...
|
|
9884
|
+
...normalizeParams(params),
|
|
9884
9885
|
prefix,
|
|
9885
9886
|
});
|
|
9886
9887
|
}
|
|
9887
9888
|
function _endsWith(suffix, params) {
|
|
9888
|
-
return new
|
|
9889
|
+
return new $ZodCheckEndsWith({
|
|
9889
9890
|
check: "string_format",
|
|
9890
9891
|
format: "ends_with",
|
|
9891
|
-
...
|
|
9892
|
+
...normalizeParams(params),
|
|
9892
9893
|
suffix,
|
|
9893
9894
|
});
|
|
9894
9895
|
}
|
|
@@ -11185,33 +11186,33 @@ function isTransforming(_schema, _ctx) {
|
|
|
11185
11186
|
;// CONCATENATED MODULE: ./node_modules/zod/v4/classic/iso.js
|
|
11186
11187
|
|
|
11187
11188
|
|
|
11188
|
-
const ZodISODateTime = /*@__PURE__*/
|
|
11189
|
-
|
|
11190
|
-
|
|
11191
|
-
})
|
|
11189
|
+
const ZodISODateTime = /*@__PURE__*/ $constructor("ZodISODateTime", (inst, def) => {
|
|
11190
|
+
$ZodISODateTime.init(inst, def);
|
|
11191
|
+
ZodStringFormat.init(inst, def);
|
|
11192
|
+
});
|
|
11192
11193
|
function iso_datetime(params) {
|
|
11193
|
-
return
|
|
11194
|
+
return _isoDateTime(ZodISODateTime, params);
|
|
11194
11195
|
}
|
|
11195
|
-
const ZodISODate = /*@__PURE__*/
|
|
11196
|
-
|
|
11197
|
-
|
|
11198
|
-
})
|
|
11196
|
+
const ZodISODate = /*@__PURE__*/ $constructor("ZodISODate", (inst, def) => {
|
|
11197
|
+
$ZodISODate.init(inst, def);
|
|
11198
|
+
ZodStringFormat.init(inst, def);
|
|
11199
|
+
});
|
|
11199
11200
|
function iso_date(params) {
|
|
11200
|
-
return
|
|
11201
|
+
return _isoDate(ZodISODate, params);
|
|
11201
11202
|
}
|
|
11202
|
-
const ZodISOTime = /*@__PURE__*/
|
|
11203
|
-
|
|
11204
|
-
|
|
11205
|
-
})
|
|
11203
|
+
const ZodISOTime = /*@__PURE__*/ $constructor("ZodISOTime", (inst, def) => {
|
|
11204
|
+
$ZodISOTime.init(inst, def);
|
|
11205
|
+
ZodStringFormat.init(inst, def);
|
|
11206
|
+
});
|
|
11206
11207
|
function iso_time(params) {
|
|
11207
|
-
return
|
|
11208
|
+
return _isoTime(ZodISOTime, params);
|
|
11208
11209
|
}
|
|
11209
|
-
const ZodISODuration = /*@__PURE__*/
|
|
11210
|
-
|
|
11211
|
-
|
|
11212
|
-
})
|
|
11210
|
+
const ZodISODuration = /*@__PURE__*/ $constructor("ZodISODuration", (inst, def) => {
|
|
11211
|
+
$ZodISODuration.init(inst, def);
|
|
11212
|
+
ZodStringFormat.init(inst, def);
|
|
11213
|
+
});
|
|
11213
11214
|
function iso_duration(params) {
|
|
11214
|
-
return
|
|
11215
|
+
return _isoDuration(ZodISODuration, params);
|
|
11215
11216
|
}
|
|
11216
11217
|
|
|
11217
11218
|
;// CONCATENATED MODULE: ./node_modules/zod/v4/classic/errors.js
|
|
@@ -11370,90 +11371,90 @@ const ZodType = /*@__PURE__*/ $constructor("ZodType", (inst, def) => {
|
|
|
11370
11371
|
return inst;
|
|
11371
11372
|
});
|
|
11372
11373
|
/** @internal */
|
|
11373
|
-
const _ZodString = /*@__PURE__*/
|
|
11374
|
-
|
|
11374
|
+
const _ZodString = /*@__PURE__*/ $constructor("_ZodString", (inst, def) => {
|
|
11375
|
+
$ZodString.init(inst, def);
|
|
11375
11376
|
ZodType.init(inst, def);
|
|
11376
11377
|
const bag = inst._zod.bag;
|
|
11377
11378
|
inst.format = bag.format ?? null;
|
|
11378
11379
|
inst.minLength = bag.minimum ?? null;
|
|
11379
11380
|
inst.maxLength = bag.maximum ?? null;
|
|
11380
11381
|
// validations
|
|
11381
|
-
inst.regex = (...args) => inst.check(
|
|
11382
|
-
inst.includes = (...args) => inst.check(
|
|
11383
|
-
inst.startsWith = (...args) => inst.check(
|
|
11384
|
-
inst.endsWith = (...args) => inst.check(
|
|
11385
|
-
inst.min = (...args) => inst.check(
|
|
11386
|
-
inst.max = (...args) => inst.check(
|
|
11387
|
-
inst.length = (...args) => inst.check(
|
|
11388
|
-
inst.nonempty = (...args) => inst.check(
|
|
11389
|
-
inst.lowercase = (params) => inst.check(
|
|
11390
|
-
inst.uppercase = (params) => inst.check(
|
|
11382
|
+
inst.regex = (...args) => inst.check(_regex(...args));
|
|
11383
|
+
inst.includes = (...args) => inst.check(_includes(...args));
|
|
11384
|
+
inst.startsWith = (...args) => inst.check(_startsWith(...args));
|
|
11385
|
+
inst.endsWith = (...args) => inst.check(_endsWith(...args));
|
|
11386
|
+
inst.min = (...args) => inst.check(_minLength(...args));
|
|
11387
|
+
inst.max = (...args) => inst.check(_maxLength(...args));
|
|
11388
|
+
inst.length = (...args) => inst.check(_length(...args));
|
|
11389
|
+
inst.nonempty = (...args) => inst.check(_minLength(1, ...args));
|
|
11390
|
+
inst.lowercase = (params) => inst.check(_lowercase(params));
|
|
11391
|
+
inst.uppercase = (params) => inst.check(_uppercase(params));
|
|
11391
11392
|
// transforms
|
|
11392
|
-
inst.trim = () => inst.check(
|
|
11393
|
-
inst.normalize = (...args) => inst.check(
|
|
11394
|
-
inst.toLowerCase = () => inst.check(
|
|
11395
|
-
inst.toUpperCase = () => inst.check(
|
|
11396
|
-
})
|
|
11397
|
-
const ZodString = /*@__PURE__*/
|
|
11398
|
-
|
|
11393
|
+
inst.trim = () => inst.check(_trim());
|
|
11394
|
+
inst.normalize = (...args) => inst.check(_normalize(...args));
|
|
11395
|
+
inst.toLowerCase = () => inst.check(_toLowerCase());
|
|
11396
|
+
inst.toUpperCase = () => inst.check(_toUpperCase());
|
|
11397
|
+
});
|
|
11398
|
+
const ZodString = /*@__PURE__*/ $constructor("ZodString", (inst, def) => {
|
|
11399
|
+
$ZodString.init(inst, def);
|
|
11399
11400
|
_ZodString.init(inst, def);
|
|
11400
|
-
inst.email = (params) => inst.check(
|
|
11401
|
-
inst.url = (params) => inst.check(
|
|
11402
|
-
inst.jwt = (params) => inst.check(
|
|
11403
|
-
inst.emoji = (params) => inst.check(
|
|
11404
|
-
inst.guid = (params) => inst.check(
|
|
11405
|
-
inst.uuid = (params) => inst.check(
|
|
11406
|
-
inst.uuidv4 = (params) => inst.check(
|
|
11407
|
-
inst.uuidv6 = (params) => inst.check(
|
|
11408
|
-
inst.uuidv7 = (params) => inst.check(
|
|
11409
|
-
inst.nanoid = (params) => inst.check(
|
|
11410
|
-
inst.guid = (params) => inst.check(
|
|
11411
|
-
inst.cuid = (params) => inst.check(
|
|
11412
|
-
inst.cuid2 = (params) => inst.check(
|
|
11413
|
-
inst.ulid = (params) => inst.check(
|
|
11414
|
-
inst.base64 = (params) => inst.check(
|
|
11415
|
-
inst.base64url = (params) => inst.check(
|
|
11416
|
-
inst.xid = (params) => inst.check(
|
|
11417
|
-
inst.ksuid = (params) => inst.check(
|
|
11418
|
-
inst.ipv4 = (params) => inst.check(
|
|
11419
|
-
inst.ipv6 = (params) => inst.check(
|
|
11420
|
-
inst.cidrv4 = (params) => inst.check(
|
|
11421
|
-
inst.cidrv6 = (params) => inst.check(
|
|
11422
|
-
inst.e164 = (params) => inst.check(
|
|
11401
|
+
inst.email = (params) => inst.check(_email(ZodEmail, params));
|
|
11402
|
+
inst.url = (params) => inst.check(_url(ZodURL, params));
|
|
11403
|
+
inst.jwt = (params) => inst.check(_jwt(ZodJWT, params));
|
|
11404
|
+
inst.emoji = (params) => inst.check(api_emoji(ZodEmoji, params));
|
|
11405
|
+
inst.guid = (params) => inst.check(_guid(ZodGUID, params));
|
|
11406
|
+
inst.uuid = (params) => inst.check(_uuid(ZodUUID, params));
|
|
11407
|
+
inst.uuidv4 = (params) => inst.check(_uuidv4(ZodUUID, params));
|
|
11408
|
+
inst.uuidv6 = (params) => inst.check(_uuidv6(ZodUUID, params));
|
|
11409
|
+
inst.uuidv7 = (params) => inst.check(_uuidv7(ZodUUID, params));
|
|
11410
|
+
inst.nanoid = (params) => inst.check(_nanoid(ZodNanoID, params));
|
|
11411
|
+
inst.guid = (params) => inst.check(_guid(ZodGUID, params));
|
|
11412
|
+
inst.cuid = (params) => inst.check(_cuid(ZodCUID, params));
|
|
11413
|
+
inst.cuid2 = (params) => inst.check(_cuid2(ZodCUID2, params));
|
|
11414
|
+
inst.ulid = (params) => inst.check(_ulid(ZodULID, params));
|
|
11415
|
+
inst.base64 = (params) => inst.check(_base64(ZodBase64, params));
|
|
11416
|
+
inst.base64url = (params) => inst.check(_base64url(ZodBase64URL, params));
|
|
11417
|
+
inst.xid = (params) => inst.check(_xid(ZodXID, params));
|
|
11418
|
+
inst.ksuid = (params) => inst.check(_ksuid(ZodKSUID, params));
|
|
11419
|
+
inst.ipv4 = (params) => inst.check(_ipv4(ZodIPv4, params));
|
|
11420
|
+
inst.ipv6 = (params) => inst.check(_ipv6(ZodIPv6, params));
|
|
11421
|
+
inst.cidrv4 = (params) => inst.check(_cidrv4(ZodCIDRv4, params));
|
|
11422
|
+
inst.cidrv6 = (params) => inst.check(_cidrv6(ZodCIDRv6, params));
|
|
11423
|
+
inst.e164 = (params) => inst.check(_e164(ZodE164, params));
|
|
11423
11424
|
// iso
|
|
11424
|
-
inst.datetime = (params) => inst.check(
|
|
11425
|
-
inst.date = (params) => inst.check(
|
|
11426
|
-
inst.time = (params) => inst.check(
|
|
11427
|
-
inst.duration = (params) => inst.check(
|
|
11428
|
-
})
|
|
11425
|
+
inst.datetime = (params) => inst.check(iso_datetime(params));
|
|
11426
|
+
inst.date = (params) => inst.check(iso_date(params));
|
|
11427
|
+
inst.time = (params) => inst.check(iso_time(params));
|
|
11428
|
+
inst.duration = (params) => inst.check(iso_duration(params));
|
|
11429
|
+
});
|
|
11429
11430
|
function schemas_string(params) {
|
|
11430
|
-
return
|
|
11431
|
+
return _string(ZodString, params);
|
|
11431
11432
|
}
|
|
11432
|
-
const ZodStringFormat = /*@__PURE__*/
|
|
11433
|
-
|
|
11433
|
+
const ZodStringFormat = /*@__PURE__*/ $constructor("ZodStringFormat", (inst, def) => {
|
|
11434
|
+
$ZodStringFormat.init(inst, def);
|
|
11434
11435
|
_ZodString.init(inst, def);
|
|
11435
|
-
})
|
|
11436
|
-
const ZodEmail = /*@__PURE__*/
|
|
11436
|
+
});
|
|
11437
|
+
const ZodEmail = /*@__PURE__*/ $constructor("ZodEmail", (inst, def) => {
|
|
11437
11438
|
// ZodStringFormat.init(inst, def);
|
|
11438
|
-
|
|
11439
|
+
$ZodEmail.init(inst, def);
|
|
11439
11440
|
ZodStringFormat.init(inst, def);
|
|
11440
|
-
})
|
|
11441
|
+
});
|
|
11441
11442
|
function schemas_email(params) {
|
|
11442
11443
|
return core._email(ZodEmail, params);
|
|
11443
11444
|
}
|
|
11444
|
-
const ZodGUID = /*@__PURE__*/
|
|
11445
|
+
const ZodGUID = /*@__PURE__*/ $constructor("ZodGUID", (inst, def) => {
|
|
11445
11446
|
// ZodStringFormat.init(inst, def);
|
|
11446
|
-
|
|
11447
|
+
$ZodGUID.init(inst, def);
|
|
11447
11448
|
ZodStringFormat.init(inst, def);
|
|
11448
|
-
})
|
|
11449
|
+
});
|
|
11449
11450
|
function schemas_guid(params) {
|
|
11450
11451
|
return core._guid(ZodGUID, params);
|
|
11451
11452
|
}
|
|
11452
|
-
const ZodUUID = /*@__PURE__*/
|
|
11453
|
+
const ZodUUID = /*@__PURE__*/ $constructor("ZodUUID", (inst, def) => {
|
|
11453
11454
|
// ZodStringFormat.init(inst, def);
|
|
11454
|
-
|
|
11455
|
+
$ZodUUID.init(inst, def);
|
|
11455
11456
|
ZodStringFormat.init(inst, def);
|
|
11456
|
-
})
|
|
11457
|
+
});
|
|
11457
11458
|
function schemas_uuid(params) {
|
|
11458
11459
|
return core._uuid(ZodUUID, params);
|
|
11459
11460
|
}
|
|
@@ -11468,11 +11469,11 @@ function uuidv6(params) {
|
|
|
11468
11469
|
function uuidv7(params) {
|
|
11469
11470
|
return core._uuidv7(ZodUUID, params);
|
|
11470
11471
|
}
|
|
11471
|
-
const ZodURL = /*@__PURE__*/
|
|
11472
|
+
const ZodURL = /*@__PURE__*/ $constructor("ZodURL", (inst, def) => {
|
|
11472
11473
|
// ZodStringFormat.init(inst, def);
|
|
11473
|
-
|
|
11474
|
+
$ZodURL.init(inst, def);
|
|
11474
11475
|
ZodStringFormat.init(inst, def);
|
|
11475
|
-
})
|
|
11476
|
+
});
|
|
11476
11477
|
function url(params) {
|
|
11477
11478
|
return core._url(ZodURL, params);
|
|
11478
11479
|
}
|
|
@@ -11483,121 +11484,121 @@ function httpUrl(params) {
|
|
|
11483
11484
|
...util.normalizeParams(params),
|
|
11484
11485
|
});
|
|
11485
11486
|
}
|
|
11486
|
-
const ZodEmoji = /*@__PURE__*/
|
|
11487
|
+
const ZodEmoji = /*@__PURE__*/ $constructor("ZodEmoji", (inst, def) => {
|
|
11487
11488
|
// ZodStringFormat.init(inst, def);
|
|
11488
|
-
|
|
11489
|
+
$ZodEmoji.init(inst, def);
|
|
11489
11490
|
ZodStringFormat.init(inst, def);
|
|
11490
|
-
})
|
|
11491
|
+
});
|
|
11491
11492
|
function schemas_emoji(params) {
|
|
11492
11493
|
return core._emoji(ZodEmoji, params);
|
|
11493
11494
|
}
|
|
11494
|
-
const ZodNanoID = /*@__PURE__*/
|
|
11495
|
+
const ZodNanoID = /*@__PURE__*/ $constructor("ZodNanoID", (inst, def) => {
|
|
11495
11496
|
// ZodStringFormat.init(inst, def);
|
|
11496
|
-
|
|
11497
|
+
$ZodNanoID.init(inst, def);
|
|
11497
11498
|
ZodStringFormat.init(inst, def);
|
|
11498
|
-
})
|
|
11499
|
+
});
|
|
11499
11500
|
function schemas_nanoid(params) {
|
|
11500
11501
|
return core._nanoid(ZodNanoID, params);
|
|
11501
11502
|
}
|
|
11502
|
-
const ZodCUID = /*@__PURE__*/
|
|
11503
|
+
const ZodCUID = /*@__PURE__*/ $constructor("ZodCUID", (inst, def) => {
|
|
11503
11504
|
// ZodStringFormat.init(inst, def);
|
|
11504
|
-
|
|
11505
|
+
$ZodCUID.init(inst, def);
|
|
11505
11506
|
ZodStringFormat.init(inst, def);
|
|
11506
|
-
})
|
|
11507
|
+
});
|
|
11507
11508
|
function schemas_cuid(params) {
|
|
11508
11509
|
return core._cuid(ZodCUID, params);
|
|
11509
11510
|
}
|
|
11510
|
-
const ZodCUID2 = /*@__PURE__*/
|
|
11511
|
+
const ZodCUID2 = /*@__PURE__*/ $constructor("ZodCUID2", (inst, def) => {
|
|
11511
11512
|
// ZodStringFormat.init(inst, def);
|
|
11512
|
-
|
|
11513
|
+
$ZodCUID2.init(inst, def);
|
|
11513
11514
|
ZodStringFormat.init(inst, def);
|
|
11514
|
-
})
|
|
11515
|
+
});
|
|
11515
11516
|
function schemas_cuid2(params) {
|
|
11516
11517
|
return core._cuid2(ZodCUID2, params);
|
|
11517
11518
|
}
|
|
11518
|
-
const ZodULID = /*@__PURE__*/
|
|
11519
|
+
const ZodULID = /*@__PURE__*/ $constructor("ZodULID", (inst, def) => {
|
|
11519
11520
|
// ZodStringFormat.init(inst, def);
|
|
11520
|
-
|
|
11521
|
+
$ZodULID.init(inst, def);
|
|
11521
11522
|
ZodStringFormat.init(inst, def);
|
|
11522
|
-
})
|
|
11523
|
+
});
|
|
11523
11524
|
function schemas_ulid(params) {
|
|
11524
11525
|
return core._ulid(ZodULID, params);
|
|
11525
11526
|
}
|
|
11526
|
-
const ZodXID = /*@__PURE__*/
|
|
11527
|
+
const ZodXID = /*@__PURE__*/ $constructor("ZodXID", (inst, def) => {
|
|
11527
11528
|
// ZodStringFormat.init(inst, def);
|
|
11528
|
-
|
|
11529
|
+
$ZodXID.init(inst, def);
|
|
11529
11530
|
ZodStringFormat.init(inst, def);
|
|
11530
|
-
})
|
|
11531
|
+
});
|
|
11531
11532
|
function schemas_xid(params) {
|
|
11532
11533
|
return core._xid(ZodXID, params);
|
|
11533
11534
|
}
|
|
11534
|
-
const ZodKSUID = /*@__PURE__*/
|
|
11535
|
+
const ZodKSUID = /*@__PURE__*/ $constructor("ZodKSUID", (inst, def) => {
|
|
11535
11536
|
// ZodStringFormat.init(inst, def);
|
|
11536
|
-
|
|
11537
|
+
$ZodKSUID.init(inst, def);
|
|
11537
11538
|
ZodStringFormat.init(inst, def);
|
|
11538
|
-
})
|
|
11539
|
+
});
|
|
11539
11540
|
function schemas_ksuid(params) {
|
|
11540
11541
|
return core._ksuid(ZodKSUID, params);
|
|
11541
11542
|
}
|
|
11542
|
-
const ZodIPv4 = /*@__PURE__*/
|
|
11543
|
+
const ZodIPv4 = /*@__PURE__*/ $constructor("ZodIPv4", (inst, def) => {
|
|
11543
11544
|
// ZodStringFormat.init(inst, def);
|
|
11544
|
-
|
|
11545
|
+
$ZodIPv4.init(inst, def);
|
|
11545
11546
|
ZodStringFormat.init(inst, def);
|
|
11546
|
-
})
|
|
11547
|
+
});
|
|
11547
11548
|
function schemas_ipv4(params) {
|
|
11548
11549
|
return core._ipv4(ZodIPv4, params);
|
|
11549
11550
|
}
|
|
11550
|
-
const ZodIPv6 = /*@__PURE__*/
|
|
11551
|
+
const ZodIPv6 = /*@__PURE__*/ $constructor("ZodIPv6", (inst, def) => {
|
|
11551
11552
|
// ZodStringFormat.init(inst, def);
|
|
11552
|
-
|
|
11553
|
+
$ZodIPv6.init(inst, def);
|
|
11553
11554
|
ZodStringFormat.init(inst, def);
|
|
11554
|
-
})
|
|
11555
|
+
});
|
|
11555
11556
|
function schemas_ipv6(params) {
|
|
11556
11557
|
return core._ipv6(ZodIPv6, params);
|
|
11557
11558
|
}
|
|
11558
|
-
const ZodCIDRv4 = /*@__PURE__*/
|
|
11559
|
-
|
|
11559
|
+
const ZodCIDRv4 = /*@__PURE__*/ $constructor("ZodCIDRv4", (inst, def) => {
|
|
11560
|
+
$ZodCIDRv4.init(inst, def);
|
|
11560
11561
|
ZodStringFormat.init(inst, def);
|
|
11561
|
-
})
|
|
11562
|
+
});
|
|
11562
11563
|
function schemas_cidrv4(params) {
|
|
11563
11564
|
return core._cidrv4(ZodCIDRv4, params);
|
|
11564
11565
|
}
|
|
11565
|
-
const ZodCIDRv6 = /*@__PURE__*/
|
|
11566
|
-
|
|
11566
|
+
const ZodCIDRv6 = /*@__PURE__*/ $constructor("ZodCIDRv6", (inst, def) => {
|
|
11567
|
+
$ZodCIDRv6.init(inst, def);
|
|
11567
11568
|
ZodStringFormat.init(inst, def);
|
|
11568
|
-
})
|
|
11569
|
+
});
|
|
11569
11570
|
function schemas_cidrv6(params) {
|
|
11570
11571
|
return core._cidrv6(ZodCIDRv6, params);
|
|
11571
11572
|
}
|
|
11572
|
-
const ZodBase64 = /*@__PURE__*/
|
|
11573
|
+
const ZodBase64 = /*@__PURE__*/ $constructor("ZodBase64", (inst, def) => {
|
|
11573
11574
|
// ZodStringFormat.init(inst, def);
|
|
11574
|
-
|
|
11575
|
+
$ZodBase64.init(inst, def);
|
|
11575
11576
|
ZodStringFormat.init(inst, def);
|
|
11576
|
-
})
|
|
11577
|
+
});
|
|
11577
11578
|
function schemas_base64(params) {
|
|
11578
11579
|
return core._base64(ZodBase64, params);
|
|
11579
11580
|
}
|
|
11580
|
-
const ZodBase64URL = /*@__PURE__*/
|
|
11581
|
+
const ZodBase64URL = /*@__PURE__*/ $constructor("ZodBase64URL", (inst, def) => {
|
|
11581
11582
|
// ZodStringFormat.init(inst, def);
|
|
11582
|
-
|
|
11583
|
+
$ZodBase64URL.init(inst, def);
|
|
11583
11584
|
ZodStringFormat.init(inst, def);
|
|
11584
|
-
})
|
|
11585
|
+
});
|
|
11585
11586
|
function schemas_base64url(params) {
|
|
11586
11587
|
return core._base64url(ZodBase64URL, params);
|
|
11587
11588
|
}
|
|
11588
|
-
const ZodE164 = /*@__PURE__*/
|
|
11589
|
+
const ZodE164 = /*@__PURE__*/ $constructor("ZodE164", (inst, def) => {
|
|
11589
11590
|
// ZodStringFormat.init(inst, def);
|
|
11590
|
-
|
|
11591
|
+
$ZodE164.init(inst, def);
|
|
11591
11592
|
ZodStringFormat.init(inst, def);
|
|
11592
|
-
})
|
|
11593
|
+
});
|
|
11593
11594
|
function schemas_e164(params) {
|
|
11594
11595
|
return core._e164(ZodE164, params);
|
|
11595
11596
|
}
|
|
11596
|
-
const ZodJWT = /*@__PURE__*/
|
|
11597
|
+
const ZodJWT = /*@__PURE__*/ $constructor("ZodJWT", (inst, def) => {
|
|
11597
11598
|
// ZodStringFormat.init(inst, def);
|
|
11598
|
-
|
|
11599
|
+
$ZodJWT.init(inst, def);
|
|
11599
11600
|
ZodStringFormat.init(inst, def);
|
|
11600
|
-
})
|
|
11601
|
+
});
|
|
11601
11602
|
function jwt(params) {
|
|
11602
11603
|
return core._jwt(ZodJWT, params);
|
|
11603
11604
|
}
|
|
@@ -64,7 +64,7 @@ function updateAccountThemeImplementationInConfig(params) {
|
|
|
64
64
|
const parsedPackageJson = (() => {
|
|
65
65
|
const zParsedPackageJson = (() => {
|
|
66
66
|
const zTargetType = external/* object */.Ikc({
|
|
67
|
-
keycloakify: external/* record */.g1P(external/* unknown */.L5J()),
|
|
67
|
+
keycloakify: external/* record */.g1P(external/* string */.YjP(), external/* unknown */.L5J()),
|
|
68
68
|
});
|
|
69
69
|
(0,assert/* assert */.v)();
|
|
70
70
|
return (0,id.id)(zTargetType);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keycloakify/svelte",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Svelte Components for Keycloakify",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"keycloak",
|
|
@@ -438,8 +438,8 @@
|
|
|
438
438
|
},
|
|
439
439
|
"devDependencies": {
|
|
440
440
|
"@sveltejs/adapter-auto": "^6.1.0",
|
|
441
|
-
"@sveltejs/kit": "^2.
|
|
442
|
-
"@sveltejs/package": "^2.5.
|
|
441
|
+
"@sveltejs/kit": "^2.41.0",
|
|
442
|
+
"@sveltejs/package": "^2.5.2",
|
|
443
443
|
"@sveltejs/vite-plugin-svelte": "^6.2.0",
|
|
444
444
|
"@types/eslint": "^9.6.1",
|
|
445
445
|
"@types/node": "^22.15.18",
|
|
@@ -454,19 +454,19 @@
|
|
|
454
454
|
"eslint-plugin-unused-imports": "^4.2.0",
|
|
455
455
|
"globals": "^16.4.0",
|
|
456
456
|
"husky": "^9.1.7",
|
|
457
|
-
"keycloakify": "^11.9.
|
|
458
|
-
"npm-check-updates": "^18.1.
|
|
457
|
+
"keycloakify": "^11.9.6",
|
|
458
|
+
"npm-check-updates": "^18.1.1",
|
|
459
459
|
"prettier": "^3.6.2",
|
|
460
460
|
"prettier-plugin-svelte": "^3.4.0",
|
|
461
461
|
"publint": "^0.3.12",
|
|
462
|
-
"svelte": "^5.38.
|
|
462
|
+
"svelte": "^5.38.10",
|
|
463
463
|
"svelte-check": "^4.3.1",
|
|
464
464
|
"ts-node": "^10.9.2",
|
|
465
465
|
"tsx": "4.20.4",
|
|
466
466
|
"typescript": "~5.9.2",
|
|
467
|
-
"typescript-eslint": "^8.
|
|
467
|
+
"typescript-eslint": "^8.44.0",
|
|
468
468
|
"vite": "^7.1.5",
|
|
469
|
-
"zod": "^4.1.
|
|
469
|
+
"zod": "^4.1.8"
|
|
470
470
|
},
|
|
471
471
|
"bin": {
|
|
472
472
|
"_keycloakify-custom-handler": "keycloakify-svelte/bin/index.js"
|
|
@@ -65,7 +65,7 @@ export function updateAccountThemeImplementationInConfig(params: {
|
|
|
65
65
|
type TargetType = ParsedPackageJson;
|
|
66
66
|
|
|
67
67
|
const zTargetType = z.object({
|
|
68
|
-
keycloakify: z.record(z.unknown()),
|
|
68
|
+
keycloakify: z.record(z.string(), z.unknown()),
|
|
69
69
|
});
|
|
70
70
|
|
|
71
71
|
assert<Equals<z.infer<typeof zTargetType>, TargetType>>();
|