Socket
Socket
Sign inDemoInstall

@iobroker/db-states-jsonl

Package Overview
Dependencies
Maintainers
5
Versions
403
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.2.0 to 1.2.1

2

lib/states/statesInMemJsonlDB.js

@@ -127,3 +127,3 @@ /**

if (this._db) {
return this._db.close();
await this._db.close();
}

@@ -130,0 +130,0 @@ }

@@ -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-jsonl",
"version": "1.2.0",
"version": "1.2.1",
"engines": {

@@ -8,6 +8,6 @@ "node": ">=10.0.0"

"dependencies": {
"@alcalzone/jsonl-db": "^1.2.3",
"@iobroker/db-base": "1.2.0",
"@iobroker/db-states-file": "1.2.0",
"@iobroker/db-states-redis": "1.2.0"
"@alcalzone/jsonl-db": "^1.2.4",
"@iobroker/db-base": "1.2.1",
"@iobroker/db-states-file": "1.2.1",
"@iobroker/db-states-redis": "1.2.1"
},

@@ -35,3 +35,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