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

cached

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cached - npm Package Compare versions

Comparing version 6.0.0 to 6.1.0

@@ -0,1 +1,8 @@

### v6.1.0 (2021-06-29)
<a id="v6.1.0"></a>
#### 🚀 New Features
* [#62](https://github.com/groupon/node-cached/pull/62) feat: add redis backend ([@aaarichter](https://github.com/aaarichter))
### v6.0.0 (2021-06-27)

@@ -2,0 +9,0 @@ <a id="v6.0.0"></a>

@@ -37,2 +37,3 @@ /*

const Memory = require('./backends/memory');
const Redis = require('./backends/redis');

@@ -74,2 +75,3 @@ /**

addType('memcached', Memcached);
addType('redis', Redis);
}

@@ -76,0 +78,0 @@

@@ -45,2 +45,6 @@ /*

end() {
this.cache = null;
}
/**

@@ -47,0 +51,0 @@ * @param {string} key

{
"name": "cached",
"version": "6.0.0",
"version": "6.1.0",
"description": "Simple access to a cache",

@@ -41,8 +41,10 @@ "license": "BSD-3-Clause",

"dependencies": {
"memcached-elasticache": "^1.1.1"
"memcached-elasticache": "^1.1.1",
"redis": "^3.1.2"
},
"devDependencies": {
"@types/memcached": "^2.2.6",
"@types/redis": "^2.8.30",
"c8": "^7.7.3",
"eslint": "^7.28.0",
"eslint": "^7.29.0",
"eslint-config-groupon": "^10.0.4",

@@ -53,6 +55,6 @@ "eslint-plugin-import": "^2.23.4",

"eslint-plugin-prettier": "^3.4.0",
"mocha": "^9.0.0",
"mocha": "^9.0.1",
"nlm": "^5.5.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.1"
"prettier": "^2.3.2"
},

@@ -59,0 +61,0 @@ "author": {

[![nlm-github](https://img.shields.io/badge/github-groupon%2Fnode--cached%2Fissues-F4D03F?logo=github&logoColor=white)](https://github.com/groupon/node-cached/issues)
![nlm-node](https://img.shields.io/badge/node-%3E%3D10.13.0-blue?logo=node.js&logoColor=white)
![nlm-version](https://img.shields.io/badge/version-6.0.0-blue?logo=version&logoColor=white)
![nlm-version](https://img.shields.io/badge/version-6.1.0-blue?logo=version&logoColor=white)
[![Publish to NPM](https://github.com/groupon/node-cached/actions/workflows/npm-publish.yml/badge.svg?event=push)](https://github.com/groupon/node-cached/actions/workflows/npm-publish.yml)

@@ -5,0 +5,0 @@ # cached