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.1 to 1.1.2

2

index.js

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

var client = redis.connect(config.url);
var id = uuid.v1();
var id = config.id || uuid.v1();
cache.client = client;

@@ -10,0 +10,0 @@ function prefix() {

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

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

@@ -50,2 +50,5 @@ var assert = require('assert');

})
it('should allow setting cache id', function() {
assert.equal(src({id:'id-test'}).id(), 'id-test')
})
it('should list the cache keys', function(done) {

@@ -52,0 +55,0 @@ var keys = _.map([

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