Socket
Socket
Sign inDemoInstall

cookies

Package Overview
Dependencies
2
Maintainers
4
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.0 to 0.6.1

5

History.md

@@ -0,1 +1,6 @@

0.6.1 / 2016-02-29
==================
* Fix regression in 0.6.0 for array of strings in `key` option
0.6.0 / 2016-02-29

@@ -2,0 +7,0 @@ ==================

2

lib/cookies.js

@@ -33,3 +33,3 @@ var deprecate = require('depd')('cookies')

} else {
this.keys = options.keys
this.keys = Array.isArray(options.keys) ? new Keygrip(options.keys) : options.keys
this.secure = options.secure

@@ -36,0 +36,0 @@ }

{
"name": "cookies",
"version": "0.6.0",
"version": "0.6.1",
"description": "Cookies, optionally signed using Keygrip.",

@@ -5,0 +5,0 @@ "main": "./lib/cookies",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc