@iobroker/js-controller-common
Advanced tools
Comparing version 5.0.18-alpha.0-20231201-5b321f38 to 5.0.18-alpha.0-20231211-5b429316
@@ -53,3 +53,3 @@ "use strict"; | ||
// auto-scaling, only if val not null and unit for target (x)or source is % | ||
if ((((targetCommon === null || targetCommon === void 0 ? void 0 : targetCommon.alias) && !targetCommon.alias.read) || ((sourceCommon === null || sourceCommon === void 0 ? void 0 : sourceCommon.alias) && !sourceCommon.alias.write)) && | ||
if (((targetCommon?.alias && !targetCommon.alias.read) || (sourceCommon?.alias && !sourceCommon.alias.write)) && | ||
state.val !== null) { | ||
@@ -56,0 +56,0 @@ if (targetCommon && |
@@ -63,3 +63,2 @@ "use strict"; | ||
log(info, callback) { | ||
var _a; | ||
// we need to map the ioBroker loglevels to the Syslog ones | ||
@@ -80,3 +79,3 @@ const ioInfo = info; | ||
// No clue why log could ever be undefined, but hey... | ||
(_a = super.log) === null || _a === void 0 ? void 0 : _a.call(this, ioInfo, callback); | ||
super.log?.(ioInfo, callback); | ||
} | ||
@@ -128,2 +127,3 @@ }; | ||
class NotifierTransport extends winston_transport_1.default { | ||
name; | ||
constructor(opts) { | ||
@@ -130,0 +130,0 @@ super(opts); |
@@ -5,4 +5,4 @@ /// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { ChildProcessPromise } from 'promisify-child-process'; | ||
import { CommandResult } from '@alcalzone/pak'; | ||
import { type ChildProcessPromise } from 'promisify-child-process'; | ||
import type { CommandResult } from '@alcalzone/pak'; | ||
import type { ExecOptions } from 'child_process'; | ||
@@ -9,0 +9,0 @@ type DockerInformation = { |
{ | ||
"name": "@iobroker/js-controller-common", | ||
"version": "5.0.18-alpha.0-20231201-5b321f38", | ||
"version": "5.0.18-alpha.0-20231211-5b429316", | ||
"engines": { | ||
@@ -22,3 +22,3 @@ "node": ">=12.0.0" | ||
"node.extend": "^2.0.2", | ||
"promisify-child-process": "^4.1.1", | ||
"promisify-child-process": "^4.1.2", | ||
"readline": "^1.3.0", | ||
@@ -74,3 +74,3 @@ "semver": "^7.5.2", | ||
], | ||
"gitHead": "782ee1fea84c41cab3b1568bf7d5eaf7e393e899" | ||
"gitHead": "1c3e6fd79e392d6a53dc7443188876e9f59a7d8e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
344326
5101