@iobroker/db-states-jsonl
Advanced tools
Comparing version 5.0.1-alpha.0-20230417-97da7a9c to 5.0.1-alpha.0-20230418-efa3e809
@@ -18,2 +18,3 @@ /** | ||
const StatesInMemoryJsonlDB = require('./statesInMemJsonlDB'); | ||
const { getLocalAddress } = require('@iobroker/js-controller-common/tools'); | ||
// settings = { | ||
@@ -511,3 +512,3 @@ // change: function (id, state) {}, | ||
this.server.on('connection', socket => this._initSocket(socket)); | ||
this.server.listen(settings.port || 9000, settings.host === 'localhost' ? '127.0.0.1' : settings.host ? settings.host : undefined, () => resolve()); | ||
this.server.listen(settings.port || 9000, settings.host === 'localhost' ? getLocalAddress() : settings.host ? settings.host : undefined, () => resolve()); | ||
} | ||
@@ -514,0 +515,0 @@ catch (err) { |
{ | ||
"name": "@iobroker/db-states-jsonl", | ||
"version": "5.0.1-alpha.0-20230417-97da7a9c", | ||
"version": "5.0.1-alpha.0-20230418-efa3e809", | ||
"engines": { | ||
@@ -9,5 +9,5 @@ "node": ">=12.0.0" | ||
"@alcalzone/jsonl-db": "~2.5.3", | ||
"@iobroker/db-base": "5.0.1-alpha.0-20230417-97da7a9c", | ||
"@iobroker/db-states-file": "5.0.1-alpha.0-20230417-97da7a9c", | ||
"@iobroker/db-states-redis": "5.0.1-alpha.0-20230417-97da7a9c" | ||
"@iobroker/db-base": "5.0.1-alpha.0-20230418-efa3e809", | ||
"@iobroker/db-states-file": "5.0.1-alpha.0-20230418-efa3e809", | ||
"@iobroker/db-states-redis": "5.0.1-alpha.0-20230418-efa3e809" | ||
}, | ||
@@ -43,3 +43,3 @@ "keywords": [ | ||
], | ||
"gitHead": "026c5b678043b7a07e97005ee27540b72d84e918" | ||
"gitHead": "35566e62e92acb8d69d6ddf954e67776cc3bbc99" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
69236
941
+ Added@iobroker/db-base@5.0.1-alpha.0-20230418-efa3e809(transitive)
+ Added@iobroker/db-states-file@5.0.1-alpha.0-20230418-efa3e809(transitive)
+ Added@iobroker/db-states-redis@5.0.1-alpha.0-20230418-efa3e809(transitive)
+ Added@iobroker/js-controller-common@5.0.1-alpha.0-20230418-efa3e809(transitive)
- Removed@iobroker/db-base@5.0.1-alpha.0-20230417-97da7a9c(transitive)
- Removed@iobroker/db-states-file@5.0.1-alpha.0-20230417-97da7a9c(transitive)
- Removed@iobroker/db-states-redis@5.0.1-alpha.0-20230417-97da7a9c(transitive)
- Removed@iobroker/js-controller-common@5.0.1-alpha.0-20230417-97da7a9c(transitive)
Updated@iobroker/db-states-file@5.0.1-alpha.0-20230418-efa3e809
Updated@iobroker/db-states-redis@5.0.1-alpha.0-20230418-efa3e809