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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
46000
11
861
0
2
13
+ Addedredis@^3.1.2
+ Addeddenque@1.5.1(transitive)
+ Addedredis@3.1.2(transitive)
+ Addedredis-commands@1.7.0(transitive)
+ Addedredis-errors@1.2.0(transitive)
+ Addedredis-parser@3.0.0(transitive)