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

secure-store-redis

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

secure-store-redis - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

.travis.yml

13

index.js

@@ -107,2 +107,15 @@ var RCP = require('redis-connection-pool'),

SecureStore.prototype.delete = function (postfix, key, cb) {
if (typeof cb !== 'function') {
assert(typeof key === 'function', 'must specify a callback');
cb = key;
key = postfix;
postfix = '';
} else {
postfix = ':' + postfix;
}
assert(typeof key === 'string', 'no hash key specified');
this.pool.hdel(this.namespace + postfix, shasum(key), cb);
};
module.exports = SecureStore;

2

package.json
{
"name": "secure-store-redis ",
"version": "1.2.0",
"version": "1.3.0",
"description": "A simple wrapper to encrypt and decrypt data stored in redis",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -38,2 +38,6 @@ # secure-store-redis

store.delete('quote', function (err, reply) {
// err: null
// reply: 1
});

@@ -40,0 +44,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