Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@iobroker/db-states-file

Package Overview
Dependencies
Maintainers
5
Versions
424
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iobroker/db-states-file - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

lib/states/statesInMemServerClass.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc