Comparing version 1.0.11 to 1.0.12
@@ -0,1 +1,10 @@ | ||
<a name="1.0.12"></a> | ||
### 1.0.12 (2018-05-31) | ||
#### Bug Fixes | ||
* should not throw when asked to dispose a non-existent result-set ([98d31864](git+https://github.com/codeo-za/segmenta.git/commit/98d31864)) | ||
<a name="1.0.11"></a> | ||
@@ -2,0 +11,0 @@ ### 1.0.11 (2018-05-31) |
@@ -38,2 +38,5 @@ "use strict"; | ||
const baseKey = this._keyGenerator.resultSetKeyFor(id), keys = yield this._redis.keys(`${baseKey}/*`); | ||
if (keys.length === 0) { | ||
return; // nothing to do and no point complaining about it | ||
} | ||
yield this._redis.del(...keys); | ||
@@ -40,0 +43,0 @@ }); |
{ | ||
"name": "segmenta", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "A blazingly fast API for managing and querying arbitrary data segments stored in Redis", | ||
@@ -15,2 +15,3 @@ "main": "dist/index.js", | ||
"build": "gulp build", | ||
"autobuild": "nodemon -x \"run-s build\" -w src -w tests -e ts", | ||
"preunleash": "gulp build", | ||
@@ -43,2 +44,3 @@ "unleash": "unleash", | ||
"/_old__$/", | ||
"/node_modules/", | ||
"/.*\\.d\\.ts/", | ||
@@ -97,2 +99,3 @@ "/package.json/" | ||
"node-ts": "^2.1.2", | ||
"nodemon": "^1.17.5", | ||
"npm-run-all": "^4.1.3", | ||
@@ -99,0 +102,0 @@ "require-dir": "^1.0.0", |
62086
1330
24