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

node-redis-connection-pool

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-redis-connection-pool - npm Package Compare versions

Comparing version 2.11.0 to 3.0.0

.eslintrc.js

4

CHANGELOG.md
# Change Log
**2.10.1**
types definition was added
**2.11.0**
move to typescript
{
"name": "node-redis-connection-pool",
"version": "2.11.0",
"version": "3.0.0",
"description": "Simplistic node redis connection pool ready can scale with generic-pool support",
"main": "index.js",
"types": "index.d.js",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {

@@ -35,36 +35,47 @@ "type": "git",

"scripts": {
"lint": "node_modules/.bin/eslint ./lib",
"test": "./node_modules/.bin/mocha --reporter spec && npm run lint",
"cover": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha",
"coveralls": "npm run cover -- --report lcovonly && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"docs:generate": "./node_modules/.bin/jsdoc -c .jsdoc.json",
"docs:publish": "sh ./scripts/gh_deploy.sh",
"publish:patch": "npm version patch && npm run publish:push",
"lint": "eslint -c .eslintrc.js --ext .ts src",
"build": "npm run build:clean && tsc",
"build:watch": "tsc --watch",
"build:clean": "rimraf dist",
"test": "jest --runInBand --detectOpenHandles --forceExit --coverage",
"test:watch": "jest --runInBand --detectOpenHandles --forceExit --watch",
"coveralls": "coveralls < coverage/lcov.info",
"docs": "npm run docs:clean && typedoc --readme none --theme minimal --out docs/ src/RedisConnectionPool.ts && touch ./docs/.nojekyll",
"docs:clean": "rimraf docs",
"prepublish": "npm run docs && npm run build",
"publish:push": "git push origin master --follow-tags && npm publish",
"publish:major": "npm version major && npm run publish:push",
"publish:minor": "npm version minor && npm run publish:push",
"publish:major": "npm version major && npm run publish:push",
"publish:push": "git push origin master --follow-tags && npm publish",
"postpublish": "npm run docs:generate && npm run docs:publish"
"publish:patch": "npm version patch && npm run publish:push"
},
"dependencies": {
"debug": "^3.1.0",
"es6-promisify": "^5.0.0",
"generic-pool": "3.2.0",
"lodash.pick": "^4.4.0",
"redis": "^2.8.0",
"retry-as-promised": "^2.3.2"
"debug": "^4.3.1",
"generic-pool": "^3.7.1",
"is-json": "^2.0.1",
"redis": "^3.0.2",
"retry-as-promised": "^3.2.0"
},
"devDependencies": {
"@babel/preset-typescript": "^7.12.13",
"@types/debug": "^4.1.5",
"@types/generic-pool": "^3.1.9",
"@types/redis": "^2.8.17",
"bluebird": "^3.5.1",
"coveralls": "^2.11.15",
"docdash": "^0.4.0",
"eslint": "^4.13.1",
"ink-docstrap": "^1.3.2",
"istanbul": "^0.4.5",
"jsdoc": "^3.5.5",
"mocha": "^3.2.0",
"mocha-lcov-reporter": "^1.3.0",
"should": "^13.1.3"
"@types/jest": "^26.0.20",
"@types/node": "^14.14.25",
"@types/redis": "^2.8.28",
"@typescript-eslint/eslint-plugin": "^4.14.2",
"@typescript-eslint/eslint-plugin-tslint": "^4.14.2",
"@typescript-eslint/parser": "^4.14.2",
"coveralls": "^3.1.0",
"eslint": "^7.19.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.22.1",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"ts-jest": "^26.5.0",
"typedoc": "^0.20.22",
"typescript": "^4.1.3"
}
}
[![npm version](https://badge.fury.io/js/node-redis-connection-pool.svg)](https://badge.fury.io/js/node-redis-connection-pool)
[![Build Status](https://travis-ci.org/pasupulaphani/node-redis-connection-pool.svg?branch=master)](https://travis-ci.org/pasupulaphani/node-redis-connection-pool)
[![Coverage Status](https://coveralls.io/repos/github/pasupulaphani/node-redis-connection-pool/badge.svg?branch=master)](https://coveralls.io/github/pasupulaphani/node-redis-connection-pool?branch=master)
[![Gratipay donate button](https://img.shields.io/badge/gratipay-donate-yellow.svg?style=flat-square)](https://gratipay.com/simple-redis-store/)
[![Patreon donate button](https://img.shields.io/badge/patreon-donate-yellow.svg)](http://patreon.com/phaninder 'Donate to this project using Patreon')

@@ -10,6 +10,10 @@ # node-redis-connection-pool [![See on Github](https://github.com/themes/tactile/images/octocat-icon.png)](https://github.com/pasupulaphani/node-redis-connection-pool)

### Documentation
- [TSDOC pages](https://pasupulaphani.github.io/node-redis-connection-pool/index.html)
## Prerequisites
```node >= 4``` This module requires nodejs v4 or above as it has dependencies on es6 components such as Map, Set, Promise etc.
- `node >= 8` This module requires nodejs v8 or later
- `redis >= 4` This module requires redis v4 or above as it has dependencies on `UNLINK` and `redis.replicate_commands()` for pattern deletion.

@@ -25,2 +29,3 @@ ### Getting started

- Seemless execution of commands.
```

@@ -34,2 +39,3 @@ var RedisPool = require("node-redis-connection-pool");

- Want redis raw connection? you got it
```

@@ -46,3 +52,2 @@ pool.acquire()

#### API

@@ -102,3 +107,2 @@

### Run tests

@@ -118,3 +122,3 @@

* [Phani](https://github.com/pasupulaphani) — [view contributions](https://github.com/pasupulaphani/node-redis-connection-pool/commits?author=pasupulaphani)
- [Phani](https://github.com/pasupulaphani) — [view contributions](https://github.com/pasupulaphani/node-redis-connection-pool/commits?author=pasupulaphani)

@@ -125,9 +129,8 @@ ### Sponsors

[![Patreon donate button](https://img.shields.io/badge/patreon-donate-yellow.svg)](http://patreon.com/phaninder "Donate to this project using Patreon")
[![Gratipay donate button](https://img.shields.io/badge/gratipay-donate-yellow.svg)](https://gratipay.com/~pasupulaphani/ "Donate weekly to this project using Gratipay")
[![Flattr donate button](https://img.shields.io/badge/flattr-donate-yellow.svg)](https://flattr.com/profile/pasupulaphani "Donate to this project using Flattr")
[![Patreon donate button](https://img.shields.io/badge/patreon-donate-yellow.svg)](http://patreon.com/phaninder 'Donate to this project using Patreon')
[![Flattr donate button](https://img.shields.io/badge/flattr-donate-yellow.svg)](https://flattr.com/profile/pasupulaphani 'Donate to this project using Flattr')
<!-- [![PayPal donate button](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://phaninder.com/paypal "Donate to this project using Paypal") -->
<!-- [![Bitcoin donate button](https://img.shields.io/badge/bitcoin-donate-yellow.svg)](https://phaninder.com/bitcoin "Donate once-off to this project using Bitcoin") -->
<!-- [![Wishlist browse button](https://img.shields.io/badge/wishlist-donate-yellow.svg)](https://phaninder.com/wishlist "Buy an item on our wishlist for us") -->
<a href='https://pledgie.com/campaigns/33095'><img alt='Click here to lend your support to: simple-node-redis-cache and make a donation at pledgie.com !' src='https://pledgie.com/campaigns/33095.png?skin_name=chrome' border='0' ></a>

@@ -138,5 +141,4 @@ ### Contributors

* [Oliver Brooks](https://github.com/oliverbrooks)
- [Oliver Brooks](https://github.com/oliverbrooks)
[Discover how you can contribute by heading on over to the `CONTRIBUTING.md` file.](https://github.com/pasupulaphani/node-redis-connection-pool/blob/master/CONTRIBUTING.md)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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