@cedx/cookies
Advanced tools
Comparing version 8.0.0 to 8.0.1
@@ -27,3 +27,3 @@ // Defines the attributes of a HTTP cookie. | ||
} | ||
if (this.expires != null) { | ||
if (this.expires) { | ||
value.push(`expires=${this.expires.toUTCString()}`); | ||
@@ -37,3 +37,3 @@ } | ||
} | ||
if (this.sameSite != null) { | ||
if (this.sameSite) { | ||
value.push(`samesite=${this.sameSite}`); | ||
@@ -40,0 +40,0 @@ } |
@@ -104,3 +104,3 @@ import { | ||
setObject(key, value, options = {}) { | ||
return this.set(key, JSON.stringify(value, options)); | ||
return this.set(key, JSON.stringify(value), options); | ||
} | ||
@@ -107,0 +107,0 @@ |
@@ -9,3 +9,3 @@ { | ||
"type": "module", | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"author": { | ||
@@ -26,4 +26,4 @@ "email": "cedric@belin.io", | ||
"mocha": "^10.8.2", | ||
"puppeteer": "^23.7.0", | ||
"rollup": "^4.24.4", | ||
"puppeteer": "^23.7.1", | ||
"rollup": "^4.25.0", | ||
"serve-handler": "^6.1.6" | ||
@@ -30,0 +30,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
0
25379