New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

redis-cookie-store

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-cookie-store - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

9

lib/redis-cookie-store.js

@@ -97,3 +97,3 @@ 'use strict';

RedisCookieStore.prototype.putCookie = function(cookie, cb) {
this.client.hset(this.getKeyName(cookie.domain, cookie.path), cookie.key, cookie, cb);
this.client.hset(this.getKeyName(cookie.domain, cookie.path), cookie.key, cookie.toString(), cb);
};

@@ -113,6 +113,7 @@

RedisCookieStore.prototype.removeCookies = function removeCookies(domain, path, cb) {
var self = this;
if (path) {
return this.client.del(this.getKeyName(domain, path), cb);
return self.client.del(self.getKeyName(domain, path), cb);
} else {
this.client.keys(this.getKeyName(domain) + ":*", function(err, keys) {
self.client.keys(self.getKeyName(domain) + ":*", function(err, keys) {
if (err) {

@@ -123,3 +124,3 @@ return cb(err);

keys,
this.client.del,
self.client.del,
cb

@@ -126,0 +127,0 @@ );

{
"name": "redis-cookie-store",
"version": "0.0.2",
"version": "0.0.3",
"description": "Redis cookie store for tough-cookie module",

@@ -5,0 +5,0 @@ "main": "index.js",

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