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

cookie-mem

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cookie-mem - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

8

index.js

@@ -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": {}
}
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