Socket
Socket
Sign inDemoInstall

cookie

Package Overview
Dependencies
0
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.0 to 0.3.1

6

HISTORY.md

@@ -0,1 +1,7 @@

0.3.1 / 2016-05-26
==================
* Fix `sameSite: true` to work with draft-7 clients
- `true` now sends `SameSite=Strict` instead of `SameSite`
0.3.0 / 2016-05-26

@@ -2,0 +8,0 @@ ==================

2

index.js

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

case true:
str += '; SameSite';
str += '; SameSite=Strict';
break;

@@ -168,0 +168,0 @@ case 'lax':

{
"name": "cookie",
"description": "HTTP server cookie parsing and serialization",
"version": "0.3.0",
"version": "0.3.1",
"author": "Roman Shtylman <shtylman@gmail.com>",

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

@@ -117,4 +117,3 @@ # cookie

- `true` will set the `SameSite` attribute, with no value. This leaves the enforcement value
up to the client.
- `true` will set the `SameSite` attribute to `Strict` for strict same site enforcement.
- `false` will not set the `SameSite` attribute.

@@ -121,0 +120,0 @@ - `'lax'` will set the `SameSite` attribute to `Lax` for lax same site enforcement.

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