Socket
Socket
Sign inDemoInstall

express-redis-cache

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-redis-cache - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

lib/ExpressRedisCache/route.js

@@ -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"
}
}
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