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

cookie

Package Overview
Dependencies
Maintainers
2
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 1.0.0 to 1.0.1

10

dist/index.js

@@ -176,3 +176,6 @@ "use strict";

if (options.priority) {
switch (options.priority) {
const priority = typeof options.priority === "string"
? options.priority.toLowerCase()
: options.sameSite;
switch (priority) {
case "low":

@@ -192,3 +195,6 @@ str += "; Priority=Low";

if (options.sameSite) {
switch (options.sameSite) {
const sameSite = typeof options.sameSite === "string"
? options.sameSite.toLowerCase()
: options.sameSite;
switch (sameSite) {
case true:

@@ -195,0 +201,0 @@ case "strict":

2

package.json
{
"name": "cookie",
"version": "1.0.0",
"version": "1.0.1",
"description": "HTTP server cookie parsing and serialization",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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