cache-manager
Advanced tools
Comparing version 3.3.0 to 3.4.0
@@ -0,1 +1,4 @@ | ||
- 3.4.0 2020-04-30 | ||
- Update dependencies (#145). - @orgads | ||
- 3.3.0 2020-04-30 | ||
@@ -2,0 +5,0 @@ - Use full lodash lib instead of lodash.clonedeep npm (#141) |
{ | ||
"name": "cache-manager", | ||
"version": "3.3.0", | ||
"version": "3.4.0", | ||
"description": "Cache module for Node.js", | ||
@@ -23,16 +23,16 @@ "main": "index.js", | ||
"dependencies": { | ||
"async": "1.5.2", | ||
"lodash": "^4.17.15", | ||
"lru-cache": "4.0.0" | ||
"async": "^3.2.0", | ||
"lodash": "^4.17.20", | ||
"lru-cache": "6.0.0" | ||
}, | ||
"devDependencies": { | ||
"coveralls": "3.0.9", | ||
"es6-promise": "^3.0.2", | ||
"eslint": "5.16.0", | ||
"jsdoc": "3.5.5", | ||
"mocha": "7.0.1", | ||
"nyc": "14.1.1", | ||
"coveralls": "3.1.0", | ||
"es6-promise": "^4.2.8", | ||
"eslint": "7.7.0", | ||
"jsdoc": "3.6.5", | ||
"mocha": "8.1.1", | ||
"nyc": "15.1.0", | ||
"optimist": "0.6.1", | ||
"sinon": "1.17.3" | ||
"sinon": "9.0.3" | ||
} | ||
} |
@@ -400,4 +400,4 @@ // TODO: These are really a mix of unit and integration tests. | ||
function isDone() { | ||
return processed === keyCount; | ||
function isDone(cb) { | ||
cb(null, processed === keyCount); | ||
} | ||
@@ -441,4 +441,4 @@ | ||
function isDone() { | ||
return processed === keyCount; | ||
function isDone(cb) { | ||
cb(null, processed === keyCount); | ||
} | ||
@@ -795,3 +795,3 @@ | ||
sinon.stub(memoryStoreStub, 'get', function(key, options, cb) { | ||
sinon.stub(memoryStoreStub, 'get').callsFake(function(key, options, cb) { | ||
cb(fakeError); | ||
@@ -816,3 +816,3 @@ }); | ||
sinon.stub(memoryStoreStub, 'get', function(key, options, cb) { | ||
sinon.stub(memoryStoreStub, 'get').callsFake(function(key, options, cb) { | ||
cb(fakeError); | ||
@@ -837,3 +837,3 @@ }); | ||
sinon.stub(memoryStoreStub, 'set', function(key, val, ttl, cb) { | ||
sinon.stub(memoryStoreStub, 'set').callsFake(function(key, val, ttl, cb) { | ||
cb(fakeError); | ||
@@ -873,3 +873,3 @@ }); | ||
var fakeError = new Error(support.random.string()); | ||
sinon.stub(methods, 'getWidget', function(name, cb) { | ||
sinon.stub(methods, 'getWidget').callsFake(function(name, cb) { | ||
cb(fakeError, {name: name}); | ||
@@ -951,3 +951,3 @@ }); | ||
var funcCalled = false; | ||
sinon.stub(memoryStoreStub, 'mget', function() { | ||
sinon.stub(memoryStoreStub, 'mget').callsFake(function() { | ||
var args = Array.prototype.slice.apply(arguments); | ||
@@ -1055,3 +1055,3 @@ var cb = args.pop(); | ||
sinon.stub(memoryStoreStub, 'mget', function() { | ||
sinon.stub(memoryStoreStub, 'mget').callsFake(function() { | ||
var args = Array.prototype.slice.apply(arguments); | ||
@@ -1078,3 +1078,3 @@ var cb = args.pop(); | ||
sinon.stub(memoryStoreStub, 'mget', function() { | ||
sinon.stub(memoryStoreStub, 'mget').callsFake(function() { | ||
var args = Array.prototype.slice.apply(arguments); | ||
@@ -1081,0 +1081,0 @@ var cb = args.pop(); |
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
255254
+ Addedasync@3.2.6(transitive)
+ Addedlru-cache@6.0.0(transitive)
+ Addedyallist@4.0.0(transitive)
- Removedasync@1.5.2(transitive)
- Removedlru-cache@4.0.0(transitive)
- Removedpseudomap@1.0.2(transitive)
- Removedyallist@2.1.2(transitive)
Updatedasync@^3.2.0
Updatedlodash@^4.17.20
Updatedlru-cache@6.0.0