Socket
Socket
Sign inDemoInstall

cache-manager

Package Overview
Dependencies
Maintainers
1
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cache-manager - npm Package Compare versions

Comparing version 3.3.0 to 3.4.0

3

History.md

@@ -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)

22

package.json
{
"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();

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc