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

chocolate-chip

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chocolate-chip - npm Package Compare versions

Comparing version 0.0.3 to 0.1.0

5

CHANGELOG.md

@@ -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 @@

7

chocolate-chip.js

@@ -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>",

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