cookiejar
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -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=/")); |
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
11414
260
0