Socket
Socket
Sign inDemoInstall

@keyv/redis

Package Overview
Dependencies
13
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.3 to 2.2.0

21

package.json
{
"name": "@keyv/redis",
"version": "2.1.3",
"version": "2.2.0",
"description": "Redis storage adapter for Keyv",

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

"test": "xo && nyc ava",
"test:docker": "docker-compose up --build --abort-on-container-exit --exit-code-from test",
"posttest:docker": "docker-compose down --rmi local",
"coverage": "nyc report --reporter=text-lcov | coveralls"
"test:services:start": "docker-compose -f ./test/redis-compose.yaml up -d",
"test:services:stop": "docker-compose -f ./test/redis-compose.yaml down -v",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov"
},

@@ -26,3 +26,3 @@ "xo": {

"type": "git",
"url": "git+https://github.com/lukechilds/keyv-redis.git"
"url": "git+https://github.com/jaredwray/keyv-redis.git"
},

@@ -40,10 +40,10 @@ "keywords": [

],
"author": "Luke Childs <lukechilds123@gmail.com> (http://lukechilds.co.uk)",
"author": "Jared Wray <me@jaredwray.com> (http://jaredwray.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/lukechilds/keyv-redis/issues"
"url": "https://github.com/jaredwray/keyv-redis/issues"
},
"homepage": "https://github.com/lukechilds/keyv-redis",
"homepage": "https://github.com/jaredwray/keyv-redis",
"dependencies": {
"ioredis": "~4.27.10"
"ioredis": "^4.28.0"
},

@@ -53,3 +53,2 @@ "devDependencies": {

"ava": "^3.15.0",
"coveralls": "^3.0.7",
"delay": "^5.0.0",

@@ -61,4 +60,4 @@ "eslint-config-xo-lukechilds": "^1.0.1",

"this": "^1.1.0",
"xo": "^0.45.0"
"xo": "^0.46.4"
}
}

@@ -1,10 +0,10 @@

# @keyv/redis [<img width="100" align="right" src="https://rawgit.com/lukechilds/keyv/master/media/logo.svg" alt="keyv">](https://github.com/lukechilds/keyv)
# @keyv/redis [<img width="100" align="right" src="https://jaredwray.com/images/keyv.svg" alt="keyv">](https://github.com/jaredwra/keyv)
> Redis storage adapter for Keyv
[![Build Status](https://travis-ci.org/lukechilds/keyv-redis.svg?branch=master)](https://travis-ci.org/lukechilds/keyv-redis)
[![Coverage Status](https://coveralls.io/repos/github/lukechilds/keyv-redis/badge.svg?branch=master)](https://coveralls.io/github/lukechilds/keyv-redis?branch=master)
[![build](https://github.com/jaredwray/keyv-redis/actions/workflows/build.yaml/badge.svg)](https://github.com/jaredwray/keyv-redis/actions/workflows/build.yaml)
[![codecov](https://codecov.io/gh/jaredwray/keyv-redis/branch/master/graph/badge.svg?token=LVIK6r34oV)](https://codecov.io/gh/jaredwray/keyv-redis)
[![npm](https://img.shields.io/npm/v/@keyv/redis.svg)](https://www.npmjs.com/package/@keyv/redis)
Redis storage adapter for [Keyv](https://github.com/lukechilds/keyv).
Redis storage adapter for [Keyv](https://github.com/jaredwray/keyv).

@@ -60,2 +60,2 @@ TTL functionality is handled directly by Redis so no timestamps are stored and expired keys are cleaned up internally.

MIT © Luke Childs
MIT © Jared Wray & Luke Childs

@@ -8,3 +8,3 @@ const EventEmitter = require('events');

if (uri instanceof Redis) {
if (uri instanceof Redis || uri instanceof Redis.Cluster) {
this.redis = uri;

@@ -11,0 +11,0 @@ } else {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc