simple-cookie
Advanced tools
Comparing version 1.0.5 to 1.0.6
14
index.js
@@ -57,7 +57,11 @@ function printExpires(expires){ | ||
obj.name = n.shift(); | ||
try{ | ||
obj.value = decodeURIComponent(n.join('=')); | ||
}catch(e){ | ||
obj.value = n.join('='); | ||
} | ||
n = n.map((s) => { | ||
var f; | ||
try{ | ||
f = decodeURIComponent(s) | ||
}catch(e){ f = s } | ||
return s | ||
}) | ||
obj.value = n.join('='); | ||
return obj; | ||
@@ -64,0 +68,0 @@ }, |
{ | ||
"name": "simple-cookie", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Simple cookie parser & serializer", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
7587
131