Comparing version 1.0.0 to 1.0.1
@@ -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": |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
45951
346
0