radashi 12.9.5 → 12.9.6
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/radashi.cjs +6 -1
- package/dist/radashi.js +6 -1
- package/package.json +1 -1
package/dist/radashi.cjs
CHANGED
|
@@ -740,7 +740,12 @@ function memoize(cache, func, keyFunc, ttl) {
|
|
|
740
740
|
};
|
|
741
741
|
}
|
|
742
742
|
function memo(func, options = {}) {
|
|
743
|
-
return memoize(
|
|
743
|
+
return memoize(
|
|
744
|
+
/* @__PURE__ */ Object.create(null),
|
|
745
|
+
func,
|
|
746
|
+
options.key ?? null,
|
|
747
|
+
options.ttl ?? null
|
|
748
|
+
);
|
|
744
749
|
}
|
|
745
750
|
|
|
746
751
|
// src/curry/memoLastCall.ts
|
package/dist/radashi.js
CHANGED
|
@@ -738,7 +738,12 @@ function memoize(cache, func, keyFunc, ttl) {
|
|
|
738
738
|
};
|
|
739
739
|
}
|
|
740
740
|
function memo(func, options = {}) {
|
|
741
|
-
return memoize(
|
|
741
|
+
return memoize(
|
|
742
|
+
/* @__PURE__ */ Object.create(null),
|
|
743
|
+
func,
|
|
744
|
+
options.key ?? null,
|
|
745
|
+
options.ttl ?? null
|
|
746
|
+
);
|
|
742
747
|
}
|
|
743
748
|
|
|
744
749
|
// src/curry/memoLastCall.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "radashi",
|
|
3
|
-
"version": "12.9.
|
|
3
|
+
"version": "12.9.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The modern, community-first TypeScript toolkit with all of the fast, readable, and minimal utility functions you need. Type-safe, dependency-free, tree-shakeable, fully tested.",
|
|
6
6
|
"repository": {
|