@andrewcaires/utils.js 0.4.17 → 0.4.19
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/LICENSE +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.min.js +1 -1
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2015-
|
|
3
|
+
Copyright (c) 2015-2026 Andrew Caires (https://github.com/andrewcaires)
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/dist/index.cjs.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @andrewcaires/utils.js v0.4.
|
|
2
|
+
* @andrewcaires/utils.js v0.4.19
|
|
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
|
|
108
|
+
type CacheObject = TypeObject<TypeAnyObject, TypeKey>;
|
|
109
|
+
|
|
110
|
+
type CacheCallback = (_key: any) => CacheObject;
|
|
109
111
|
|
|
110
112
|
declare const cache: () => CacheCallback;
|
|
111
113
|
|
package/dist/index.esm.js
CHANGED
package/dist/index.min.js
CHANGED