Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cache-manager

Package Overview
Dependencies
Maintainers
1
Versions
110
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 1.4.1 to 1.5.0

2

.jscs.json

@@ -98,3 +98,3 @@ {

],
"validateJSDoc": {
"jsDoc": {
"checkParamNames": true,

@@ -101,0 +101,0 @@ "requireParamTypes": true

@@ -0,1 +1,4 @@

- 1.5.0 2015-03-13
-npm bumps, making sure global.Promise is not defined in node 0.10 memory store test.
- 1.4.1 2016-03-13

@@ -2,0 +5,0 @@ - Fixing backward-compatibility Promise issue with node 0.10.x in memory store.

{
"name": "cache-manager",
"version": "1.4.1",
"version": "1.5.0",
"description": "Cache module for Node.js",

@@ -23,3 +23,3 @@ "main": "index.js",

"dependencies": {
"async": "^0.9.0",
"async": "^1.5.2",
"lru-cache": "4.0.0"

@@ -30,10 +30,10 @@ },

"es6-promise": "^3.0.2",
"istanbul": "^0.2.11",
"jscs": "^1.9.0",
"jsdoc": "^3.3.0",
"jshint": "^2.5.4",
"mocha": "^1.20.1",
"optimist": "^0.6.1",
"sinon": "^1.10.2"
"istanbul": "0.4.2",
"jscs": "2.11.0",
"jsdoc": "3.3.0",
"jshint": "2.9.1",
"mocha": "2.4.5",
"optimist": "0.6.1",
"sinon": "1.17.3"
}
}

@@ -15,7 +15,14 @@ var assert = require('assert');

var memoryCache;
var origPromise;
beforeEach(function() {
origPromise = global.Promise;
delete global.Promise;
memoryCache = memoryStore.create({noPromises: true});
});
afterEach(function() {
global.Promise = origPromise;
});
// This test should pass in node v0.10.x:

@@ -22,0 +29,0 @@ it("does not require a callback or use of Promises", function(done) {

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