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

@iobroker/js-controller-common

Package Overview
Dependencies
Maintainers
0
Versions
402
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iobroker/js-controller-common - npm Package Compare versions

Comparing version 6.0.12-alpha.0-20240922-1ea0ace13 to 6.0.12-alpha.0-20240924-4e8189ae0

4

build/cjs/index.d.ts

@@ -1,3 +0,3 @@

export { getStatesConstructor, statesDbHasServer, isLocalStatesDbServer, performStatesInterview } from './lib/common/states.js';
export { getObjectsConstructor, objectsDbHasServer, isLocalObjectsDbServer, performObjectsInterview } from './lib/common/objects.js';
export { getStatesConstructor, statesDbHasServer, isLocalStatesDbServer, performStatesInterview, } from './lib/common/states.js';
export { getObjectsConstructor, objectsDbHasServer, isLocalObjectsDbServer, performObjectsInterview, } from './lib/common/objects.js';
export { NotificationHandler } from './lib/common/notificationHandler.js';

@@ -4,0 +4,0 @@ export * as zipFiles from './lib/common/zipFiles.js';

@@ -132,3 +132,3 @@ "use strict";

}
root += "/" + parts.shift();
root += `/${parts.shift()}`;
try {

@@ -203,6 +203,6 @@ await objects.readDirAsync(id, root, options);

} catch {
data.id = keys[f].replace(/\./g, "/").substring(rootId.length + 1) + ".json";
data.id = `${keys[f].replace(/\./g, "/").substring(rootId.length + 1)}.json`;
}
} else {
data.id = keys[f].replace(/\./g, "/").substring(rootId.length + 1) + ".json";
data.id = `${keys[f].replace(/\./g, "/").substring(rootId.length + 1)}.json`;
}

@@ -209,0 +209,0 @@ if (typeof data.data === "object") {

@@ -1,3 +0,3 @@

export { getStatesConstructor, statesDbHasServer, isLocalStatesDbServer, performStatesInterview } from './lib/common/states.js';
export { getObjectsConstructor, objectsDbHasServer, isLocalObjectsDbServer, performObjectsInterview } from './lib/common/objects.js';
export { getStatesConstructor, statesDbHasServer, isLocalStatesDbServer, performStatesInterview, } from './lib/common/states.js';
export { getObjectsConstructor, objectsDbHasServer, isLocalObjectsDbServer, performObjectsInterview, } from './lib/common/objects.js';
export { NotificationHandler } from './lib/common/notificationHandler.js';

@@ -4,0 +4,0 @@ export * as zipFiles from './lib/common/zipFiles.js';

@@ -1,3 +0,3 @@

export { getStatesConstructor, statesDbHasServer, isLocalStatesDbServer, performStatesInterview } from './lib/common/states.js';
export { getObjectsConstructor, objectsDbHasServer, isLocalObjectsDbServer, performObjectsInterview } from './lib/common/objects.js';
export { getStatesConstructor, statesDbHasServer, isLocalStatesDbServer, performStatesInterview, } from './lib/common/states.js';
export { getObjectsConstructor, objectsDbHasServer, isLocalObjectsDbServer, performObjectsInterview, } from './lib/common/objects.js';
export { NotificationHandler } from './lib/common/notificationHandler.js';

@@ -4,0 +4,0 @@ export * as zipFiles from './lib/common/zipFiles.js';

@@ -56,6 +56,6 @@ /**

uk: 'Сповіщення',
'zh-cn': '通知事项'
}
'zh-cn': '通知事项',
},
},
native: {}
native: {},
});

@@ -72,3 +72,3 @@ }

startkey: 'system.adapter.',
endkey: 'system.adapter.\u9999'
endkey: 'system.adapter.\u9999',
});

@@ -131,5 +131,5 @@ for (const entry of res.rows) {

name: scopeObj.name,
desc: scopeObj.description
desc: scopeObj.description,
},
native: {}
native: {},
});

@@ -146,3 +146,3 @@ }

description: scopeObj.description,
categories: {}
categories: {},
};

@@ -169,3 +169,3 @@ for (const categoryObj of scopeObj.categories) {

severity: categoryObj.severity,
description: categoryObj.description
description: categoryObj.description,
};

@@ -242,3 +242,3 @@ }

val: JSON.stringify(stateVal),
ack: true
ack: true,
});

@@ -265,3 +265,3 @@ }

val: JSON.stringify(stateVal),
ack: true
ack: true,
});

@@ -341,3 +341,3 @@ }

description: this.setup[scope].description,
name: this.setup[scope].name
name: this.setup[scope].name,
};

@@ -358,3 +358,3 @@ for (const category of Object.keys(this.currentNotifications[scope])) {

name: categoryObj.name,
severity: categoryObj.severity
severity: categoryObj.severity,
};

@@ -367,3 +367,3 @@ for (const instance of Object.keys(this.currentNotifications[scope][category])) {

res[scope].categories[category].instances[instance] = {
messages: this.currentNotifications[scope][category][instance]
messages: this.currentNotifications[scope][category][instance],
};

@@ -430,3 +430,3 @@ }

val: JSON.stringify(stateVal),
ack: true
ack: true,
});

@@ -433,0 +433,0 @@ }

@@ -20,3 +20,3 @@ import { appName } from '@iobroker/js-controller-common-db/tools';

startkey: 'system.adapter.',
endkey: 'system.adapter.\u9999'
endkey: 'system.adapter.\u9999',
});

@@ -23,0 +23,0 @@ }

@@ -114,3 +114,3 @@ import { tools } from '@iobroker/js-controller-common';

}
root += '/' + parts.shift();
root += `/${parts.shift()}`;
try {

@@ -195,7 +195,7 @@ await objects.readDirAsync(id, root, options);

catch {
data.id = keys[f].replace(/\./g, '/').substring(rootId.length + 1) + '.json';
data.id = `${keys[f].replace(/\./g, '/').substring(rootId.length + 1)}.json`;
}
}
else {
data.id = keys[f].replace(/\./g, '/').substring(rootId.length + 1) + '.json';
data.id = `${keys[f].replace(/\./g, '/').substring(rootId.length + 1)}.json`;
}

@@ -202,0 +202,0 @@ if (typeof data.data === 'object') {

{
"name": "@iobroker/js-controller-common",
"type": "module",
"version": "6.0.12-alpha.0-20240922-1ea0ace13",
"version": "6.0.12-alpha.0-20240924-4e8189ae0",
"engines": {

@@ -13,10 +13,11 @@ "node": ">=12.0.0"

"dependencies": {
"@iobroker/db-objects-file": "6.0.12-alpha.0-20240922-1ea0ace13",
"@iobroker/db-objects-jsonl": "6.0.12-alpha.0-20240922-1ea0ace13",
"@iobroker/db-objects-redis": "6.0.12-alpha.0-20240922-1ea0ace13",
"@iobroker/db-states-file": "6.0.12-alpha.0-20240922-1ea0ace13",
"@iobroker/db-states-jsonl": "6.0.12-alpha.0-20240922-1ea0ace13",
"@iobroker/db-states-redis": "6.0.12-alpha.0-20240922-1ea0ace13",
"@iobroker/js-controller-common-db": "6.0.12-alpha.0-20240922-1ea0ace13",
"fs-extra": "^11.1.0"
"@iobroker/db-objects-file": "6.0.12-alpha.0-20240924-4e8189ae0",
"@iobroker/db-objects-jsonl": "6.0.12-alpha.0-20240924-4e8189ae0",
"@iobroker/db-objects-redis": "6.0.12-alpha.0-20240924-4e8189ae0",
"@iobroker/db-states-file": "6.0.12-alpha.0-20240924-4e8189ae0",
"@iobroker/db-states-jsonl": "6.0.12-alpha.0-20240924-4e8189ae0",
"@iobroker/db-states-redis": "6.0.12-alpha.0-20240924-4e8189ae0",
"@iobroker/js-controller-common-db": "6.0.12-alpha.0-20240924-4e8189ae0",
"fs-extra": "^11.1.0",
"jszip": "^3.10.1"
},

@@ -58,3 +59,3 @@ "keywords": [

],
"gitHead": "f864a31b47322c8d4994b2a4336beaf44d364a55"
"gitHead": "3540964b91b0991a6e81f1d6f9d6e90b9e46dbff"
}

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 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 not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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