@rzl-zone/utils-js 3.12.1-beta.1 → 3.13.0-beta.3
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 +12 -32
- package/dist/.references/index.d.cts +1 -3
- package/dist/.references/index.d.ts +1 -3
- package/dist/{assertIsArray-bTA3XLjq.js → assertIsArray-C2rkhR9M.js} +3 -3
- package/dist/{assertIsArray-bTA3XLjq.js.map → assertIsArray-C2rkhR9M.js.map} +1 -1
- package/dist/{assertIsArray-DJXkjHZs.cjs → assertIsArray-DWsgvahU.cjs} +3 -3
- package/dist/{assertIsArray-DJXkjHZs.cjs.map → assertIsArray-DWsgvahU.cjs.map} +1 -1
- package/dist/{assertIsBoolean-C8WEXVr2.cjs → assertIsBoolean-BKcvET7Z.cjs} +2 -2
- package/dist/{assertIsBoolean-C8WEXVr2.cjs.map → assertIsBoolean-BKcvET7Z.cjs.map} +1 -1
- package/dist/{assertIsBoolean-DR1SaXPD.js → assertIsBoolean-Clc7Vw4v.js} +2 -2
- package/dist/{assertIsBoolean-DR1SaXPD.js.map → assertIsBoolean-Clc7Vw4v.js.map} +1 -1
- package/dist/{assertIsString-CEB07_83.js → assertIsString-Ddz4y81W.js} +3 -3
- package/dist/{assertIsString-CEB07_83.js.map → assertIsString-Ddz4y81W.js.map} +1 -1
- package/dist/{assertIsString-BiHQSrB2.cjs → assertIsString-DxIqUfF1.cjs} +3 -3
- package/dist/{assertIsString-BiHQSrB2.cjs.map → assertIsString-DxIqUfF1.cjs.map} +1 -1
- package/dist/assertions/index.cjs +5 -5
- package/dist/assertions/index.d.cts +2 -2
- package/dist/assertions/index.d.ts +2 -2
- package/dist/assertions/index.js +5 -5
- package/dist/conversions/index.cjs +6 -6
- package/dist/conversions/index.d.cts +2 -2
- package/dist/conversions/index.d.ts +2 -2
- package/dist/conversions/index.js +6 -6
- package/dist/{conversions-D_Kh0a_C.cjs → conversions-Bu5c_RZ9.cjs} +12 -12
- package/dist/{conversions-D_Kh0a_C.cjs.map → conversions-Bu5c_RZ9.cjs.map} +1 -1
- package/dist/{conversions-BNIh_tCH.js → conversions-DjfhrQE9.js} +12 -12
- package/dist/{conversions-BNIh_tCH.js.map → conversions-DjfhrQE9.js.map} +1 -1
- package/dist/events/index.cjs +4 -4
- package/dist/events/index.d.cts +1 -1
- package/dist/events/index.d.ts +1 -1
- package/dist/events/index.js +4 -4
- package/dist/formatters/index.cjs +2 -2
- package/dist/formatters/index.d.cts +2 -2
- package/dist/formatters/index.d.ts +2 -2
- package/dist/formatters/index.js +2 -2
- package/dist/{formatters--1m_vpE8.js → formatters-CidRTj87.js} +10 -10
- package/dist/{formatters--1m_vpE8.js.map → formatters-CidRTj87.js.map} +1 -1
- package/dist/{formatters-Cbij0XLU.cjs → formatters-DF4887ia.cjs} +10 -10
- package/dist/{formatters-Cbij0XLU.cjs.map → formatters-DF4887ia.cjs.map} +1 -1
- package/dist/generators/index.cjs +5 -5
- package/dist/generators/index.d.cts +2 -2
- package/dist/generators/index.d.ts +2 -2
- package/dist/generators/index.js +5 -5
- package/dist/{index-UPp94Agr.d.ts → index-BK86Fnvd.d.ts} +2 -2
- package/dist/{index-B6tawc8L.d.cts → index-BZMwAuLf.d.ts} +1 -1
- package/dist/{index-CeBC2Vvl.d.cts → index-BbCX319b.d.cts} +2 -2
- package/dist/{index-CgRDTI6f.d.ts → index-C02XatNH.d.ts} +2 -2
- package/dist/{index-59zbLcPr.d.ts → index-CHwf6vUh.d.ts} +1 -1
- package/dist/{index-gBA_8SuF.d.cts → index-CIBhF2hQ.d.cts} +1 -1
- package/dist/{index-jyDqzicx.d.cts → index-CWgiyaU3.d.cts} +2 -2
- package/dist/{index-D4fcasfZ.d.cts → index-CX8gCrW8.d.ts} +241 -14
- package/dist/{index-Hg1qJkjl.d.ts → index-CyZz4BHD.d.cts} +1 -1
- package/dist/{index-CoiUBVmr.d.ts → index-Cyu3Mh3N.d.cts} +241 -14
- package/dist/{index-DDrSQKIc.d.ts → index-DC7eXTo_.d.cts} +1 -1
- package/dist/{index-DsGxO31H.d.cts → index-DPBypj6v.d.ts} +1 -1
- package/dist/{index-C267akkJ.d.ts → index-Dq5vUFfH.d.ts} +1 -1
- package/dist/{index-Qm3iFwd0.d.cts → index-YeyLvCAr.d.cts} +1 -1
- package/dist/{isBigInt-C4krUeAw.cjs → isBigInt-BePsmNsm.cjs} +2 -2
- package/dist/{isBigInt-C4krUeAw.cjs.map → isBigInt-BePsmNsm.cjs.map} +1 -1
- package/dist/{isBigInt-DKe0M6hp.js → isBigInt-Cx4j_cju.js} +2 -2
- package/dist/{isBigInt-DKe0M6hp.js.map → isBigInt-Cx4j_cju.js.map} +1 -1
- package/dist/{isEmptyObject-ZkSwRC_D.cjs → isEmptyObject-DYypq92-.cjs} +3 -3
- package/dist/{isEmptyObject-ZkSwRC_D.cjs.map → isEmptyObject-DYypq92-.cjs.map} +1 -1
- package/dist/{isEmptyObject-DCipFwxJ.js → isEmptyObject-Dp4pCGTa.js} +3 -3
- package/dist/{isEmptyObject-DCipFwxJ.js.map → isEmptyObject-Dp4pCGTa.js.map} +1 -1
- package/dist/{isEmptyString-BXzKAC2j.js → isEmptyString-BXgKFQxw.js} +3 -3
- package/dist/{isEmptyString-BXzKAC2j.js.map → isEmptyString-BXgKFQxw.js.map} +1 -1
- package/dist/{isEmptyString-UiiUsSQj.cjs → isEmptyString-CzY-9G-x.cjs} +3 -3
- package/dist/{isEmptyString-UiiUsSQj.cjs.map → isEmptyString-CzY-9G-x.cjs.map} +1 -1
- package/dist/{isEmptyValue-jqOr7OHD.js → isEmptyValue-B7Zd9DI3.js} +5 -5
- package/dist/{isEmptyValue-jqOr7OHD.js.map → isEmptyValue-B7Zd9DI3.js.map} +1 -1
- package/dist/{isEmptyValue-BQzcjVaL.cjs → isEmptyValue-Ci3kVU4E.cjs} +5 -5
- package/dist/{isEmptyValue-BQzcjVaL.cjs.map → isEmptyValue-Ci3kVU4E.cjs.map} +1 -1
- package/dist/{isEqual-BvumA3RA.cjs → isEqual-Bd7mClU4.cjs} +4 -4
- package/dist/{isEqual-BvumA3RA.cjs.map → isEqual-Bd7mClU4.cjs.map} +1 -1
- package/dist/{isEqual-BX49cF9m.js → isEqual-CylDBGUr.js} +4 -4
- package/dist/{isEqual-BX49cF9m.js.map → isEqual-CylDBGUr.js.map} +1 -1
- package/dist/{isFinite-BCnaDpod.js → isFinite-CZ-Aiy4T.js} +3 -3
- package/dist/{isFinite-BCnaDpod.js.map → isFinite-CZ-Aiy4T.js.map} +1 -1
- package/dist/{isFinite-D24ZaE6c.cjs → isFinite-D8jhlqPf.cjs} +3 -3
- package/dist/{isFinite-D24ZaE6c.cjs.map → isFinite-D8jhlqPf.cjs.map} +1 -1
- package/dist/{isInteger-Caeuz0rB.cjs → isInteger-CCJhQ1Mx.cjs} +2 -2
- package/dist/{isInteger-Caeuz0rB.cjs.map → isInteger-CCJhQ1Mx.cjs.map} +1 -1
- package/dist/{isInteger-naMbJsxJ.js → isInteger-DK_0nvNU.js} +2 -2
- package/dist/{isInteger-naMbJsxJ.js.map → isInteger-DK_0nvNU.js.map} +1 -1
- package/dist/{isPlainObject-BF-2-phb.d.cts → isPlainObject-BGg8uHeL.d.cts} +1 -1
- package/dist/{isPlainObject-DxNDL8XU.d.ts → isPlainObject-DtduwtUp.d.ts} +1 -1
- package/dist/{isServer-Da3o3XSs.js → isServer-C2YtJlD1.js} +2 -2
- package/dist/{isServer-Da3o3XSs.js.map → isServer-C2YtJlD1.js.map} +1 -1
- package/dist/{isServer-BJHVnixd.cjs → isServer-CT9EkFKG.cjs} +2 -2
- package/dist/{isServer-BJHVnixd.cjs.map → isServer-CT9EkFKG.cjs.map} +1 -1
- package/dist/{isTypedArray-TJptiw2b.cjs → isTypedArray-BT7YP1S9.cjs} +3 -3
- package/dist/{isTypedArray-TJptiw2b.cjs.map → isTypedArray-BT7YP1S9.cjs.map} +1 -1
- package/dist/{isTypedArray-DuNA8tK6.js → isTypedArray-hcngU0pK.js} +3 -3
- package/dist/{isTypedArray-DuNA8tK6.js.map → isTypedArray-hcngU0pK.js.map} +1 -1
- package/dist/{isValidDomain-DoE98yhJ.js → isValidDomain-BCN5-tj9.js} +9 -6
- package/dist/isValidDomain-BCN5-tj9.js.map +1 -0
- package/dist/{isValidDomain-BB9IGhJs.cjs → isValidDomain-CXWNcRo6.cjs} +14 -5
- package/dist/isValidDomain-CXWNcRo6.cjs.map +1 -0
- package/dist/{noop-ubqAIbHD.js → noop-BDfC9Zq4.js} +2 -2
- package/dist/{noop-ubqAIbHD.js.map → noop-BDfC9Zq4.js.map} +1 -1
- package/dist/{noop-B13_ii35.cjs → noop-D4tT7tWN.cjs} +2 -2
- package/dist/{noop-B13_ii35.cjs.map → noop-D4tT7tWN.cjs.map} +1 -1
- package/dist/{normalizeSpaces-Bg2IZW7W.js → normalizeSpaces-B289eKyK.js} +3 -3
- package/dist/{normalizeSpaces-Bg2IZW7W.js.map → normalizeSpaces-B289eKyK.js.map} +1 -1
- package/dist/{normalizeSpaces-ZXnR4Qzp.cjs → normalizeSpaces-BTXDP8vZ.cjs} +3 -3
- package/dist/{normalizeSpaces-ZXnR4Qzp.cjs.map → normalizeSpaces-BTXDP8vZ.cjs.map} +1 -1
- package/dist/operations/index.cjs +7 -7
- package/dist/operations/index.d.cts +1 -1
- package/dist/operations/index.d.ts +1 -1
- package/dist/operations/index.js +7 -7
- package/dist/parsers/index.cjs +2 -2
- package/dist/parsers/index.d.cts +1 -1
- package/dist/parsers/index.d.ts +1 -1
- package/dist/parsers/index.js +2 -2
- package/dist/{parsers-OqDeffqc.cjs → parsers-5G1Lface.cjs} +4 -4
- package/dist/{parsers-OqDeffqc.cjs.map → parsers-5G1Lface.cjs.map} +1 -1
- package/dist/{parsers-BSBPgvsq.js → parsers-CNag9LsX.js} +4 -4
- package/dist/{parsers-BSBPgvsq.js.map → parsers-CNag9LsX.js.map} +1 -1
- package/dist/{parsing-DOGSCH6N.cjs → parsing-B6vxp2h8.cjs} +3 -3
- package/dist/{parsing-DOGSCH6N.cjs.map → parsing-B6vxp2h8.cjs.map} +1 -1
- package/dist/{parsing-Cao8b358.js → parsing-CobzHooQ.js} +3 -3
- package/dist/{parsing-Cao8b358.js.map → parsing-CobzHooQ.js.map} +1 -1
- package/dist/predicates/index.cjs +15 -16
- package/dist/predicates/index.d.cts +3 -3
- package/dist/predicates/index.d.ts +3 -3
- package/dist/predicates/index.js +14 -15
- package/dist/{predicates-D0ubqgqy.cjs → predicates-DlID4Pks.cjs} +13 -13
- package/dist/{predicates-D0ubqgqy.cjs.map → predicates-DlID4Pks.cjs.map} +1 -1
- package/dist/{predicates-Bj6meyXV.js → predicates-DvLryz_b.js} +11 -11
- package/dist/{predicates-Bj6meyXV.js.map → predicates-DvLryz_b.js.map} +1 -1
- package/dist/promises/index.cjs +4 -4
- package/dist/promises/index.d.cts +1 -1
- package/dist/promises/index.d.ts +1 -1
- package/dist/promises/index.js +4 -4
- package/dist/{punyCode-D-Qu6nj6.cjs → punyCode-DaBFrfga.cjs} +4 -4
- package/dist/{punyCode-D-Qu6nj6.cjs.map → punyCode-DaBFrfga.cjs.map} +1 -1
- package/dist/{punyCode-8SrbMWfM.js → punyCode-GakZYPCT.js} +4 -4
- package/dist/{punyCode-8SrbMWfM.js.map → punyCode-GakZYPCT.js.map} +1 -1
- package/dist/{removeSpaces-Bmc5DX4F.js → removeSpaces-BJ-zNnJq.js} +7 -4
- package/dist/removeSpaces-BJ-zNnJq.js.map +1 -0
- package/dist/{removeSpaces-CWIvhZHg.cjs → removeSpaces-DhJ1haaH.cjs} +12 -3
- package/dist/removeSpaces-DhJ1haaH.cjs.map +1 -0
- package/dist/rzl-utils.global.js +1 -1
- package/dist/{safeJsonParse-Sms2CJf4.cjs → safeJsonParse-DiWBPfaE.cjs} +6 -6
- package/dist/{safeJsonParse-Sms2CJf4.cjs.map → safeJsonParse-DiWBPfaE.cjs.map} +1 -1
- package/dist/{safeJsonParse-BP38mwlj.js → safeJsonParse-bcBYPjeb.js} +6 -6
- package/dist/{safeJsonParse-BP38mwlj.js.map → safeJsonParse-bcBYPjeb.js.map} +1 -1
- package/dist/{safeStableStringify-CXOZ9Ub8.js → safeStableStringify-C1SA52w7.js} +4 -4
- package/dist/{safeStableStringify-CXOZ9Ub8.js.map → safeStableStringify-C1SA52w7.js.map} +1 -1
- package/dist/{safeStableStringify-CJtP89qn.cjs → safeStableStringify-DSwcrPll.cjs} +4 -4
- package/dist/{safeStableStringify-CJtP89qn.cjs.map → safeStableStringify-DSwcrPll.cjs.map} +1 -1
- package/dist/strings/index.cjs +6 -7
- package/dist/strings/index.cjs.map +1 -1
- package/dist/strings/index.d.cts +2 -2
- package/dist/strings/index.d.ts +2 -2
- package/dist/strings/index.js +5 -6
- package/dist/strings/index.js.map +1 -1
- package/dist/tailwind/index.cjs +6 -2
- package/dist/tailwind/index.d.cts +3 -3
- package/dist/tailwind/index.d.ts +3 -3
- package/dist/tailwind/index.js +3 -3
- package/dist/{tailwind-B2ssevxq.js → tailwind-D62asDBR.js} +18 -8
- package/dist/tailwind-D62asDBR.js.map +1 -0
- package/dist/{tailwind-CHIx9uxu.cjs → tailwind-DMPTwJ0X.cjs} +39 -5
- package/dist/tailwind-DMPTwJ0X.cjs.map +1 -0
- package/dist/{toStringArrayUnRecursive-DJGtPsFb.js → toStringArrayUnRecursive-DBicbWv8.js} +6 -6
- package/dist/{toStringArrayUnRecursive-DJGtPsFb.js.map → toStringArrayUnRecursive-DBicbWv8.js.map} +1 -1
- package/dist/{toStringArrayUnRecursive-C4zYCja7.cjs → toStringArrayUnRecursive-DJ8JBO3N.cjs} +6 -6
- package/dist/{toStringArrayUnRecursive-C4zYCja7.cjs.map → toStringArrayUnRecursive-DJ8JBO3N.cjs.map} +1 -1
- package/dist/urls/index.cjs +9 -120
- package/dist/urls/index.d.cts +1 -1
- package/dist/urls/index.d.ts +1 -1
- package/dist/urls/index.js +3 -114
- package/dist/urls-DCjjZNTH.cjs +299 -0
- package/dist/urls-DCjjZNTH.cjs.map +1 -0
- package/dist/urls-DTndjYDD.js +263 -0
- package/dist/urls-DTndjYDD.js.map +1 -0
- package/package.json +3 -24
- package/dist/formatEnvPort-B3OLxQk9.cjs +0 -171
- package/dist/formatEnvPort-B3OLxQk9.cjs.map +0 -1
- package/dist/formatEnvPort-ByFVLjSV.js +0 -159
- package/dist/formatEnvPort-ByFVLjSV.js.map +0 -1
- package/dist/isURL-C-kSk6KJ.js +0 -14
- package/dist/isURL-C-kSk6KJ.js.map +0 -1
- package/dist/isURL-DeUPO_oR.cjs +0 -20
- package/dist/isURL-DeUPO_oR.cjs.map +0 -1
- package/dist/isValidDomain-BB9IGhJs.cjs.map +0 -1
- package/dist/isValidDomain-DoE98yhJ.js.map +0 -1
- package/dist/next/index.cjs +0 -129
- package/dist/next/index.cjs.map +0 -1
- package/dist/next/index.d.cts +0 -220
- package/dist/next/index.d.ts +0 -220
- package/dist/next/index.js +0 -124
- package/dist/next/index.js.map +0 -1
- package/dist/next/server/index.cjs +0 -28
- package/dist/next/server/index.cjs.map +0 -1
- package/dist/next/server/index.d.cts +0 -39
- package/dist/next/server/index.d.ts +0 -39
- package/dist/next/server/index.js +0 -26
- package/dist/next/server/index.js.map +0 -1
- package/dist/normalizeString-BDdkaXui.js +0 -15
- package/dist/normalizeString-BDdkaXui.js.map +0 -1
- package/dist/normalizeString-BE6ELqEb.cjs +0 -21
- package/dist/normalizeString-BE6ELqEb.cjs.map +0 -1
- package/dist/removeSpaces-Bmc5DX4F.js.map +0 -1
- package/dist/removeSpaces-CWIvhZHg.cjs.map +0 -1
- package/dist/tailwind-B2ssevxq.js.map +0 -1
- package/dist/tailwind-CHIx9uxu.cjs.map +0 -1
- package/dist/urls/index.cjs.map +0 -1
- package/dist/urls/index.js.map +0 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
</a>
|
|
5
5
|
</div>
|
|
6
6
|
|
|
7
|
-
<h1 align="center"><strong>Utils
|
|
7
|
+
<h1 align="center"><strong>Utils-JS</strong></h1>
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
10
|
<i>
|
|
@@ -50,7 +50,6 @@
|
|
|
50
50
|
- 💻 [Requirements](#requirements)
|
|
51
51
|
- ⚙️ [Installation](#installation)
|
|
52
52
|
- ✨ [Features](#features)
|
|
53
|
-
- 🧬 [NextJS Support](#nextjs-support)
|
|
54
53
|
- 💎 [Detailed Features](#detailed-features)
|
|
55
54
|
- [Full Documentation](#detailed-features--full-documentation)
|
|
56
55
|
- [CDN Usage](#detailed-features--cdn-usage)
|
|
@@ -68,13 +67,10 @@
|
|
|
68
67
|
<h2 id="requirements">💻 <strong>Requirements</strong></h2>
|
|
69
68
|
|
|
70
69
|
- **Node.js `≥18.18.0`**
|
|
71
|
-
This package leverages modern JavaScript & TypeScript features that require Node.js version 18.18.0
|
|
72
|
-
- 🔗 See official Next.js documentation:
|
|
73
|
-
<a href="https://nextjs.org/docs/getting-started/installation#system-requirements" target="_blank" rel="nofollow noreferrer noopener"><i><strong>NextJS System Requirements</strong></i></a>.
|
|
70
|
+
This package leverages modern JavaScript & TypeScript features that require Node.js version 18.18.0.
|
|
74
71
|
|
|
75
72
|
- **Works with:**
|
|
76
|
-
- ✅ Node.js (18.18.0+)
|
|
77
|
-
- ✅ Node.js (20.9.0, or higher depending on NextJS version) - ***With NextJS***.
|
|
73
|
+
- ✅ Node.js (18.18.0+).
|
|
78
74
|
- ✅ Modern browsers (via **ESM-compatible** bundlers such as [`Webpack`](https://webpack.js.org/), [`Turbopack`](https://vercel.com/blog/turbopack), [`Rollup`](https://rollupjs.org/), [`esbuild`](https://esbuild.github.io/), and higher-level tools like [`Vite`](https://vite.dev/), [`tsup`](https://tsup.egoist.dev/), and [`tsdown`](https://tsdown.dev/)).
|
|
79
75
|
|
|
80
76
|
- **TypeScript Build Info:**
|
|
@@ -117,29 +113,17 @@ pnpm add @rzl-zone/utils-js@latest
|
|
|
117
113
|
- ⚡ Small, tree-shakable & fast.
|
|
118
114
|
- 📦 Works in **Node.js** & modern browsers.
|
|
119
115
|
- ❤️ Simple API, easy to extend.
|
|
120
|
-
- 🧬 **Next.js support**: helpers for dynamic routes, building URLs, reading env, extracting client IP.
|
|
121
116
|
|
|
122
117
|
---
|
|
123
118
|
|
|
124
119
|
<h2 id="nextjs-support">🧬 <strong>Next.js Support</strong></h2>
|
|
125
120
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
[**Read More Docs**](https://github.com/rzl-zone/rzl-zone/blob/main/packages/utils-js/docs/next-js/global.md#docs-sub-main--title)
|
|
134
|
-
|
|
135
|
-
---
|
|
136
|
-
|
|
137
|
-
- <h4 id="nextjs-support--server-only"><strong><code>@rzl-zone/utils-js/next/server</code></strong></h4>
|
|
138
|
-
Utilities meant to run in Next.js server-only contexts (like middleware or server actions) for tasks such as extracting real client IPs.
|
|
139
|
-
|
|
140
|
-
> ⚠️ Will throw Error if used outside a ***Next.js* server environment**.
|
|
141
|
-
|
|
142
|
-
[**Read More Docs**](https://github.com/rzl-zone/rzl-zone/blob/main/packages/utils-js/docs/next-js/server-only.md#docs-sub-main--title)
|
|
121
|
+
> ⚠️ Starting from version `3.13.0`, the following Next.js entry points were removed from `@rzl-zone/utils-js` and migrated into the dedicated package <a href="https://www.npmjs.com/package/@rzl-zone/next-kit" target="_blank" rel="nofollow noreferrer noopener"><code>@rzl-zone/next-kit</code></a>.
|
|
122
|
+
>
|
|
123
|
+
> Migrated entry points:
|
|
124
|
+
>
|
|
125
|
+
> - `@rzl-zone/utils-js/next` → `@rzl-zone/next-kit/utils`
|
|
126
|
+
> - `@rzl-zone/utils-js/next/server` → `@rzl-zone/next-kit/utils/server`
|
|
143
127
|
|
|
144
128
|
---
|
|
145
129
|
|
|
@@ -160,8 +144,6 @@ pnpm add @rzl-zone/utils-js@latest
|
|
|
160
144
|
import { /* … */ } from "@rzl-zone/utils-js/events";
|
|
161
145
|
import { /* … */ } from "@rzl-zone/utils-js/formatters";
|
|
162
146
|
import { /* … */ } from "@rzl-zone/utils-js/generators";
|
|
163
|
-
import { /* … */ } from "@rzl-zone/utils-js/next";
|
|
164
|
-
import { /* … */ } from "@rzl-zone/utils-js/next/server";
|
|
165
147
|
import { /* … */ } from "@rzl-zone/utils-js/operations";
|
|
166
148
|
import { /* … */ } from "@rzl-zone/utils-js/parsers";
|
|
167
149
|
import { /* … */ } from "@rzl-zone/utils-js/predicates";
|
|
@@ -171,9 +153,7 @@ pnpm add @rzl-zone/utils-js@latest
|
|
|
171
153
|
import { /* … */ } from "@rzl-zone/utils-js/urls";
|
|
172
154
|
```
|
|
173
155
|
|
|
174
|
-
#### Place your cursor inside `{ }` or right after the package path `@rzl-zone/utils-js/<put-cursor-here>`, then press Ctrl+Space (Windows/Linux) or Cmd+Space (macOS), or use your editor’s autocomplete shortcut, to see all available functions and types with full TSDoc hints.
|
|
175
|
-
|
|
176
|
-
> ***⚠️ Note:*** Starting from version `3.4.0+`, the extra TypeScript types (e.g., `OmitStrict`, `PartialOnly`, etc), have been removed from the package, to use them, you now need to install **[`@rzl-zone/ts-types-plus`](https://www.npmjs.com/package/@rzl-zone/ts-types-plus)** separately.
|
|
156
|
+
#### Place your cursor inside `{ }` or right after the package path `@rzl-zone/utils-js/<put-cursor-here>`, then press Ctrl+Space (Windows/Linux) or Cmd+Space (macOS), or use your editor’s autocomplete shortcut, to see all available functions and types with full TSDoc hints.
|
|
177
157
|
|
|
178
158
|
---
|
|
179
159
|
|
|
@@ -196,9 +176,9 @@ pnpm add @rzl-zone/utils-js@latest
|
|
|
196
176
|
> ⚠️ **Note:**
|
|
197
177
|
> When using the library via CDN in the browser:
|
|
198
178
|
>
|
|
199
|
-
> - Always include first the
|
|
179
|
+
> - Always include first the `<script/>` tag before your own scripts when using the CDN version.
|
|
200
180
|
> - Some Node.js-specific utilities may **not** be available, e.g.:
|
|
201
|
-
> - Category utils of `tailwind
|
|
181
|
+
> - Category utils of `tailwind`.
|
|
202
182
|
> - Server-only features (like Next.js helpers) will **not** be available.
|
|
203
183
|
> - The global object provided is `RzlUtilsJs`.
|
|
204
184
|
> - The CDN bundle is **~370KB+ minified**, for production, consider using bundlers or npm packages for smaller size and tree-shaking.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* ========================================================================
|
|
3
3
|
* @rzl-zone/utils-js
|
|
4
4
|
* ------------------------------------------------------------------------
|
|
5
|
-
* Version: `3.
|
|
5
|
+
* Version: `3.13.0-beta.3`
|
|
6
6
|
* Author: `Rizalvin Dwiky <rizalvindwiky@gmail.com>`
|
|
7
7
|
* Repository: `https://github.com/rzl-zone/rzl-zone/tree/main/packages/utils-js`
|
|
8
8
|
* ========================================================================
|
|
@@ -14,8 +14,6 @@
|
|
|
14
14
|
/// <reference path="../events/index.d.cts" />
|
|
15
15
|
/// <reference path="../formatters/index.d.cts" />
|
|
16
16
|
/// <reference path="../generators/index.d.cts" />
|
|
17
|
-
/// <reference path="../next/index.d.cts" />
|
|
18
|
-
/// <reference path="../next/server/index.d.cts" />
|
|
19
17
|
/// <reference path="../operations/index.d.cts" />
|
|
20
18
|
/// <reference path="../parsers/index.d.cts" />
|
|
21
19
|
/// <reference path="../predicates/index.d.cts" />
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* ========================================================================
|
|
3
3
|
* @rzl-zone/utils-js
|
|
4
4
|
* ------------------------------------------------------------------------
|
|
5
|
-
* Version: `3.
|
|
5
|
+
* Version: `3.13.0-beta.3`
|
|
6
6
|
* Author: `Rizalvin Dwiky <rizalvindwiky@gmail.com>`
|
|
7
7
|
* Repository: `https://github.com/rzl-zone/rzl-zone/tree/main/packages/utils-js`
|
|
8
8
|
* ========================================================================
|
|
@@ -14,8 +14,6 @@
|
|
|
14
14
|
/// <reference path="../events/index.d.ts" />
|
|
15
15
|
/// <reference path="../formatters/index.d.ts" />
|
|
16
16
|
/// <reference path="../generators/index.d.ts" />
|
|
17
|
-
/// <reference path="../next/index.d.ts" />
|
|
18
|
-
/// <reference path="../next/server/index.d.ts" />
|
|
19
17
|
/// <reference path="../operations/index.d.ts" />
|
|
20
18
|
/// <reference path="../parsers/index.d.ts" />
|
|
21
19
|
/// <reference path="../predicates/index.d.ts" />
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* ========================================================================
|
|
3
3
|
* @rzl-zone/utils-js
|
|
4
4
|
* ------------------------------------------------------------------------
|
|
5
|
-
* Version: `3.
|
|
5
|
+
* Version: `3.13.0-beta.3`
|
|
6
6
|
* Author: `Rizalvin Dwiky <rizalvindwiky@gmail.com>`
|
|
7
7
|
* Repository: `https://github.com/rzl-zone/rzl-zone/tree/main/packages/utils-js`
|
|
8
8
|
* ========================================================================
|
|
9
9
|
*/
|
|
10
|
-
import { M as isArray, n as resolveErrorMessageAssertions } from "./assertIsBoolean-
|
|
10
|
+
import { M as isArray, n as resolveErrorMessageAssertions } from "./assertIsBoolean-Clc7Vw4v.js";
|
|
11
11
|
function assertIsArray(value, options) {
|
|
12
12
|
if (isArray(value)) return;
|
|
13
13
|
resolveErrorMessageAssertions({
|
|
@@ -17,4 +17,4 @@ function assertIsArray(value, options) {
|
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
19
|
export { assertIsArray as t };
|
|
20
|
-
//# sourceMappingURL=assertIsArray-
|
|
20
|
+
//# sourceMappingURL=assertIsArray-C2rkhR9M.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assertIsArray-
|
|
1
|
+
{"version":3,"file":"assertIsArray-C2rkhR9M.js","names":[],"sources":["../src/assertions/objects/assertIsArray.ts"],"sourcesContent":["import type {\n IsArray,\n IsReadonlyArray,\n IsUnknown\n} from \"@rzl-zone/ts-types-plus\";\nimport type { ArrayFallback } from \"@/_private/types.arrays\";\n\nimport { isArray } from \"@/predicates/is/isArray\";\n\nimport {\n resolveErrorMessageAssertions,\n type OptionsAssertIs\n} from \"../_private/assertIs\";\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\ntype AssertIsArrayResult<T> =\n IsUnknown<T> extends true\n ? unknown[] & T\n : IsReadonlyArray<T> extends true\n ? T\n : T extends []\n ? T\n : IsArray<T> extends true\n ? T\n : Extract<T, unknown[] | [] | readonly []>;\n\n/** -------------------------------------------------------\n * * ***Type guard assertion: `assertIsArray`.***\n * -------------------------------------------------------\n * **This function is an **assertion function**.**\n * - **Behavior:**\n * - Validates that the given `value` is an **array**.\n * - After it returns successfully, TypeScript narrows the type of `value` to `array` **(generic support)**.\n * - ✅ If `value` is an `array` ➔ execution continues normally.\n * - ❌ If `value` is not an `array` ➔ throws a built-in error with either:\n * - A custom error message (`options.message`), or\n * - A default message including the actual type.\n * - **⚠️ Error type selection (`options.errorType`):**\n * - You can override the type of error thrown when validation fails.\n * - Must be one of the standard JavaScript built-in errors:\n * - [`TypeError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError) |\n * [`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) |\n * [`EvalError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError) |\n * [`RangeError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError) |\n * [`ReferenceError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError) |\n * [`SyntaxError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError) |\n * [`URIError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError)\n * - **Default:** `\"TypeError\"` if not provided or invalid.\n * @template T - The input type being asserted.\n * @param {*} value - ***The value to validate.***\n * @param {OptionsAssertIs} [options]\n * ***Optional configuration:***\n * - `message`: A custom error message (`string` or `function`).\n * - `errorType`: Built-in JavaScript error type to throw on failure (default `\"TypeError\"`).\n * - `formatCase`: Controls how detected type names are formatted case in error messages.\n * - `useAcronyms`: Control uppercase preservation of recognized acronyms during formatting.\n * @returns {boolean} Narrows `value` to an `array` **(generic support)** if no error is thrown.\n * @throws [`TypeError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError) | [`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) | [`EvalError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError) | [`RangeError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError) | [`ReferenceError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError) | [`SyntaxError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError) | [`URIError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError) if the value is not an array.\n * @example\n * ```ts\n * // ✅ Simple usage\n * assertIsArray([]);\n * assertIsArray([\"123\", 456]);\n * assertIsArray(Array.from([\"abc\"]));\n * // No error, value is array\n *\n * // ❌ Throws TypeError (default behavior)\n * // Case 1: Invalid input type — received a string instead of a array\n * assertIsArray(\"42\");\n * // ➔ TypeError: \"Parameter input (`value`) must be of type `array`, but received: `string`.\"\n *\n * // ❌ Throws custom error type (e.g., RangeError)\n * assertIsArray(async function () {}, { errorType: \"RangeError\" });\n * // ➔ RangeError: \"Parameter input (`value`) must be of type `array`, but received: `async-function`.\"\n *\n * // ❌ Throws a TypeError with a custom string static message\n * assertIsArray(\"123\", { message: \"Must be a array!\" });\n * // ➔ TypeError: \"Must be a array!\"\n *\n * // ❌ Throws a TypeError with a custom message function and formatCase\n * assertIsArray(/regex/, {\n * message: ({ currentType, validType }) => {\n * return `Expected ${validType} but got (${currentType}).`\n * },\n * formatCase: \"toPascalCaseSpace\"\n * });\n * // ➔ TypeError: \"Expected array but got (Reg Exp).\"\n *\n * // ❌ Throws a TypeError with a custom useAcronyms option\n * // Case 1:\n * assertIsArray(new URL(\"https://example.com\"),{\n * message: ({ currentType, validType }) => {\n * return `Expected ${validType} but got (${currentType}).`\n * },\n * });\n * // ➔ TypeError: \"Expected array but got (url).\"\n * assertIsArray(new URL(\"https://example.com\"), {\n * useAcronyms: true,\n * message: ({ currentType, validType }) => {\n * return `Expected ${validType} but got (${currentType}).`\n * },\n * });\n * // ➔ TypeError: \"Expected array but got (URL).\"\n *\n * // Case 2:\n * assertIsArray(new URLSearchParams, {\n * formatCase: \"toPascalCase\",\n * message: ({ currentType, validType }) => {\n * return `Expected ${validType} but got (${currentType}).`\n * },\n * });\n * // ➔ TypeError: \"Expected array but got (UrlSearchParams).\"\n * assertIsArray(new URLSearchParams, {\n * useAcronyms: true,\n * formatCase: \"toPascalCase\",\n * message: ({ currentType, validType }) => {\n * return `Expected ${validType} but got (${currentType}).`\n * },\n * });\n * // ➔ TypeError: \"Expected array but got (URLSearchParams).\"\n * ```\n * -------------------------------------------------------\n * ✅ ***Real-world usage example***:\n * ```ts\n * const mixedValue: string | number[] | undefined = getUserInput();\n *\n * // Runtime assertion: throws if `mixedValue` is not a `number[]`\n * assertIsArray(mixedValue, {\n * errorType: \"RangeError\",\n * message: \"Must be array!\"\n * });\n *\n * // ✅ If no error thrown, TypeScript narrows `mixedValue` to `number[]` here\n * const result: number[] = mixedValue; // ➔ Safe type assignment\n * console.log(result.push(1, 2, 3)); // ➔ Safe to use array methods\n * ```\n */\nexport function assertIsArray(\n value: [],\n options?: OptionsAssertIs\n): asserts value is [];\nexport function assertIsArray<T>(\n value: T,\n options?: OptionsAssertIs\n): asserts value is ArrayFallback<T>;\nexport function assertIsArray(\n value: unknown,\n options?: OptionsAssertIs\n): asserts value is unknown[];\nexport function assertIsArray<T>(value: T, options?: OptionsAssertIs) {\n if (isArray(value)) return;\n\n resolveErrorMessageAssertions({ value, options, requiredValidType: \"array\" });\n}\n"],"mappings":";;;;;;;;;;;;;AAqJA,SAAgB,cAAiB,OAAU,SAA2B;CACpE,IAAI,QAAQ,MAAM,EAAE;CAEpB,8BAA8B;EAAE;EAAO;EAAS,mBAAmB;EAAS,CAAC"}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* ========================================================================
|
|
3
3
|
* @rzl-zone/utils-js
|
|
4
4
|
* ------------------------------------------------------------------------
|
|
5
|
-
* Version: `3.
|
|
5
|
+
* Version: `3.13.0-beta.3`
|
|
6
6
|
* Author: `Rizalvin Dwiky <rizalvindwiky@gmail.com>`
|
|
7
7
|
* Repository: `https://github.com/rzl-zone/rzl-zone/tree/main/packages/utils-js`
|
|
8
8
|
* ========================================================================
|
|
9
9
|
*/
|
|
10
10
|
"use strict";
|
|
11
|
-
const require_assertIsBoolean = require('./assertIsBoolean-
|
|
11
|
+
const require_assertIsBoolean = require('./assertIsBoolean-BKcvET7Z.cjs');
|
|
12
12
|
function assertIsArray(value, options) {
|
|
13
13
|
if (require_assertIsBoolean.isArray(value)) return;
|
|
14
14
|
require_assertIsBoolean.resolveErrorMessageAssertions({
|
|
@@ -23,4 +23,4 @@ Object.defineProperty(exports, 'assertIsArray', {
|
|
|
23
23
|
return assertIsArray;
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
|
-
//# sourceMappingURL=assertIsArray-
|
|
26
|
+
//# sourceMappingURL=assertIsArray-DWsgvahU.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assertIsArray-
|
|
1
|
+
{"version":3,"file":"assertIsArray-DWsgvahU.cjs","names":["isArray"],"sources":["../src/assertions/objects/assertIsArray.ts"],"sourcesContent":["import type {\n IsArray,\n IsReadonlyArray,\n IsUnknown\n} from \"@rzl-zone/ts-types-plus\";\nimport type { ArrayFallback } from \"@/_private/types.arrays\";\n\nimport { isArray } from \"@/predicates/is/isArray\";\n\nimport {\n resolveErrorMessageAssertions,\n type OptionsAssertIs\n} from \"../_private/assertIs\";\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\ntype AssertIsArrayResult<T> =\n IsUnknown<T> extends true\n ? unknown[] & T\n : IsReadonlyArray<T> extends true\n ? T\n : T extends []\n ? T\n : IsArray<T> extends true\n ? T\n : Extract<T, unknown[] | [] | readonly []>;\n\n/** -------------------------------------------------------\n * * ***Type guard assertion: `assertIsArray`.***\n * -------------------------------------------------------\n * **This function is an **assertion function**.**\n * - **Behavior:**\n * - Validates that the given `value` is an **array**.\n * - After it returns successfully, TypeScript narrows the type of `value` to `array` **(generic support)**.\n * - ✅ If `value` is an `array` ➔ execution continues normally.\n * - ❌ If `value` is not an `array` ➔ throws a built-in error with either:\n * - A custom error message (`options.message`), or\n * - A default message including the actual type.\n * - **⚠️ Error type selection (`options.errorType`):**\n * - You can override the type of error thrown when validation fails.\n * - Must be one of the standard JavaScript built-in errors:\n * - [`TypeError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError) |\n * [`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) |\n * [`EvalError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError) |\n * [`RangeError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError) |\n * [`ReferenceError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError) |\n * [`SyntaxError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError) |\n * [`URIError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError)\n * - **Default:** `\"TypeError\"` if not provided or invalid.\n * @template T - The input type being asserted.\n * @param {*} value - ***The value to validate.***\n * @param {OptionsAssertIs} [options]\n * ***Optional configuration:***\n * - `message`: A custom error message (`string` or `function`).\n * - `errorType`: Built-in JavaScript error type to throw on failure (default `\"TypeError\"`).\n * - `formatCase`: Controls how detected type names are formatted case in error messages.\n * - `useAcronyms`: Control uppercase preservation of recognized acronyms during formatting.\n * @returns {boolean} Narrows `value` to an `array` **(generic support)** if no error is thrown.\n * @throws [`TypeError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError) | [`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) | [`EvalError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError) | [`RangeError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError) | [`ReferenceError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError) | [`SyntaxError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError) | [`URIError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError) if the value is not an array.\n * @example\n * ```ts\n * // ✅ Simple usage\n * assertIsArray([]);\n * assertIsArray([\"123\", 456]);\n * assertIsArray(Array.from([\"abc\"]));\n * // No error, value is array\n *\n * // ❌ Throws TypeError (default behavior)\n * // Case 1: Invalid input type — received a string instead of a array\n * assertIsArray(\"42\");\n * // ➔ TypeError: \"Parameter input (`value`) must be of type `array`, but received: `string`.\"\n *\n * // ❌ Throws custom error type (e.g., RangeError)\n * assertIsArray(async function () {}, { errorType: \"RangeError\" });\n * // ➔ RangeError: \"Parameter input (`value`) must be of type `array`, but received: `async-function`.\"\n *\n * // ❌ Throws a TypeError with a custom string static message\n * assertIsArray(\"123\", { message: \"Must be a array!\" });\n * // ➔ TypeError: \"Must be a array!\"\n *\n * // ❌ Throws a TypeError with a custom message function and formatCase\n * assertIsArray(/regex/, {\n * message: ({ currentType, validType }) => {\n * return `Expected ${validType} but got (${currentType}).`\n * },\n * formatCase: \"toPascalCaseSpace\"\n * });\n * // ➔ TypeError: \"Expected array but got (Reg Exp).\"\n *\n * // ❌ Throws a TypeError with a custom useAcronyms option\n * // Case 1:\n * assertIsArray(new URL(\"https://example.com\"),{\n * message: ({ currentType, validType }) => {\n * return `Expected ${validType} but got (${currentType}).`\n * },\n * });\n * // ➔ TypeError: \"Expected array but got (url).\"\n * assertIsArray(new URL(\"https://example.com\"), {\n * useAcronyms: true,\n * message: ({ currentType, validType }) => {\n * return `Expected ${validType} but got (${currentType}).`\n * },\n * });\n * // ➔ TypeError: \"Expected array but got (URL).\"\n *\n * // Case 2:\n * assertIsArray(new URLSearchParams, {\n * formatCase: \"toPascalCase\",\n * message: ({ currentType, validType }) => {\n * return `Expected ${validType} but got (${currentType}).`\n * },\n * });\n * // ➔ TypeError: \"Expected array but got (UrlSearchParams).\"\n * assertIsArray(new URLSearchParams, {\n * useAcronyms: true,\n * formatCase: \"toPascalCase\",\n * message: ({ currentType, validType }) => {\n * return `Expected ${validType} but got (${currentType}).`\n * },\n * });\n * // ➔ TypeError: \"Expected array but got (URLSearchParams).\"\n * ```\n * -------------------------------------------------------\n * ✅ ***Real-world usage example***:\n * ```ts\n * const mixedValue: string | number[] | undefined = getUserInput();\n *\n * // Runtime assertion: throws if `mixedValue` is not a `number[]`\n * assertIsArray(mixedValue, {\n * errorType: \"RangeError\",\n * message: \"Must be array!\"\n * });\n *\n * // ✅ If no error thrown, TypeScript narrows `mixedValue` to `number[]` here\n * const result: number[] = mixedValue; // ➔ Safe type assignment\n * console.log(result.push(1, 2, 3)); // ➔ Safe to use array methods\n * ```\n */\nexport function assertIsArray(\n value: [],\n options?: OptionsAssertIs\n): asserts value is [];\nexport function assertIsArray<T>(\n value: T,\n options?: OptionsAssertIs\n): asserts value is ArrayFallback<T>;\nexport function assertIsArray(\n value: unknown,\n options?: OptionsAssertIs\n): asserts value is unknown[];\nexport function assertIsArray<T>(value: T, options?: OptionsAssertIs) {\n if (isArray(value)) return;\n\n resolveErrorMessageAssertions({ value, options, requiredValidType: \"array\" });\n}\n"],"mappings":";;;;;;;;;;;;;AAqJA,SAAgB,cAAiB,OAAU,SAA2B;CACpE,IAAIA,gCAAQ,MAAM,EAAE;CAEpB,sDAA8B;EAAE;EAAO;EAAS,mBAAmB;EAAS,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* ========================================================================
|
|
3
3
|
* @rzl-zone/utils-js
|
|
4
4
|
* ------------------------------------------------------------------------
|
|
5
|
-
* Version: `3.
|
|
5
|
+
* Version: `3.13.0-beta.3`
|
|
6
6
|
* Author: `Rizalvin Dwiky <rizalvindwiky@gmail.com>`
|
|
7
7
|
* Repository: `https://github.com/rzl-zone/rzl-zone/tree/main/packages/utils-js`
|
|
8
8
|
* ========================================================================
|
|
@@ -1280,4 +1280,4 @@ Object.defineProperty(exports, 'toSnakeCase', {
|
|
|
1280
1280
|
return toSnakeCase;
|
|
1281
1281
|
}
|
|
1282
1282
|
});
|
|
1283
|
-
//# sourceMappingURL=assertIsBoolean-
|
|
1283
|
+
//# sourceMappingURL=assertIsBoolean-BKcvET7Z.cjs.map
|