@iobroker/db-base 4.0.3 → 4.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -422,6 +422,11 @@ class RedisHandler extends EventEmitter {
422
422
  * @private
423
423
  */
424
424
  _handleExec(responseId) {
425
+ if (!this.activeMultiCalls[0]) {
426
+ this.sendError(responseId, new Error('EXEC without MULTI'));
427
+ return;
428
+ }
429
+
425
430
  this.activeMultiCalls[0].execId = responseId;
426
431
  this.activeMultiCalls[0].execCalled = true;
427
432
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@iobroker/db-base",
3
- "version": "4.0.3",
3
+ "version": "4.0.5",
4
4
  "engines": {
5
5
  "node": ">=12.0.0"
6
6
  },
7
7
  "dependencies": {
8
- "@iobroker/js-controller-common": "4.0.3",
8
+ "@iobroker/js-controller-common": "4.0.5",
9
9
  "deep-clone": "^3.0.3",
10
10
  "fs-extra": "^10.0.0",
11
11
  "respjs": "^4.2.0"
@@ -35,5 +35,5 @@
35
35
  "lib/",
36
36
  "index.js"
37
37
  ],
38
- "gitHead": "79a76a082db91399d0e432ef02bf2981a6739107"
38
+ "gitHead": "ba55e7d15a1e68e18d03254d0fa8030d7f785651"
39
39
  }