New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cacheman-memory

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cacheman-memory - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

src/index.js

14

package.json
{
"name": "cacheman-memory",
"version": "1.0.2",
"version": "1.1.0",
"description": "In-memory caching library for Node.JS and also cache engine for cacheman",
"author": "Jonathan Brumley <cayasso@gmail.com>",
"main": "./node/index",
"main": "./src/index",
"scripts": {
"test": "make test",
"prepublish": "make"
"test": "mocha"
},

@@ -25,9 +24,8 @@ "repository": {

"devDependencies": {
"babel": "^5.8.29",
"mocha": "*",
"pre-commit": "1.1.2"
"pre-commit": "1.2.2",
"mocha": "^5.1.1"
},
"dependencies": {
"lru-cache": "~2.7.x"
"lru-cache": "~4.1.x"
}
}

@@ -34,3 +34,3 @@ # cacheman-memory

cache.del('my key', function (error){
if (error) throw error;

@@ -109,2 +109,15 @@

### cache.getAll([fn])
Get all keys and entries in cache
```javascript
cache.set('foo', { a: 'bar' }, 60, function (err, value) {
if (err) throw err;
cache.getAll(function (err, data) {
if (err) throw err;
// [{ key: 'foo', data: { a: 'bar' } }]
});
```
## Run tests

@@ -111,0 +124,0 @@

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