toolbox-x 2.4.4 → 2.4.7
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/CHANGELOG.md +15 -0
- package/dist/{Color-D6qMZgDm.d.mts → Color-B94hFsf4.d.mts} +1 -1
- package/dist/{Color-SUPeP6fO.d.cts → Color-CSi8fu6f.d.cts} +1 -1
- package/dist/{Stylog-B8sKWvn_.d.mts → Stylog-CFsO-yrJ.d.cts} +1 -1
- package/dist/{Stylog-DdPP_CJf.d.cts → Stylog-DyGx1l54.d.mts} +1 -1
- package/dist/{area-kW5kJaQq.d.cts → area-CQG9fGeG.d.cts} +1 -1
- package/dist/{area-CaK6hFzW.d.mts → area-XvKQTCT6.d.mts} +1 -1
- package/dist/{array-CbAKXvhH.d.mts → array-9ewbYFv0.d.mts} +1 -1
- package/dist/{array-EVkwcL_k.d.cts → array-DilGQJmC.d.cts} +1 -1
- package/dist/{basics-CUzK7wFN.cjs → basics-BGu9ygZK.cjs} +6 -6
- package/dist/{basics-KYRpMQNe.mjs → basics-Bd2mj0uG.mjs} +6 -6
- package/dist/{basics-BuHQJCNG.d.mts → basics-RNENr17b.d.mts} +13 -4
- package/dist/{basics-CLwtIxap.d.cts → basics-WMFx1CZ0.d.cts} +13 -4
- package/dist/{case-Ce8HJI8I.d.mts → case-C5giLKOG.d.mts} +1 -1
- package/dist/{case-BmB2aGyp.d.cts → case-Ts8jV2Wz.d.cts} +1 -1
- package/dist/change-case.d.cts +1 -1
- package/dist/change-case.d.mts +1 -1
- package/dist/colors/index.d.cts +2 -2
- package/dist/colors/index.d.mts +2 -2
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.mts +1 -1
- package/dist/converter/index.d.cts +2 -2
- package/dist/converter/index.d.mts +2 -2
- package/dist/date/index.d.cts +1 -1
- package/dist/date/index.d.mts +1 -1
- package/dist/dom/index.cjs +2 -2
- package/dist/dom/index.d.cts +5 -5
- package/dist/dom/index.d.mts +5 -5
- package/dist/dom/index.mjs +2 -2
- package/dist/{form-D_5I437n.d.mts → form-CbfeSccF.d.cts} +3 -3
- package/dist/{form-DhsFvo_D.d.cts → form-Dd-YP3DS.d.mts} +3 -3
- package/dist/guards/index.cjs +2 -2
- package/dist/guards/index.d.cts +4 -4
- package/dist/guards/index.d.mts +4 -4
- package/dist/guards/index.mjs +2 -2
- package/dist/hash/index.cjs +1 -1
- package/dist/hash/index.d.cts +4 -4
- package/dist/hash/index.d.mts +4 -4
- package/dist/hash/index.mjs +1 -1
- package/dist/{hash-2mygGWLk.d.mts → hash-BCZWgYS7.d.mts} +1 -1
- package/dist/{hash-DHawpylk.d.cts → hash-DDlZ_kb-.d.cts} +1 -1
- package/dist/http-status/index.d.cts +2 -2
- package/dist/http-status/index.d.mts +2 -2
- package/dist/{http-status-BXNuC-33.d.mts → http-status-DRA3A_qa.d.mts} +1 -1
- package/dist/{http-status-CpYDj2wq.d.cts → http-status-JhjgqpW3.d.cts} +1 -1
- package/dist/{object-DyVg8BFt.d.cts → index-C_v1d6lq.d.cts} +1614 -1610
- package/dist/{object-DyVg8BFt.d.mts → index-C_v1d6lq.d.mts} +1614 -1610
- package/dist/{index-D00Uqm9S.d.cts → index-Cs1P7sOW.d.mts} +2 -2
- package/dist/{index-BbBnKdBb.d.mts → index-VeKwBmaa.d.cts} +2 -2
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +7 -7
- package/dist/index.d.mts +7 -7
- package/dist/index.mjs +3 -3
- package/dist/paginator.cjs +2 -2
- package/dist/paginator.d.cts +5 -5
- package/dist/paginator.d.mts +5 -5
- package/dist/paginator.mjs +2 -2
- package/dist/{query-iJflCkq1.cjs → query-Bo-_PC3j.cjs} +1 -1
- package/dist/{query-B8VPCIKA.mjs → query-CLkSagHs.mjs} +1 -1
- package/dist/{query-BMtRmMSC.d.cts → query-Dh3MANjJ.d.mts} +2 -2
- package/dist/{query-C-r5ZbO-.d.mts → query-ke72ZE4p.d.cts} +2 -2
- package/dist/{string-edtZyJHf.d.mts → string-COB8mrdF.d.mts} +14 -3
- package/dist/{string-Ok_IMpHP.d.cts → string-s6NO_UGp.d.cts} +14 -3
- package/dist/stylog/index.d.cts +2 -2
- package/dist/stylog/index.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 +1 -1
- package/dist/types/date.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 +2 -2
- package/dist/types/index.d.mts +2 -2
- 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 +2 -2
- package/dist/types/string.d.mts +2 -2
- 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/{utils-BxZGABHS.cjs → utils-BzeK3wO9.cjs} +14 -7
- package/dist/{utils-DcRr0A7B.mjs → utils-DnyVgO8p.mjs} +14 -7
- package/dist/{uuid-CMNRM9NO.d.cts → uuid-B0xPyeI7.d.cts} +3 -2
- package/dist/{uuid-DvQsIl9p.d.mts → uuid-DCvH3YMX.d.mts} +3 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,21 @@ All notable changes to **toolbox-x** will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
> Auto-generated from git history using [changelog-maker](https://github.com/nodejs/changelog-maker).
|
|
6
6
|
|
|
7
|
+
## [v2.4.7](https://github.com/nazmul-nhb/toolbox-x/releases/tag/v2.4.7) — 2026-07-01
|
|
8
|
+
|
|
9
|
+
[Compare changes](https://github.com/nazmul-nhb/toolbox-x/compare/v2.4.6...v2.4.7)
|
|
10
|
+
|
|
11
|
+
* \[[`0bc327ce62`](https://github.com/nazmul-nhb/toolbox-x/commit/0bc327ce62)] - 🔣 types: added new utility types (Nazmul Hassan)
|
|
12
|
+
* \[[`31c4ffc719`](https://github.com/nazmul-nhb/toolbox-x/commit/31c4ffc719)] - 📚 docs: updated CHANGELOG.md for v2.4.6 (github-actions\[bot])
|
|
13
|
+
|
|
14
|
+
## [v2.4.6](https://github.com/nazmul-nhb/toolbox-x/releases/tag/v2.4.6) — 2026-06-28
|
|
15
|
+
|
|
16
|
+
[Compare changes](https://github.com/nazmul-nhb/toolbox-x/compare/v2.4.4...v2.4.6)
|
|
17
|
+
|
|
18
|
+
* \[[`56043d65ef`](https://github.com/nazmul-nhb/toolbox-x/commit/56043d65ef)] - 🔧 update(string): added new signature for `truncateString` with `TruncateOptions` (Nazmul Hassan)
|
|
19
|
+
* \[[`bde1e98b99`](https://github.com/nazmul-nhb/toolbox-x/commit/bde1e98b99)] - 🔧 update(string): updated `MaskOptions` for `maskString` (Nazmul Hassan)
|
|
20
|
+
* \[[`bdeea053f1`](https://github.com/nazmul-nhb/toolbox-x/commit/bdeea053f1)] - 📚 docs: updated CHANGELOG.md for v2.4.4 (github-actions\[bot])
|
|
21
|
+
|
|
7
22
|
## [v2.4.4](https://github.com/nazmul-nhb/toolbox-x/releases/tag/v2.4.4) — 2026-06-28
|
|
8
23
|
|
|
9
24
|
[Compare changes](https://github.com/nazmul-nhb/toolbox-x/compare/v2.4.2...v2.4.4)
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
17
|
+
import { _n as NumberRange, a as Branded, y as Maybe, yn as Percent } from "./index-C_v1d6lq.mjs";
|
|
18
18
|
import { t as CSS_COLORS } from "./css-colors-Dqz6Bfnp.mjs";
|
|
19
19
|
|
|
20
20
|
//#region src/types/colors.d.ts
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
17
|
+
import { _n as NumberRange, a as Branded, y as Maybe, yn as Percent } from "./index-C_v1d6lq.cjs";
|
|
18
18
|
import { t as CSS_COLORS } from "./css-colors-Dqz6Bfnp.cjs";
|
|
19
19
|
|
|
20
20
|
//#region src/types/colors.d.ts
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
17
|
+
import { E as Numeric, Fr as $Record, ir as Mutable, tr as LooseLiteral } from "./index-C_v1d6lq.cjs";
|
|
18
18
|
import { t as UNITS } from "./constants-D8RzBjsL.cjs";
|
|
19
19
|
|
|
20
20
|
//#region src/converter/data.d.ts
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
17
|
+
import { E as Numeric, Fr as $Record, ir as Mutable, tr as LooseLiteral } from "./index-C_v1d6lq.mjs";
|
|
18
18
|
import { t as UNITS } from "./constants-D8RzBjsL.mjs";
|
|
19
19
|
|
|
20
20
|
//#region src/converter/data.d.ts
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
17
|
+
import { C as NormalPrimitiveKey, Xr as GenericObject, ri as NestedPrimitiveKey } from "./index-C_v1d6lq.mjs";
|
|
18
18
|
|
|
19
19
|
//#region src/types/array.d.ts
|
|
20
20
|
/** * Flatten Array or Wrap in Array */
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
17
|
+
import { C as NormalPrimitiveKey, Xr as GenericObject, ri as NestedPrimitiveKey } from "./index-C_v1d6lq.cjs";
|
|
18
18
|
|
|
19
19
|
//#region src/types/array.d.ts
|
|
20
20
|
/** * Flatten Array or Wrap in Array */
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
const require_primitives = require('./primitives-CBGICrDR.cjs');
|
|
18
|
-
const require_utils = require('./utils-BxZGABHS.cjs');
|
|
19
18
|
const require_specials = require('./specials-DU8u108m.cjs');
|
|
19
|
+
const require_utils = require('./utils-BzeK3wO9.cjs');
|
|
20
20
|
const require_utilities = require('./utilities-_COSGq1U.cjs');
|
|
21
21
|
|
|
22
22
|
//#region src/string/convert.ts
|
|
@@ -34,7 +34,7 @@ const require_utilities = require('./utilities-_COSGq1U.cjs');
|
|
|
34
34
|
*/
|
|
35
35
|
const replaceAllInString = (input, find, replace) => {
|
|
36
36
|
const trimmedString = require_utils.trimString(input);
|
|
37
|
-
const regex = require_primitives.isString(find) ? new RegExp(find, "g") : new RegExp(find, find?.flags.includes("g") ? find?.flags : find?.flags
|
|
37
|
+
const regex = require_primitives.isString(find) ? new RegExp(find, "g") : new RegExp(find, find?.flags.includes("g") ? find?.flags : `${find?.flags}g`);
|
|
38
38
|
return trimmedString?.replace(regex, replace);
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
@@ -52,10 +52,10 @@ const slugifyString = (input) => {
|
|
|
52
52
|
* @returns The masked string.
|
|
53
53
|
*/
|
|
54
54
|
const maskString = (input, options) => {
|
|
55
|
-
const { start = 1, end = 1, maskCharacter
|
|
56
|
-
const trimmedString = require_utils.trimString(input);
|
|
57
|
-
if (trimmedString?.length <= start + end) return
|
|
58
|
-
return trimmedString.slice(0, start) +
|
|
55
|
+
const { start = 1, end = 1, trim = false, maskCharacter = "*" } = options || {};
|
|
56
|
+
const trimmedString = trim ? require_utils.trimString(input) : input;
|
|
57
|
+
if (trimmedString?.length <= start + end) return maskCharacter?.repeat(trimmedString?.length);
|
|
58
|
+
return trimmedString.slice(0, start) + maskCharacter?.repeat(trimmedString?.length - start - end) + (end > 0 ? trimmedString.slice(-end) : "");
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
61
|
* * Reverses a given string.
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { d as isString, m as isUndefined } from "./primitives-Djsevc69.mjs";
|
|
18
|
-
import { $ as trimString, m as stableStringify } from "./utils-DcRr0A7B.mjs";
|
|
19
18
|
import { b as isFunction, w as isNotEmptyObject } from "./specials-krf7zsqI.mjs";
|
|
19
|
+
import { $ as trimString, m as stableStringify } from "./utils-DnyVgO8p.mjs";
|
|
20
20
|
import { a as normalizeNumber } from "./utilities-CmPwOkdy.mjs";
|
|
21
21
|
|
|
22
22
|
//#region src/string/convert.ts
|
|
@@ -34,7 +34,7 @@ import { a as normalizeNumber } from "./utilities-CmPwOkdy.mjs";
|
|
|
34
34
|
*/
|
|
35
35
|
const replaceAllInString = (input, find, replace) => {
|
|
36
36
|
const trimmedString = trimString(input);
|
|
37
|
-
const regex = isString(find) ? new RegExp(find, "g") : new RegExp(find, find?.flags.includes("g") ? find?.flags : find?.flags
|
|
37
|
+
const regex = isString(find) ? new RegExp(find, "g") : new RegExp(find, find?.flags.includes("g") ? find?.flags : `${find?.flags}g`);
|
|
38
38
|
return trimmedString?.replace(regex, replace);
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
@@ -52,10 +52,10 @@ const slugifyString = (input) => {
|
|
|
52
52
|
* @returns The masked string.
|
|
53
53
|
*/
|
|
54
54
|
const maskString = (input, options) => {
|
|
55
|
-
const { start = 1, end = 1, maskCharacter
|
|
56
|
-
const trimmedString = trimString(input);
|
|
57
|
-
if (trimmedString?.length <= start + end) return
|
|
58
|
-
return trimmedString.slice(0, start) +
|
|
55
|
+
const { start = 1, end = 1, trim = false, maskCharacter = "*" } = options || {};
|
|
56
|
+
const trimmedString = trim ? trimString(input) : input;
|
|
57
|
+
if (trimmedString?.length <= start + end) return maskCharacter?.repeat(trimmedString?.length);
|
|
58
|
+
return trimmedString.slice(0, start) + maskCharacter?.repeat(trimmedString?.length - start - end) + (end > 0 ? trimmedString.slice(-end) : "");
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
61
|
* * Reverses a given string.
|
|
@@ -14,17 +14,25 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { z as RandomIdOptions } from "./string-
|
|
17
|
+
import { J as TruncateOptions, z as RandomIdOptions } from "./string-COB8mrdF.mjs";
|
|
18
18
|
|
|
19
19
|
//#region src/string/basics.d.ts
|
|
20
20
|
/**
|
|
21
21
|
* * Utility to truncate a string to a specified length.
|
|
22
22
|
*
|
|
23
23
|
* @param str The string to truncate.
|
|
24
|
-
* @param maxLength The maximum length of the truncated string.
|
|
25
|
-
* @returns Truncated string with ellipsis (
|
|
24
|
+
* @param maxLength The maximum length of the truncated string. Defaults to `100`.
|
|
25
|
+
* @returns Truncated string with ellipsis (`'...'`) (only if it has more length than `maxLength`).
|
|
26
26
|
*/
|
|
27
|
-
declare function truncateString(str: string, maxLength
|
|
27
|
+
declare function truncateString(str: string, maxLength?: number): string;
|
|
28
|
+
/**
|
|
29
|
+
* * Utility to truncate a string to a specified length using options.
|
|
30
|
+
*
|
|
31
|
+
* @param str The string to truncate.
|
|
32
|
+
* @param options Options for truncating the string.
|
|
33
|
+
* @returns Truncated string based on the {@link options}.
|
|
34
|
+
*/
|
|
35
|
+
declare function truncateString(str: string, options?: TruncateOptions): string;
|
|
28
36
|
/**
|
|
29
37
|
* * Generates a random alphanumeric (16 characters long, this length is customizable in the options) ID string composed of an optional `prefix`, `suffix`, a `timestamp`, `caseOption` and a customizable `separator`.
|
|
30
38
|
*
|
|
@@ -32,6 +40,7 @@ declare function truncateString(str: string, maxLength: number): string;
|
|
|
32
40
|
* @returns The generated ID string composed of the random alphanumeric string of specified length with optional `timeStamp`, `prefix`, and `suffix`, `caseOption` and `separator`.
|
|
33
41
|
*
|
|
34
42
|
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utils/hash/uuid uuid} for `uuid` generation
|
|
43
|
+
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utils/hash/random-numeric randomHex} for random numeric string generation
|
|
35
44
|
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utils/hash/random-hex randomHex} for random hexadecimal string generation
|
|
36
45
|
*
|
|
37
46
|
* @example
|
|
@@ -14,17 +14,25 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { z as RandomIdOptions } from "./string-
|
|
17
|
+
import { J as TruncateOptions, z as RandomIdOptions } from "./string-s6NO_UGp.cjs";
|
|
18
18
|
|
|
19
19
|
//#region src/string/basics.d.ts
|
|
20
20
|
/**
|
|
21
21
|
* * Utility to truncate a string to a specified length.
|
|
22
22
|
*
|
|
23
23
|
* @param str The string to truncate.
|
|
24
|
-
* @param maxLength The maximum length of the truncated string.
|
|
25
|
-
* @returns Truncated string with ellipsis (
|
|
24
|
+
* @param maxLength The maximum length of the truncated string. Defaults to `100`.
|
|
25
|
+
* @returns Truncated string with ellipsis (`'...'`) (only if it has more length than `maxLength`).
|
|
26
26
|
*/
|
|
27
|
-
declare function truncateString(str: string, maxLength
|
|
27
|
+
declare function truncateString(str: string, maxLength?: number): string;
|
|
28
|
+
/**
|
|
29
|
+
* * Utility to truncate a string to a specified length using options.
|
|
30
|
+
*
|
|
31
|
+
* @param str The string to truncate.
|
|
32
|
+
* @param options Options for truncating the string.
|
|
33
|
+
* @returns Truncated string based on the {@link options}.
|
|
34
|
+
*/
|
|
35
|
+
declare function truncateString(str: string, options?: TruncateOptions): string;
|
|
28
36
|
/**
|
|
29
37
|
* * Generates a random alphanumeric (16 characters long, this length is customizable in the options) ID string composed of an optional `prefix`, `suffix`, a `timestamp`, `caseOption` and a customizable `separator`.
|
|
30
38
|
*
|
|
@@ -32,6 +40,7 @@ declare function truncateString(str: string, maxLength: number): string;
|
|
|
32
40
|
* @returns The generated ID string composed of the random alphanumeric string of specified length with optional `timeStamp`, `prefix`, and `suffix`, `caseOption` and `separator`.
|
|
33
41
|
*
|
|
34
42
|
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utils/hash/uuid uuid} for `uuid` generation
|
|
43
|
+
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utils/hash/random-numeric randomHex} for random numeric string generation
|
|
35
44
|
* @see {@link https://toolbox-x.nazmul-nhb.dev/docs/utils/hash/random-hex randomHex} for random hexadecimal string generation
|
|
36
45
|
*
|
|
37
46
|
* @example
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { F as PascalCase, G as TitleCase, H as SnakeCase, I as PascalSnakeCase, K as TrainCase, L as PathCase, N as KebabCase, V as SentenceCase, W as StringCaseOptions, g as CaseFormat, h as CapitalizeOptions, k as DotCase, m as CamelCase, u as $WidenEmpty, v as ConstantCase } from "./string-
|
|
17
|
+
import { F as PascalCase, G as TitleCase, H as SnakeCase, I as PascalSnakeCase, K as TrainCase, L as PathCase, N as KebabCase, V as SentenceCase, W as StringCaseOptions, g as CaseFormat, h as CapitalizeOptions, k as DotCase, m as CamelCase, u as $WidenEmpty, v as ConstantCase } from "./string-COB8mrdF.mjs";
|
|
18
18
|
|
|
19
19
|
//#region src/string/case.d.ts
|
|
20
20
|
/**
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { F as PascalCase, G as TitleCase, H as SnakeCase, I as PascalSnakeCase, K as TrainCase, L as PathCase, N as KebabCase, V as SentenceCase, W as StringCaseOptions, g as CaseFormat, h as CapitalizeOptions, k as DotCase, m as CamelCase, u as $WidenEmpty, v as ConstantCase } from "./string-
|
|
17
|
+
import { F as PascalCase, G as TitleCase, H as SnakeCase, I as PascalSnakeCase, K as TrainCase, L as PathCase, N as KebabCase, V as SentenceCase, W as StringCaseOptions, g as CaseFormat, h as CapitalizeOptions, k as DotCase, m as CamelCase, u as $WidenEmpty, v as ConstantCase } from "./string-s6NO_UGp.cjs";
|
|
18
18
|
|
|
19
19
|
//#region src/string/case.d.ts
|
|
20
20
|
/**
|
package/dist/change-case.d.cts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { a as toDotCase, c as toPascalSnakeCase, d as toSnakeCase, f as toTitleCase, i as toConstantCase, l as toPathCase, n as convertStringCase, o as toKebabCase, p as toTrainCase, r as toCamelCase, s as toPascalCase, t as capitalizeString, u as toSentenceCase } from "./case-
|
|
17
|
+
import { a as toDotCase, c as toPascalSnakeCase, d as toSnakeCase, f as toTitleCase, i as toConstantCase, l as toPathCase, n as convertStringCase, o as toKebabCase, p as toTrainCase, r as toCamelCase, s as toPascalCase, t as capitalizeString, u as toSentenceCase } from "./case-Ts8jV2Wz.cjs";
|
|
18
18
|
export { capitalizeString, convertStringCase, toCamelCase, toConstantCase, toDotCase, toKebabCase, toPascalCase, toPascalSnakeCase, toPathCase, toSentenceCase, toSnakeCase, toTitleCase, toTrainCase };
|
package/dist/change-case.d.mts
CHANGED
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { a as toDotCase, c as toPascalSnakeCase, d as toSnakeCase, f as toTitleCase, i as toConstantCase, l as toPathCase, n as convertStringCase, o as toKebabCase, p as toTrainCase, r as toCamelCase, s as toPascalCase, t as capitalizeString, u as toSentenceCase } from "./case-
|
|
17
|
+
import { a as toDotCase, c as toPascalSnakeCase, d as toSnakeCase, f as toTitleCase, i as toConstantCase, l as toPathCase, n as convertStringCase, o as toKebabCase, p as toTrainCase, r as toCamelCase, s as toPascalCase, t as capitalizeString, u as toSentenceCase } from "./case-C5giLKOG.mjs";
|
|
18
18
|
export { capitalizeString, convertStringCase, toCamelCase, toConstantCase, toDotCase, toKebabCase, toPascalCase, toPascalSnakeCase, toPathCase, toSentenceCase, toSnakeCase, toTitleCase, toTrainCase };
|
package/dist/colors/index.d.cts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
18
|
-
import { C as RandomColorOptions, S as RandomColor, T as SolidValues, _ as Hex, a as AlphaValues, b as RGB, g as HSLA, h as HSL, l as ColorInputArray, n as $ColorType, t as Color, v as Hex6, x as RGBA, y as Hex8 } from "../Color-
|
|
17
|
+
import { yn as Percent } from "../index-C_v1d6lq.cjs";
|
|
18
|
+
import { C as RandomColorOptions, S as RandomColor, T as SolidValues, _ as Hex, a as AlphaValues, b as RGB, g as HSLA, h as HSL, l as ColorInputArray, n as $ColorType, t as Color, v as Hex6, x as RGBA, y as Hex8 } from "../Color-CSi8fu6f.cjs";
|
|
19
19
|
|
|
20
20
|
//#region src/colors/convert.d.ts
|
|
21
21
|
/**
|
package/dist/colors/index.d.mts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
18
|
-
import { C as RandomColorOptions, S as RandomColor, T as SolidValues, _ as Hex, a as AlphaValues, b as RGB, g as HSLA, h as HSL, l as ColorInputArray, n as $ColorType, t as Color, v as Hex6, x as RGBA, y as Hex8 } from "../Color-
|
|
17
|
+
import { yn as Percent } from "../index-C_v1d6lq.mjs";
|
|
18
|
+
import { C as RandomColorOptions, S as RandomColor, T as SolidValues, _ as Hex, a as AlphaValues, b as RGB, g as HSLA, h as HSL, l as ColorInputArray, n as $ColorType, t as Color, v as Hex6, x as RGBA, y as Hex8 } from "../Color-B94hFsf4.mjs";
|
|
19
19
|
|
|
20
20
|
//#region src/colors/convert.d.ts
|
|
21
21
|
/**
|
package/dist/constants.d.cts
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { t as LOWERCASE } from "./constants-C7wERz5m.cjs";
|
|
18
|
-
import { Ci as
|
|
18
|
+
import { Ai as VEDIC_ZODIAC_SIGNS, Ci as NATIVE_TZ_IDS, Di as TIME_ZONE_LABELS, Ei as TIME_ZONE_IDS, Oi as DAYS, Si as IANA_TZ_IDS, Ti as TIME_ZONES_NATIVE, _i as CURRENCY_CODES, bi as LOCALE_CODES, hi as COUNTRIES, ji as WESTERN_ZODIAC_SIGNS, ki as MONTHS, vi as CURRENCY_LOCALES, wi as TIME_ZONES, xi as UNITS$1, yi as FRANKFURTER_CURRENCIES } from "./index-C_v1d6lq.cjs";
|
|
19
19
|
import { t as CSS_COLORS } from "./css-colors-Dqz6Bfnp.cjs";
|
|
20
20
|
import { t as UNITS } from "./constants-D8RzBjsL.cjs";
|
|
21
21
|
import { t as HTTP_STATUS_CODES } from "./constants-DNIXgBkz.cjs";
|
package/dist/constants.d.mts
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { t as LOWERCASE } from "./constants-C7wERz5m.mjs";
|
|
18
|
-
import { Ci as
|
|
18
|
+
import { Ai as VEDIC_ZODIAC_SIGNS, Ci as NATIVE_TZ_IDS, Di as TIME_ZONE_LABELS, Ei as TIME_ZONE_IDS, Oi as DAYS, Si as IANA_TZ_IDS, Ti as TIME_ZONES_NATIVE, _i as CURRENCY_CODES, bi as LOCALE_CODES, hi as COUNTRIES, ji as WESTERN_ZODIAC_SIGNS, ki as MONTHS, vi as CURRENCY_LOCALES, wi as TIME_ZONES, xi as UNITS$1, yi as FRANKFURTER_CURRENCIES } from "./index-C_v1d6lq.mjs";
|
|
19
19
|
import { t as CSS_COLORS } from "./css-colors-Dqz6Bfnp.mjs";
|
|
20
20
|
import { t as UNITS } from "./constants-D8RzBjsL.mjs";
|
|
21
21
|
import { t as HTTP_STATUS_CODES } from "./constants-DNIXgBkz.mjs";
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
18
|
-
import { C as $Length, S as $Mass, b as $Time, c as $Unit, f as Converted, t as $Area, w as $Data, x as $Temperature, y as $Volume } from "../area-
|
|
17
|
+
import { E as Numeric } from "../index-C_v1d6lq.cjs";
|
|
18
|
+
import { C as $Length, S as $Mass, b as $Time, c as $Unit, f as Converted, t as $Area, w as $Data, x as $Temperature, y as $Volume } from "../area-CQG9fGeG.cjs";
|
|
19
19
|
|
|
20
20
|
//#region src/converter/Converter.d.ts
|
|
21
21
|
/**
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
18
|
-
import { C as $Length, S as $Mass, b as $Time, c as $Unit, f as Converted, t as $Area, w as $Data, x as $Temperature, y as $Volume } from "../area-
|
|
17
|
+
import { E as Numeric } from "../index-C_v1d6lq.mjs";
|
|
18
|
+
import { C as $Length, S as $Mass, b as $Time, c as $Unit, f as Converted, t as $Area, w as $Data, x as $Temperature, y as $Volume } from "../area-XvKQTCT6.mjs";
|
|
19
19
|
|
|
20
20
|
//#region src/converter/Converter.d.ts
|
|
21
21
|
/**
|
package/dist/date/index.d.cts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
17
|
+
import { Bt as TimeZoneIdNative, E as Numeric, It as TimeWithUnit, Kt as UTCOffset, Mt as TimeOnlyFormat, Ot as RelativeDateFormatOptions, Q as DateFormatOptions, Rt as TimeZoneDetails, U as $TimeZoneIdentifier, Wt as TimestampOptions, X as ClockTime, Z as DateArgs, dt as HourMinutes, kt as SafeFormat, mt as ISODateTimeString, pt as ISODateFormat, qt as UnitWithValue, ut as GreetingConfigs, y as Maybe } from "../index-C_v1d6lq.cjs";
|
|
18
18
|
|
|
19
19
|
//#region src/date/calculation.d.ts
|
|
20
20
|
/**
|
package/dist/date/index.d.mts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
17
|
+
import { Bt as TimeZoneIdNative, E as Numeric, It as TimeWithUnit, Kt as UTCOffset, Mt as TimeOnlyFormat, Ot as RelativeDateFormatOptions, Q as DateFormatOptions, Rt as TimeZoneDetails, U as $TimeZoneIdentifier, Wt as TimestampOptions, X as ClockTime, Z as DateArgs, dt as HourMinutes, kt as SafeFormat, mt as ISODateTimeString, pt as ISODateFormat, qt as UnitWithValue, ut as GreetingConfigs, y as Maybe } from "../index-C_v1d6lq.mjs";
|
|
18
18
|
|
|
19
19
|
//#region src/date/calculation.d.ts
|
|
20
20
|
/**
|
package/dist/dom/index.cjs
CHANGED
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
18
18
|
const require_primitives = require('../primitives-CBGICrDR.cjs');
|
|
19
|
-
const require_utils = require('../utils-BxZGABHS.cjs');
|
|
20
19
|
const require_specials = require('../specials-DU8u108m.cjs');
|
|
20
|
+
const require_utils = require('../utils-BzeK3wO9.cjs');
|
|
21
21
|
const require_guards = require('../guards-DalSfIxV.cjs');
|
|
22
|
-
const require_query = require('../query-
|
|
22
|
+
const require_query = require('../query-Bo-_PC3j.cjs');
|
|
23
23
|
|
|
24
24
|
//#region src/dom/storage.ts
|
|
25
25
|
/**
|
package/dist/dom/index.d.cts
CHANGED
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
18
|
-
import { a as updateQueryParam, i as parseQueryStringLiteral, n as getQueryParams, r as parseQueryString, t as generateQueryParams } from "../query-
|
|
19
|
-
import { a as OriginFileObj, i as FormDataConfigs, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "../form-
|
|
17
|
+
import { A as Serializer, T as Nullable, Xr as GenericObject, d as Deserializer } from "../index-C_v1d6lq.cjs";
|
|
18
|
+
import { a as updateQueryParam, i as parseQueryStringLiteral, n as getQueryParams, r as parseQueryString, t as generateQueryParams } from "../query-ke72ZE4p.cjs";
|
|
19
|
+
import { a as OriginFileObj, i as FormDataConfigs, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "../form-CbfeSccF.cjs";
|
|
20
20
|
|
|
21
21
|
//#region src/dom/storage.d.ts
|
|
22
22
|
/**
|
|
@@ -26,7 +26,7 @@ import { a as OriginFileObj, i as FormDataConfigs, o as ParsedFormData, r as Fil
|
|
|
26
26
|
* @param deserialize - Optional deserializer function to convert the stored value back to type `T`. Defaults to `JSON.parse`.
|
|
27
27
|
* @returns Returns saved item from local storage if it exists with that key.
|
|
28
28
|
*/
|
|
29
|
-
declare function getFromLocalStorage<T>(key: string, deserialize?: Deserializer<T>): T
|
|
29
|
+
declare function getFromLocalStorage<T>(key: string, deserialize?: Deserializer<T>): Nullable<T>;
|
|
30
30
|
/**
|
|
31
31
|
* * Save item in local storage.
|
|
32
32
|
*
|
|
@@ -48,7 +48,7 @@ declare function removeFromLocalStorage(key: string): void;
|
|
|
48
48
|
* @param deserialize - Optional deserializer function to convert the stored value back to type `T`. Defaults to `JSON.parse`.
|
|
49
49
|
* @returns Returns saved item from session storage if it exists with that key.
|
|
50
50
|
*/
|
|
51
|
-
declare function getFromSessionStorage<T>(key: string, deserialize?: Deserializer<T>): T
|
|
51
|
+
declare function getFromSessionStorage<T>(key: string, deserialize?: Deserializer<T>): Nullable<T>;
|
|
52
52
|
/**
|
|
53
53
|
* * Save item in session storage.
|
|
54
54
|
*
|
package/dist/dom/index.d.mts
CHANGED
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
18
|
-
import { a as updateQueryParam, i as parseQueryStringLiteral, n as getQueryParams, r as parseQueryString, t as generateQueryParams } from "../query-
|
|
19
|
-
import { a as OriginFileObj, i as FormDataConfigs, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "../form-
|
|
17
|
+
import { A as Serializer, T as Nullable, Xr as GenericObject, d as Deserializer } from "../index-C_v1d6lq.mjs";
|
|
18
|
+
import { a as updateQueryParam, i as parseQueryStringLiteral, n as getQueryParams, r as parseQueryString, t as generateQueryParams } from "../query-Dh3MANjJ.mjs";
|
|
19
|
+
import { a as OriginFileObj, i as FormDataConfigs, o as ParsedFormData, r as FileUpload, s as SerializedForm, t as CustomFile } from "../form-Dd-YP3DS.mjs";
|
|
20
20
|
|
|
21
21
|
//#region src/dom/storage.d.ts
|
|
22
22
|
/**
|
|
@@ -26,7 +26,7 @@ import { a as OriginFileObj, i as FormDataConfigs, o as ParsedFormData, r as Fil
|
|
|
26
26
|
* @param deserialize - Optional deserializer function to convert the stored value back to type `T`. Defaults to `JSON.parse`.
|
|
27
27
|
* @returns Returns saved item from local storage if it exists with that key.
|
|
28
28
|
*/
|
|
29
|
-
declare function getFromLocalStorage<T>(key: string, deserialize?: Deserializer<T>): T
|
|
29
|
+
declare function getFromLocalStorage<T>(key: string, deserialize?: Deserializer<T>): Nullable<T>;
|
|
30
30
|
/**
|
|
31
31
|
* * Save item in local storage.
|
|
32
32
|
*
|
|
@@ -48,7 +48,7 @@ declare function removeFromLocalStorage(key: string): void;
|
|
|
48
48
|
* @param deserialize - Optional deserializer function to convert the stored value back to type `T`. Defaults to `JSON.parse`.
|
|
49
49
|
* @returns Returns saved item from session storage if it exists with that key.
|
|
50
50
|
*/
|
|
51
|
-
declare function getFromSessionStorage<T>(key: string, deserialize?: Deserializer<T>): T
|
|
51
|
+
declare function getFromSessionStorage<T>(key: string, deserialize?: Deserializer<T>): Nullable<T>;
|
|
52
52
|
/**
|
|
53
53
|
* * Save item in session storage.
|
|
54
54
|
*
|
package/dist/dom/index.mjs
CHANGED
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { a as isNonEmptyString, d as isString } from "../primitives-Djsevc69.mjs";
|
|
18
|
-
import { $ as trimString } from "../utils-DcRr0A7B.mjs";
|
|
19
18
|
import { j as isValidArray, v as isEmptyObject, w as isNotEmptyObject } from "../specials-krf7zsqI.mjs";
|
|
19
|
+
import { $ as trimString } from "../utils-DnyVgO8p.mjs";
|
|
20
20
|
import { t as isDateLike } from "../guards-CyOZsZ1r.mjs";
|
|
21
|
-
import { C as isValidFormData, S as isOriginFileObj, _ as isCustomFileArray, a as updateQueryParam, b as isFileOrBlob, g as isCustomFile, i as parseQueryStringLiteral, m as parseObjectValues, n as getQueryParams, r as parseQueryString, t as generateQueryParams, v as isFileArray, x as isFileUpload, y as isFileList } from "../query-
|
|
21
|
+
import { C as isValidFormData, S as isOriginFileObj, _ as isCustomFileArray, a as updateQueryParam, b as isFileOrBlob, g as isCustomFile, i as parseQueryStringLiteral, m as parseObjectValues, n as getQueryParams, r as parseQueryString, t as generateQueryParams, v as isFileArray, x as isFileUpload, y as isFileList } from "../query-CLkSagHs.mjs";
|
|
22
22
|
|
|
23
23
|
//#region src/dom/storage.ts
|
|
24
24
|
/**
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
18
|
-
import { R as QueryString } from "./string-
|
|
19
|
-
import { f as TypeOrArray } from "./array-
|
|
17
|
+
import { $r as KeyForObject, Qr as KeyForArray, S as NormalPrimitive, Vr as DotNotationKey, ni as NestedKeyString, wr as RequireExactly } from "./index-C_v1d6lq.cjs";
|
|
18
|
+
import { R as QueryString } from "./string-s6NO_UGp.cjs";
|
|
19
|
+
import { f as TypeOrArray } from "./array-DilGQJmC.cjs";
|
|
20
20
|
|
|
21
21
|
//#region src/types/form.d.ts
|
|
22
22
|
/** - Configuration options to control FormData generation behavior. */
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
18
|
-
import { R as QueryString } from "./string-
|
|
19
|
-
import { f as TypeOrArray } from "./array-
|
|
17
|
+
import { $r as KeyForObject, Qr as KeyForArray, S as NormalPrimitive, Vr as DotNotationKey, ni as NestedKeyString, wr as RequireExactly } from "./index-C_v1d6lq.mjs";
|
|
18
|
+
import { R as QueryString } from "./string-COB8mrdF.mjs";
|
|
19
|
+
import { f as TypeOrArray } from "./array-9ewbYFv0.mjs";
|
|
20
20
|
|
|
21
21
|
//#region src/types/form.d.ts
|
|
22
22
|
/** - Configuration options to control FormData generation behavior. */
|
package/dist/guards/index.cjs
CHANGED
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
18
18
|
const require_primitives = require('../primitives-CBGICrDR.cjs');
|
|
19
|
-
const require_utils = require('../utils-BxZGABHS.cjs');
|
|
20
19
|
const require_specials = require('../specials-DU8u108m.cjs');
|
|
21
|
-
const
|
|
20
|
+
const require_utils = require('../utils-BzeK3wO9.cjs');
|
|
21
|
+
const require_basics = require('../basics-BGu9ygZK.cjs');
|
|
22
22
|
const require_guards = require('../guards-CrfVwk0-.cjs');
|
|
23
23
|
const require_guards$1 = require('../guards-DalSfIxV.cjs');
|
|
24
24
|
|
package/dist/guards/index.d.cts
CHANGED
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
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 { S as isInvalidOrEmptyArray, f as isDeepEqual, v as isPrime } from "../index-
|
|
20
|
-
import { C as isURL, S as isPhoneNumber, _ as isEnvironment, a as isUUIDv4, b as isNode, c as isUUIDv7, d as isBase64, f as isBinaryString, g as isEmailArray, h as isEmail, i as isUUIDv3, l as isUUIDv8, m as isDateString, n as isUUIDv1, o as isUUIDv5, p as isBrowser, r as isUUIDv2, s as isUUIDv6, v as isHexString, w as isUUID, x as isNumericString, y as isIPAddress } from "../uuid-
|
|
17
|
+
import { Bt as TimeZoneIdNative, E as Numeric, It as TimeWithUnit, Kt as UTCOffset, M as ValidArray, S as NormalPrimitive, U as $TimeZoneIdentifier, X as ClockTime, Xr as GenericObject, b as MethodDescriptor, et as DateLike, g as GenericFn, k as Primitive, m as FalsyPrimitive, r as AsyncFunction, y as Maybe } from "../index-C_v1d6lq.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-CSi8fu6f.cjs";
|
|
19
|
+
import { S as isInvalidOrEmptyArray, f as isDeepEqual, v as isPrime } from "../index-VeKwBmaa.cjs";
|
|
20
|
+
import { C as isURL, S as isPhoneNumber, _ as isEnvironment, a as isUUIDv4, b as isNode, c as isUUIDv7, d as isBase64, f as isBinaryString, g as isEmailArray, h as isEmail, i as isUUIDv3, l as isUUIDv8, m as isDateString, n as isUUIDv1, o as isUUIDv5, p as isBrowser, r as isUUIDv2, s as isUUIDv6, v as isHexString, w as isUUID, x as isNumericString, y as isIPAddress } from "../uuid-B0xPyeI7.cjs";
|
|
21
21
|
|
|
22
22
|
//#region src/colors/guards.d.ts
|
|
23
23
|
/**
|
package/dist/guards/index.d.mts
CHANGED
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
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 { S as isInvalidOrEmptyArray, f as isDeepEqual, v as isPrime } from "../index-
|
|
20
|
-
import { C as isURL, S as isPhoneNumber, _ as isEnvironment, a as isUUIDv4, b as isNode, c as isUUIDv7, d as isBase64, f as isBinaryString, g as isEmailArray, h as isEmail, i as isUUIDv3, l as isUUIDv8, m as isDateString, n as isUUIDv1, o as isUUIDv5, p as isBrowser, r as isUUIDv2, s as isUUIDv6, v as isHexString, w as isUUID, x as isNumericString, y as isIPAddress } from "../uuid-
|
|
17
|
+
import { Bt as TimeZoneIdNative, E as Numeric, It as TimeWithUnit, Kt as UTCOffset, M as ValidArray, S as NormalPrimitive, U as $TimeZoneIdentifier, X as ClockTime, Xr as GenericObject, b as MethodDescriptor, et as DateLike, g as GenericFn, k as Primitive, m as FalsyPrimitive, r as AsyncFunction, y as Maybe } from "../index-C_v1d6lq.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-B94hFsf4.mjs";
|
|
19
|
+
import { S as isInvalidOrEmptyArray, f as isDeepEqual, v as isPrime } from "../index-Cs1P7sOW.mjs";
|
|
20
|
+
import { C as isURL, S as isPhoneNumber, _ as isEnvironment, a as isUUIDv4, b as isNode, c as isUUIDv7, d as isBase64, f as isBinaryString, g as isEmailArray, h as isEmail, i as isUUIDv3, l as isUUIDv8, m as isDateString, n as isUUIDv1, o as isUUIDv5, p as isBrowser, r as isUUIDv2, s as isUUIDv6, v as isHexString, w as isUUID, x as isNumericString, y as isIPAddress } from "../uuid-DCvH3YMX.mjs";
|
|
21
21
|
|
|
22
22
|
//#region src/colors/guards.d.ts
|
|
23
23
|
/**
|
package/dist/guards/index.mjs
CHANGED
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
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 { C as isUUIDv2, D as isUUIDv6, E as isUUIDv5, O as isUUIDv7, S as isUUIDv1, T as isUUIDv4, f as isDeepEqual, k as isUUIDv8, w as isUUIDv3 } from "../utils-DcRr0A7B.mjs";
|
|
19
18
|
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-krf7zsqI.mjs";
|
|
20
|
-
import { C as
|
|
19
|
+
import { C as isUUIDv2, D as isUUIDv6, E as isUUIDv5, O as isUUIDv7, S as isUUIDv1, T as isUUIDv4, f as isDeepEqual, k as isUUIDv8, w as isUUIDv3 } from "../utils-DnyVgO8p.mjs";
|
|
20
|
+
import { C as isOdd, S as isMultiple, b as isEven, d as isCamelCase, f as isEmojiOnly, g as isSnakeCase, h as isPascalCase, i as isInvalidOrEmptyArray, m as isPalindrome, p as isKebabCase, v as isPrime, w as isPerfectSquare, x as isFibonacci, y as areInvalidNumbers } from "../basics-Bd2mj0uG.mjs";
|
|
21
21
|
import { a as isHex8, i as isHex6, n as isHSL, o as isRGB, r as isHSLA, s as isRGBA, t as isCSSColor } from "../guards-CNG9gnvL.mjs";
|
|
22
22
|
import { a as isValidTime, i as isTimeWithUnit, n as isLeapYear, o as isValidTimeZoneId, r as isNativeTimeZoneId, s as isValidUTCOffset, t as isDateLike } from "../guards-CyOZsZ1r.mjs";
|
|
23
23
|
|
package/dist/hash/index.cjs
CHANGED
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
18
18
|
const require_primitives = require('../primitives-CBGICrDR.cjs');
|
|
19
|
-
const require_utils = require('../utils-BxZGABHS.cjs');
|
|
20
19
|
const require_specials = require('../specials-DU8u108m.cjs');
|
|
20
|
+
const require_utils = require('../utils-BzeK3wO9.cjs');
|
|
21
21
|
const require_parse = require('../parse-Dz186-PH.cjs');
|
|
22
22
|
|
|
23
23
|
//#region src/hash/Cipher.ts
|
package/dist/hash/index.d.cts
CHANGED
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import {
|
|
18
|
-
import { _ as VerifiedToken, d as SignetPayload, l as SignOptions, p as TokenString, s as DecodedToken, v as VerifyOptions } from "../hash-
|
|
19
|
-
import { a as isUUIDv4, c as isUUIDv7, i as isUUIDv3, l as isUUIDv8, n as isUUIDv1, o as isUUIDv5, r as isUUIDv2, s as isUUIDv6, t as decodeUUID, u as uuid, w as isUUID } from "../uuid-
|
|
20
|
-
import { t as generateRandomID } from "../basics-
|
|
17
|
+
import { Xr as GenericObject, y as Maybe } from "../index-C_v1d6lq.cjs";
|
|
18
|
+
import { _ as VerifiedToken, d as SignetPayload, l as SignOptions, p as TokenString, s as DecodedToken, v as VerifyOptions } from "../hash-DDlZ_kb-.cjs";
|
|
19
|
+
import { a as isUUIDv4, c as isUUIDv7, i as isUUIDv3, l as isUUIDv8, n as isUUIDv1, o as isUUIDv5, r as isUUIDv2, s as isUUIDv6, t as decodeUUID, u as uuid, w as isUUID } from "../uuid-B0xPyeI7.cjs";
|
|
20
|
+
import { t as generateRandomID } from "../basics-WMFx1CZ0.cjs";
|
|
21
21
|
|
|
22
22
|
//#region src/hash/Cipher.d.ts
|
|
23
23
|
/**
|