@andrewcaires/utils.js 0.4.17 → 0.4.18

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.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @andrewcaires/utils.js v0.4.17
2
+ * @andrewcaires/utils.js v0.4.18
3
3
  * JavaScript utility library for web and nodejs development
4
4
  * (c) 2026 Andrew Caires
5
5
  * @license: MIT
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @andrewcaires/utils.js v0.4.17
2
+ * @andrewcaires/utils.js v0.4.18
3
3
  * JavaScript utility library for web and nodejs development
4
4
  * (c) 2026 Andrew Caires
5
5
  * @license: MIT
@@ -105,7 +105,9 @@ declare const uniqueArray: <T>(arr: Array<T>) => Array<T>;
105
105
 
106
106
  declare const toBool: (value: any) => boolean;
107
107
 
108
- type CacheCallback = (_key: any) => TypeAnyObject;
108
+ type CacheObject = TypeObject<TypeKey>;
109
+
110
+ type CacheCallback = (_key: any) => CacheObject;
109
111
 
110
112
  declare const cache: () => CacheCallback;
111
113
 
package/dist/index.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @andrewcaires/utils.js v0.4.17
2
+ * @andrewcaires/utils.js v0.4.18
3
3
  * JavaScript utility library for web and nodejs development
4
4
  * (c) 2026 Andrew Caires
5
5
  * @license: MIT
package/dist/index.min.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @andrewcaires/utils.js v0.4.17
2
+ * @andrewcaires/utils.js v0.4.18
3
3
  * JavaScript utility library for web and nodejs development
4
4
  * (c) 2026 Andrew Caires
5
5
  * @license: MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andrewcaires/utils.js",
3
- "version": "0.4.17",
3
+ "version": "0.4.18",
4
4
  "description": "JavaScript utility library for web and nodejs development",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs.js",