toolbox-x 1.0.0 → 1.0.1-rc.2
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/README.md +409 -0
- package/dist/{Color-B3mgF9Dh.d.cts → Color-BK-IISGk.d.cts} +2 -2
- package/dist/{Color-D38Xrw65.d.mts → Color-BrtYYm8M.d.mts} +2 -2
- package/dist/{Stylog-Df7eq3-j.d.cts → Stylog-BmrFKYBu.d.mts} +5 -5
- package/dist/{Stylog-jvlLcMQq.d.mts → Stylog-oNGfcRqH.d.cts} +5 -5
- package/dist/{array-DvW0zIu6.d.mts → array-606C3HIi.d.cts} +1 -1
- package/dist/{array-rUnEVisO.d.cts → array-qTbLCFHP.d.mts} +1 -1
- package/dist/{basics-WEYWlnRO.d.cts → basics-BlJgwEqR.d.mts} +3 -3
- package/dist/{basics-uBSfkBEI.d.mts → basics-CEMMxosO.d.cts} +3 -3
- package/dist/{basics-D_eSv0cu.cjs → basics-CYqqguZr.cjs} +3 -3
- package/dist/{basics-Dp_aEK81.mjs → basics-DQe9mP_M.mjs} +3 -3
- package/dist/{case-BWIt8Ash.mjs → case-BQwn5N-k.mjs} +2 -2
- package/dist/{case-C-S-b5YP.d.cts → case-BYCCZ2yI.d.cts} +1 -1
- package/dist/{case-CybASFPD.d.mts → case-DF2Af4Fw.d.mts} +1 -1
- package/dist/{case-CS8Ii3A7.cjs → case-uKFzt5TY.cjs} +2 -2
- package/dist/change-case.cjs +1 -1
- package/dist/change-case.d.cts +1 -1
- package/dist/change-case.d.mts +1 -1
- package/dist/change-case.mjs +1 -1
- package/dist/colors.cjs +5 -5
- package/dist/colors.d.cts +2 -2
- package/dist/colors.d.mts +2 -2
- package/dist/colors.mjs +5 -5
- package/dist/constants.cjs +9 -9
- package/dist/constants.d.cts +5 -5
- package/dist/constants.d.mts +5 -5
- package/dist/constants.mjs +9 -9
- package/dist/{convert-Bn4jFomQ.mjs → convert-C8LsoKmI.mjs} +4 -4
- package/dist/{convert-BrzlG-m_.cjs → convert-Cqy2Llek.cjs} +3 -3
- package/dist/{convert-BOCgUv2D.cjs → convert-IaWh6Wab.cjs} +4 -4
- package/dist/{convert-DhaUoPVU.mjs → convert-lXdkXPJR.mjs} +3 -3
- package/dist/{converter-CmkcAppi.d.cts → converter-B2gv4EJb.d.cts} +4 -4
- package/dist/{converter-1P90_RcP.d.mts → converter-CcIdAN8V.d.mts} +4 -4
- package/dist/converter.cjs +3 -3
- package/dist/converter.d.cts +2 -2
- package/dist/converter.d.mts +2 -2
- package/dist/converter.mjs +3 -3
- package/dist/date.cjs +8 -8
- package/dist/date.d.cts +3 -3
- package/dist/date.d.mts +3 -3
- package/dist/date.mjs +8 -8
- package/dist/dom.cjs +5 -5
- package/dist/dom.d.cts +3 -3
- package/dist/dom.d.mts +3 -3
- package/dist/dom.mjs +5 -5
- package/dist/{form-BMFVGUrN.d.mts → form-CpzhN8Ub.d.mts} +2 -2
- package/dist/{form-DRFbryvK.d.cts → form-j_V9ZSHn.d.cts} +2 -2
- package/dist/{guards-DdyU4h4o.mjs → guards-DEcnNbI5.mjs} +4 -4
- package/dist/{guards-C8gkvIHb.cjs → guards-DGN95D2h.cjs} +1 -1
- package/dist/{guards-3kaUX66g.mjs → guards-DziDBD0p.mjs} +1 -1
- package/dist/{guards-Efhp1mNy.cjs → guards-FSW16LfU.cjs} +4 -4
- package/dist/guards.cjs +5 -5
- package/dist/guards.d.cts +3 -3
- package/dist/guards.d.mts +3 -3
- package/dist/guards.mjs +5 -5
- package/dist/{hash-B6JPEyAz.d.mts → hash-gQrZTSQ8.d.mts} +1 -1
- package/dist/{hash-NTpeKYB_.d.cts → hash-wrjn4ZYW.d.cts} +1 -1
- package/dist/hash.cjs +9 -9
- package/dist/hash.d.cts +8 -8
- package/dist/hash.d.mts +8 -8
- package/dist/hash.mjs +9 -9
- package/dist/{http-status-BAZdtr7-.d.mts → http-status-BLU4rv3n.d.cts} +2 -2
- package/dist/{http-status-U_3MtoGb.d.cts → http-status-BmUnryXC.d.mts} +2 -2
- package/dist/http-status.cjs +4 -4
- package/dist/http-status.d.cts +5 -5
- package/dist/http-status.d.mts +5 -5
- package/dist/http-status.mjs +4 -4
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +8 -8
- package/dist/index.d.mts +8 -8
- package/dist/index.mjs +10 -10
- package/dist/{object-B0TV3eHx.d.mts → object-NOZEWHcC.d.cts} +2 -2
- package/dist/{object-Blq0Amdv.d.cts → object-NOZEWHcC.d.mts} +2 -2
- package/dist/{objectify-CDs0Fbr1.mjs → objectify-CryKLquR.mjs} +5 -5
- package/dist/{objectify-DIJ-OBmo.cjs → objectify-DrwoO4bJ.cjs} +5 -5
- package/dist/paginator.d.cts +1 -1
- package/dist/paginator.d.mts +1 -1
- package/dist/{parse-2ubxXZRp.cjs → parse-CejohxY0.cjs} +5 -5
- package/dist/{parse-N7g942uy.mjs → parse-DDN7KuOa.mjs} +5 -5
- package/dist/{pluralizer-BjMIc6uT.d.mts → pluralizer-Bk7lN1fi.d.cts} +1 -1
- package/dist/{pluralizer-Cb6ZmrDl.d.cts → pluralizer-D-YOFs-L.d.mts} +1 -1
- package/dist/pluralizer.cjs +6 -6
- package/dist/pluralizer.d.cts +5 -5
- package/dist/pluralizer.d.mts +5 -5
- package/dist/pluralizer.mjs +6 -6
- package/dist/{specials-DzLr1ZgU.cjs → specials-BM6cx43o.cjs} +1 -1
- package/dist/{specials-LVONlKbQ.d.cts → specials-C-SQ_GTS.d.mts} +1 -1
- package/dist/{specials-D48_IZbd.d.mts → specials-CpwNC9PE.d.cts} +1 -1
- package/dist/{specials-uhDuRg8H.mjs → specials-Cye93-uo.mjs} +1 -1
- package/dist/{string-CsNsm_65.d.cts → string-BhaQOeKm.d.mts} +2 -2
- package/dist/{string-CBAbxaG1.d.mts → string-DN4hbA7H.d.cts} +2 -2
- package/dist/stylog.cjs +9 -9
- package/dist/stylog.d.cts +2 -2
- package/dist/stylog.d.mts +2 -2
- package/dist/stylog.mjs +9 -9
- 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/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/{utilities-m5yFKqLd.mjs → utilities-B9axOvOX.mjs} +3 -3
- package/dist/{utilities-CLUmdQeV.cjs → utilities-CzyXCRHM.cjs} +3 -3
- package/dist/{utils-DLFRgXUC.cjs → utils-B1BHomba.cjs} +6 -6
- package/dist/{utils-ClW9LA6f.mjs → utils-BCytS67y.mjs} +6 -6
- package/dist/verbalizer.cjs +3 -3
- package/dist/verbalizer.d.cts +2 -2
- package/dist/verbalizer.d.mts +2 -2
- package/dist/verbalizer.mjs +3 -3
- package/package.json +2 -3
- /package/dist/{constants-2gAw23_7.mjs → constants-B0zJiNqH.mjs} +0 -0
- /package/dist/{constants-DqwnkJ_d.cjs → constants-B3nc8psr.cjs} +0 -0
- /package/dist/{constants-X5hm1UtB.mjs → constants-BLAcLxOu.mjs} +0 -0
- /package/dist/{constants-BxN9l5el.cjs → constants-BOs8tjzp.cjs} +0 -0
- /package/dist/{constants-eNd-iYsV.mjs → constants-ByLTHWQm.mjs} +0 -0
- /package/dist/{constants-DQYeCjlx.cjs → constants-C4RW7Lei.cjs} +0 -0
- /package/dist/{constants-B34K0QPi.d.cts → constants-C7wERz5m.d.cts} +0 -0
- /package/dist/{constants-Deeie-iH.d.mts → constants-C7wERz5m.d.mts} +0 -0
- /package/dist/{constants-DpTG9RP6.d.mts → constants-D8RzBjsL.d.cts} +0 -0
- /package/dist/{constants-VcRtQu0K.d.cts → constants-D8RzBjsL.d.mts} +0 -0
- /package/dist/{constants-DAfRxaa8.mjs → constants-DCZL77t-.mjs} +0 -0
- /package/dist/{constants-BWT-810U.cjs → constants-DIBRCBIP.cjs} +0 -0
- /package/dist/{constants-CLS_bgKD.d.mts → constants-DNIXgBkz.d.cts} +0 -0
- /package/dist/{constants-qm8FafmD.d.cts → constants-DNIXgBkz.d.mts} +0 -0
- /package/dist/{constants-DvRUY_FY.cjs → constants-D_HkIg02.cjs} +0 -0
- /package/dist/{constants-BIBDKY1u.cjs → constants-ZnFGKd7G.cjs} +0 -0
- /package/dist/{constants-BwbHnXlM.mjs → constants-ZyfpysiQ.mjs} +0 -0
- /package/dist/{constants-D73iFu8g.mjs → constants-rNhoy4DH.mjs} +0 -0
- /package/dist/{countries-CIpmtEzV.cjs → countries-C0x58zVg.cjs} +0 -0
- /package/dist/{countries-Cy0xiqS3.mjs → countries-CMxHxKiK.mjs} +0 -0
- /package/dist/{css-colors-DfUW3nTR.mjs → css-colors-B-y4TmeC.mjs} +0 -0
- /package/dist/{css-colors-CXCDqQbG.cjs → css-colors-DC7oZ46Y.cjs} +0 -0
- /package/dist/{css-colors-Bx947Ng3.d.cts → css-colors-Dqz6Bfnp.d.cts} +0 -0
- /package/dist/{css-colors-CXTp1vvy.d.mts → css-colors-Dqz6Bfnp.d.mts} +0 -0
- /package/dist/{primitives-B26uZolQ.cjs → primitives-CBGICrDR.cjs} +0 -0
- /package/dist/{primitives-KsFUp3kQ.mjs → primitives-Djsevc69.mjs} +0 -0
- /package/dist/{timezone-Beh9IGpw.cjs → timezone-CSz7R0L6.cjs} +0 -0
- /package/dist/{timezone-B2OYK6Fh.mjs → timezone-avZ4TvDx.mjs} +0 -0
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { S as KeyForObject, T as NestedKeyString, u as DotNotationKey, x as KeyForArray } from "./object-
|
|
18
|
-
import { P as QueryString } from "./string-
|
|
17
|
+
import { S as KeyForObject, T as NestedKeyString, u as DotNotationKey, x as KeyForArray } from "./object-NOZEWHcC.mjs";
|
|
18
|
+
import { P as QueryString } from "./string-BhaQOeKm.mjs";
|
|
19
19
|
|
|
20
20
|
//#region src/types/form.d.ts
|
|
21
21
|
/** - Configuration options to control FormData generation behavior. */
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { S as KeyForObject, T as NestedKeyString, u as DotNotationKey, x as KeyForArray } from "./object-
|
|
18
|
-
import { P as QueryString } from "./string-
|
|
17
|
+
import { S as KeyForObject, T as NestedKeyString, u as DotNotationKey, x as KeyForArray } from "./object-NOZEWHcC.cjs";
|
|
18
|
+
import { P as QueryString } from "./string-DN4hbA7H.cjs";
|
|
19
19
|
|
|
20
20
|
//#region src/types/form.d.ts
|
|
21
21
|
/** - Configuration options to control FormData generation behavior. */
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { a as isNonEmptyString, d as isString, n as isBoolean } from "./primitives-
|
|
18
|
-
import { n as NATIVE_TZ_IDS, t as IANA_TZ_IDS } from "./timezone-
|
|
19
|
-
import { T as isObject, b as isFunction, d as isNumericString } from "./specials-
|
|
20
|
-
import { a as normalizeNumber } from "./utilities-
|
|
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-Cye93-uo.mjs";
|
|
20
|
+
import { a as normalizeNumber } from "./utilities-B9axOvOX.mjs";
|
|
21
21
|
|
|
22
22
|
//#region src/date/guards.ts
|
|
23
23
|
/**
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
const require_primitives = require('./primitives-
|
|
18
|
-
const require_timezone = require('./timezone-
|
|
19
|
-
const require_specials = require('./specials-
|
|
20
|
-
const require_utilities = require('./utilities-
|
|
17
|
+
const require_primitives = require('./primitives-CBGICrDR.cjs');
|
|
18
|
+
const require_timezone = require('./timezone-CSz7R0L6.cjs');
|
|
19
|
+
const require_specials = require('./specials-BM6cx43o.cjs');
|
|
20
|
+
const require_utilities = require('./utilities-CzyXCRHM.cjs');
|
|
21
21
|
|
|
22
22
|
//#region src/date/guards.ts
|
|
23
23
|
/**
|
package/dist/guards.cjs
CHANGED
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
18
|
-
const require_primitives = require('./primitives-
|
|
19
|
-
const require_guards = require('./guards-
|
|
20
|
-
const require_specials = require('./specials-
|
|
21
|
-
const require_guards$1 = require('./guards-
|
|
22
|
-
const require_convert = require('./convert-
|
|
18
|
+
const require_primitives = require('./primitives-CBGICrDR.cjs');
|
|
19
|
+
const require_guards = require('./guards-DGN95D2h.cjs');
|
|
20
|
+
const require_specials = require('./specials-BM6cx43o.cjs');
|
|
21
|
+
const require_guards$1 = require('./guards-FSW16LfU.cjs');
|
|
22
|
+
const require_convert = require('./convert-IaWh6Wab.cjs');
|
|
23
23
|
|
|
24
24
|
//#region src/string/guards.ts
|
|
25
25
|
/**
|
package/dist/guards.d.cts
CHANGED
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { $ as Maybe, Ct as TimeZoneIdNative, J as FalsyPrimitive, Tt as UTCOffset, X as GenericFn, dt as $TimeZoneIdentifier, ft as ClockTime, it as Numeric, lt as ValidArray, st as Primitive, tt as NormalPrimitive, xt as TimeWithUnit, y as GenericObject, z as AsyncFunction } from "./object-
|
|
18
|
-
import { b as RGB, g as HSLA, h as HSL, s as CSSColor, v as Hex6, x as RGBA, y as Hex8 } from "./Color-
|
|
19
|
-
import { a as isEmail, c as isHexString, d as isNumericString, f as isPhoneNumber, i as isDateString, l as isIPAddress, m as isUUID, n as isBinaryString, o as isEmailArray, p as isURL, r as isBrowser, s as isEnvironment, t as isBase64, u as isNode } from "./specials-
|
|
17
|
+
import { $ as Maybe, Ct as TimeZoneIdNative, J as FalsyPrimitive, Tt as UTCOffset, X as GenericFn, dt as $TimeZoneIdentifier, ft as ClockTime, it as Numeric, lt as ValidArray, st as Primitive, tt as NormalPrimitive, xt as TimeWithUnit, y as GenericObject, z as AsyncFunction } from "./object-NOZEWHcC.cjs";
|
|
18
|
+
import { b as RGB, g as HSLA, h as HSL, s as CSSColor, v as Hex6, x as RGBA, y as Hex8 } from "./Color-BK-IISGk.cjs";
|
|
19
|
+
import { a as isEmail, c as isHexString, d as isNumericString, f as isPhoneNumber, i as isDateString, l as isIPAddress, m as isUUID, n as isBinaryString, o as isEmailArray, p as isURL, r as isBrowser, s as isEnvironment, t as isBase64, u as isNode } from "./specials-CpwNC9PE.cjs";
|
|
20
20
|
|
|
21
21
|
//#region src/colors/guards.d.ts
|
|
22
22
|
/**
|
package/dist/guards.d.mts
CHANGED
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { $ as Maybe, Ct as TimeZoneIdNative, J as FalsyPrimitive, Tt as UTCOffset, X as GenericFn, dt as $TimeZoneIdentifier, ft as ClockTime, it as Numeric, lt as ValidArray, st as Primitive, tt as NormalPrimitive, xt as TimeWithUnit, y as GenericObject, z as AsyncFunction } from "./object-
|
|
18
|
-
import { b as RGB, g as HSLA, h as HSL, s as CSSColor, v as Hex6, x as RGBA, y as Hex8 } from "./Color-
|
|
19
|
-
import { a as isEmail, c as isHexString, d as isNumericString, f as isPhoneNumber, i as isDateString, l as isIPAddress, m as isUUID, n as isBinaryString, o as isEmailArray, p as isURL, r as isBrowser, s as isEnvironment, t as isBase64, u as isNode } from "./specials-
|
|
17
|
+
import { $ as Maybe, Ct as TimeZoneIdNative, J as FalsyPrimitive, Tt as UTCOffset, X as GenericFn, dt as $TimeZoneIdentifier, ft as ClockTime, it as Numeric, lt as ValidArray, st as Primitive, tt as NormalPrimitive, xt as TimeWithUnit, y as GenericObject, z as AsyncFunction } from "./object-NOZEWHcC.mjs";
|
|
18
|
+
import { b as RGB, g as HSLA, h as HSL, s as CSSColor, v as Hex6, x as RGBA, y as Hex8 } from "./Color-BrtYYm8M.mjs";
|
|
19
|
+
import { a as isEmail, c as isHexString, d as isNumericString, f as isPhoneNumber, i as isDateString, l as isIPAddress, m as isUUID, n as isBinaryString, o as isEmailArray, p as isURL, r as isBrowser, s as isEnvironment, t as isBase64, u as isNode } from "./specials-C-SQ_GTS.mjs";
|
|
20
20
|
|
|
21
21
|
//#region src/colors/guards.d.ts
|
|
22
22
|
/**
|
package/dist/guards.mjs
CHANGED
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { a as isNonEmptyString, c as isNumber, d as isString, f as isSymbol, i as isInteger, l as isPositiveInteger, m as isUndefined, n as isBoolean, o as isNormalPrimitive, p as isTruthy, r as isFalsy, s as isNull, t as isBigInt, u as isPrimitive } from "./primitives-
|
|
18
|
-
import { a as isHex8, i as isHex6, n as isHSL, o as isRGB, r as isHSLA, s as isRGBA, t as isCSSColor } from "./guards-
|
|
19
|
-
import { A as isSet, C as isMethodDescriptor, D as isPromise, E as isObjectWithKeys, O as isRegExp, S as isMap, T as isObject, _ as isDate, a as isEmail, b as isFunction, c as isHexString, d as isNumericString, f as isPhoneNumber, g as isArrayOfType, h as isArray, i as isDateString, j as isValidArray, k as isReturningPromise, l as isIPAddress, m as isUUID, n as isBinaryString, o as isEmailArray, p as isURL, r as isBrowser, s as isEnvironment, t as isBase64, u as isNode, v as isEmptyObject, w as isNotEmptyObject, x as isJSON, y as isError } from "./specials-
|
|
20
|
-
import { a as isValidTime, i as isTimeWithUnit, n as isLeapYear, o as isValidTimeZoneId, r as isNativeTimeZoneId, s as isValidUTCOffset, t as isDateLike } from "./guards-
|
|
21
|
-
import { d as isFibonacci, f as isMultiple, l as areInvalidNumbers, m as isPerfectSquare, p as isOdd, s as reverseString, u as isEven } from "./convert-
|
|
17
|
+
import { a as isNonEmptyString, c as isNumber, d as isString, f as isSymbol, i as isInteger, l as isPositiveInteger, m as isUndefined, n as isBoolean, o as isNormalPrimitive, p as isTruthy, r as isFalsy, s as isNull, t as isBigInt, u as isPrimitive } from "./primitives-Djsevc69.mjs";
|
|
18
|
+
import { a as isHex8, i as isHex6, n as isHSL, o as isRGB, r as isHSLA, s as isRGBA, t as isCSSColor } from "./guards-DziDBD0p.mjs";
|
|
19
|
+
import { A as isSet, C as isMethodDescriptor, D as isPromise, E as isObjectWithKeys, O as isRegExp, S as isMap, T as isObject, _ as isDate, a as isEmail, b as isFunction, c as isHexString, d as isNumericString, f as isPhoneNumber, g as isArrayOfType, h as isArray, i as isDateString, j as isValidArray, k as isReturningPromise, l as isIPAddress, m as isUUID, n as isBinaryString, o as isEmailArray, p as isURL, r as isBrowser, s as isEnvironment, t as isBase64, u as isNode, v as isEmptyObject, w as isNotEmptyObject, x as isJSON, y as isError } from "./specials-Cye93-uo.mjs";
|
|
20
|
+
import { a as isValidTime, i as isTimeWithUnit, n as isLeapYear, o as isValidTimeZoneId, r as isNativeTimeZoneId, s as isValidUTCOffset, t as isDateLike } from "./guards-DEcnNbI5.mjs";
|
|
21
|
+
import { d as isFibonacci, f as isMultiple, l as areInvalidNumbers, m as isPerfectSquare, p as isOdd, s as reverseString, u as isEven } from "./convert-C8LsoKmI.mjs";
|
|
22
22
|
|
|
23
23
|
//#region src/string/guards.ts
|
|
24
24
|
/**
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { V as Branded, it as Numeric, xt as TimeWithUnit, y as GenericObject } from "./object-
|
|
17
|
+
import { V as Branded, it as Numeric, xt as TimeWithUnit, y as GenericObject } from "./object-NOZEWHcC.mjs";
|
|
18
18
|
|
|
19
19
|
//#region src/types/hash.d.ts
|
|
20
20
|
/** UUID versions as number from `1-8` */
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { V as Branded, it as Numeric, xt as TimeWithUnit, y as GenericObject } from "./object-
|
|
17
|
+
import { V as Branded, it as Numeric, xt as TimeWithUnit, y as GenericObject } from "./object-NOZEWHcC.cjs";
|
|
18
18
|
|
|
19
19
|
//#region src/types/hash.d.ts
|
|
20
20
|
/** UUID versions as number from `1-8` */
|
package/dist/hash.cjs
CHANGED
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
18
|
-
const require_primitives = require('./primitives-
|
|
19
|
-
const require_specials = require('./specials-
|
|
20
|
-
const require_parse = require('./parse-
|
|
21
|
-
const require_utils = require('./utils-
|
|
22
|
-
const require_basics = require('./basics-
|
|
18
|
+
const require_primitives = require('./primitives-CBGICrDR.cjs');
|
|
19
|
+
const require_specials = require('./specials-BM6cx43o.cjs');
|
|
20
|
+
const require_parse = require('./parse-CejohxY0.cjs');
|
|
21
|
+
const require_utils = require('./utils-B1BHomba.cjs');
|
|
22
|
+
const require_basics = require('./basics-CYqqguZr.cjs');
|
|
23
23
|
|
|
24
24
|
//#region src/hash/utils.ts
|
|
25
25
|
/**
|
|
@@ -1131,9 +1131,9 @@ function sha1(msg) {
|
|
|
1131
1131
|
* // Returns: '7037e204b825b83553ba336a6ec35b796d505599286ae864729ed6cb33ae9fe1'
|
|
1132
1132
|
* ```
|
|
1133
1133
|
*
|
|
1134
|
-
* @see {@link https://toolbox.nazmul-nhb.dev/docs/utilities/hash/encoding#sha256bytes sha256Bytes} for hashing raw bytes
|
|
1135
|
-
* @see {@link https://toolbox.nazmul-nhb.dev/docs/utilities/hash/encoding#utf8tobytes utf8ToBytes} for converting string to bytes
|
|
1136
|
-
* @see {@link https://toolbox.nazmul-nhb.dev/docs/utilities/hash/encoding#bytestohex bytesToHex} for converting bytes to a hexadecimal string
|
|
1134
|
+
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/hash/encoding#sha256bytes sha256Bytes} for hashing raw bytes
|
|
1135
|
+
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/hash/encoding#utf8tobytes utf8ToBytes} for converting string to bytes
|
|
1136
|
+
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/hash/encoding#bytestohex bytesToHex} for converting bytes to a hexadecimal string
|
|
1137
1137
|
*/
|
|
1138
1138
|
function sha256(msg) {
|
|
1139
1139
|
if (!require_primitives.isString(msg)) throw new TypeError("Input must be of type string!");
|
|
@@ -1959,7 +1959,7 @@ var TextCodec = class {
|
|
|
1959
1959
|
* - `v7`: Millisecond precision; extremely high throughput may still cause rare collisions.
|
|
1960
1960
|
* - `v8`: Uses a simple timestamp + randomness layout; custom layouts are not supported here.
|
|
1961
1961
|
*
|
|
1962
|
-
* - Use {@link https://toolbox.nazmul-nhb.dev/docs/utilities/string/generateRandomID generateRandomID} for customized id generation or {@link https://toolbox.nazmul-nhb.dev/docs/utilities/hash/randomHex randomHex} for hex-only random string with custom length.
|
|
1962
|
+
* - Use {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/string/generateRandomID generateRandomID} for customized id generation or {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/hash/randomHex randomHex} for hex-only random string with custom length.
|
|
1963
1963
|
*/
|
|
1964
1964
|
function uuid(options) {
|
|
1965
1965
|
const { version = "v4", uppercase = false } = options || {};
|
package/dist/hash.d.cts
CHANGED
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { $ as Maybe, y as GenericObject } from "./object-
|
|
18
|
-
import { _ as VerifiedToken, c as DecodedUUID, d as SignetPayload, f as SupportedVersion, h as UUIDOptions, l as SignOptions, m as UUID, p as TokenString, s as DecodedToken, v as VerifyOptions } from "./hash-
|
|
19
|
-
import { m as isUUID } from "./specials-
|
|
20
|
-
import { t as generateRandomID } from "./basics-
|
|
17
|
+
import { $ as Maybe, y as GenericObject } from "./object-NOZEWHcC.cjs";
|
|
18
|
+
import { _ as VerifiedToken, c as DecodedUUID, d as SignetPayload, f as SupportedVersion, h as UUIDOptions, l as SignOptions, m as UUID, p as TokenString, s as DecodedToken, v as VerifyOptions } from "./hash-wrjn4ZYW.cjs";
|
|
19
|
+
import { m as isUUID } from "./specials-CpwNC9PE.cjs";
|
|
20
|
+
import { t as generateRandomID } from "./basics-CEMMxosO.cjs";
|
|
21
21
|
|
|
22
22
|
//#region src/hash/Cipher.d.ts
|
|
23
23
|
/**
|
|
@@ -128,9 +128,9 @@ declare function sha1(msg: string): string;
|
|
|
128
128
|
* // Returns: '7037e204b825b83553ba336a6ec35b796d505599286ae864729ed6cb33ae9fe1'
|
|
129
129
|
* ```
|
|
130
130
|
*
|
|
131
|
-
* @see {@link https://toolbox.nazmul-nhb.dev/docs/utilities/hash/encoding#sha256bytes sha256Bytes} for hashing raw bytes
|
|
132
|
-
* @see {@link https://toolbox.nazmul-nhb.dev/docs/utilities/hash/encoding#utf8tobytes utf8ToBytes} for converting string to bytes
|
|
133
|
-
* @see {@link https://toolbox.nazmul-nhb.dev/docs/utilities/hash/encoding#bytestohex bytesToHex} for converting bytes to a hexadecimal string
|
|
131
|
+
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/hash/encoding#sha256bytes sha256Bytes} for hashing raw bytes
|
|
132
|
+
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/hash/encoding#utf8tobytes utf8ToBytes} for converting string to bytes
|
|
133
|
+
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/hash/encoding#bytestohex bytesToHex} for converting bytes to a hexadecimal string
|
|
134
134
|
*/
|
|
135
135
|
declare function sha256(msg: string): string;
|
|
136
136
|
//#endregion
|
|
@@ -1189,7 +1189,7 @@ declare function hexToBytes(hex: string): Uint8Array;
|
|
|
1189
1189
|
* - `v7`: Millisecond precision; extremely high throughput may still cause rare collisions.
|
|
1190
1190
|
* - `v8`: Uses a simple timestamp + randomness layout; custom layouts are not supported here.
|
|
1191
1191
|
*
|
|
1192
|
-
* - Use {@link https://toolbox.nazmul-nhb.dev/docs/utilities/string/generateRandomID generateRandomID} for customized id generation or {@link https://toolbox.nazmul-nhb.dev/docs/utilities/hash/randomHex randomHex} for hex-only random string with custom length.
|
|
1192
|
+
* - Use {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/string/generateRandomID generateRandomID} for customized id generation or {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/hash/randomHex randomHex} for hex-only random string with custom length.
|
|
1193
1193
|
*/
|
|
1194
1194
|
declare function uuid<V extends SupportedVersion = 'v4'>(options?: UUIDOptions<V>): UUID<V>;
|
|
1195
1195
|
/**
|
package/dist/hash.d.mts
CHANGED
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { $ as Maybe, y as GenericObject } from "./object-
|
|
18
|
-
import { _ as VerifiedToken, c as DecodedUUID, d as SignetPayload, f as SupportedVersion, h as UUIDOptions, l as SignOptions, m as UUID, p as TokenString, s as DecodedToken, v as VerifyOptions } from "./hash-
|
|
19
|
-
import { m as isUUID } from "./specials-
|
|
20
|
-
import { t as generateRandomID } from "./basics-
|
|
17
|
+
import { $ as Maybe, y as GenericObject } from "./object-NOZEWHcC.mjs";
|
|
18
|
+
import { _ as VerifiedToken, c as DecodedUUID, d as SignetPayload, f as SupportedVersion, h as UUIDOptions, l as SignOptions, m as UUID, p as TokenString, s as DecodedToken, v as VerifyOptions } from "./hash-gQrZTSQ8.mjs";
|
|
19
|
+
import { m as isUUID } from "./specials-C-SQ_GTS.mjs";
|
|
20
|
+
import { t as generateRandomID } from "./basics-BlJgwEqR.mjs";
|
|
21
21
|
|
|
22
22
|
//#region src/hash/Cipher.d.ts
|
|
23
23
|
/**
|
|
@@ -128,9 +128,9 @@ declare function sha1(msg: string): string;
|
|
|
128
128
|
* // Returns: '7037e204b825b83553ba336a6ec35b796d505599286ae864729ed6cb33ae9fe1'
|
|
129
129
|
* ```
|
|
130
130
|
*
|
|
131
|
-
* @see {@link https://toolbox.nazmul-nhb.dev/docs/utilities/hash/encoding#sha256bytes sha256Bytes} for hashing raw bytes
|
|
132
|
-
* @see {@link https://toolbox.nazmul-nhb.dev/docs/utilities/hash/encoding#utf8tobytes utf8ToBytes} for converting string to bytes
|
|
133
|
-
* @see {@link https://toolbox.nazmul-nhb.dev/docs/utilities/hash/encoding#bytestohex bytesToHex} for converting bytes to a hexadecimal string
|
|
131
|
+
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/hash/encoding#sha256bytes sha256Bytes} for hashing raw bytes
|
|
132
|
+
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/hash/encoding#utf8tobytes utf8ToBytes} for converting string to bytes
|
|
133
|
+
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/hash/encoding#bytestohex bytesToHex} for converting bytes to a hexadecimal string
|
|
134
134
|
*/
|
|
135
135
|
declare function sha256(msg: string): string;
|
|
136
136
|
//#endregion
|
|
@@ -1189,7 +1189,7 @@ declare function hexToBytes(hex: string): Uint8Array;
|
|
|
1189
1189
|
* - `v7`: Millisecond precision; extremely high throughput may still cause rare collisions.
|
|
1190
1190
|
* - `v8`: Uses a simple timestamp + randomness layout; custom layouts are not supported here.
|
|
1191
1191
|
*
|
|
1192
|
-
* - Use {@link https://toolbox.nazmul-nhb.dev/docs/utilities/string/generateRandomID generateRandomID} for customized id generation or {@link https://toolbox.nazmul-nhb.dev/docs/utilities/hash/randomHex randomHex} for hex-only random string with custom length.
|
|
1192
|
+
* - Use {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/string/generateRandomID generateRandomID} for customized id generation or {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/hash/randomHex randomHex} for hex-only random string with custom length.
|
|
1193
1193
|
*/
|
|
1194
1194
|
declare function uuid<V extends SupportedVersion = 'v4'>(options?: UUIDOptions<V>): UUID<V>;
|
|
1195
1195
|
/**
|
package/dist/hash.mjs
CHANGED
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { a as isNonEmptyString, d as isString } from "./primitives-
|
|
18
|
-
import { E as isObjectWithKeys, c as isHexString, m as isUUID, n as isBinaryString, t as isBase64, w as isNotEmptyObject } from "./specials-
|
|
19
|
-
import { c as _toSeconds, s as _secToDate, t as parseMSec } from "./parse-
|
|
20
|
-
import { h as stripJsonEdgeGarbage, m as stableStringify } from "./utils-
|
|
21
|
-
import { t as generateRandomID } from "./basics-
|
|
17
|
+
import { a as isNonEmptyString, d as isString } from "./primitives-Djsevc69.mjs";
|
|
18
|
+
import { E as isObjectWithKeys, c as isHexString, m as isUUID, n as isBinaryString, t as isBase64, w as isNotEmptyObject } from "./specials-Cye93-uo.mjs";
|
|
19
|
+
import { c as _toSeconds, s as _secToDate, t as parseMSec } from "./parse-DDN7KuOa.mjs";
|
|
20
|
+
import { h as stripJsonEdgeGarbage, m as stableStringify } from "./utils-BCytS67y.mjs";
|
|
21
|
+
import { t as generateRandomID } from "./basics-DQe9mP_M.mjs";
|
|
22
22
|
|
|
23
23
|
//#region src/hash/utils.ts
|
|
24
24
|
/**
|
|
@@ -1130,9 +1130,9 @@ function sha1(msg) {
|
|
|
1130
1130
|
* // Returns: '7037e204b825b83553ba336a6ec35b796d505599286ae864729ed6cb33ae9fe1'
|
|
1131
1131
|
* ```
|
|
1132
1132
|
*
|
|
1133
|
-
* @see {@link https://toolbox.nazmul-nhb.dev/docs/utilities/hash/encoding#sha256bytes sha256Bytes} for hashing raw bytes
|
|
1134
|
-
* @see {@link https://toolbox.nazmul-nhb.dev/docs/utilities/hash/encoding#utf8tobytes utf8ToBytes} for converting string to bytes
|
|
1135
|
-
* @see {@link https://toolbox.nazmul-nhb.dev/docs/utilities/hash/encoding#bytestohex bytesToHex} for converting bytes to a hexadecimal string
|
|
1133
|
+
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/hash/encoding#sha256bytes sha256Bytes} for hashing raw bytes
|
|
1134
|
+
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/hash/encoding#utf8tobytes utf8ToBytes} for converting string to bytes
|
|
1135
|
+
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/hash/encoding#bytestohex bytesToHex} for converting bytes to a hexadecimal string
|
|
1136
1136
|
*/
|
|
1137
1137
|
function sha256(msg) {
|
|
1138
1138
|
if (!isString(msg)) throw new TypeError("Input must be of type string!");
|
|
@@ -1958,7 +1958,7 @@ var TextCodec = class {
|
|
|
1958
1958
|
* - `v7`: Millisecond precision; extremely high throughput may still cause rare collisions.
|
|
1959
1959
|
* - `v8`: Uses a simple timestamp + randomness layout; custom layouts are not supported here.
|
|
1960
1960
|
*
|
|
1961
|
-
* - Use {@link https://toolbox.nazmul-nhb.dev/docs/utilities/string/generateRandomID generateRandomID} for customized id generation or {@link https://toolbox.nazmul-nhb.dev/docs/utilities/hash/randomHex randomHex} for hex-only random string with custom length.
|
|
1961
|
+
* - Use {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/string/generateRandomID generateRandomID} for customized id generation or {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/hash/randomHex randomHex} for hex-only random string with custom length.
|
|
1962
1962
|
*/
|
|
1963
1963
|
function uuid(options) {
|
|
1964
1964
|
const { version = "v4", uppercase = false } = options || {};
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { zn as LooseLiteral } from "./object-
|
|
18
|
-
import { n as HTTP_STATUS_DATA } from "./constants-
|
|
17
|
+
import { zn as LooseLiteral } from "./object-NOZEWHcC.cjs";
|
|
18
|
+
import { n as HTTP_STATUS_DATA } from "./constants-DNIXgBkz.cjs";
|
|
19
19
|
|
|
20
20
|
//#region src/types/http-status.d.ts
|
|
21
21
|
/** Mapped type of HTTP status entries */
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { zn as LooseLiteral } from "./object-
|
|
18
|
-
import { n as HTTP_STATUS_DATA } from "./constants-
|
|
17
|
+
import { zn as LooseLiteral } from "./object-NOZEWHcC.mjs";
|
|
18
|
+
import { n as HTTP_STATUS_DATA } from "./constants-DNIXgBkz.mjs";
|
|
19
19
|
|
|
20
20
|
//#region src/types/http-status.d.ts
|
|
21
21
|
/** Mapped type of HTTP status entries */
|
package/dist/http-status.cjs
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
18
|
-
const require_constants = require('./constants-
|
|
18
|
+
const require_constants = require('./constants-ZnFGKd7G.cjs');
|
|
19
19
|
|
|
20
20
|
//#region src/http-status/HttpStatus.ts
|
|
21
21
|
/**
|
|
@@ -24,10 +24,10 @@ const require_constants = require('./constants-BIBDKY1u.cjs');
|
|
|
24
24
|
* @remarks
|
|
25
25
|
* - Supports lookup by code or name (both `SOME_NAME` and `Some Name` formats).
|
|
26
26
|
* - Allows adding custom codes and overriding messages for existing ones.
|
|
27
|
-
* - Provides pre-grouped categories for quick filtering (see {@link https://toolbox.nazmul-nhb.dev/docs/classes/HttpStatus#groups-static-property HttpStatus.Groups}).
|
|
27
|
+
* - Provides pre-grouped categories for quick filtering (see {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/HttpStatus#groups-static-property HttpStatus.Groups}).
|
|
28
28
|
* - Intended to be reusable — create multiple instances if you want separate registries.
|
|
29
29
|
*
|
|
30
|
-
* @see {@link https://toolbox.nazmul-nhb.dev/docs/utilities/misc/httpStatus httpStatus} for the default preloaded singleton instance.
|
|
30
|
+
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/misc/httpStatus httpStatus} for the default preloaded singleton instance.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* // Using the class directly
|
|
@@ -148,7 +148,7 @@ var HttpStatus = class HttpStatus {
|
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
150
|
/**
|
|
151
|
-
* * Default singleton instance of {@link https://toolbox.nazmul-nhb.dev/docs/classes/HttpStatus HttpStatus} class.
|
|
151
|
+
* * Default singleton instance of {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/HttpStatus HttpStatus} class.
|
|
152
152
|
*
|
|
153
153
|
* @remarks
|
|
154
154
|
* - Preloaded with all MDN-based HTTP status codes.
|
package/dist/http-status.d.cts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { $ as Maybe } from "./object-
|
|
18
|
-
import { a as HttpStatusCode, c as StatusCode, l as StatusEntry, o as HttpStatusName, s as StatusCategory, u as StatusName } from "./http-status-
|
|
17
|
+
import { $ as Maybe } from "./object-NOZEWHcC.cjs";
|
|
18
|
+
import { a as HttpStatusCode, c as StatusCode, l as StatusEntry, o as HttpStatusName, s as StatusCategory, u as StatusName } from "./http-status-BLU4rv3n.cjs";
|
|
19
19
|
|
|
20
20
|
//#region src/http-status/HttpStatus.d.ts
|
|
21
21
|
/**
|
|
@@ -24,10 +24,10 @@ import { a as HttpStatusCode, c as StatusCode, l as StatusEntry, o as HttpStatus
|
|
|
24
24
|
* @remarks
|
|
25
25
|
* - Supports lookup by code or name (both `SOME_NAME` and `Some Name` formats).
|
|
26
26
|
* - Allows adding custom codes and overriding messages for existing ones.
|
|
27
|
-
* - Provides pre-grouped categories for quick filtering (see {@link https://toolbox.nazmul-nhb.dev/docs/classes/HttpStatus#groups-static-property HttpStatus.Groups}).
|
|
27
|
+
* - Provides pre-grouped categories for quick filtering (see {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/HttpStatus#groups-static-property HttpStatus.Groups}).
|
|
28
28
|
* - Intended to be reusable — create multiple instances if you want separate registries.
|
|
29
29
|
*
|
|
30
|
-
* @see {@link https://toolbox.nazmul-nhb.dev/docs/utilities/misc/httpStatus httpStatus} for the default preloaded singleton instance.
|
|
30
|
+
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/misc/httpStatus httpStatus} for the default preloaded singleton instance.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* // Using the class directly
|
|
@@ -119,7 +119,7 @@ declare class HttpStatus {
|
|
|
119
119
|
list(category?: StatusCategory): StatusEntry[];
|
|
120
120
|
}
|
|
121
121
|
/**
|
|
122
|
-
* * Default singleton instance of {@link https://toolbox.nazmul-nhb.dev/docs/classes/HttpStatus HttpStatus} class.
|
|
122
|
+
* * Default singleton instance of {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/HttpStatus HttpStatus} class.
|
|
123
123
|
*
|
|
124
124
|
* @remarks
|
|
125
125
|
* - Preloaded with all MDN-based HTTP status codes.
|
package/dist/http-status.d.mts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { $ as Maybe } from "./object-
|
|
18
|
-
import { a as HttpStatusCode, c as StatusCode, l as StatusEntry, o as HttpStatusName, s as StatusCategory, u as StatusName } from "./http-status-
|
|
17
|
+
import { $ as Maybe } from "./object-NOZEWHcC.mjs";
|
|
18
|
+
import { a as HttpStatusCode, c as StatusCode, l as StatusEntry, o as HttpStatusName, s as StatusCategory, u as StatusName } from "./http-status-BmUnryXC.mjs";
|
|
19
19
|
|
|
20
20
|
//#region src/http-status/HttpStatus.d.ts
|
|
21
21
|
/**
|
|
@@ -24,10 +24,10 @@ import { a as HttpStatusCode, c as StatusCode, l as StatusEntry, o as HttpStatus
|
|
|
24
24
|
* @remarks
|
|
25
25
|
* - Supports lookup by code or name (both `SOME_NAME` and `Some Name` formats).
|
|
26
26
|
* - Allows adding custom codes and overriding messages for existing ones.
|
|
27
|
-
* - Provides pre-grouped categories for quick filtering (see {@link https://toolbox.nazmul-nhb.dev/docs/classes/HttpStatus#groups-static-property HttpStatus.Groups}).
|
|
27
|
+
* - Provides pre-grouped categories for quick filtering (see {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/HttpStatus#groups-static-property HttpStatus.Groups}).
|
|
28
28
|
* - Intended to be reusable — create multiple instances if you want separate registries.
|
|
29
29
|
*
|
|
30
|
-
* @see {@link https://toolbox.nazmul-nhb.dev/docs/utilities/misc/httpStatus httpStatus} for the default preloaded singleton instance.
|
|
30
|
+
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/misc/httpStatus httpStatus} for the default preloaded singleton instance.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* // Using the class directly
|
|
@@ -119,7 +119,7 @@ declare class HttpStatus {
|
|
|
119
119
|
list(category?: StatusCategory): StatusEntry[];
|
|
120
120
|
}
|
|
121
121
|
/**
|
|
122
|
-
* * Default singleton instance of {@link https://toolbox.nazmul-nhb.dev/docs/classes/HttpStatus HttpStatus} class.
|
|
122
|
+
* * Default singleton instance of {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/HttpStatus HttpStatus} class.
|
|
123
123
|
*
|
|
124
124
|
* @remarks
|
|
125
125
|
* - Preloaded with all MDN-based HTTP status codes.
|
package/dist/http-status.mjs
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { n as HTTP_STATUS_DATA } from "./constants-
|
|
17
|
+
import { n as HTTP_STATUS_DATA } from "./constants-BLAcLxOu.mjs";
|
|
18
18
|
|
|
19
19
|
//#region src/http-status/HttpStatus.ts
|
|
20
20
|
/**
|
|
@@ -23,10 +23,10 @@ import { n as HTTP_STATUS_DATA } from "./constants-X5hm1UtB.mjs";
|
|
|
23
23
|
* @remarks
|
|
24
24
|
* - Supports lookup by code or name (both `SOME_NAME` and `Some Name` formats).
|
|
25
25
|
* - Allows adding custom codes and overriding messages for existing ones.
|
|
26
|
-
* - Provides pre-grouped categories for quick filtering (see {@link https://toolbox.nazmul-nhb.dev/docs/classes/HttpStatus#groups-static-property HttpStatus.Groups}).
|
|
26
|
+
* - Provides pre-grouped categories for quick filtering (see {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/HttpStatus#groups-static-property HttpStatus.Groups}).
|
|
27
27
|
* - Intended to be reusable — create multiple instances if you want separate registries.
|
|
28
28
|
*
|
|
29
|
-
* @see {@link https://toolbox.nazmul-nhb.dev/docs/utilities/misc/httpStatus httpStatus} for the default preloaded singleton instance.
|
|
29
|
+
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/misc/httpStatus httpStatus} for the default preloaded singleton instance.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* // Using the class directly
|
|
@@ -147,7 +147,7 @@ var HttpStatus = class HttpStatus {
|
|
|
147
147
|
}
|
|
148
148
|
};
|
|
149
149
|
/**
|
|
150
|
-
* * Default singleton instance of {@link https://toolbox.nazmul-nhb.dev/docs/classes/HttpStatus HttpStatus} class.
|
|
150
|
+
* * Default singleton instance of {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/HttpStatus HttpStatus} class.
|
|
151
151
|
*
|
|
152
152
|
* @remarks
|
|
153
153
|
* - Preloaded with all MDN-based HTTP status codes.
|
package/dist/index.cjs
CHANGED
|
@@ -15,16 +15,16 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
18
|
-
const require_primitives = require('./primitives-
|
|
19
|
-
const require_case = require('./case-
|
|
20
|
-
const require_constants = require('./constants-
|
|
21
|
-
const require_countries = require('./countries-
|
|
22
|
-
const require_specials = require('./specials-
|
|
23
|
-
const require_utilities = require('./utilities-
|
|
24
|
-
const require_objectify = require('./objectify-
|
|
25
|
-
const require_utils = require('./utils-
|
|
26
|
-
const require_basics = require('./basics-
|
|
27
|
-
const require_convert = require('./convert-
|
|
18
|
+
const require_primitives = require('./primitives-CBGICrDR.cjs');
|
|
19
|
+
const require_case = require('./case-uKFzt5TY.cjs');
|
|
20
|
+
const require_constants = require('./constants-B3nc8psr.cjs');
|
|
21
|
+
const require_countries = require('./countries-C0x58zVg.cjs');
|
|
22
|
+
const require_specials = require('./specials-BM6cx43o.cjs');
|
|
23
|
+
const require_utilities = require('./utilities-CzyXCRHM.cjs');
|
|
24
|
+
const require_objectify = require('./objectify-DrwoO4bJ.cjs');
|
|
25
|
+
const require_utils = require('./utils-B1BHomba.cjs');
|
|
26
|
+
const require_basics = require('./basics-CYqqguZr.cjs');
|
|
27
|
+
const require_convert = require('./convert-IaWh6Wab.cjs');
|
|
28
28
|
|
|
29
29
|
//#region src/string/anagram.ts
|
|
30
30
|
/** `WeakMap` to cache user provided dictionary array */
|
package/dist/index.d.cts
CHANGED
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { $ as Maybe, $n as ProtoMethodOptions, $t as LocaleCode, B as BasicPrimitive, Bt as ConvertOptions, Cn as ArrayOfObjectsToStringOptions, D as NumericDotKey, E as NestedPrimitiveKey, F as SanitizedData, H as ClassDetails, Ht as CurrencyCode, Kt as FrankFurterCurrency, O as Objects, P as SanitizeOptions, R as Any, U as Constructor, Ut as DecimalOptions, Vt as ConvertedDecimal, W as DelayedFn, Y as FlattenPartial, a as ConvertObjectOptions, an as RandomNumberOptions, at as OwnKeys, c as DeepKeys, cn as RomanCapital, dr as Tuple, en as LooseRomanNumeral, g as FlattenDotValue, gr as Unit, in as PercentageOptions, it as Numeric, nn as NumberType, o as ConvertedObject, on as RangeOptions, ot as PartialOrRequired, p as ExpandAll, s as CountryDetails, sn as RangedNumbers, st as Primitive, u as DotNotationKey, ut as VoidFn, v as FlattenLeafValue, w as MergeAll, wn as ArrayOfPrimitivesToStringOptions, y as GenericObject, zt as BnDigitResult } from "./object-
|
|
18
|
-
import { A as MaskOptions, d as AnagramOptions, h as CharDiffResult, w as DiffResult } from "./string-
|
|
19
|
-
import { n as convertStringCase, t as capitalizeString } from "./case-
|
|
20
|
-
import { n as trimString, r as truncateString, t as generateRandomID } from "./basics-
|
|
21
|
-
import { a as Flattened, c as OrderOption, l as SortByOption, n as FindOptions, s as OptionsConfig, t as FieldValue, u as SortNature } from "./array-
|
|
17
|
+
import { $ as Maybe, $n as ProtoMethodOptions, $t as LocaleCode, B as BasicPrimitive, Bt as ConvertOptions, Cn as ArrayOfObjectsToStringOptions, D as NumericDotKey, E as NestedPrimitiveKey, F as SanitizedData, H as ClassDetails, Ht as CurrencyCode, Kt as FrankFurterCurrency, O as Objects, P as SanitizeOptions, R as Any, U as Constructor, Ut as DecimalOptions, Vt as ConvertedDecimal, W as DelayedFn, Y as FlattenPartial, a as ConvertObjectOptions, an as RandomNumberOptions, at as OwnKeys, c as DeepKeys, cn as RomanCapital, dr as Tuple, en as LooseRomanNumeral, g as FlattenDotValue, gr as Unit, in as PercentageOptions, it as Numeric, nn as NumberType, o as ConvertedObject, on as RangeOptions, ot as PartialOrRequired, p as ExpandAll, s as CountryDetails, sn as RangedNumbers, st as Primitive, u as DotNotationKey, ut as VoidFn, v as FlattenLeafValue, w as MergeAll, wn as ArrayOfPrimitivesToStringOptions, y as GenericObject, zt as BnDigitResult } from "./object-NOZEWHcC.cjs";
|
|
18
|
+
import { A as MaskOptions, d as AnagramOptions, h as CharDiffResult, w as DiffResult } from "./string-DN4hbA7H.cjs";
|
|
19
|
+
import { n as convertStringCase, t as capitalizeString } from "./case-BYCCZ2yI.cjs";
|
|
20
|
+
import { n as trimString, r as truncateString, t as generateRandomID } from "./basics-CEMMxosO.cjs";
|
|
21
|
+
import { a as Flattened, c as OrderOption, l as SortByOption, n as FindOptions, s as OptionsConfig, t as FieldValue, u as SortNature } from "./array-606C3HIi.cjs";
|
|
22
22
|
|
|
23
23
|
//#region src/string/anagram.d.ts
|
|
24
24
|
/**
|
|
@@ -100,7 +100,7 @@ declare function extractURLs(str: string): string[];
|
|
|
100
100
|
/**
|
|
101
101
|
* * Returns a grammatically correct unit string, optionally prefixed with the number.
|
|
102
102
|
*
|
|
103
|
-
* @remarks For complex and versatile pluralization, please refer to {@link https://toolbox.nazmul-nhb.dev/docs/utilities/string/pluralizer pluralizer} or {@link https://toolbox.nazmul-nhb.dev/docs/classes/Pluralizer Pluralizer Class} instead.
|
|
103
|
+
* @remarks For complex and versatile pluralization, please refer to {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/string/pluralizer pluralizer} or {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/Pluralizer Pluralizer Class} instead.
|
|
104
104
|
*
|
|
105
105
|
* @param count The numeric value to determine singular or plural.
|
|
106
106
|
* @param unit The unit name (e.g., "day", "hour").
|
|
@@ -1404,12 +1404,12 @@ declare function stripJsonEdgeGarbage(str: string): string;
|
|
|
1404
1404
|
* @returns The parsed JSON value typed as `T`, or the original parsed value with optional primitive conversion.
|
|
1405
1405
|
* - Returns `{}` if parsing fails, such as when the input is malformed or invalid JSON or passing single quoted string.
|
|
1406
1406
|
*
|
|
1407
|
-
* - *Unlike {@link https://toolbox.nazmul-nhb.dev/docs/utilities/object/parseJsonToObject parseJsonToObject}, which ensures the root value is an object,
|
|
1407
|
+
* - *Unlike {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/object/parseJsonToObject parseJsonToObject}, which ensures the root value is an object,
|
|
1408
1408
|
* this function returns any valid JSON structure such as arrays, strings, numbers, or objects.*
|
|
1409
1409
|
*
|
|
1410
1410
|
* This is useful when you're not sure of the root structure of the JSON, or when you expect something other than an object.
|
|
1411
1411
|
*
|
|
1412
|
-
* @see {@link https://toolbox.nazmul-nhb.dev/docs/utilities/object/parseJsonToObject parseJsonToObject} for strict object-only parsing.
|
|
1412
|
+
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/object/parseJsonToObject parseJsonToObject} for strict object-only parsing.
|
|
1413
1413
|
*/
|
|
1414
1414
|
declare const parseJSON: <T = unknown>(value: string, parsePrimitives?: boolean) => T;
|
|
1415
1415
|
/**
|
package/dist/index.d.mts
CHANGED
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { $ as Maybe, $n as ProtoMethodOptions, $t as LocaleCode, B as BasicPrimitive, Bt as ConvertOptions, Cn as ArrayOfObjectsToStringOptions, D as NumericDotKey, E as NestedPrimitiveKey, F as SanitizedData, H as ClassDetails, Ht as CurrencyCode, Kt as FrankFurterCurrency, O as Objects, P as SanitizeOptions, R as Any, U as Constructor, Ut as DecimalOptions, Vt as ConvertedDecimal, W as DelayedFn, Y as FlattenPartial, a as ConvertObjectOptions, an as RandomNumberOptions, at as OwnKeys, c as DeepKeys, cn as RomanCapital, dr as Tuple, en as LooseRomanNumeral, g as FlattenDotValue, gr as Unit, in as PercentageOptions, it as Numeric, nn as NumberType, o as ConvertedObject, on as RangeOptions, ot as PartialOrRequired, p as ExpandAll, s as CountryDetails, sn as RangedNumbers, st as Primitive, u as DotNotationKey, ut as VoidFn, v as FlattenLeafValue, w as MergeAll, wn as ArrayOfPrimitivesToStringOptions, y as GenericObject, zt as BnDigitResult } from "./object-
|
|
18
|
-
import { A as MaskOptions, d as AnagramOptions, h as CharDiffResult, w as DiffResult } from "./string-
|
|
19
|
-
import { n as convertStringCase, t as capitalizeString } from "./case-
|
|
20
|
-
import { n as trimString, r as truncateString, t as generateRandomID } from "./basics-
|
|
21
|
-
import { a as Flattened, c as OrderOption, l as SortByOption, n as FindOptions, s as OptionsConfig, t as FieldValue, u as SortNature } from "./array-
|
|
17
|
+
import { $ as Maybe, $n as ProtoMethodOptions, $t as LocaleCode, B as BasicPrimitive, Bt as ConvertOptions, Cn as ArrayOfObjectsToStringOptions, D as NumericDotKey, E as NestedPrimitiveKey, F as SanitizedData, H as ClassDetails, Ht as CurrencyCode, Kt as FrankFurterCurrency, O as Objects, P as SanitizeOptions, R as Any, U as Constructor, Ut as DecimalOptions, Vt as ConvertedDecimal, W as DelayedFn, Y as FlattenPartial, a as ConvertObjectOptions, an as RandomNumberOptions, at as OwnKeys, c as DeepKeys, cn as RomanCapital, dr as Tuple, en as LooseRomanNumeral, g as FlattenDotValue, gr as Unit, in as PercentageOptions, it as Numeric, nn as NumberType, o as ConvertedObject, on as RangeOptions, ot as PartialOrRequired, p as ExpandAll, s as CountryDetails, sn as RangedNumbers, st as Primitive, u as DotNotationKey, ut as VoidFn, v as FlattenLeafValue, w as MergeAll, wn as ArrayOfPrimitivesToStringOptions, y as GenericObject, zt as BnDigitResult } from "./object-NOZEWHcC.mjs";
|
|
18
|
+
import { A as MaskOptions, d as AnagramOptions, h as CharDiffResult, w as DiffResult } from "./string-BhaQOeKm.mjs";
|
|
19
|
+
import { n as convertStringCase, t as capitalizeString } from "./case-DF2Af4Fw.mjs";
|
|
20
|
+
import { n as trimString, r as truncateString, t as generateRandomID } from "./basics-BlJgwEqR.mjs";
|
|
21
|
+
import { a as Flattened, c as OrderOption, l as SortByOption, n as FindOptions, s as OptionsConfig, t as FieldValue, u as SortNature } from "./array-qTbLCFHP.mjs";
|
|
22
22
|
|
|
23
23
|
//#region src/string/anagram.d.ts
|
|
24
24
|
/**
|
|
@@ -100,7 +100,7 @@ declare function extractURLs(str: string): string[];
|
|
|
100
100
|
/**
|
|
101
101
|
* * Returns a grammatically correct unit string, optionally prefixed with the number.
|
|
102
102
|
*
|
|
103
|
-
* @remarks For complex and versatile pluralization, please refer to {@link https://toolbox.nazmul-nhb.dev/docs/utilities/string/pluralizer pluralizer} or {@link https://toolbox.nazmul-nhb.dev/docs/classes/Pluralizer Pluralizer Class} instead.
|
|
103
|
+
* @remarks For complex and versatile pluralization, please refer to {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/string/pluralizer pluralizer} or {@link https://toolbox-x.nazmul-nhb.dev/docs/classes/Pluralizer Pluralizer Class} instead.
|
|
104
104
|
*
|
|
105
105
|
* @param count The numeric value to determine singular or plural.
|
|
106
106
|
* @param unit The unit name (e.g., "day", "hour").
|
|
@@ -1404,12 +1404,12 @@ declare function stripJsonEdgeGarbage(str: string): string;
|
|
|
1404
1404
|
* @returns The parsed JSON value typed as `T`, or the original parsed value with optional primitive conversion.
|
|
1405
1405
|
* - Returns `{}` if parsing fails, such as when the input is malformed or invalid JSON or passing single quoted string.
|
|
1406
1406
|
*
|
|
1407
|
-
* - *Unlike {@link https://toolbox.nazmul-nhb.dev/docs/utilities/object/parseJsonToObject parseJsonToObject}, which ensures the root value is an object,
|
|
1407
|
+
* - *Unlike {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/object/parseJsonToObject parseJsonToObject}, which ensures the root value is an object,
|
|
1408
1408
|
* this function returns any valid JSON structure such as arrays, strings, numbers, or objects.*
|
|
1409
1409
|
*
|
|
1410
1410
|
* This is useful when you're not sure of the root structure of the JSON, or when you expect something other than an object.
|
|
1411
1411
|
*
|
|
1412
|
-
* @see {@link https://toolbox.nazmul-nhb.dev/docs/utilities/object/parseJsonToObject parseJsonToObject} for strict object-only parsing.
|
|
1412
|
+
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utilities/object/parseJsonToObject parseJsonToObject} for strict object-only parsing.
|
|
1413
1413
|
*/
|
|
1414
1414
|
declare const parseJSON: <T = unknown>(value: string, parsePrimitives?: boolean) => T;
|
|
1415
1415
|
/**
|