Comparing version 1.0.0 to 1.0.1
@@ -9,3 +9,3 @@ // Quick and dirty hack of https://www.npmjs.com/package/tough-cookie-filestore to ensure cookies can be held and loaded from memory. Good only for cookies that don't need to be persisted on disk. | ||
function FileCookieStore(filePath) { | ||
function FileCookieStore() { | ||
Store.call(this); | ||
@@ -16,6 +16,8 @@ this.idx = {}; // idx is memory cache | ||
self.idx = this.idx; | ||
self.idx = this.idx || {}; | ||
} | ||
util.inherits(FileCookieStore, Store); | ||
exports.FileCookieStore = FileCookieStore; | ||
module.exports = FileCookieStore; | ||
FileCookieStore.prototype.idx = null; | ||
@@ -22,0 +24,0 @@ FileCookieStore.prototype.synchronous = true; |
{ | ||
"name": "cookie-mem", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Quick and dirty hack of https://www.npmjs.com/package/tough-cookie-filestore to ensure cookies can be held and loaded from memory. Good only for cookies that don't need to be persisted on disk.", | ||
@@ -27,3 +27,4 @@ "main": "index.js", | ||
"tough-cookie": "^2.0.0" | ||
} | ||
}, | ||
"devDependencies": {} | ||
} |
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
cookie-es |
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
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
4682
1