cache-memory
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -120,3 +120,2 @@ "use strict"; | ||
logger.log(`getAndSet - no getter function is defined - cacher id: ${self.id}, key: ${key}, options: ${JSON.stringify(options)}`); | ||
console.log('getter'); | ||
return undefined; | ||
@@ -123,0 +122,0 @@ } |
{ | ||
"name": "cache-memory", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
@@ -12,3 +12,3 @@ # cache-memory | ||
If using a node version that supports async/await do | ||
If using a node version that supports `async/await` do | ||
@@ -22,3 +22,3 @@ ```bash | ||
```bash | ||
$ npm install cache-memory@2.1.1 --save | ||
$ npm install cache-memory@1.0.11 --save | ||
``` | ||
@@ -25,0 +25,0 @@ |
@@ -408,3 +408,5 @@ "use strict"; | ||
console.log('1') | ||
value = await cache.getAndSet(key, getData, {}); | ||
console.log('2') | ||
value.startsWith('hello-world').should.equal(true); | ||
@@ -411,0 +413,0 @@ let value2 = await cache.getAndSet(key, getData, {}); |
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
39841
868