@iobroker/js-controller-common-db 4.0.13 → 4.0.14-alpha.0-20220219-930015a9
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.
|
@@ -26,7 +26,7 @@ const js_controller_common_1 = require("@iobroker/js-controller-common");
|
|
|
26
26
|
function getObjectsConstructor() {
|
|
27
27
|
const config = fs.readJSONSync(js_controller_common_1.tools.getConfigFileName());
|
|
28
28
|
if (!config.objects) {
|
|
29
|
-
config.objects = { type: '
|
|
29
|
+
config.objects = { type: 'jsonl' };
|
|
30
30
|
}
|
|
31
31
|
try {
|
|
32
32
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objects.js","sourceRoot":"","sources":["../../../src/lib/common/objects.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;AAEb,6CAA+B;AAC/B,kCAAkC;AAClC,yEAAuD;AAEvD,SAAgB,qBAAqB;IACjC,MAAM,MAAM,GAAG,EAAE,CAAC,YAAY,CAAC,4BAAK,CAAC,iBAAiB,EAAE,CAAC,CAAC;IAC1D,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE;QACjB,MAAM,CAAC,OAAO,GAAG,EAAE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"objects.js","sourceRoot":"","sources":["../../../src/lib/common/objects.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;AAEb,6CAA+B;AAC/B,kCAAkC;AAClC,yEAAuD;AAEvD,SAAgB,qBAAqB;IACjC,MAAM,MAAM,GAAG,EAAE,CAAC,YAAY,CAAC,4BAAK,CAAC,iBAAiB,EAAE,CAAC,CAAC;IAC1D,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE;QACjB,MAAM,CAAC,OAAO,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;KACtC;IAED,IAAI;QACA,8DAA8D;QAC9D,OAAO,OAAO,CAAC,wBAAwB,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;KACxE;IAAC,MAAM;QACJ,OAAO,CAAC,KAAK,CAAC,gDAAgD,MAAM,CAAC,OAAO,CAAC,IAAI,cAAc,CAAC,CAAC;QACjG,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;KACrB;AACL,CAAC;AAbD,sDAaC"}
|
|
@@ -26,7 +26,7 @@ const js_controller_common_1 = require("@iobroker/js-controller-common");
|
|
|
26
26
|
function getStatesConstructor() {
|
|
27
27
|
const config = fs.readJSONSync(js_controller_common_1.tools.getConfigFileName());
|
|
28
28
|
if (!config.states) {
|
|
29
|
-
config.states = { type: '
|
|
29
|
+
config.states = { type: 'jsonl' };
|
|
30
30
|
}
|
|
31
31
|
try {
|
|
32
32
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"states.js","sourceRoot":"","sources":["../../../src/lib/common/states.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;AAEb,6CAA+B;AAC/B,kCAAkC;AAClC,yEAAuD;AAEvD,SAAgB,oBAAoB;IAChC,MAAM,MAAM,GAAG,EAAE,CAAC,YAAY,CAAC,4BAAK,CAAC,iBAAiB,EAAE,CAAC,CAAC;IAC1D,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE;QAChB,MAAM,CAAC,MAAM,GAAG,EAAE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"states.js","sourceRoot":"","sources":["../../../src/lib/common/states.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;AAEb,6CAA+B;AAC/B,kCAAkC;AAClC,yEAAuD;AAEvD,SAAgB,oBAAoB;IAChC,MAAM,MAAM,GAAG,EAAE,CAAC,YAAY,CAAC,4BAAK,CAAC,iBAAiB,EAAE,CAAC,CAAC;IAC1D,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE;QAChB,MAAM,CAAC,MAAM,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;KACrC;IAED,IAAI;QACA,8DAA8D;QAC9D,OAAO,OAAO,CAAC,uBAAuB,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;KACtE;IAAC,MAAM;QACJ,OAAO,CAAC,KAAK,CAAC,+CAA+C,MAAM,CAAC,MAAM,CAAC,IAAI,cAAc,CAAC,CAAC;QAC/F,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;KACrB;AACL,CAAC;AAbD,oDAaC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iobroker/js-controller-common-db",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.14-alpha.0-20220219-930015a9",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=12.0.0"
|
|
6
6
|
},
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
"winston-syslog": "^2.4.4"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@iobroker/db-objects-file": "4.0.
|
|
13
|
-
"@iobroker/db-objects-jsonl": "4.0.
|
|
14
|
-
"@iobroker/db-objects-redis": "4.0.
|
|
15
|
-
"@iobroker/db-states-file": "4.0.
|
|
16
|
-
"@iobroker/db-states-jsonl": "4.0.
|
|
17
|
-
"@iobroker/db-states-redis": "4.0.
|
|
18
|
-
"@iobroker/js-controller-common": "4.0.
|
|
12
|
+
"@iobroker/db-objects-file": "4.0.14-alpha.0-20220219-930015a9",
|
|
13
|
+
"@iobroker/db-objects-jsonl": "4.0.14-alpha.0-20220219-930015a9",
|
|
14
|
+
"@iobroker/db-objects-redis": "4.0.14-alpha.0-20220219-930015a9",
|
|
15
|
+
"@iobroker/db-states-file": "4.0.14-alpha.0-20220219-930015a9",
|
|
16
|
+
"@iobroker/db-states-jsonl": "4.0.14-alpha.0-20220219-930015a9",
|
|
17
|
+
"@iobroker/db-states-redis": "4.0.14-alpha.0-20220219-930015a9",
|
|
18
|
+
"@iobroker/js-controller-common": "4.0.14-alpha.0-20220219-930015a9",
|
|
19
19
|
"fs-extra": "^10.0.0"
|
|
20
20
|
},
|
|
21
21
|
"keywords": [
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"build/index.js",
|
|
46
46
|
"build/index.d.ts"
|
|
47
47
|
],
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "5afc17cde0fc32a23de217dd95a5553738484cbd"
|
|
49
49
|
}
|