@js-utils-kit/valid 1.0.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- let e=require(`@js-utils-kit/types`);function t(e){return/[\p{P}]$/u.test(e)}function n(e){return/\s/.test(e)}function r(e){return/^[a-zA-Z]+$/.test(e)}function i(e){return e!=null}function a(e){return i(e)&&Array.isArray(e)}function o(){return typeof window<`u`&&window.document!==void 0}function s(e){return/^[a-z][a-zA-Z0-9]*$/.test(e)}function c(){return process.env.NODE_ENV===e.Environment.DEV}function l(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);if(e.length>254)return!1;let t=e.split(`@`);if(t.length!==2)return!1;let[n,r]=t;return n.length===0||n.length>64||r.length===0||r.length>255?!1:!(!/^[a-zA-Z0-9_%+-]+(\.[a-zA-Z0-9_%+-]+)*$/.test(n)||!/^(?!.*\.\.)(?!-)[A-Za-z0-9-]{1,63}(?<!-)(\.[A-Za-z0-9-]{1,63}(?<!-))*\.[A-Za-z]{2,}$/.test(r))}function u(e){return typeof e==`object`&&!!e&&Object.keys(e).length===0&&!a(e)}function d(e){return/^[a-z0-9]+(-[a-z0-9]+)*$/.test(e)}function f(e){return/^[a-z]+$/.test(e)}function p(){return typeof process<`u`&&process.versions!==null&&process.versions.node!==null}function m(e){return typeof e==`object`&&!!e&&Object.keys(e).length>0&&!a(e)}function h(e){return e!=null&&typeof e==`string`}function g(e,t=!0){return h(e)?typeof e==`string`&&(t?e.trim().length>0:e.length>0):!1}function _(e){return!isNaN(Number(e))&&!isNaN(parseFloat(e))}function v(e){return i(e)&&typeof e==`object`&&!a(e)&&Object.getPrototypeOf(e)===Object.prototype}function y(e){return/^[A-Z][a-zA-Z0-9]*$/.test(e)}function b(){return process.env.NODE_ENV===e.Environment.PROD}function x(e){return/^[a-z0-9]+(_[a-z0-9]+)*$/.test(e)}function S(){return process.env.NODE_ENV===e.Environment.TEST}function C(e){return e==null}function w(e){return/^[A-Z]+$/.test(e)}function T(e){try{return new URL(e),!0}catch{return!1}}function E(e){return/^[A-Z]/.test(e)}exports.endsWithPunctuation=t,exports.hasWhitespace=n,exports.isAlphabetic=r,exports.isArray=a,exports.isBrowser=o,exports.isCamelCase=s,exports.isDefined=i,exports.isDev=c,exports.isEmail=l,exports.isEmptyObject=u,exports.isKebabCase=d,exports.isLowerCase=f,exports.isNode=p,exports.isNonEmptyObject=m,exports.isNonEmptyString=g,exports.isNumericString=_,exports.isObject=v,exports.isPascalCase=y,exports.isProd=b,exports.isSnakeCase=x,exports.isString=h,exports.isTest=S,exports.isURL=T,exports.isUndefinedOrNull=C,exports.isUpperCase=w,exports.startsWithUppercase=E,Object.keys(e).forEach(function(t){t!==`default`&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
1
+ let e=require(`@js-utils-kit/types`);function t(e){return/[\p{P}]$/u.test(e)}function n(e){return/\s/.test(e)}function r(e){return/^[a-zA-Z]+$/.test(e)}function i(e){return e!=null}function a(e){return i(e)&&Array.isArray(e)}function o(){return typeof window<`u`&&window.document!==void 0}function s(e){return/^[a-z][a-zA-Z0-9]*$/.test(e)}function c(){return process.env.NODE_ENV===e.Environment.DEV}function l(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);if(e.length>254)return!1;let t=e.split(`@`);if(t.length!==2)return!1;let[n,r]=t;return n.length===0||n.length>64||r.length===0||r.length>255?!1:!(!/^[a-zA-Z0-9_%+-]+(\.[a-zA-Z0-9_%+-]+)*$/.test(n)||!/^(?!.*\.\.)(?!-)[A-Za-z0-9-]{1,63}(?<!-)(\.[A-Za-z0-9-]{1,63}(?<!-))*\.[A-Za-z]{2,}$/.test(r))}function u(e){return e==null?!0:typeof e==`string`?e.trim().length===0:Array.isArray(e)?e.length===0:e instanceof Map||e instanceof Set?e.size===0:Object.prototype.toString.call(e)===`[object Object]`?Object.keys(e).length===0:!1}function d(e){return typeof e==`object`&&!!e&&Object.keys(e).length===0&&!a(e)}function f(e){return!e}function p(e){return/^[a-z0-9]+(-[a-z0-9]+)*$/.test(e)}function m(e){return/^[a-z]+$/.test(e)}function h(){return typeof process<`u`&&process.versions!==null&&process.versions.node!==null}function g(e){return typeof e==`object`&&!!e&&Object.keys(e).length>0&&!a(e)}function _(e){return e!=null&&typeof e==`string`}function v(e,t=!0){return _(e)?typeof e==`string`&&(t?e.trim().length>0:e.length>0):!1}function y(e){return!isNaN(Number(e))&&!isNaN(parseFloat(e))}function b(e){return i(e)&&typeof e==`object`&&!a(e)&&Object.getPrototypeOf(e)===Object.prototype}function x(e){return/^[A-Z][a-zA-Z0-9]*$/.test(e)}function S(){return process.env.NODE_ENV===e.Environment.PROD}function C(e){return/^[a-z0-9]+(_[a-z0-9]+)*$/.test(e)}function w(){return process.env.NODE_ENV===e.Environment.TEST}function T(e){return!!e}function E(e){return e==null}function D(e){return/^[A-Z]+$/.test(e)}function O(e){try{return new URL(e),!0}catch{return!1}}function k(e){return/^[A-Z]/.test(e)}exports.endsWithPunctuation=t,exports.hasWhitespace=n,exports.isAlphabetic=r,exports.isArray=a,exports.isBrowser=o,exports.isCamelCase=s,exports.isDefined=i,exports.isDev=c,exports.isEmail=l,exports.isEmpty=u,exports.isEmptyObject=d,exports.isFalsy=f,exports.isKebabCase=p,exports.isLowerCase=m,exports.isNode=h,exports.isNonEmptyObject=g,exports.isNonEmptyString=v,exports.isNumericString=y,exports.isObject=b,exports.isPascalCase=x,exports.isProd=S,exports.isSnakeCase=C,exports.isString=_,exports.isTest=w,exports.isTruthy=T,exports.isURL=O,exports.isUndefinedOrNull=E,exports.isUpperCase=D,exports.startsWithUppercase=k,Object.keys(e).forEach(function(t){t!==`default`&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
package/dist/index.d.cts CHANGED
@@ -164,6 +164,42 @@ declare function isDev(): boolean;
164
164
  declare function isEmail(/** The string to validate as an email address */
165
165
  value: string): boolean;
166
166
  //#endregion
167
+ //#region src/isEmpty.d.ts
168
+ /**
169
+ * Checks whether a value is empty.
170
+ *
171
+ * Empty values include:
172
+ * - `null` or `undefined`
173
+ * - Empty strings (including whitespace-only strings)
174
+ * - Arrays with length `0`
175
+ * - Objects with no own enumerable properties
176
+ * - Maps and Sets with size `0`
177
+ *
178
+ * @returns `true` if the value is empty, otherwise `false`
179
+ *
180
+ * @example
181
+ * ```ts
182
+ * isEmpty(null); // true
183
+ * isEmpty(''); // true
184
+ * isEmpty(' '); // true
185
+ * isEmpty([]); // true
186
+ * isEmpty({}); // true
187
+ * isEmpty(new Map()); // true
188
+ * ```
189
+ *
190
+ * @example
191
+ * ```ts
192
+ * isEmpty('hello'); // false
193
+ * isEmpty([1]); // false
194
+ * isEmpty({ a: 1 }); // false
195
+ * ```
196
+ */
197
+ declare function isEmpty<T>(
198
+ /**
199
+ * The value to check.
200
+ */
201
+ value: T): boolean;
202
+ //#endregion
167
203
  //#region src/isEmptyObject.d.ts
168
204
  /**
169
205
  * Checks if a value is an empty object (has no enumerable own properties).
@@ -181,6 +217,43 @@ value: string): boolean;
181
217
  declare function isEmptyObject(/** The value to check */
182
218
  value: object): boolean;
183
219
  //#endregion
220
+ //#region src/isFalsy.d.ts
221
+ /**
222
+ * Checks whether a value is falsy.
223
+ *
224
+ * Falsy values include:
225
+ * - `false`
226
+ * - `0`
227
+ * - `""`
228
+ * - `null`
229
+ * - `undefined`
230
+ * - `NaN`
231
+ *
232
+ * @returns `true` if the value is falsy, otherwise `false`
233
+ *
234
+ * @example
235
+ * ```ts
236
+ * isFalsy(0); // true
237
+ * isFalsy(''); // true
238
+ * isFalsy(null); // true
239
+ * isFalsy(undefined);// true
240
+ * isFalsy(NaN); // true
241
+ * ```
242
+ *
243
+ * @example
244
+ * ```ts
245
+ * isFalsy(1); // false
246
+ * isFalsy('hello'); // false
247
+ * isFalsy([]); // false
248
+ * isFalsy({}); // false
249
+ * ```
250
+ */
251
+ declare function isFalsy<T>(
252
+ /**
253
+ * The value to check.
254
+ */
255
+ value: T): boolean;
256
+ //#endregion
184
257
  //#region src/isKebabCase.d.ts
185
258
  /**
186
259
  * Checks if a string is in kebab-case format.
@@ -424,6 +497,43 @@ value: T): boolean;
424
497
  */
425
498
  declare function isTest(): boolean;
426
499
  //#endregion
500
+ //#region src/isTruthy.d.ts
501
+ /**
502
+ * Checks whether a value is truthy.
503
+ *
504
+ * Falsy values include:
505
+ * - `false`
506
+ * - `0`
507
+ * - `""` (empty string)
508
+ * - `null`
509
+ * - `undefined`
510
+ * - `NaN`
511
+ *
512
+ * @returns `true` if the value is truthy, otherwise `false`.
513
+ *
514
+ * @example
515
+ * ```ts
516
+ * isTruthy(0); // false
517
+ * isTruthy(''); // false
518
+ * isTruthy(null); // false
519
+ * isTruthy(undefined); // false
520
+ * isTruthy(NaN); // false
521
+ * ```
522
+ *
523
+ * @example
524
+ * ```ts
525
+ * isTruthy(1); // true
526
+ * isTruthy('hello'); // true
527
+ * isTruthy([]); // true
528
+ * isTruthy({}); // true
529
+ * ```
530
+ */
531
+ declare function isTruthy<T>(
532
+ /**
533
+ * The value to check.
534
+ */
535
+ value: T): boolean;
536
+ //#endregion
427
537
  //#region src/isUndefinedOrNull.d.ts
428
538
  /**
429
539
  * Checks if a value is either null or undefined.
@@ -491,4 +601,4 @@ value: string): boolean;
491
601
  declare function startsWithUppercase(/** The input string to check */
492
602
  value: string): boolean;
493
603
  //#endregion
494
- export { endsWithPunctuation, hasWhitespace, isAlphabetic, isArray, isBrowser, isCamelCase, isDefined, isDev, isEmail, isEmptyObject, isKebabCase, isLowerCase, isNode, isNonEmptyObject, isNonEmptyString, isNumericString, isObject, isPascalCase, isProd, isSnakeCase, isString, isTest, isURL, isUndefinedOrNull, isUpperCase, startsWithUppercase };
604
+ export { endsWithPunctuation, hasWhitespace, isAlphabetic, isArray, isBrowser, isCamelCase, isDefined, isDev, isEmail, isEmpty, isEmptyObject, isFalsy, isKebabCase, isLowerCase, isNode, isNonEmptyObject, isNonEmptyString, isNumericString, isObject, isPascalCase, isProd, isSnakeCase, isString, isTest, isTruthy, isURL, isUndefinedOrNull, isUpperCase, startsWithUppercase };
package/dist/index.d.mts CHANGED
@@ -164,6 +164,42 @@ declare function isDev(): boolean;
164
164
  declare function isEmail(/** The string to validate as an email address */
165
165
  value: string): boolean;
166
166
  //#endregion
167
+ //#region src/isEmpty.d.ts
168
+ /**
169
+ * Checks whether a value is empty.
170
+ *
171
+ * Empty values include:
172
+ * - `null` or `undefined`
173
+ * - Empty strings (including whitespace-only strings)
174
+ * - Arrays with length `0`
175
+ * - Objects with no own enumerable properties
176
+ * - Maps and Sets with size `0`
177
+ *
178
+ * @returns `true` if the value is empty, otherwise `false`
179
+ *
180
+ * @example
181
+ * ```ts
182
+ * isEmpty(null); // true
183
+ * isEmpty(''); // true
184
+ * isEmpty(' '); // true
185
+ * isEmpty([]); // true
186
+ * isEmpty({}); // true
187
+ * isEmpty(new Map()); // true
188
+ * ```
189
+ *
190
+ * @example
191
+ * ```ts
192
+ * isEmpty('hello'); // false
193
+ * isEmpty([1]); // false
194
+ * isEmpty({ a: 1 }); // false
195
+ * ```
196
+ */
197
+ declare function isEmpty<T>(
198
+ /**
199
+ * The value to check.
200
+ */
201
+ value: T): boolean;
202
+ //#endregion
167
203
  //#region src/isEmptyObject.d.ts
168
204
  /**
169
205
  * Checks if a value is an empty object (has no enumerable own properties).
@@ -181,6 +217,43 @@ value: string): boolean;
181
217
  declare function isEmptyObject(/** The value to check */
182
218
  value: object): boolean;
183
219
  //#endregion
220
+ //#region src/isFalsy.d.ts
221
+ /**
222
+ * Checks whether a value is falsy.
223
+ *
224
+ * Falsy values include:
225
+ * - `false`
226
+ * - `0`
227
+ * - `""`
228
+ * - `null`
229
+ * - `undefined`
230
+ * - `NaN`
231
+ *
232
+ * @returns `true` if the value is falsy, otherwise `false`
233
+ *
234
+ * @example
235
+ * ```ts
236
+ * isFalsy(0); // true
237
+ * isFalsy(''); // true
238
+ * isFalsy(null); // true
239
+ * isFalsy(undefined);// true
240
+ * isFalsy(NaN); // true
241
+ * ```
242
+ *
243
+ * @example
244
+ * ```ts
245
+ * isFalsy(1); // false
246
+ * isFalsy('hello'); // false
247
+ * isFalsy([]); // false
248
+ * isFalsy({}); // false
249
+ * ```
250
+ */
251
+ declare function isFalsy<T>(
252
+ /**
253
+ * The value to check.
254
+ */
255
+ value: T): boolean;
256
+ //#endregion
184
257
  //#region src/isKebabCase.d.ts
185
258
  /**
186
259
  * Checks if a string is in kebab-case format.
@@ -424,6 +497,43 @@ value: T): boolean;
424
497
  */
425
498
  declare function isTest(): boolean;
426
499
  //#endregion
500
+ //#region src/isTruthy.d.ts
501
+ /**
502
+ * Checks whether a value is truthy.
503
+ *
504
+ * Falsy values include:
505
+ * - `false`
506
+ * - `0`
507
+ * - `""` (empty string)
508
+ * - `null`
509
+ * - `undefined`
510
+ * - `NaN`
511
+ *
512
+ * @returns `true` if the value is truthy, otherwise `false`.
513
+ *
514
+ * @example
515
+ * ```ts
516
+ * isTruthy(0); // false
517
+ * isTruthy(''); // false
518
+ * isTruthy(null); // false
519
+ * isTruthy(undefined); // false
520
+ * isTruthy(NaN); // false
521
+ * ```
522
+ *
523
+ * @example
524
+ * ```ts
525
+ * isTruthy(1); // true
526
+ * isTruthy('hello'); // true
527
+ * isTruthy([]); // true
528
+ * isTruthy({}); // true
529
+ * ```
530
+ */
531
+ declare function isTruthy<T>(
532
+ /**
533
+ * The value to check.
534
+ */
535
+ value: T): boolean;
536
+ //#endregion
427
537
  //#region src/isUndefinedOrNull.d.ts
428
538
  /**
429
539
  * Checks if a value is either null or undefined.
@@ -491,4 +601,4 @@ value: string): boolean;
491
601
  declare function startsWithUppercase(/** The input string to check */
492
602
  value: string): boolean;
493
603
  //#endregion
494
- export { endsWithPunctuation, hasWhitespace, isAlphabetic, isArray, isBrowser, isCamelCase, isDefined, isDev, isEmail, isEmptyObject, isKebabCase, isLowerCase, isNode, isNonEmptyObject, isNonEmptyString, isNumericString, isObject, isPascalCase, isProd, isSnakeCase, isString, isTest, isURL, isUndefinedOrNull, isUpperCase, startsWithUppercase };
604
+ export { endsWithPunctuation, hasWhitespace, isAlphabetic, isArray, isBrowser, isCamelCase, isDefined, isDev, isEmail, isEmpty, isEmptyObject, isFalsy, isKebabCase, isLowerCase, isNode, isNonEmptyObject, isNonEmptyString, isNumericString, isObject, isPascalCase, isProd, isSnakeCase, isString, isTest, isTruthy, isURL, isUndefinedOrNull, isUpperCase, startsWithUppercase };
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- import{Environment as e}from"@js-utils-kit/types";export*from"@js-utils-kit/types";function t(e){return/[\p{P}]$/u.test(e)}function n(e){return/\s/.test(e)}function r(e){return/^[a-zA-Z]+$/.test(e)}function i(e){return e!=null}function a(e){return i(e)&&Array.isArray(e)}function o(){return typeof window<`u`&&window.document!==void 0}function s(e){return/^[a-z][a-zA-Z0-9]*$/.test(e)}function c(){return process.env.NODE_ENV===e.DEV}function l(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);if(e.length>254)return!1;let t=e.split(`@`);if(t.length!==2)return!1;let[n,r]=t;return n.length===0||n.length>64||r.length===0||r.length>255?!1:!(!/^[a-zA-Z0-9_%+-]+(\.[a-zA-Z0-9_%+-]+)*$/.test(n)||!/^(?!.*\.\.)(?!-)[A-Za-z0-9-]{1,63}(?<!-)(\.[A-Za-z0-9-]{1,63}(?<!-))*\.[A-Za-z]{2,}$/.test(r))}function u(e){return typeof e==`object`&&!!e&&Object.keys(e).length===0&&!a(e)}function d(e){return/^[a-z0-9]+(-[a-z0-9]+)*$/.test(e)}function f(e){return/^[a-z]+$/.test(e)}function p(){return typeof process<`u`&&process.versions!==null&&process.versions.node!==null}function m(e){return typeof e==`object`&&!!e&&Object.keys(e).length>0&&!a(e)}function h(e){return e!=null&&typeof e==`string`}function g(e,t=!0){return h(e)?typeof e==`string`&&(t?e.trim().length>0:e.length>0):!1}function _(e){return!isNaN(Number(e))&&!isNaN(parseFloat(e))}function v(e){return i(e)&&typeof e==`object`&&!a(e)&&Object.getPrototypeOf(e)===Object.prototype}function y(e){return/^[A-Z][a-zA-Z0-9]*$/.test(e)}function b(){return process.env.NODE_ENV===e.PROD}function x(e){return/^[a-z0-9]+(_[a-z0-9]+)*$/.test(e)}function S(){return process.env.NODE_ENV===e.TEST}function C(e){return e==null}function w(e){return/^[A-Z]+$/.test(e)}function T(e){try{return new URL(e),!0}catch{return!1}}function E(e){return/^[A-Z]/.test(e)}export{t as endsWithPunctuation,n as hasWhitespace,r as isAlphabetic,a as isArray,o as isBrowser,s as isCamelCase,i as isDefined,c as isDev,l as isEmail,u as isEmptyObject,d as isKebabCase,f as isLowerCase,p as isNode,m as isNonEmptyObject,g as isNonEmptyString,_ as isNumericString,v as isObject,y as isPascalCase,b as isProd,x as isSnakeCase,h as isString,S as isTest,T as isURL,C as isUndefinedOrNull,w as isUpperCase,E as startsWithUppercase};
1
+ import{Environment as e}from"@js-utils-kit/types";export*from"@js-utils-kit/types";function t(e){return/[\p{P}]$/u.test(e)}function n(e){return/\s/.test(e)}function r(e){return/^[a-zA-Z]+$/.test(e)}function i(e){return e!=null}function a(e){return i(e)&&Array.isArray(e)}function o(){return typeof window<`u`&&window.document!==void 0}function s(e){return/^[a-z][a-zA-Z0-9]*$/.test(e)}function c(){return process.env.NODE_ENV===e.DEV}function l(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);if(e.length>254)return!1;let t=e.split(`@`);if(t.length!==2)return!1;let[n,r]=t;return n.length===0||n.length>64||r.length===0||r.length>255?!1:!(!/^[a-zA-Z0-9_%+-]+(\.[a-zA-Z0-9_%+-]+)*$/.test(n)||!/^(?!.*\.\.)(?!-)[A-Za-z0-9-]{1,63}(?<!-)(\.[A-Za-z0-9-]{1,63}(?<!-))*\.[A-Za-z]{2,}$/.test(r))}function u(e){return e==null?!0:typeof e==`string`?e.trim().length===0:Array.isArray(e)?e.length===0:e instanceof Map||e instanceof Set?e.size===0:Object.prototype.toString.call(e)===`[object Object]`?Object.keys(e).length===0:!1}function d(e){return typeof e==`object`&&!!e&&Object.keys(e).length===0&&!a(e)}function f(e){return!e}function p(e){return/^[a-z0-9]+(-[a-z0-9]+)*$/.test(e)}function m(e){return/^[a-z]+$/.test(e)}function h(){return typeof process<`u`&&process.versions!==null&&process.versions.node!==null}function g(e){return typeof e==`object`&&!!e&&Object.keys(e).length>0&&!a(e)}function _(e){return e!=null&&typeof e==`string`}function v(e,t=!0){return _(e)?typeof e==`string`&&(t?e.trim().length>0:e.length>0):!1}function y(e){return!isNaN(Number(e))&&!isNaN(parseFloat(e))}function b(e){return i(e)&&typeof e==`object`&&!a(e)&&Object.getPrototypeOf(e)===Object.prototype}function x(e){return/^[A-Z][a-zA-Z0-9]*$/.test(e)}function S(){return process.env.NODE_ENV===e.PROD}function C(e){return/^[a-z0-9]+(_[a-z0-9]+)*$/.test(e)}function w(){return process.env.NODE_ENV===e.TEST}function T(e){return!!e}function E(e){return e==null}function D(e){return/^[A-Z]+$/.test(e)}function O(e){try{return new URL(e),!0}catch{return!1}}function k(e){return/^[A-Z]/.test(e)}export{t as endsWithPunctuation,n as hasWhitespace,r as isAlphabetic,a as isArray,o as isBrowser,s as isCamelCase,i as isDefined,c as isDev,l as isEmail,u as isEmpty,d as isEmptyObject,f as isFalsy,p as isKebabCase,m as isLowerCase,h as isNode,g as isNonEmptyObject,v as isNonEmptyString,y as isNumericString,b as isObject,x as isPascalCase,S as isProd,C as isSnakeCase,_ as isString,w as isTest,T as isTruthy,O as isURL,E as isUndefinedOrNull,D as isUpperCase,k as startsWithUppercase};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@js-utils-kit/valid",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "Validation utilities",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -36,12 +36,12 @@
36
36
  "types": "./dist/index.d.cts",
37
37
  "exports": {
38
38
  ".": {
39
- "import": "./dist/index.mjs",
40
- "require": "./dist/index.cjs"
39
+ "require": "./dist/index.cjs",
40
+ "import": "./dist/index.mjs"
41
41
  }
42
42
  },
43
43
  "dependencies": {
44
- "@js-utils-kit/types": "1.0.0"
44
+ "@js-utils-kit/types": "1.1.0"
45
45
  },
46
46
  "scripts": {
47
47
  "build": "tsdown",