Socket
Socket
Sign inDemoInstall

cookiejar

Package Overview
Dependencies
0
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.1 to 1.3.2

20

package.json

@@ -1,8 +0,14 @@

{ "name" : "cookiejar"
, "version" : "1.3.1"
, "author": "bradleymeck"
, "main": "cookiejar.js"
, "description" : "simple persistent cookiejar system"
, "license": "MIT"
, "repository": {"type": "git", "url": "https://github.com/bmeck/node-cookiejar.git"}
{
"name": "cookiejar",
"version": "1.3.2",
"author": {
"name": "bradleymeck"
},
"main": "cookiejar.js",
"description": "simple persistent cookiejar system",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/bmeck/node-cookiejar.git"
}
}

@@ -51,1 +51,9 @@ var Cookie=require("../cookiejar")

assert.equal(cookies[0].value, 2);
// Test Ignore Trailing Semicolons (Github Issue #6)
var cookie = new Cookie("a=1;domain=.test.com;path=/;;;;");
assert.equal(cookie.name, "a");
assert.equal(cookie.value, "1");
assert.equal(cookie.domain, ".test.com");
assert.equal(cookie.path, "/");
assert.deepEqual(cookie, new Cookie("a=1;domain=.test.com;path=/"));
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc