New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cookie-monster

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cookie-monster - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

4

index.js

@@ -35,2 +35,6 @@ 'use strict';

if (opts.secure) {
newCookie += '; secure'
}
doc.cookie = newCookie;

@@ -37,0 +41,0 @@

2

package.json
{
"name": "cookie-monster",
"description": "Browserify-compatible module to get and set cookies in the browser",
"version": "0.0.5",
"version": "0.0.6",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

@@ -11,3 +11,3 @@ var cookie = require('../index');

cookie.set('cookieKey', 'cookieVal');
document.cookie.should.equal('cookieKey=cookieVal');
document.cookie.should.contain('cookieKey=cookieVal');
});

@@ -14,0 +14,0 @@

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