iobroker.js-controller 4.0.23 → 4.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/conf/sources-dist.json +462 -201
- package/io-package.json +14 -13
- package/lib/setup.js +5 -0
- package/main.js +6 -0
- package/package.json +12 -12
package/io-package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "js-controller",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.24",
|
|
5
5
|
"platform": "Javascript/Node.js",
|
|
6
6
|
"controller": true,
|
|
7
7
|
"mode": "daemon",
|
|
@@ -19,6 +19,19 @@
|
|
|
19
19
|
"zh-cn": "JS控制器"
|
|
20
20
|
},
|
|
21
21
|
"news": {
|
|
22
|
+
"4.0.24": {
|
|
23
|
+
"en": "Exclude iot and cloud from masking special properties\nAdded time based JSONL compaction (once a day)\nOptimized message sequence id generation\nUse ipv4 as primary DNS lookup option also in Node.js 18+\nExtended Docker detection to prevent issues in new Debian",
|
|
24
|
+
"de": "iot und cloud aus maskieren besonderen Eigenschaften ausschliessen\nZeitbasierte JSONL-Verdichtung hinzugefügt (einmal pro Tag)\nOptimierung der ID Generierung\nIPv5 als primäre DNS-Lookup-Option auch in Node.js 18+ benutzen\nDocker-Erkennung erweitert, um Probleme in neuem Debian zu verhindern",
|
|
25
|
+
"ru": "Исключить iot и облако от маскировки специальных свойств\nДобавьте время на основе JSONL уплотнения (один раз в день)\nОптимизируйте последовательность сообщений id поколения\nИспользуйте ipv4 как опцию первичного DNS Lookup также в Node.js 18+\nРасширение обнаружения Docker для предотвращения проблем в новом Debian",
|
|
26
|
+
"pt": "Excluir iot e nuvem de mascarar propriedades especiais\nAdicionar compactação JSONL baseada no tempo (uma vez por dia)\nOtimizar a geração de identificação de sequência de mensagem\nUse ipv4 como opção de pesquisa DNS primário também em Node.js 18+\nAmplie a detecção do Docker para evitar problemas no novo Debian",
|
|
27
|
+
"nl": "Uitgesloten iot en wolk van het maskeren van speciale eigenschappen\nVoeg de tijd op basis van JSONL compact (once per dag)\nVertaling:\nGebruik ipv4 als primaire DNS-optie ook in Node\nExtend Docker detectie om problemen te voorkomen in nieuwe Debian",
|
|
28
|
+
"fr": "Exclure iot et nuage de masquer des propriétés spéciales\nAjouter le compactage JSONL basé sur le temps (une fois par jour)\nOptimiser la génération de messages id\nUtilisez ipv4 comme option de recherche DNS primaire également dans Node.js 18+\nÉtendre la détection de Docker pour prévenir les problèmes dans le nouveau Debian",
|
|
29
|
+
"it": "Escludere iot e cloud da mascherare proprietà speciali\nAggiungere la compattazione JSONL (una volta al giorno)\nOttimizzare la generazione id della sequenza dei messaggi\nUtilizzare ipv4 come opzione di ricerca DNS primaria anche in Node.js 18+\nEstendere il rilevamento Docker per prevenire problemi nel nuovo Debian",
|
|
30
|
+
"es": "Excluir el iot y la nube de propiedades especiales enmascarando\nAñadir la compactación JSONL basada en el tiempo (una vez al día)\nOptimize message sequence id generation\nUtilice ipv4 como opción de búsqueda DNS primaria también en Node.js 18+\nExtender la detección de Docker para prevenir problemas en Nueva Debian",
|
|
31
|
+
"pl": "Okazuje się, że iot i chmura z maskowania specjalnych właściwości\nJSONL zwartość (na dzień)\nOptimize message sequence id generation (ang.)\nUżycie ipv4 jako podstawowego pakietu DNS w Node.js 18+\nSzczegółowe wykrycie Dockera zapobiegało nowym problemom",
|
|
32
|
+
"uk": "Виключіть iot і хмару з маскування спеціальних властивостей\nДодати час на основі JSONL ущільнення (на добу)\nОптимізуйте послідовність повідомлень id покоління\nВикористовуйте ipv4 як основний параметр пошуку DNS також в Node.js 18+\nПродовжити виявлення Docker для запобігання проблемам в новому Debian",
|
|
33
|
+
"zh-cn": "采掘特殊财产的采掘\n增加以联索行动为基础的时间(一天)\n传播信息顺序\n第18+js\nD. 探查防止新 Debian出现问题"
|
|
34
|
+
},
|
|
22
35
|
"4.0.23": {
|
|
23
36
|
"en": "normalize JSONL options to prevent issues because of admin adding empty setting objects\nPrevent some crash cases reported by Sentry",
|
|
24
37
|
"de": "Normalisieren Sie JSONL-Optionen, um Probleme zu vermeiden, weil der Administrator leere Einstellungsobjekte hinzufügt\nVerhindern Sie einige von Sentry gemeldete Absturzfälle",
|
|
@@ -90,18 +103,6 @@
|
|
|
90
103
|
"es": "ver CHANGELOG.md",
|
|
91
104
|
"pl": "zobacz CHANGELOG.md",
|
|
92
105
|
"zh-cn": "看到CHANGELOG.md"
|
|
93
|
-
},
|
|
94
|
-
"3.1.6": {
|
|
95
|
-
"en": "see CHANGELOG.md",
|
|
96
|
-
"de": "Siehe CHANGELOG.md",
|
|
97
|
-
"ru": "см. CHANGELOG.md",
|
|
98
|
-
"pt": "veja CHANGELOG.md",
|
|
99
|
-
"nl": "zie CHANGELOG.md",
|
|
100
|
-
"fr": "voir CHANGELOG.md",
|
|
101
|
-
"it": "vedi CHANGELOG.md",
|
|
102
|
-
"es": "ver CHANGELOG.md",
|
|
103
|
-
"pl": "zobacz CHANGELOG.md",
|
|
104
|
-
"zh-cn": "看到CHANGELOG.md"
|
|
105
106
|
}
|
|
106
107
|
},
|
|
107
108
|
"desc": {
|
package/lib/setup.js
CHANGED
|
@@ -24,6 +24,11 @@ const { tools: dbTools, getObjectsConstructor, getStatesConstructor } = require(
|
|
|
24
24
|
const path = require('path');
|
|
25
25
|
const { PluginHandler } = require('@iobroker/plugin-base');
|
|
26
26
|
|
|
27
|
+
const dns = require('dns');
|
|
28
|
+
if (typeof dns.setDefaultResultOrder === 'function') {
|
|
29
|
+
dns.setDefaultResultOrder('ipv4first');
|
|
30
|
+
}
|
|
31
|
+
|
|
27
32
|
let pluginHandler;
|
|
28
33
|
|
|
29
34
|
// @ts-ignore
|
package/main.js
CHANGED
|
@@ -26,6 +26,12 @@ const { isDeepStrictEqual, inspect } = require('util');
|
|
|
26
26
|
const { tools, EXIT_CODES, logger: toolsLogger } = require('@iobroker/js-controller-common');
|
|
27
27
|
const { PluginHandler } = require('@iobroker/plugin-base');
|
|
28
28
|
const NotificationHandler = require('./lib/notificationHandler');
|
|
29
|
+
|
|
30
|
+
const dns = require('dns');
|
|
31
|
+
if (typeof dns.setDefaultResultOrder === 'function') {
|
|
32
|
+
dns.setDefaultResultOrder('ipv4first');
|
|
33
|
+
}
|
|
34
|
+
|
|
29
35
|
const controllerVersions = {};
|
|
30
36
|
|
|
31
37
|
let pluginHandler;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.js-controller",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.24",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=12.0.0"
|
|
6
6
|
},
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@alcalzone/esbuild-register": "^2.5.1-1",
|
|
20
|
-
"@iobroker/db-objects-file": "4.0.
|
|
21
|
-
"@iobroker/db-objects-jsonl": "4.0.
|
|
22
|
-
"@iobroker/db-objects-redis": "4.0.
|
|
23
|
-
"@iobroker/db-states-file": "4.0.
|
|
24
|
-
"@iobroker/db-states-jsonl": "4.0.
|
|
25
|
-
"@iobroker/db-states-redis": "4.0.
|
|
26
|
-
"@iobroker/js-controller-adapter": "4.0.
|
|
27
|
-
"@iobroker/js-controller-cli": "4.0.
|
|
28
|
-
"@iobroker/js-controller-common": "4.0.
|
|
29
|
-
"@iobroker/js-controller-common-db": "4.0.
|
|
20
|
+
"@iobroker/db-objects-file": "4.0.24",
|
|
21
|
+
"@iobroker/db-objects-jsonl": "4.0.24",
|
|
22
|
+
"@iobroker/db-objects-redis": "4.0.24",
|
|
23
|
+
"@iobroker/db-states-file": "4.0.24",
|
|
24
|
+
"@iobroker/db-states-jsonl": "4.0.24",
|
|
25
|
+
"@iobroker/db-states-redis": "4.0.24",
|
|
26
|
+
"@iobroker/js-controller-adapter": "4.0.24",
|
|
27
|
+
"@iobroker/js-controller-cli": "4.0.24",
|
|
28
|
+
"@iobroker/js-controller-common": "4.0.24",
|
|
29
|
+
"@iobroker/js-controller-common-db": "4.0.24",
|
|
30
30
|
"@iobroker/plugin-base": "~1.2.1",
|
|
31
31
|
"@iobroker/plugin-sentry": "~1.2.0",
|
|
32
32
|
"axios": "^0.24.0",
|
|
@@ -112,5 +112,5 @@
|
|
|
112
112
|
"iobroker.js",
|
|
113
113
|
"main.js"
|
|
114
114
|
],
|
|
115
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "5645debf3394177abeef58917f872a7d8c43e320"
|
|
116
116
|
}
|