@algolia/cache-in-memory
Advanced tools
Comparing version 4.0.0-beta.7 to 4.0.0-beta.8
@@ -14,3 +14,3 @@ 'use strict'; | ||
if (keyAsString in cache) { | ||
return Promise.resolve(cache[keyAsString]); | ||
return Promise.resolve(Object.assign({}, cache[keyAsString])); | ||
} | ||
@@ -17,0 +17,0 @@ const promise = defaultValue(); |
@@ -10,3 +10,3 @@ function createInMemoryCache() { | ||
if (keyAsString in cache) { | ||
return Promise.resolve(cache[keyAsString]); | ||
return Promise.resolve(Object.assign({}, cache[keyAsString])); | ||
} | ||
@@ -13,0 +13,0 @@ const promise = defaultValue(); |
{ | ||
"name": "@algolia/cache-in-memory", | ||
"version": "4.0.0-beta.7", | ||
"version": "4.0.0-beta.8", | ||
"private": false, | ||
@@ -16,4 +16,4 @@ "description": "Promise-based cache library using memory.", | ||
"dependencies": { | ||
"@algolia/cache-common": "4.0.0-beta.7" | ||
"@algolia/cache-common": "4.0.0-beta.8" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2907
+ Added@algolia/cache-common@4.0.0-beta.8(transitive)
- Removed@algolia/cache-common@4.0.0-beta.7(transitive)