@iobroker/db-states-file
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -66,3 +66,3 @@ /** | ||
} else { | ||
return super.subscribe(pattern, options, callback); | ||
await super.subscribe(pattern, options, callback); | ||
} | ||
@@ -69,0 +69,0 @@ } |
@@ -241,3 +241,3 @@ /** | ||
state = JSON.parse(data[1].toString('utf-8')); | ||
} catch (e) { // No JSON, so handle as binary data and set as Buffer | ||
} catch { // No JSON, so handle as binary data and set as Buffer | ||
this._setBinaryState(id, data[1]); | ||
@@ -264,3 +264,3 @@ return void handler.sendString(responseId, 'OK'); | ||
state = JSON.parse(data[2].toString('utf-8')); | ||
} catch (e) { // No JSON, so handle as binary data and set as Buffer | ||
} catch { // No JSON, so handle as binary data and set as Buffer | ||
state = data[2]; | ||
@@ -267,0 +267,0 @@ } |
{ | ||
"name": "@iobroker/db-states-file", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"engines": { | ||
@@ -8,4 +8,4 @@ "node": ">=10.0.0" | ||
"dependencies": { | ||
"@iobroker/db-base": "1.2.0", | ||
"@iobroker/db-states-redis": "1.2.0" | ||
"@iobroker/db-base": "1.2.1", | ||
"@iobroker/db-states-redis": "1.2.1" | ||
}, | ||
@@ -33,3 +33,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "31a8cce837dc360eec0f40f6ac6f50247c4fac9a" | ||
"gitHead": "b9c4c3de2b3952f51edd5b9704acb0298a66f31e" | ||
} |
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
34327
+ Added@iobroker/db-base@1.2.1(transitive)
+ Added@iobroker/db-states-redis@1.2.1(transitive)
- Removed@iobroker/db-base@1.2.0(transitive)
- Removed@iobroker/db-states-redis@1.2.0(transitive)
Updated@iobroker/db-base@1.2.1