@5app/memoize
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -0,1 +1,8 @@ | ||
## [1.3.1](https://github.com/5app/memoize/compare/v1.3.0...v1.3.1) (2021-02-17) | ||
### Bug Fixes | ||
* MEMOIZE_DISABLED - rm 'D' from env var ([d02ac0b](https://github.com/5app/memoize/commit/d02ac0b9cf9a11b38e522876883169b4020948e6)) | ||
# [1.3.0](https://github.com/5app/memoize/compare/v1.2.0...v1.3.0) (2021-02-16) | ||
@@ -2,0 +9,0 @@ |
@@ -25,3 +25,3 @@ /** | ||
// Disable all memoize | ||
const {MEMOIZE_DISABLED = false} = process.env; | ||
const {MEMOIZE_DISABLE = false} = process.env; | ||
@@ -75,3 +75,3 @@ const { | ||
// Serve the cached value? | ||
if (item.value && !MEMOIZE_DISABLED && shouldUseCache(item)) { | ||
if (item.value && !MEMOIZE_DISABLE && shouldUseCache(item)) { | ||
// We're going to return the last resolved value | ||
@@ -78,0 +78,0 @@ // But first let's identify the next request |
{ | ||
"name": "@5app/memoize", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Memoize decorator", | ||
@@ -32,5 +32,5 @@ "main": "index.js", | ||
"@semantic-release/git": "^9.0.0", | ||
"chai": "^4.2.0", | ||
"chai": "^4.3.0", | ||
"chai-as-promised": "^7.1.1", | ||
"eslint": "^7.18.0", | ||
"eslint": "^7.20.0", | ||
"eslint-config-5app": "^0.14.0", | ||
@@ -40,7 +40,7 @@ "eslint-config-prettier": "^7.2.0", | ||
"husky": "^5.0.0", | ||
"mocha": "^8.2.1", | ||
"mocha": "^8.3.0", | ||
"nyc": "^15.1.0", | ||
"prettier": "^2.2.1", | ||
"pretty-quick": "^3.1.0", | ||
"semantic-release": "^17.3.7" | ||
"semantic-release": "^17.3.9" | ||
}, | ||
@@ -47,0 +47,0 @@ "publishConfig": { |
11565