toolbox-x 2.0.1 → 2.0.10
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/{Color-BCsnSEmt.d.cts → Color-D3V-jsd9.d.cts} +1 -1
- package/dist/{Color-CKmhtXdG.d.mts → Color-vqRN4-tH.d.mts} +1 -1
- package/dist/{Stylog-CXpN-oeY.d.mts → Stylog-B2xf9b6T.d.cts} +1 -1
- package/dist/{Stylog-DJOVxym_.d.cts → Stylog-COUTYv10.d.mts} +1 -1
- package/dist/{area-DOqFLNcr.d.mts → area-BRs7joY-.d.mts} +1 -1
- package/dist/{area-CHhwLR12.d.cts → area-V5TIejvE.d.cts} +1 -1
- package/dist/{array-BNbTIBni.d.mts → array-BJ4EH8wi.d.mts} +1 -1
- package/dist/{array-CL3apdfa.d.cts → array-CQX_EGkn.d.cts} +1 -1
- package/dist/{basics-B9aytOct.d.cts → basics-B-FQYalQ.d.cts} +1 -1
- package/dist/{basics-BNQqY5WD.d.mts → basics-B_A9bRYf.d.mts} +1 -1
- package/dist/{basics-CJmdhXoo.cjs → basics-Bb5ovcvz.cjs} +137 -2
- package/dist/{basics-CebgkY-n.mjs → basics-Dald7J6c.mjs} +95 -2
- package/dist/{case-Bkkm6Mqi.d.mts → case-D3vbB82w.d.cts} +1 -1
- package/dist/{case-DFD3Ml1p.d.cts → case-pluK6eqe.d.mts} +1 -1
- package/dist/change-case.d.cts +1 -1
- package/dist/change-case.d.mts +1 -1
- package/dist/colors.d.cts +2 -2
- package/dist/colors.d.mts +2 -2
- package/dist/{constants-Dz5vxNQ9.cjs → constants-CgFaV72Z.cjs} +19 -2
- package/dist/{constants-j-iXjwDl.mjs → constants-GZL_CT1W.mjs} +14 -3
- package/dist/constants.cjs +1 -1
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.mts +1 -1
- package/dist/constants.mjs +1 -1
- package/dist/converter.d.cts +2 -2
- package/dist/converter.d.mts +2 -2
- package/dist/date.cjs +42 -5
- package/dist/date.d.cts +27 -2
- package/dist/date.d.mts +27 -2
- package/dist/date.mjs +42 -6
- package/dist/dom.cjs +7 -8
- package/dist/dom.d.cts +3 -3
- package/dist/dom.d.mts +3 -3
- package/dist/dom.mjs +2 -3
- package/dist/{form-CC9T9WnX.d.cts → form-B91Vb6IK.d.cts} +2 -2
- package/dist/{form-CheKmgjj.d.mts → form-DaIT0NMx.d.mts} +2 -2
- package/dist/{guards-B2s2wlVN.mjs → guards-D1et4U32.mjs} +1 -1
- package/dist/{guards-DMJcjPDt.cjs → guards-D8Iz6EEy.cjs} +1 -1
- package/dist/guards.cjs +34 -35
- package/dist/guards.d.cts +4 -4
- package/dist/guards.d.mts +4 -4
- package/dist/guards.mjs +2 -3
- package/dist/{hash-C0Wr7H8v.d.mts → hash-93NWr2bT.d.cts} +1 -1
- package/dist/{hash-DJ8b9VHB.d.cts → hash-Dh4GTl4B.d.mts} +1 -1
- package/dist/hash.cjs +2 -2
- package/dist/hash.d.cts +4 -4
- package/dist/hash.d.mts +4 -4
- package/dist/hash.mjs +2 -2
- package/dist/{http-status-BSee6mB5.d.mts → http-status-D0DfMM_G.d.mts} +1 -1
- package/dist/{http-status-DJn87B_Y.d.cts → http-status-DG5Wi-Rz.d.cts} +1 -1
- package/dist/http-status.d.cts +2 -2
- package/dist/http-status.d.mts +2 -2
- package/dist/{index-01oaUuP6.d.mts → index-d-0XdKRj.d.mts} +2 -2
- package/dist/{index-CgwlWrZM.d.cts → index-wAbirEXW.d.cts} +2 -2
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +6 -6
- package/dist/index.d.mts +6 -6
- package/dist/index.mjs +3 -3
- package/dist/{object-Mglyg4AW.d.cts → object-ahxpI5tD.d.cts} +8 -6
- package/dist/{object-Mglyg4AW.d.mts → object-ahxpI5tD.d.mts} +8 -6
- package/dist/{objectify-xQvZS3UI.cjs → objectify--6hPlQ7r.cjs} +6 -7
- package/dist/{objectify-CQa8gQib.mjs → objectify-BoIZEKOL.mjs} +1 -2
- package/dist/paginator.d.cts +1 -1
- package/dist/paginator.d.mts +1 -1
- package/dist/{parse-BWu3UbOk.cjs → parse-CbVVRoFY.cjs} +3 -3
- package/dist/{parse-CNDdS-sy.mjs → parse-DUJ0YThn.mjs} +2 -2
- package/dist/{pluralizer-BGMC8LLz.d.cts → pluralizer-C52Pkwq9.d.cts} +1 -1
- package/dist/{pluralizer-CQNzRhwR.d.mts → pluralizer-CkY_fJ5U.d.mts} +1 -1
- package/dist/pluralizer.d.cts +1 -1
- package/dist/pluralizer.d.mts +1 -1
- package/dist/{string-_1ImwUJT.d.mts → string-C3g9oBeS.d.mts} +1 -1
- package/dist/{string-BDwBuik3.d.cts → string-DENMnjFc.d.cts} +1 -1
- package/dist/stylog.d.cts +2 -2
- package/dist/stylog.d.mts +2 -2
- package/dist/types/array.d.cts +1 -1
- package/dist/types/array.d.mts +1 -1
- package/dist/types/colors.d.cts +1 -1
- package/dist/types/colors.d.mts +1 -1
- package/dist/types/converter.d.cts +1 -1
- package/dist/types/converter.d.mts +1 -1
- package/dist/types/date.d.cts +2 -2
- package/dist/types/date.d.mts +2 -2
- package/dist/types/form.d.cts +1 -1
- package/dist/types/form.d.mts +1 -1
- package/dist/types/hash.d.cts +1 -1
- package/dist/types/hash.d.mts +1 -1
- package/dist/types/http-status.d.cts +1 -1
- package/dist/types/http-status.d.mts +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/number.d.cts +1 -1
- package/dist/types/number.d.mts +1 -1
- package/dist/types/object.d.cts +1 -1
- package/dist/types/object.d.mts +1 -1
- package/dist/types/pluralizer.d.cts +1 -1
- package/dist/types/pluralizer.d.mts +1 -1
- package/dist/types/string.d.cts +1 -1
- package/dist/types/string.d.mts +1 -1
- package/dist/types/stylog.d.cts +1 -1
- package/dist/types/stylog.d.mts +1 -1
- package/dist/types/utils.d.cts +1 -1
- package/dist/types/utils.d.mts +1 -1
- package/dist/{uuid-CiJtSUbo.d.cts → uuid-BPkWu84A.d.mts} +1 -1
- package/dist/{uuid-D-gjPs4Q.d.mts → uuid-r7G_An2E.d.cts} +1 -1
- package/package.json +1 -1
- package/dist/guards-BK1QuvFZ.mjs +0 -115
- package/dist/guards-Bsh6Bfdq.cjs +0 -156
package/dist/types/date.d.mts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { $t as Milliseconds, An as
|
|
18
|
-
export { $DateUnit, $GMTOffset, $ISOTimeString, $LocalArguments, $NativeTzNameOrId, $TZLabelKey, $TimeUnitKey, $TimeUnitVar, $TimeUnitVarMap, $TimeZoneIdentifier, $UTCOffset, $UnitAnyCase, AcademicYear, ClockHour, ClockMinute, ClockSecond, ClockTime, DateArgs, DateFormatOptions, DateFormatToken, DateLike, DateString, DateTimeFormatOptions, DateToken, DayPart, DayPartConfig, DayToken, FormatOptions, FormatToken, FromNowUnit, GreetingConfigs, HourMinutes, HourToken, ISODateFormat, ISODateTimeString, LocaleCalendar, LocalesArguments, MSToken, Milliseconds, MinuteToken, MonthDateString, MonthName, MonthString, MonthToken, NegativeUTCHour, NumberingSystem, PositiveUTCHour, Quarter, RelativeDateFormatOptions, SafeFormat, SecondToken, TimeFormatToken, TimeOnlyFormat, TimeToken, TimeUnit, TimeUnitValue, TimeWithUnit, TimeZone, TimeZoneDetails, TimeZoneId, TimeZoneIdNative, TimeZoneIdentifier, TimeZoneName, TimeZoneNameNative, TimestampOptions, UTCMinute, UTCOffset, WeekDay, YearToken, ZodiacPreset, ZodiacSign };
|
|
17
|
+
import { $t as Milliseconds, An as YearToken, At as ClockSecond, Bt as DayPartConfig, Cn as TimeZoneName, Ct as $TimeUnitVarMap, Dn as UTCOffset, Dt as AcademicYear, En as UTCMinute, Et as $UnitAnyCase, Ft as DateLike, Gt as GreetingConfigs, Ht as FormatOptions, It as DateString, Jt as ISODateFormat, Kt as HourMinutes, Lt as DateTimeFormatOptions, Mn as ZodiacSign, Mt as DateArgs, Nt as DateFormatOptions, On as UnitWithValue, Ot as ClockHour, Pt as DateFormatToken, Qt as MSToken, Rt as DateToken, Sn as TimeZoneIdentifier, St as $TimeUnitVar, Tn as TimestampOptions, Tt as $UTCOffset, Ut as FormatToken, Vt as DayToken, Wt as FromNowUnit, Xt as LocaleCalendar, Yt as ISODateTimeString, Zt as LocalesArguments, _n as TimeWithUnit, _t as $ISOTimeString, an as NegativeUTCHour, bn as TimeZoneId, bt as $TZLabelKey, cn as Quarter, dn as SecondToken, en as MinuteToken, fn as TimeFormatToken, gn as TimeUnitValue, gt as $GMTOffset, hn as TimeUnit, ht as $DateUnit, in as MonthToken, jn as ZodiacPreset, jt as ClockTime, kn as WeekDay, kt as ClockMinute, ln as RelativeDateFormatOptions, mn as TimeToken, nn as MonthName, on as NumberingSystem, pn as TimeOnlyFormat, qt as HourToken, rn as MonthString, sn as PositiveUTCHour, tn as MonthDateString, un as SafeFormat, vn as TimeZone, vt as $LocalArguments, wn as TimeZoneNameNative, wt as $TimeZoneIdentifier, xn as TimeZoneIdNative, xt as $TimeUnitKey, yn as TimeZoneDetails, yt as $NativeTzNameOrId, zt as DayPart } from "../object-ahxpI5tD.mjs";
|
|
18
|
+
export { $DateUnit, $GMTOffset, $ISOTimeString, $LocalArguments, $NativeTzNameOrId, $TZLabelKey, $TimeUnitKey, $TimeUnitVar, $TimeUnitVarMap, $TimeZoneIdentifier, $UTCOffset, $UnitAnyCase, AcademicYear, ClockHour, ClockMinute, ClockSecond, ClockTime, DateArgs, DateFormatOptions, DateFormatToken, DateLike, DateString, DateTimeFormatOptions, DateToken, DayPart, DayPartConfig, DayToken, FormatOptions, FormatToken, FromNowUnit, GreetingConfigs, HourMinutes, HourToken, ISODateFormat, ISODateTimeString, LocaleCalendar, LocalesArguments, MSToken, Milliseconds, MinuteToken, MonthDateString, MonthName, MonthString, MonthToken, NegativeUTCHour, NumberingSystem, PositiveUTCHour, Quarter, RelativeDateFormatOptions, SafeFormat, SecondToken, TimeFormatToken, TimeOnlyFormat, TimeToken, TimeUnit, TimeUnitValue, TimeWithUnit, TimeZone, TimeZoneDetails, TimeZoneId, TimeZoneIdNative, TimeZoneIdentifier, TimeZoneName, TimeZoneNameNative, TimestampOptions, UTCMinute, UTCOffset, UnitWithValue, WeekDay, YearToken, ZodiacPreset, ZodiacSign };
|
package/dist/types/form.d.cts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { a as OriginFileObj, i as FormDataConfigs, n as FileError, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "../form-
|
|
17
|
+
import { a as OriginFileObj, i as FormDataConfigs, n as FileError, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "../form-B91Vb6IK.cjs";
|
|
18
18
|
export { CustomFile, FileError, FileUpload, FormDataConfigs, OriginFileObj, ParsedFormData, SerializedForm };
|
package/dist/types/form.d.mts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { a as OriginFileObj, i as FormDataConfigs, n as FileError, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "../form-
|
|
17
|
+
import { a as OriginFileObj, i as FormDataConfigs, n as FileError, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "../form-DaIT0NMx.mjs";
|
|
18
18
|
export { CustomFile, FileError, FileUpload, FormDataConfigs, OriginFileObj, ParsedFormData, SerializedForm };
|
package/dist/types/hash.d.cts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { _ as VerifiedToken, a as $UUIDVersion, c as DecodedUUID, d as SignetPayload, f as SupportedVersion, g as UUIDVersion, h as UUIDOptions, i as $UUIDOptionsV3V5, l as SignOptions, m as UUID, n as $UUID, o as $ValidToken, p as TokenString, r as $UUIDOptions, s as DecodedToken, t as $InvalidToken, u as SignetHeader, v as VerifyOptions } from "../hash-
|
|
17
|
+
import { _ as VerifiedToken, a as $UUIDVersion, c as DecodedUUID, d as SignetPayload, f as SupportedVersion, g as UUIDVersion, h as UUIDOptions, i as $UUIDOptionsV3V5, l as SignOptions, m as UUID, n as $UUID, o as $ValidToken, p as TokenString, r as $UUIDOptions, s as DecodedToken, t as $InvalidToken, u as SignetHeader, v as VerifyOptions } from "../hash-93NWr2bT.cjs";
|
|
18
18
|
export { $InvalidToken, $UUID, $UUIDOptions, $UUIDOptionsV3V5, $UUIDVersion, $ValidToken, DecodedToken, DecodedUUID, SignOptions, SignetHeader, type SignetHeader as TokenHeader, SignetPayload, type SignetPayload as TokenPayload, SupportedVersion, TokenString, UUID, UUIDOptions, UUIDVersion, VerifiedToken, VerifyOptions };
|
package/dist/types/hash.d.mts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { _ as VerifiedToken, a as $UUIDVersion, c as DecodedUUID, d as SignetPayload, f as SupportedVersion, g as UUIDVersion, h as UUIDOptions, i as $UUIDOptionsV3V5, l as SignOptions, m as UUID, n as $UUID, o as $ValidToken, p as TokenString, r as $UUIDOptions, s as DecodedToken, t as $InvalidToken, u as SignetHeader, v as VerifyOptions } from "../hash-
|
|
17
|
+
import { _ as VerifiedToken, a as $UUIDVersion, c as DecodedUUID, d as SignetPayload, f as SupportedVersion, g as UUIDVersion, h as UUIDOptions, i as $UUIDOptionsV3V5, l as SignOptions, m as UUID, n as $UUID, o as $ValidToken, p as TokenString, r as $UUIDOptions, s as DecodedToken, t as $InvalidToken, u as SignetHeader, v as VerifyOptions } from "../hash-Dh4GTl4B.mjs";
|
|
18
18
|
export { $InvalidToken, $UUID, $UUIDOptions, $UUIDOptionsV3V5, $UUIDVersion, $ValidToken, DecodedToken, DecodedUUID, SignOptions, SignetHeader, type SignetHeader as TokenHeader, SignetPayload, type SignetPayload as TokenPayload, SupportedVersion, TokenString, UUID, UUIDOptions, UUIDVersion, VerifiedToken, VerifyOptions };
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { a as HttpStatusCode, c as StatusCode, i as EntryStatusName, l as StatusEntry, n as $StatusNameVar, o as HttpStatusName, r as EntryReadableName, s as StatusCategory, t as $HttpStatusMap, u as StatusName } from "../http-status-
|
|
17
|
+
import { a as HttpStatusCode, c as StatusCode, i as EntryStatusName, l as StatusEntry, n as $StatusNameVar, o as HttpStatusName, r as EntryReadableName, s as StatusCategory, t as $HttpStatusMap, u as StatusName } from "../http-status-DG5Wi-Rz.cjs";
|
|
18
18
|
export { $HttpStatusMap, $StatusNameVar, EntryReadableName, EntryStatusName, HttpStatusCode, HttpStatusName, StatusCategory, StatusCode, StatusEntry, StatusName };
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { a as HttpStatusCode, c as StatusCode, i as EntryStatusName, l as StatusEntry, n as $StatusNameVar, o as HttpStatusName, r as EntryReadableName, s as StatusCategory, t as $HttpStatusMap, u as StatusName } from "../http-status-
|
|
17
|
+
import { a as HttpStatusCode, c as StatusCode, i as EntryStatusName, l as StatusEntry, n as $StatusNameVar, o as HttpStatusName, r as EntryReadableName, s as StatusCategory, t as $HttpStatusMap, u as StatusName } from "../http-status-D0DfMM_G.mjs";
|
|
18
18
|
export { $HttpStatusMap, $StatusNameVar, EntryReadableName, EntryStatusName, HttpStatusCode, HttpStatusName, StatusCategory, StatusCode, StatusEntry, StatusName };
|
package/dist/types/index.d.cts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { $ as GenericFn, B as AsyncFunction, G as ConditionFns, H as Branded, J as Deserializer, K as Constructor, Q as FlattenPartial, R as AdvancedTypes, U as ClassDetails, V as BasicPrimitive, W as ConditionFn, X as Expect, Y as Equal, Z as FalsyPrimitive, at as NormalPrimitive, ct as Numeric, dt as Primitive, et as HasMethods, ft as Serializer, it as NonNullishPrimitiveKey, lt as OwnKeys, mt as VoidFn, nt as Maybe, ot as NormalPrimitiveKey, pt as ValidArray, q as DelayedFn, rt as MethodDescriptor, st as NullOrUndefined, tt as List, ut as PartialOrRequired, z as Any } from "../object-
|
|
17
|
+
import { $ as GenericFn, B as AsyncFunction, G as ConditionFns, H as Branded, J as Deserializer, K as Constructor, Q as FlattenPartial, R as AdvancedTypes, U as ClassDetails, V as BasicPrimitive, W as ConditionFn, X as Expect, Y as Equal, Z as FalsyPrimitive, at as NormalPrimitive, ct as Numeric, dt as Primitive, et as HasMethods, ft as Serializer, it as NonNullishPrimitiveKey, lt as OwnKeys, mt as VoidFn, nt as Maybe, ot as NormalPrimitiveKey, pt as ValidArray, q as DelayedFn, rt as MethodDescriptor, st as NullOrUndefined, tt as List, ut as PartialOrRequired, z as Any } from "../object-ahxpI5tD.cjs";
|
|
18
18
|
export { AdvancedTypes, Any, AsyncFunction, BasicPrimitive, Branded, ClassDetails, ConditionFn, ConditionFns, Constructor, DelayedFn, Deserializer, Equal, Expect, FalsyPrimitive, FlattenPartial, GenericFn, HasMethods, List, Maybe, MethodDescriptor, NonNullishPrimitiveKey, NormalPrimitive, NormalPrimitiveKey, NullOrUndefined, Numeric, OwnKeys, PartialOrRequired, Primitive, Serializer, ValidArray, VoidFn };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { $ as GenericFn, B as AsyncFunction, G as ConditionFns, H as Branded, J as Deserializer, K as Constructor, Q as FlattenPartial, R as AdvancedTypes, U as ClassDetails, V as BasicPrimitive, W as ConditionFn, X as Expect, Y as Equal, Z as FalsyPrimitive, at as NormalPrimitive, ct as Numeric, dt as Primitive, et as HasMethods, ft as Serializer, it as NonNullishPrimitiveKey, lt as OwnKeys, mt as VoidFn, nt as Maybe, ot as NormalPrimitiveKey, pt as ValidArray, q as DelayedFn, rt as MethodDescriptor, st as NullOrUndefined, tt as List, ut as PartialOrRequired, z as Any } from "../object-
|
|
17
|
+
import { $ as GenericFn, B as AsyncFunction, G as ConditionFns, H as Branded, J as Deserializer, K as Constructor, Q as FlattenPartial, R as AdvancedTypes, U as ClassDetails, V as BasicPrimitive, W as ConditionFn, X as Expect, Y as Equal, Z as FalsyPrimitive, at as NormalPrimitive, ct as Numeric, dt as Primitive, et as HasMethods, ft as Serializer, it as NonNullishPrimitiveKey, lt as OwnKeys, mt as VoidFn, nt as Maybe, ot as NormalPrimitiveKey, pt as ValidArray, q as DelayedFn, rt as MethodDescriptor, st as NullOrUndefined, tt as List, ut as PartialOrRequired, z as Any } from "../object-ahxpI5tD.mjs";
|
|
18
18
|
export { AdvancedTypes, Any, AsyncFunction, BasicPrimitive, Branded, ClassDetails, ConditionFn, ConditionFns, Constructor, DelayedFn, Deserializer, Equal, Expect, FalsyPrimitive, FlattenPartial, GenericFn, HasMethods, List, Maybe, MethodDescriptor, NonNullishPrimitiveKey, NormalPrimitive, NormalPrimitiveKey, NullOrUndefined, Numeric, OwnKeys, PartialOrRequired, Primitive, Serializer, ValidArray, VoidFn };
|
package/dist/types/number.d.cts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { $n as
|
|
17
|
+
import { $n as NumberType, Bn as DecimalOptions, Fn as BanglaDigit, Gn as GetDifferenceOptions, Hn as FrankFurter, In as BnDigitResult, Jn as GetValueOptions, Kn as GetOriginalOptions, Ln as ConvertOptions, Nn as $BnOnes, Pn as ApplyChangeOptions, Qn as NumberRange, Rn as ConvertedDecimal, Un as FrankFurterCurrency, Vn as Enumerate, Wn as GetChangeOptions, Xn as LocaleCode, Yn as InversePercentageOptions, Zn as LooseRomanNumeral, ar as RomanCapital, cr as UnitKey, er as Percent, ir as RangedNumbers, lr as UnitLabel, nr as RandomNumberOptions, or as RomanNumeral, qn as GetPercentOptions, rr as RangeOptions, sr as SIPrefix, tr as PercentageOptions, ur as UnitNumberMethods, zn as CurrencyCode } from "../object-ahxpI5tD.cjs";
|
|
18
18
|
export { $BnOnes, ApplyChangeOptions, BanglaDigit, BnDigitResult, ConvertOptions, ConvertedDecimal, CurrencyCode, DecimalOptions, Enumerate, FrankFurter, FrankFurterCurrency, type FrankFurterCurrency as SupportedCurrency, GetChangeOptions, GetDifferenceOptions, GetOriginalOptions, GetPercentOptions, GetValueOptions, InversePercentageOptions, LocaleCode, LooseRomanNumeral, NumberRange, NumberType, Percent, PercentageOptions, RandomNumberOptions, RangeOptions, RangedNumbers, RomanCapital, RomanNumeral, SIPrefix, UnitKey, UnitLabel, UnitNumberMethods };
|
package/dist/types/number.d.mts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { $n as
|
|
17
|
+
import { $n as NumberType, Bn as DecimalOptions, Fn as BanglaDigit, Gn as GetDifferenceOptions, Hn as FrankFurter, In as BnDigitResult, Jn as GetValueOptions, Kn as GetOriginalOptions, Ln as ConvertOptions, Nn as $BnOnes, Pn as ApplyChangeOptions, Qn as NumberRange, Rn as ConvertedDecimal, Un as FrankFurterCurrency, Vn as Enumerate, Wn as GetChangeOptions, Xn as LocaleCode, Yn as InversePercentageOptions, Zn as LooseRomanNumeral, ar as RomanCapital, cr as UnitKey, er as Percent, ir as RangedNumbers, lr as UnitLabel, nr as RandomNumberOptions, or as RomanNumeral, qn as GetPercentOptions, rr as RangeOptions, sr as SIPrefix, tr as PercentageOptions, ur as UnitNumberMethods, zn as CurrencyCode } from "../object-ahxpI5tD.mjs";
|
|
18
18
|
export { $BnOnes, ApplyChangeOptions, BanglaDigit, BnDigitResult, ConvertOptions, ConvertedDecimal, CurrencyCode, DecimalOptions, Enumerate, FrankFurter, FrankFurterCurrency, type FrankFurterCurrency as SupportedCurrency, GetChangeOptions, GetDifferenceOptions, GetOriginalOptions, GetPercentOptions, GetValueOptions, InversePercentageOptions, LocaleCode, LooseRomanNumeral, NumberRange, NumberType, Percent, PercentageOptions, RandomNumberOptions, RangeOptions, RangedNumbers, RomanCapital, RomanNumeral, SIPrefix, UnitKey, UnitLabel, UnitNumberMethods };
|
package/dist/types/object.d.cts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { A as OmitPath, C as LeafValue, D as NumericDotKey, E as NestedPrimitiveKey, F as SanitizeOptions, I as SanitizedData, L as StrictObject, M as ParsedQueryGeneric, N as QueryObject, O as ObjectEntry, P as QueryObjectValue, S as KeyForObject, T as NestedKeyString, _ as FlattenLeafKey, a as ConvertObjectOptions, b as GenericObjectPrimitive, c as DeepKeys, d as DotNotationKeyStrict, f as DotValue, g as FlattenDotValue, h as FlattenDotKey, i as $Record, j as ParsedQuery, k as Objects, l as DeepKeysTuple, m as ExtractStringKey, n as $DoesPathStartWith, o as ConvertedObject, p as ExpandAll, r as $JoinDotKey, s as CountryDetails, t as $Countries, u as DotNotationKey, v as FlattenLeafValue, w as MergeAll, x as KeyForArray, y as GenericObject } from "../object-
|
|
17
|
+
import { A as OmitPath, C as LeafValue, D as NumericDotKey, E as NestedPrimitiveKey, F as SanitizeOptions, I as SanitizedData, L as StrictObject, M as ParsedQueryGeneric, N as QueryObject, O as ObjectEntry, P as QueryObjectValue, S as KeyForObject, T as NestedKeyString, _ as FlattenLeafKey, a as ConvertObjectOptions, b as GenericObjectPrimitive, c as DeepKeys, d as DotNotationKeyStrict, f as DotValue, g as FlattenDotValue, h as FlattenDotKey, i as $Record, j as ParsedQuery, k as Objects, l as DeepKeysTuple, m as ExtractStringKey, n as $DoesPathStartWith, o as ConvertedObject, p as ExpandAll, r as $JoinDotKey, s as CountryDetails, t as $Countries, u as DotNotationKey, v as FlattenLeafValue, w as MergeAll, x as KeyForArray, y as GenericObject } from "../object-ahxpI5tD.cjs";
|
|
18
18
|
export { $Countries, $DoesPathStartWith, $JoinDotKey, $Record, ConvertObjectOptions, ConvertedObject, CountryDetails, DeepKeys, DeepKeysTuple, DotNotationKey, DotNotationKeyStrict, DotValue, ExpandAll, ExtractStringKey, FlattenDotKey, FlattenDotValue, FlattenLeafKey, FlattenLeafValue, GenericObject, GenericObjectPrimitive, KeyForArray, KeyForObject, LeafValue, MergeAll, NestedKeyString, NestedPrimitiveKey, NumericDotKey, ObjectEntry, Objects, OmitPath, ParsedQuery, ParsedQueryGeneric, QueryObject, QueryObjectValue, SanitizeOptions, SanitizedData, StrictObject };
|
package/dist/types/object.d.mts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { A as OmitPath, C as LeafValue, D as NumericDotKey, E as NestedPrimitiveKey, F as SanitizeOptions, I as SanitizedData, L as StrictObject, M as ParsedQueryGeneric, N as QueryObject, O as ObjectEntry, P as QueryObjectValue, S as KeyForObject, T as NestedKeyString, _ as FlattenLeafKey, a as ConvertObjectOptions, b as GenericObjectPrimitive, c as DeepKeys, d as DotNotationKeyStrict, f as DotValue, g as FlattenDotValue, h as FlattenDotKey, i as $Record, j as ParsedQuery, k as Objects, l as DeepKeysTuple, m as ExtractStringKey, n as $DoesPathStartWith, o as ConvertedObject, p as ExpandAll, r as $JoinDotKey, s as CountryDetails, t as $Countries, u as DotNotationKey, v as FlattenLeafValue, w as MergeAll, x as KeyForArray, y as GenericObject } from "../object-
|
|
17
|
+
import { A as OmitPath, C as LeafValue, D as NumericDotKey, E as NestedPrimitiveKey, F as SanitizeOptions, I as SanitizedData, L as StrictObject, M as ParsedQueryGeneric, N as QueryObject, O as ObjectEntry, P as QueryObjectValue, S as KeyForObject, T as NestedKeyString, _ as FlattenLeafKey, a as ConvertObjectOptions, b as GenericObjectPrimitive, c as DeepKeys, d as DotNotationKeyStrict, f as DotValue, g as FlattenDotValue, h as FlattenDotKey, i as $Record, j as ParsedQuery, k as Objects, l as DeepKeysTuple, m as ExtractStringKey, n as $DoesPathStartWith, o as ConvertedObject, p as ExpandAll, r as $JoinDotKey, s as CountryDetails, t as $Countries, u as DotNotationKey, v as FlattenLeafValue, w as MergeAll, x as KeyForArray, y as GenericObject } from "../object-ahxpI5tD.mjs";
|
|
18
18
|
export { $Countries, $DoesPathStartWith, $JoinDotKey, $Record, ConvertObjectOptions, ConvertedObject, CountryDetails, DeepKeys, DeepKeysTuple, DotNotationKey, DotNotationKeyStrict, DotValue, ExpandAll, ExtractStringKey, FlattenDotKey, FlattenDotValue, FlattenLeafKey, FlattenLeafValue, GenericObject, GenericObjectPrimitive, KeyForArray, KeyForObject, LeafValue, MergeAll, NestedKeyString, NestedPrimitiveKey, NumericDotKey, ObjectEntry, Objects, OmitPath, ParsedQuery, ParsedQueryGeneric, QueryObject, QueryObjectValue, SanitizeOptions, SanitizedData, StrictObject };
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { n as PluralizeOptions, r as PluralizeRule, t as IrregularMap } from "../pluralizer-
|
|
17
|
+
import { n as PluralizeOptions, r as PluralizeRule, t as IrregularMap } from "../pluralizer-C52Pkwq9.cjs";
|
|
18
18
|
export { IrregularMap, PluralizeOptions, PluralizeRule };
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { n as PluralizeOptions, r as PluralizeRule, t as IrregularMap } from "../pluralizer-
|
|
17
|
+
import { n as PluralizeOptions, r as PluralizeRule, t as IrregularMap } from "../pluralizer-CkY_fJ5U.mjs";
|
|
18
18
|
export { IrregularMap, PluralizeOptions, PluralizeRule };
|
package/dist/types/string.d.cts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { A as KebabCase, B as StringCaseOptions, C as DiffLine, D as HighlightedText, E as DotCase, F as QueryString, H as TrainCase, I as RandomIdOptions, L as SentenceCase, M as PascalCase, N as PascalSnakeCase, O as Includes, P as PathCase, R as SnakeCase, S as CountryShortISO, T as DiffResult, U as Trim, V as TitleCase, _ as ConstantCase, a as $NormalizeString, b as CountryISO, c as $TrimRight, d as Alphabet, f as AnagramOptions, g as CharDiffResult, h as CaseFormat, i as $LowercaseWords, j as MaskOptions, k as IsAlphabet, l as $UppercaseWords, m as CapitalizeOptions, n as $EnsureString, o as $TitleCaseWords, p as CamelCase, r as $LowerCaseWord, s as $TrimLeft, t as $CapitalizeWords, u as $WidenEmpty, v as Country, w as DiffLineType, x as CountryName, y as CountryCode, z as SpecialCharacter } from "../string-
|
|
17
|
+
import { A as KebabCase, B as StringCaseOptions, C as DiffLine, D as HighlightedText, E as DotCase, F as QueryString, H as TrainCase, I as RandomIdOptions, L as SentenceCase, M as PascalCase, N as PascalSnakeCase, O as Includes, P as PathCase, R as SnakeCase, S as CountryShortISO, T as DiffResult, U as Trim, V as TitleCase, _ as ConstantCase, a as $NormalizeString, b as CountryISO, c as $TrimRight, d as Alphabet, f as AnagramOptions, g as CharDiffResult, h as CaseFormat, i as $LowercaseWords, j as MaskOptions, k as IsAlphabet, l as $UppercaseWords, m as CapitalizeOptions, n as $EnsureString, o as $TitleCaseWords, p as CamelCase, r as $LowerCaseWord, s as $TrimLeft, t as $CapitalizeWords, u as $WidenEmpty, v as Country, w as DiffLineType, x as CountryName, y as CountryCode, z as SpecialCharacter } from "../string-DENMnjFc.cjs";
|
|
18
18
|
export { $CapitalizeWords, $EnsureString, $LowerCaseWord, $LowercaseWords, $NormalizeString, $TitleCaseWords, $TrimLeft, $TrimRight, $UppercaseWords, $WidenEmpty, Alphabet, AnagramOptions, CamelCase, CapitalizeOptions, CaseFormat, CharDiffResult, ConstantCase, Country, CountryCode, CountryISO, CountryName, CountryShortISO, DiffLine, DiffLineType, DiffResult, DotCase, HighlightedText, Includes, IsAlphabet, KebabCase, MaskOptions, PascalCase, PascalSnakeCase, PathCase, QueryString, RandomIdOptions, SentenceCase, SnakeCase, SpecialCharacter, StringCaseOptions, TitleCase, TrainCase, Trim };
|
package/dist/types/string.d.mts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { A as KebabCase, B as StringCaseOptions, C as DiffLine, D as HighlightedText, E as DotCase, F as QueryString, H as TrainCase, I as RandomIdOptions, L as SentenceCase, M as PascalCase, N as PascalSnakeCase, O as Includes, P as PathCase, R as SnakeCase, S as CountryShortISO, T as DiffResult, U as Trim, V as TitleCase, _ as ConstantCase, a as $NormalizeString, b as CountryISO, c as $TrimRight, d as Alphabet, f as AnagramOptions, g as CharDiffResult, h as CaseFormat, i as $LowercaseWords, j as MaskOptions, k as IsAlphabet, l as $UppercaseWords, m as CapitalizeOptions, n as $EnsureString, o as $TitleCaseWords, p as CamelCase, r as $LowerCaseWord, s as $TrimLeft, t as $CapitalizeWords, u as $WidenEmpty, v as Country, w as DiffLineType, x as CountryName, y as CountryCode, z as SpecialCharacter } from "../string-
|
|
17
|
+
import { A as KebabCase, B as StringCaseOptions, C as DiffLine, D as HighlightedText, E as DotCase, F as QueryString, H as TrainCase, I as RandomIdOptions, L as SentenceCase, M as PascalCase, N as PascalSnakeCase, O as Includes, P as PathCase, R as SnakeCase, S as CountryShortISO, T as DiffResult, U as Trim, V as TitleCase, _ as ConstantCase, a as $NormalizeString, b as CountryISO, c as $TrimRight, d as Alphabet, f as AnagramOptions, g as CharDiffResult, h as CaseFormat, i as $LowercaseWords, j as MaskOptions, k as IsAlphabet, l as $UppercaseWords, m as CapitalizeOptions, n as $EnsureString, o as $TitleCaseWords, p as CamelCase, r as $LowerCaseWord, s as $TrimLeft, t as $CapitalizeWords, u as $WidenEmpty, v as Country, w as DiffLineType, x as CountryName, y as CountryCode, z as SpecialCharacter } from "../string-C3g9oBeS.mjs";
|
|
18
18
|
export { $CapitalizeWords, $EnsureString, $LowerCaseWord, $LowercaseWords, $NormalizeString, $TitleCaseWords, $TrimLeft, $TrimRight, $UppercaseWords, $WidenEmpty, Alphabet, AnagramOptions, CamelCase, CapitalizeOptions, CaseFormat, CharDiffResult, ConstantCase, Country, CountryCode, CountryISO, CountryName, CountryShortISO, DiffLine, DiffLineType, DiffResult, DotCase, HighlightedText, Includes, IsAlphabet, KebabCase, MaskOptions, PascalCase, PascalSnakeCase, PathCase, QueryString, RandomIdOptions, SentenceCase, SnakeCase, SpecialCharacter, StringCaseOptions, TitleCase, TrainCase, Trim };
|
package/dist/types/stylog.d.cts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { a as AnsiSequence, c as Styles, i as Ansi16Value, l as StylogChain, o as BGColor, r as Ansi16Color, s as CSS16Color, u as TextStyle } from "../Stylog-
|
|
17
|
+
import { a as AnsiSequence, c as Styles, i as Ansi16Value, l as StylogChain, o as BGColor, r as Ansi16Color, s as CSS16Color, u as TextStyle } from "../Stylog-B2xf9b6T.cjs";
|
|
18
18
|
export { Ansi16Color, Ansi16Value, AnsiSequence, BGColor, CSS16Color, Styles, StylogChain, TextStyle };
|
package/dist/types/stylog.d.mts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { a as AnsiSequence, c as Styles, i as Ansi16Value, l as StylogChain, o as BGColor, r as Ansi16Color, s as CSS16Color, u as TextStyle } from "../Stylog-
|
|
17
|
+
import { a as AnsiSequence, c as Styles, i as Ansi16Value, l as StylogChain, o as BGColor, r as Ansi16Color, s as CSS16Color, u as TextStyle } from "../Stylog-COUTYv10.mjs";
|
|
18
18
|
export { Ansi16Color, Ansi16Value, AnsiSequence, BGColor, CSS16Color, Styles, StylogChain, TextStyle };
|
package/dist/types/utils.d.cts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { $r as
|
|
17
|
+
import { $r as RenameKeys, Ar as FromMetaOptions, Br as OmitByValue, Cr as ArrayToTuple, Dr as DeepPartialAll, Er as DeepPartial, Fr as KeysOfUnion, Gr as PickByValue, Hr as PageListOptions, Ir as LooseLiteral, Jr as PropertyOptional, Kr as Pop, Lr as MapObjectValues, Mr as IsStrictObject, Nr as Join, Or as ExtractOptional, Pr as Keyof, Qr as RemoveNever, Rr as Merge, Sr as ArrayToStringOptions, Tr as DeepKeyof, Ur as PaginatorMeta, Vr as OneOf, Wr as PaginatorOptions, Xr as ProtoMethodOptions, Yr as PropertyRequired, Zr as RangeTuple, _r as $Subtract, ai as RequireExactly, br as ArrayOfObjectsToStringOptions, ci as Tuple, di as ValueOf, dr as $BuildTuple, ei as Repeat, fi as ValueOptional, fr as $DeepPartial, gr as $Range, hr as $JoinRepeat, ii as RequireBetween, jr as Immutable, kr as ExtractRequired, li as TupleOf, mr as $Forbid, ni as ReplaceFirst, oi as RequireOnly, pr as $Expand, qr as Prettify, ri as RequireAtLeast, si as Split, ti as Replace, ui as TupleToUnion, vr as $UnionToIntersection, wr as Cast, xr as ArrayOfPrimitivesToStringOptions, yr as $Without, zr as Mutable } from "../object-ahxpI5tD.cjs";
|
|
18
18
|
export { $BuildTuple, $DeepPartial, $Expand, $Forbid, $JoinRepeat, $Range, $Subtract, $UnionToIntersection, $Without, ArrayOfObjectsToStringOptions, ArrayOfPrimitivesToStringOptions, ArrayToStringOptions, ArrayToTuple, Cast, DeepKeyof, DeepPartial, DeepPartialAll, ExtractOptional, ExtractRequired, FromMetaOptions, Immutable, IsStrictObject, Join, Keyof, KeysOfUnion, LooseLiteral, MapObjectValues, Merge, Mutable, OmitByValue, OneOf, PageListOptions, PaginatorMeta, PaginatorOptions, PickByValue, Pop, Prettify, PropertyOptional, PropertyRequired, ProtoMethodOptions, RangeTuple, RemoveNever, RenameKeys, Repeat, Replace, ReplaceFirst, RequireAtLeast, RequireBetween, RequireExactly, RequireOnly, Split, Tuple, TupleOf, TupleToUnion, ValueOf, ValueOptional };
|
package/dist/types/utils.d.mts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { $r as
|
|
17
|
+
import { $r as RenameKeys, Ar as FromMetaOptions, Br as OmitByValue, Cr as ArrayToTuple, Dr as DeepPartialAll, Er as DeepPartial, Fr as KeysOfUnion, Gr as PickByValue, Hr as PageListOptions, Ir as LooseLiteral, Jr as PropertyOptional, Kr as Pop, Lr as MapObjectValues, Mr as IsStrictObject, Nr as Join, Or as ExtractOptional, Pr as Keyof, Qr as RemoveNever, Rr as Merge, Sr as ArrayToStringOptions, Tr as DeepKeyof, Ur as PaginatorMeta, Vr as OneOf, Wr as PaginatorOptions, Xr as ProtoMethodOptions, Yr as PropertyRequired, Zr as RangeTuple, _r as $Subtract, ai as RequireExactly, br as ArrayOfObjectsToStringOptions, ci as Tuple, di as ValueOf, dr as $BuildTuple, ei as Repeat, fi as ValueOptional, fr as $DeepPartial, gr as $Range, hr as $JoinRepeat, ii as RequireBetween, jr as Immutable, kr as ExtractRequired, li as TupleOf, mr as $Forbid, ni as ReplaceFirst, oi as RequireOnly, pr as $Expand, qr as Prettify, ri as RequireAtLeast, si as Split, ti as Replace, ui as TupleToUnion, vr as $UnionToIntersection, wr as Cast, xr as ArrayOfPrimitivesToStringOptions, yr as $Without, zr as Mutable } from "../object-ahxpI5tD.mjs";
|
|
18
18
|
export { $BuildTuple, $DeepPartial, $Expand, $Forbid, $JoinRepeat, $Range, $Subtract, $UnionToIntersection, $Without, ArrayOfObjectsToStringOptions, ArrayOfPrimitivesToStringOptions, ArrayToStringOptions, ArrayToTuple, Cast, DeepKeyof, DeepPartial, DeepPartialAll, ExtractOptional, ExtractRequired, FromMetaOptions, Immutable, IsStrictObject, Join, Keyof, KeysOfUnion, LooseLiteral, MapObjectValues, Merge, Mutable, OmitByValue, OneOf, PageListOptions, PaginatorMeta, PaginatorOptions, PickByValue, Pop, Prettify, PropertyOptional, PropertyRequired, ProtoMethodOptions, RangeTuple, RemoveNever, RenameKeys, Repeat, Replace, ReplaceFirst, RequireAtLeast, RequireBetween, RequireExactly, RequireOnly, Split, Tuple, TupleOf, TupleToUnion, ValueOf, ValueOptional };
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { c as DecodedUUID, f as SupportedVersion, g as UUIDVersion, h as UUIDOptions, m as UUID } from "./hash-
|
|
17
|
+
import { c as DecodedUUID, f as SupportedVersion, g as UUIDVersion, h as UUIDOptions, m as UUID } from "./hash-Dh4GTl4B.mjs";
|
|
18
18
|
|
|
19
19
|
//#region src/guards/specials.d.ts
|
|
20
20
|
/**
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { c as DecodedUUID, f as SupportedVersion, g as UUIDVersion, h as UUIDOptions, m as UUID } from "./hash-
|
|
17
|
+
import { c as DecodedUUID, f as SupportedVersion, g as UUIDVersion, h as UUIDOptions, m as UUID } from "./hash-93NWr2bT.cjs";
|
|
18
18
|
|
|
19
19
|
//#region src/guards/specials.d.ts
|
|
20
20
|
/**
|
package/package.json
CHANGED
package/dist/guards-BK1QuvFZ.mjs
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2026 - present Nazmul Hassan
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
import { a as isNonEmptyString, d as isString, n as isBoolean } from "./primitives-Djsevc69.mjs";
|
|
18
|
-
import { n as NATIVE_TZ_IDS, t as IANA_TZ_IDS } from "./timezone-avZ4TvDx.mjs";
|
|
19
|
-
import { T as isObject, b as isFunction, d as isNumericString } from "./specials-Hq5Ncd6y.mjs";
|
|
20
|
-
import { a as normalizeNumber } from "./utilities-DPscNbS1.mjs";
|
|
21
|
-
|
|
22
|
-
//#region src/date/guards.ts
|
|
23
|
-
/**
|
|
24
|
-
* * Checks if the provided value is a valid time string in "HH:MM" format.
|
|
25
|
-
*
|
|
26
|
-
* @param value - The value to check.
|
|
27
|
-
* @returns `true` if the value is a valid time string, `false` otherwise.
|
|
28
|
-
*/
|
|
29
|
-
function isValidTime(value) {
|
|
30
|
-
if (!isNonEmptyString(value)) return false;
|
|
31
|
-
const [hourStr, minuteStr] = value.split(":");
|
|
32
|
-
if (!isNumericString(hourStr) || !isNumericString(minuteStr)) return false;
|
|
33
|
-
const hour = Number(hourStr);
|
|
34
|
-
const minute = Number(minuteStr);
|
|
35
|
-
return hour >= 0 && hour <= 23 && minute >= 0 && minute <= 59;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* * Checks if the provided value is a valid `UTCOffset` (e.g. `UTC-01:30`).
|
|
39
|
-
*
|
|
40
|
-
* @param value - The value to check.
|
|
41
|
-
* @returns `true` if the value is a valid utc offset, `false` otherwise.
|
|
42
|
-
*/
|
|
43
|
-
function isValidUTCOffset(value) {
|
|
44
|
-
return isString(value) ? /^UTC[+-]?(?:0[0-9]|1[0-4]):(?:00|15|30|45)$/.test(value) : false;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* * Validates whether the provided value is a recognized IANA time zone identifier (excluding `"Factory"`), based on the {@link https://en.wikipedia.org/wiki/List_of_tz_database_time_zones IANA TZ Database}.
|
|
48
|
-
*
|
|
49
|
-
* @remarks
|
|
50
|
-
* - Relies on a large constant map of time zone identifiers, which can increase bundle size in browser environments. Matches against `597` identifiers.
|
|
51
|
-
* - Prefer {@link isNativeTimeZoneId} when you want a lightweight, native-only validation approach. Matches against `418` identifiers.
|
|
52
|
-
*
|
|
53
|
-
* @param value Time zone identifier to validate.
|
|
54
|
-
* @returns `true` if the value is a valid IANA time zone identifier, otherwise `false`.
|
|
55
|
-
*/
|
|
56
|
-
function isValidTimeZoneId(value) {
|
|
57
|
-
return isNonEmptyString(value) ? new Set([...IANA_TZ_IDS]).has(value) : false;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* * Validates whether the provided value is a supported time zone identifier using the native JavaScript API (`Intl.supportedValuesOf('timeZone')`).
|
|
61
|
-
*
|
|
62
|
-
* @remarks
|
|
63
|
-
* - Uses only native {@link Intl} capabilities—minimal code footprint, highly performant. Matches against `418` identifiers.
|
|
64
|
-
* - Prefer {@link isValidTimeZoneId} when validation must align strictly with the full
|
|
65
|
-
* {@link https://en.wikipedia.org/wiki/List_of_tz_database_time_zones IANA TZ Database}. Matches against `597` identifiers.
|
|
66
|
-
*
|
|
67
|
-
* @param value Time zone identifier to validate.
|
|
68
|
-
* @returns `true` if the value is a valid native JS-supported time zone identifier, otherwise `false`.
|
|
69
|
-
*/
|
|
70
|
-
function isNativeTimeZoneId(value) {
|
|
71
|
-
return isNonEmptyString(value) ? new Set(NATIVE_TZ_IDS).has(value) : false;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* * Checks if the year is a leap year.
|
|
75
|
-
*
|
|
76
|
-
* - A year is a leap year if it is divisible by 4, but not divisible by 100, unless it is also divisible by 400.
|
|
77
|
-
* - For example, 2000 and 2400 are leap years, but 1900 and 2100 are not.
|
|
78
|
-
* @param year The year to check.
|
|
79
|
-
* @returns `true` if the year is a leap year, `false` otherwise.
|
|
80
|
-
*/
|
|
81
|
-
function isLeapYear(year) {
|
|
82
|
-
const $year = normalizeNumber(year);
|
|
83
|
-
return $year ? $year % 4 === 0 && $year % 100 !== 0 || $year % 400 === 0 : false;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* * Checks if a value is a date-like object from `Date`, `Chronos`, `Moment.js`, `Day.js`, `Luxon`, `JS-Joda`, or `Temporal`
|
|
87
|
-
* @param value Value to check if it is date-like object.
|
|
88
|
-
* @returns `true` if the value is date-like object, otherwise `false`.
|
|
89
|
-
*/
|
|
90
|
-
function isDateLike(value) {
|
|
91
|
-
if (value instanceof Date) return true;
|
|
92
|
-
if (isObject(value)) {
|
|
93
|
-
if (isFunction(value.format) && isFunction(value.toJSON) && isFunction(value.toISOString)) return true;
|
|
94
|
-
if (isFunction(value.toISO) && isFunction(value.toFormat) && isBoolean(value.isValid)) return true;
|
|
95
|
-
if (isFunction(value.plus) && isFunction(value.minus) && isFunction(value.equals) && isFunction(value.getClass)) return true;
|
|
96
|
-
if (isFunction(value.toJSON) && isFunction(value.toString) && [
|
|
97
|
-
"Instant",
|
|
98
|
-
"Duration",
|
|
99
|
-
"PlainDate",
|
|
100
|
-
"PlainTime",
|
|
101
|
-
"PlainDateTime",
|
|
102
|
-
"PlainMonthDay",
|
|
103
|
-
"PlainYearMonth",
|
|
104
|
-
"ZonedDateTime"
|
|
105
|
-
].includes(value.constructor?.name ?? "")) return true;
|
|
106
|
-
}
|
|
107
|
-
return false;
|
|
108
|
-
}
|
|
109
|
-
/** Checks if a value represents time value (number) with different forms of {@link TimeWithUnit units} */
|
|
110
|
-
function isTimeWithUnit(value) {
|
|
111
|
-
return isNonEmptyString(value) && /^-?\d*\.?\d+ *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|months?|mo|years?|yrs?|y)?$/i.test(value);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
//#endregion
|
|
115
|
-
export { isValidTime as a, isTimeWithUnit as i, isLeapYear as n, isValidTimeZoneId as o, isNativeTimeZoneId as r, isValidUTCOffset as s, isDateLike as t };
|
package/dist/guards-Bsh6Bfdq.cjs
DELETED
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2026 - present Nazmul Hassan
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
const require_primitives = require('./primitives-CBGICrDR.cjs');
|
|
18
|
-
const require_timezone = require('./timezone-CSz7R0L6.cjs');
|
|
19
|
-
const require_specials = require('./specials-dkYP1Nh2.cjs');
|
|
20
|
-
const require_utilities = require('./utilities-CWV1GPGY.cjs');
|
|
21
|
-
|
|
22
|
-
//#region src/date/guards.ts
|
|
23
|
-
/**
|
|
24
|
-
* * Checks if the provided value is a valid time string in "HH:MM" format.
|
|
25
|
-
*
|
|
26
|
-
* @param value - The value to check.
|
|
27
|
-
* @returns `true` if the value is a valid time string, `false` otherwise.
|
|
28
|
-
*/
|
|
29
|
-
function isValidTime(value) {
|
|
30
|
-
if (!require_primitives.isNonEmptyString(value)) return false;
|
|
31
|
-
const [hourStr, minuteStr] = value.split(":");
|
|
32
|
-
if (!require_specials.isNumericString(hourStr) || !require_specials.isNumericString(minuteStr)) return false;
|
|
33
|
-
const hour = Number(hourStr);
|
|
34
|
-
const minute = Number(minuteStr);
|
|
35
|
-
return hour >= 0 && hour <= 23 && minute >= 0 && minute <= 59;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* * Checks if the provided value is a valid `UTCOffset` (e.g. `UTC-01:30`).
|
|
39
|
-
*
|
|
40
|
-
* @param value - The value to check.
|
|
41
|
-
* @returns `true` if the value is a valid utc offset, `false` otherwise.
|
|
42
|
-
*/
|
|
43
|
-
function isValidUTCOffset(value) {
|
|
44
|
-
return require_primitives.isString(value) ? /^UTC[+-]?(?:0[0-9]|1[0-4]):(?:00|15|30|45)$/.test(value) : false;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* * Validates whether the provided value is a recognized IANA time zone identifier (excluding `"Factory"`), based on the {@link https://en.wikipedia.org/wiki/List_of_tz_database_time_zones IANA TZ Database}.
|
|
48
|
-
*
|
|
49
|
-
* @remarks
|
|
50
|
-
* - Relies on a large constant map of time zone identifiers, which can increase bundle size in browser environments. Matches against `597` identifiers.
|
|
51
|
-
* - Prefer {@link isNativeTimeZoneId} when you want a lightweight, native-only validation approach. Matches against `418` identifiers.
|
|
52
|
-
*
|
|
53
|
-
* @param value Time zone identifier to validate.
|
|
54
|
-
* @returns `true` if the value is a valid IANA time zone identifier, otherwise `false`.
|
|
55
|
-
*/
|
|
56
|
-
function isValidTimeZoneId(value) {
|
|
57
|
-
return require_primitives.isNonEmptyString(value) ? new Set([...require_timezone.IANA_TZ_IDS]).has(value) : false;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* * Validates whether the provided value is a supported time zone identifier using the native JavaScript API (`Intl.supportedValuesOf('timeZone')`).
|
|
61
|
-
*
|
|
62
|
-
* @remarks
|
|
63
|
-
* - Uses only native {@link Intl} capabilities—minimal code footprint, highly performant. Matches against `418` identifiers.
|
|
64
|
-
* - Prefer {@link isValidTimeZoneId} when validation must align strictly with the full
|
|
65
|
-
* {@link https://en.wikipedia.org/wiki/List_of_tz_database_time_zones IANA TZ Database}. Matches against `597` identifiers.
|
|
66
|
-
*
|
|
67
|
-
* @param value Time zone identifier to validate.
|
|
68
|
-
* @returns `true` if the value is a valid native JS-supported time zone identifier, otherwise `false`.
|
|
69
|
-
*/
|
|
70
|
-
function isNativeTimeZoneId(value) {
|
|
71
|
-
return require_primitives.isNonEmptyString(value) ? new Set(require_timezone.NATIVE_TZ_IDS).has(value) : false;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* * Checks if the year is a leap year.
|
|
75
|
-
*
|
|
76
|
-
* - A year is a leap year if it is divisible by 4, but not divisible by 100, unless it is also divisible by 400.
|
|
77
|
-
* - For example, 2000 and 2400 are leap years, but 1900 and 2100 are not.
|
|
78
|
-
* @param year The year to check.
|
|
79
|
-
* @returns `true` if the year is a leap year, `false` otherwise.
|
|
80
|
-
*/
|
|
81
|
-
function isLeapYear(year) {
|
|
82
|
-
const $year = require_utilities.normalizeNumber(year);
|
|
83
|
-
return $year ? $year % 4 === 0 && $year % 100 !== 0 || $year % 400 === 0 : false;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* * Checks if a value is a date-like object from `Date`, `Chronos`, `Moment.js`, `Day.js`, `Luxon`, `JS-Joda`, or `Temporal`
|
|
87
|
-
* @param value Value to check if it is date-like object.
|
|
88
|
-
* @returns `true` if the value is date-like object, otherwise `false`.
|
|
89
|
-
*/
|
|
90
|
-
function isDateLike(value) {
|
|
91
|
-
if (value instanceof Date) return true;
|
|
92
|
-
if (require_specials.isObject(value)) {
|
|
93
|
-
if (require_specials.isFunction(value.format) && require_specials.isFunction(value.toJSON) && require_specials.isFunction(value.toISOString)) return true;
|
|
94
|
-
if (require_specials.isFunction(value.toISO) && require_specials.isFunction(value.toFormat) && require_primitives.isBoolean(value.isValid)) return true;
|
|
95
|
-
if (require_specials.isFunction(value.plus) && require_specials.isFunction(value.minus) && require_specials.isFunction(value.equals) && require_specials.isFunction(value.getClass)) return true;
|
|
96
|
-
if (require_specials.isFunction(value.toJSON) && require_specials.isFunction(value.toString) && [
|
|
97
|
-
"Instant",
|
|
98
|
-
"Duration",
|
|
99
|
-
"PlainDate",
|
|
100
|
-
"PlainTime",
|
|
101
|
-
"PlainDateTime",
|
|
102
|
-
"PlainMonthDay",
|
|
103
|
-
"PlainYearMonth",
|
|
104
|
-
"ZonedDateTime"
|
|
105
|
-
].includes(value.constructor?.name ?? "")) return true;
|
|
106
|
-
}
|
|
107
|
-
return false;
|
|
108
|
-
}
|
|
109
|
-
/** Checks if a value represents time value (number) with different forms of {@link TimeWithUnit units} */
|
|
110
|
-
function isTimeWithUnit(value) {
|
|
111
|
-
return require_primitives.isNonEmptyString(value) && /^-?\d*\.?\d+ *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|months?|mo|years?|yrs?|y)?$/i.test(value);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
//#endregion
|
|
115
|
-
Object.defineProperty(exports, 'isDateLike', {
|
|
116
|
-
enumerable: true,
|
|
117
|
-
get: function () {
|
|
118
|
-
return isDateLike;
|
|
119
|
-
}
|
|
120
|
-
});
|
|
121
|
-
Object.defineProperty(exports, 'isLeapYear', {
|
|
122
|
-
enumerable: true,
|
|
123
|
-
get: function () {
|
|
124
|
-
return isLeapYear;
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
|
-
Object.defineProperty(exports, 'isNativeTimeZoneId', {
|
|
128
|
-
enumerable: true,
|
|
129
|
-
get: function () {
|
|
130
|
-
return isNativeTimeZoneId;
|
|
131
|
-
}
|
|
132
|
-
});
|
|
133
|
-
Object.defineProperty(exports, 'isTimeWithUnit', {
|
|
134
|
-
enumerable: true,
|
|
135
|
-
get: function () {
|
|
136
|
-
return isTimeWithUnit;
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
Object.defineProperty(exports, 'isValidTime', {
|
|
140
|
-
enumerable: true,
|
|
141
|
-
get: function () {
|
|
142
|
-
return isValidTime;
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
Object.defineProperty(exports, 'isValidTimeZoneId', {
|
|
146
|
-
enumerable: true,
|
|
147
|
-
get: function () {
|
|
148
|
-
return isValidTimeZoneId;
|
|
149
|
-
}
|
|
150
|
-
});
|
|
151
|
-
Object.defineProperty(exports, 'isValidUTCOffset', {
|
|
152
|
-
enumerable: true,
|
|
153
|
-
get: function () {
|
|
154
|
-
return isValidUTCOffset;
|
|
155
|
-
}
|
|
156
|
-
});
|