@formatjs/fast-memoize
Advanced tools
+0
-6
@@ -1,4 +0,1 @@ | ||
| // | ||
| // Main | ||
| // | ||
| type Func = (...args: any[]) => any; | ||
@@ -39,5 +36,2 @@ export interface Cache< | ||
| export type StrategyFn = <F extends Func>(this: unknown, fn: F, cache: DefaultCache<string, ReturnType<F>>, serializer: Serializer, arg: any) => any; | ||
| // | ||
| // API | ||
| // | ||
| export interface Strategies<F extends Func> { | ||
@@ -44,0 +38,0 @@ variadic: MemoizeFunc<F>; |
+2
-2
| { | ||
| "name": "@formatjs/fast-memoize", | ||
| "description": "fork of fast-memoize and support esm", | ||
| "version": "3.0.3", | ||
| "version": "3.1.0", | ||
| "license": "MIT", | ||
@@ -14,3 +14,3 @@ "author": "Long Ho <holevietlong@gmail.com>", | ||
| "dependencies": { | ||
| "tslib": "^2.8.0" | ||
| "tslib": "^2.8.1" | ||
| }, | ||
@@ -17,0 +17,0 @@ "bugs": "https://github.com/formatjs/formatjs/issues", |
4903
-0.55%116
-4.92%Updated