chocolate-chip
Advanced tools
Comparing version 0.0.3 to 0.1.0
@@ -5,2 +5,7 @@ # Change log | ||
## [0.1.0] 2016-09-20 | ||
### Fixed | ||
- Allow opts on `remove` to allow removal of custom domain cookies. | ||
## [0.0.3] 2015-06-18 | ||
@@ -7,0 +12,0 @@ |
@@ -141,7 +141,10 @@ "use strict"; | ||
*/ | ||
remove: function (name) { | ||
remove: function (name, opts) { | ||
this.set(name, '', { | ||
end: PAST | ||
end: PAST, | ||
path: (opts && opts.path) ? opts.path : undefined, | ||
domain: (opts && opts.domain) ? opts.domain : undefined, | ||
secure: (opts && opts.secure) ? opts.secure : undefined | ||
}); | ||
} | ||
}; |
{ | ||
"name": "chocolate-chip", | ||
"version": "0.0.3", | ||
"version": "0.1.0", | ||
"description": "A tiny cookie toolkit.", | ||
@@ -5,0 +5,0 @@ "author": "Matt Perry <admin@redshiftjs.com>", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
5963
117
1