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

src

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

src - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

index.js

@@ -39,3 +39,3 @@ var redis = require('redis-url');

}
cache.keys = function(cb) {
cache.keys = function(cb, opts) {
client.keys(prefix() + '*', function(err, keys) {

@@ -45,3 +45,3 @@ if (err) {

}
cb(null, _.map(keys, decompose))
cb(null, (opts && opts.raw) ? keys : _.map(keys, decompose))
})

@@ -48,0 +48,0 @@ }

{
"name": "src",
"version": "1.1.0",
"version": "1.1.1",
"description": "Simple Redis Cache",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -61,3 +61,9 @@ var assert = require('assert');

})
done()
cache.keys(function(er, ks) {
var raws = _.map(keys, function(p) { return cache.id() + ':' + p })
_.each(raws, function(k) {
assert.ok(ks.indexOf(k) !== -1)
})
done()
}, { raw: true })
});

@@ -64,0 +70,0 @@ })

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