@iobroker/js-controller-common
Advanced tools
Comparing version 5.0.17-alpha.0-20231114-9e3b8273 to 5.0.17-alpha.0-20231129-54290531
@@ -109,3 +109,3 @@ /// <reference types="node" /> | ||
/** | ||
* Checks if at least one host is running in a MH environment | ||
* Checks if at least one host is running in a Multihost environment | ||
* | ||
@@ -438,3 +438,4 @@ * @param objects the objects db | ||
/** | ||
* This function convert state values by read and write of aliases. Function is synchron. | ||
* This function convert state values by read and write of aliases. Function is synchronous. | ||
* On errors, null is returned instead | ||
* | ||
@@ -478,12 +479,2 @@ * @param options | ||
export declare function getAllInstances(adapters: string[], objects: any): Promise<string[]>; | ||
export interface GetObjectViewResult { | ||
rows: ioBroker.GetObjectViewItem<ioBroker.Object>[]; | ||
} | ||
export interface GetObjectViewInstanceEntry { | ||
id: string; | ||
value: ioBroker.InstanceObject; | ||
} | ||
export interface GetObjectViewInstanceResult { | ||
rows: GetObjectViewInstanceEntry[]; | ||
} | ||
/** | ||
@@ -495,3 +486,3 @@ * Get all existing enums | ||
*/ | ||
export declare function getAllEnums(objects: any): Promise<Record<string, any>>; | ||
export declare function getAllEnums(objects: any): Promise<Record<string, ioBroker.EnumObject>>; | ||
/** | ||
@@ -504,3 +495,3 @@ * get async all instances of one adapter | ||
*/ | ||
export declare function getInstances(adapter: string, objects: any, withObjects: boolean): Promise<any[] | string[]>; | ||
export declare function getInstances<TWithObjects extends boolean>(adapter: string, objects: any, withObjects: TWithObjects): Promise<TWithObjects extends true ? ioBroker.InstanceObject[] : ioBroker.ObjectIDs.Instance[]>; | ||
/** | ||
@@ -507,0 +498,0 @@ * Executes a command asynchronously. On success, the promise resolves with stdout and stderr. |
{ | ||
"name": "@iobroker/js-controller-common", | ||
"version": "5.0.17-alpha.0-20231114-9e3b8273", | ||
"version": "5.0.17-alpha.0-20231129-54290531", | ||
"engines": { | ||
@@ -14,3 +14,3 @@ "node": ">=12.0.0" | ||
"@alcalzone/pak": "^0.8.1", | ||
"axios": "^1.5.1", | ||
"axios": "^1.6.0", | ||
"ci-info": "^3.8.0", | ||
@@ -74,3 +74,3 @@ "deep-clone": "^3.0.3", | ||
], | ||
"gitHead": "ddb861d89e8592ad56ba7d7efdbe280c764f1b70" | ||
"gitHead": "591d02ae42bf1615eaa6d900f7bcd0c897bb3616" | ||
} |
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
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
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
346352
33
5111
3
10
Updatedaxios@^1.6.0