Socket
Socket
Sign inDemoInstall

keyv

Package Overview
Dependencies
1
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.0 to 0.5.0

test/storage-adapters/sqlite.js

9

package.json
{
"name": "keyv",
"version": "0.4.0",
"version": "0.5.0",
"description": "Simple key/value store with support for multiple backends",

@@ -35,13 +35,14 @@ "main": "src/index.js",

"devDependencies": {
"ava": "^0.19.1",
"ava": "^0.20.0",
"coveralls": "^2.13.1",
"delay": "^2.0.0",
"eslint-config-xo-lukechilds": "^1.0.0",
"get-root-module": "^0.1.3",
"keyv-mongo": "*",
"keyv-redis": "*",
"keyv-sqlite": "*",
"keyv-test-suite": "*",
"nyc": "^10.3.2",
"nyc": "^11.0.3",
"this": "^1.0.2",
"xo": "^0.19.0"
}
}

@@ -10,3 +10,4 @@ 'use strict';

mongodb: 'keyv-mongo',
mongo: 'keyv-mongo'
mongo: 'keyv-mongo',
sqlite: 'keyv-sqlite'
};

@@ -13,0 +14,0 @@ if (opts.adapter || opts.uri) {

import test from 'ava';
import delay from 'delay';
import keyvTestSuite from 'keyv-test-suite';
import Keyv from 'get-root-module';
import Keyv from 'this';

@@ -6,0 +6,0 @@ test('Keyv is a class', t => {

import test from 'ava';
import keyvTestSuite, { keyvOfficialTests } from 'keyv-test-suite';
import Keyv from 'get-root-module';
import Keyv from 'this';
import KeyvMongo from 'keyv-mongo';
keyvOfficialTests(test, Keyv, 'mongodb://127.0.0.1:27017', 'mongodb://127.0.0.1:1234');
const store = () => new (require('keyv-mongo'))('mongodb://127.0.0.1:27017'); // eslint-disable-line import/newline-after-import
const store = () => new KeyvMongo('mongodb://127.0.0.1:27017');
keyvTestSuite(test, Keyv, store);
import test from 'ava';
import keyvTestSuite, { keyvOfficialTests } from 'keyv-test-suite';
import Keyv from 'get-root-module';
import Keyv from 'this';
import KeyvRedis from 'keyv-redis';
keyvOfficialTests(test, Keyv, 'redis://localhost', 'redis://foo');
const store = () => new (require('keyv-redis'))('redis://localhost'); // eslint-disable-line import/newline-after-import
const store = () => new KeyvRedis('redis://localhost');
keyvTestSuite(test, Keyv, store);
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc