Socket
Socket
Sign inDemoInstall

connect-redis

Package Overview
Dependencies
Maintainers
3
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-redis - npm Package Compare versions

Comparing version 2.5.0 to 2.5.1

5

History.md
2.5.1 / 2015-09-18
==================
* Prevent RedisStore constructor from being called as a normal function [venning]
2.5.0 / 2015-08-28

@@ -3,0 +8,0 @@ ==================

4

lib/connect-redis.js

@@ -50,2 +50,6 @@ /*!

function RedisStore (options) {
if (!(this instanceof RedisStore)) {
throw new TypeError('Cannot call RedisStore constructor as a function');
}
var self = this;

@@ -52,0 +56,0 @@

2

package.json
{
"name": "connect-redis",
"description": "Redis session store for Connect",
"version": "2.5.0",
"version": "2.5.1",
"author": "TJ Holowaychuk <tj@vision-media.ca>",

@@ -6,0 +6,0 @@ "contributors": [

@@ -50,2 +50,3 @@ var P = require('bluebird');

test('basic', function (t) {
t.throws(RedisStore, TypeError, 'constructor not callable as function');
var store = new RedisStore({ port: 8543 });

@@ -52,0 +53,0 @@ return lifecycleTest(store, t);

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