Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cookie

Package Overview
Dependencies
Maintainers
3
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cookie - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

5

HISTORY.md

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

0.2.3 / 2015-10-25
==================
* Fix cookie `Max-Age` to never be a floating point number
0.2.2 / 2015-09-17

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

2

index.js

@@ -117,3 +117,3 @@ /*!

if (isNaN(maxAge)) throw new Error('maxAge should be a Number');
pairs.push('Max-Age=' + maxAge);
pairs.push('Max-Age=' + Math.floor(maxAge));
}

@@ -120,0 +120,0 @@

{
"name": "cookie",
"description": "cookie parsing and serialization",
"version": "0.2.2",
"version": "0.2.3",
"author": "Roman Shtylman <shtylman@gmail.com>",

@@ -16,3 +16,3 @@ "contributors": [

"devDependencies": {
"istanbul": "0.3.20",
"istanbul": "0.3.22",
"mocha": "1.21.5"

@@ -19,0 +19,0 @@ },

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