express-redis-cache
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -168,3 +168,3 @@ module.exports = (function () { | ||
if ( cache.length ) { | ||
if ( cache.length && cache[0].body != null ) { | ||
res.contentType(cache[0].type || "text/html"); | ||
@@ -171,0 +171,0 @@ if(binary){ //Convert back to binary buffer |
{ | ||
"name": "express-redis-cache", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "A module to make Express interact with Redis (create, get, delete). You can automatically cache all your most popular routes in Redis.", | ||
@@ -52,7 +52,11 @@ "main": "index.js", | ||
"url": "https://github.com/mdbox" | ||
}, | ||
{ | ||
"name": "dam1", | ||
"url": "https://github.com/dam1" | ||
} | ||
], | ||
"license": "BSD", | ||
"license": "MIT", | ||
"dependencies": { | ||
"async": "~1.5.0", | ||
"async": "^2.6.0", | ||
"colors": "^1.1.2", | ||
@@ -69,10 +73,9 @@ "redis": "^2.4.2" | ||
"devDependencies": { | ||
"body-parser": "~1.14.1", | ||
"method-override": "~2.3.5", | ||
"request": "~2.67.0", | ||
"express": "~4.13.3", | ||
"mocha": "~2.3.4", | ||
"should": "~8.0.1", | ||
"moment": "^2.10.6" | ||
"body-parser": "^1.18.2", | ||
"express": "^4.16.2", | ||
"mocha": "^5.0.1", | ||
"moment": "^2.10.6", | ||
"request": "^2.83.0", | ||
"should": "^13.2.1" | ||
} | ||
} |
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
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
78158
6
0
+ Addedasync@2.6.4(transitive)
+ Addedlodash@4.17.21(transitive)
- Removedasync@1.5.2(transitive)
Updatedasync@^2.6.0