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

keyv

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keyv - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

package.json
{
"name": "keyv",
"version": "1.0.4",
"version": "1.0.5",
"description": "Simple key-value storage with support for multiple backends",

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

@@ -138,3 +138,7 @@ <h1 align="center">

constructor(opts) {
this.cache = new Keyv(opts.cache, { namespace: 'awesome-module' });
this.cache = new Keyv({
uri: typeof opts.cache === 'string' && opts.cache,
store: typeof opts.cache !== 'string' && opts.cache,
namespace: 'awesome-module'
});
}

@@ -141,0 +145,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