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

memoizee

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

memoizee - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

1

normalizers/get-1.js

@@ -27,5 +27,4 @@ 'use strict';

cache = [];
lastId = 0;
}
};
};

@@ -69,5 +69,4 @@ 'use strict';

cache = create(null);
lastId = 0;
}
};
};

@@ -86,5 +86,4 @@ 'use strict';

cache = create(null);
lastId = 0;
}
};
};

2

package.json
{
"name": "memoizee",
"version": "0.3.3",
"version": "0.3.4",
"description": "Memoize/cache",

@@ -5,0 +5,0 @@ "author": "Mariusz Nowak <medikoo@medikoo.com> (http://www.medikoo.com/)",

@@ -225,4 +225,22 @@ 'use strict';

}
},
"Sync Clear": function (a, d) {
var mfn, fn;
fn = function (x, cb) {
nextTick(function () {
cb(null, x);
});
};
mfn = memoize(fn, { async: true });
mfn(1, function (err, i) {
a(i, 1, "First");
});
mfn.clear();
mfn(2, function (err, i) {
a(i, 2, "Second");
d();
});
}
};
};

Sorry, the diff of this file is not supported yet

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