redis-smq-common
Advanced tools
Comparing version 1.0.0-rc.11 to 1.0.0
# CHANGELOG | ||
## 1.0.0 (20220-06-18) | ||
* Rename logger/test00018 (f20fdf9) | ||
* Test PowerManager (8d6f5e6) | ||
* Complete async tests to reach 9x% code coverage (ea57f8f) | ||
* Test async.waterfall() (ae4a283) | ||
* Increase code coverage (c5e3f2b) | ||
## 1.0.0-rc.11 (2022-05-31) | ||
@@ -4,0 +12,0 @@ |
@@ -190,3 +190,3 @@ "use strict"; | ||
.flushAll() | ||
.then(() => cb()) | ||
.then((reply) => cb(null, reply)) | ||
.catch(cb); | ||
@@ -193,0 +193,0 @@ } |
@@ -46,4 +46,4 @@ /// <reference types="node" /> | ||
abstract rpoplpush(source: string, destination: string, cb: ICallback<string | null>): void; | ||
zpophgetrpush(source: string, sourceHash: string, destination: string, cb: ICallback<string>): void; | ||
lpoprpushextra(source: string, destination: string, listSize: number, expire: number, cb: ICallback<string>): void; | ||
zpophgetrpush(source: string, sourceHash: string, destination: string, cb: ICallback<string | null>): void; | ||
lpoprpushextra(source: string, destination: string, listSize: number, expire: number, cb: ICallback<string | null>): void; | ||
lpoprpush(source: string, destination: string, cb: ICallback<string | null>): void; | ||
@@ -50,0 +50,0 @@ abstract zrangebyscorewithscores(source: string, min: number, max: number, cb: ICallback<Record<string, string>>): void; |
@@ -32,6 +32,4 @@ "use strict"; | ||
cb(err); | ||
else if (typeof res !== 'string') | ||
cb(); | ||
else | ||
cb(null, res); | ||
cb(null, typeof res === 'string' ? res : null); | ||
}); | ||
@@ -43,6 +41,4 @@ } | ||
cb(err); | ||
else if (typeof res !== 'string') | ||
cb(); | ||
else | ||
cb(null, res); | ||
cb(null, typeof res === 'string' ? res : null); | ||
}); | ||
@@ -58,6 +54,4 @@ } | ||
cb(err); | ||
else if (typeof res !== 'string') | ||
cb(); | ||
else | ||
cb(null, res); | ||
cb(null, typeof res === 'string' ? res : null); | ||
}); | ||
@@ -64,0 +58,0 @@ } |
{ | ||
"name": "redis-smq-common", | ||
"version": "1.0.0-rc.11", | ||
"version": "1.0.0", | ||
"description": "RedisSMQ shared components that may be used by integrated applications and extensions.", | ||
@@ -5,0 +5,0 @@ "author": "Weyoss <weyoss@protonmail.com>", |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
108280
0
2673