@iobroker/db-objects-redis 4.0.3 → 4.0.4

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.
@@ -4413,7 +4413,10 @@ class ObjectsInRedisClient {
4413
4413
  } catch (e) {
4414
4414
  script.loaded = false;
4415
4415
  this.log.error(this.namespace + ' Cannot load "' + script.name + '": ' + e.message);
4416
- throw new Error(`Cannot load "${script.name}" into objects database: ${e.message}`);
4416
+ if (!script.name.startsWith('redlock_')) {
4417
+ // for controller 3.x backward compatibility
4418
+ throw new Error(`Cannot load "${script.name}" into objects database: ${e.message}`);
4419
+ }
4417
4420
  }
4418
4421
  script.hash = hash;
4419
4422
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@iobroker/db-objects-redis",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "engines": {
5
5
  "node": ">=12.0.0"
6
6
  },
7
7
  "dependencies": {
8
- "@iobroker/db-base": "4.0.3",
8
+ "@iobroker/db-base": "4.0.4",
9
9
  "deep-clone": "^3.0.3",
10
10
  "ioredis": "^4.28.2",
11
11
  "node.extend": "^2.0.2",
@@ -36,5 +36,5 @@
36
36
  "lib/",
37
37
  "index.js"
38
38
  ],
39
- "gitHead": "79a76a082db91399d0e432ef02bf2981a6739107"
39
+ "gitHead": "184f8340136fe668fb4d64d572ebeecb7b06b6e7"
40
40
  }