Comparing version 6.0.0 to 6.0.1
@@ -91,7 +91,8 @@ declare namespace mem { | ||
ReturnType, | ||
CacheKeyType | ||
CacheKeyType, | ||
FunctionToMemoize = (...arguments: ArgumentsType) => ReturnType | ||
>( | ||
fn: (...arguments: ArgumentsType) => ReturnType, | ||
fn: FunctionToMemoize, | ||
options?: mem.Options<ArgumentsType, CacheKeyType, ReturnType> | ||
): (...arguments: ArgumentsType) => ReturnType; | ||
): FunctionToMemoize; | ||
@@ -98,0 +99,0 @@ /** |
{ | ||
"name": "mem", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "Memoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input", | ||
@@ -43,5 +43,5 @@ "license": "MIT", | ||
"serialize-javascript": "^2.1.0", | ||
"tsd": "^0.10.0", | ||
"tsd": "^0.11.0", | ||
"xo": "^0.25.3" | ||
} | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
10429
126
1