Comparing version 4.27.8 to 4.27.9
@@ -30,2 +30,12 @@ "use strict"; | ||
} | ||
if (!client._autoPipelines.has(slotKey)) { | ||
/* | ||
Rare edge case. Somehow, something has deleted this running autopipeline in an immediate | ||
call to executeAutoPipeline. | ||
Maybe the callback in the pipeline.exec is sometimes called in the same tick, | ||
e.g. if redis is disconnected? | ||
*/ | ||
return; | ||
} | ||
client._runningAutoPipelines.add(slotKey); | ||
@@ -32,0 +42,0 @@ // Get the pipeline and immediately delete it so that new commands are queued on a new pipeline |
@@ -318,3 +318,3 @@ "use strict"; | ||
const value = result[i + 1]; | ||
if (obj[key]) { | ||
if (key in obj) { | ||
// can only be truthy if the property is special somehow, like '__proto__' or 'constructor' | ||
@@ -321,0 +321,0 @@ // https://github.com/luin/ioredis/issues/1267 |
@@ -0,1 +1,9 @@ | ||
## [4.27.9](https://github.com/luin/ioredis/compare/v4.27.8...v4.27.9) (2021-08-30) | ||
### Bug Fixes | ||
* Fix undefined property warning in executeAutoPipeline ([#1425](https://github.com/luin/ioredis/issues/1425)) ([f898672](https://github.com/luin/ioredis/commit/f898672a29753774eeb6e166c28ed6f548533517)) | ||
* improve proto checking for hgetall [skip ci] ([#1418](https://github.com/luin/ioredis/issues/1418)) ([cba83cb](https://github.com/luin/ioredis/commit/cba83cba2dba25e59ad87c85d740f15f78e45e14)) | ||
## [4.27.8](https://github.com/luin/ioredis/compare/v4.27.7...v4.27.8) (2021-08-18) | ||
@@ -2,0 +10,0 @@ |
{ | ||
"name": "ioredis", | ||
"version": "4.27.8", | ||
"version": "4.27.9", | ||
"description": "A robust, performance-focused and full-featured Redis client for Node.js.", | ||
@@ -5,0 +5,0 @@ "main": "built/index.js", |
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
295286
4884