@zwave-js/config 14.3.3 → 14.3.4
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/build/cjs/ConfigManager.js +4 -0
- package/build/cjs/ConfigManager.js.map +1 -1
- package/build/cjs/JsonTemplate.js +9 -0
- package/build/cjs/JsonTemplate.js.map +1 -1
- package/build/cjs/Logger.js +4 -0
- package/build/cjs/Logger.js.map +1 -1
- package/build/cjs/Logic.js +4 -0
- package/build/cjs/Logic.js.map +1 -1
- package/build/cjs/LogicParser.js +80 -36
- package/build/cjs/LogicParser.js.map +1 -1
- package/build/cjs/Manufacturers.js +3 -0
- package/build/cjs/Manufacturers.js.map +1 -1
- package/build/cjs/_version.d.ts +1 -1
- package/build/cjs/_version.js +1 -1
- package/build/cjs/_version.js.map +1 -1
- package/build/cjs/devices/AssociationConfig.js +4 -0
- package/build/cjs/devices/AssociationConfig.js.map +1 -1
- package/build/cjs/devices/CompatConfig.js +19 -4
- package/build/cjs/devices/CompatConfig.js.map +1 -1
- package/build/cjs/devices/ConditionalItem.js +5 -0
- package/build/cjs/devices/ConditionalItem.js.map +1 -1
- package/build/cjs/devices/ConditionalPrimitive.js +5 -0
- package/build/cjs/devices/ConditionalPrimitive.js.map +1 -1
- package/build/cjs/devices/DeviceConfig.js +25 -9
- package/build/cjs/devices/DeviceConfig.js.map +1 -1
- package/build/cjs/devices/DeviceMetadata.js +8 -1
- package/build/cjs/devices/DeviceMetadata.js.map +1 -1
- package/build/cjs/devices/EndpointConfig.js +4 -0
- package/build/cjs/devices/EndpointConfig.js.map +1 -1
- package/build/cjs/devices/ParamInformation.js +8 -0
- package/build/cjs/devices/ParamInformation.js.map +1 -1
- package/build/cjs/utils.js +5 -0
- package/build/cjs/utils.js.map +2 -2
- package/build/cjs/utils_safe.js +3 -0
- package/build/cjs/utils_safe.js.map +1 -1
- package/build/esm/_version.d.ts +1 -1
- package/build/esm/_version.js +1 -1
- package/package.json +5 -5
|
@@ -3,6 +3,7 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
6
7
|
var __export = (target, all) => {
|
|
7
8
|
for (var name in all)
|
|
8
9
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -29,6 +30,9 @@ var import_typeguards = require("alcalzone-shared/typeguards");
|
|
|
29
30
|
var import_utils_safe = require("../utils_safe.js");
|
|
30
31
|
var import_ConditionalItem = require("./ConditionalItem.js");
|
|
31
32
|
class ConditionalParamInformation {
|
|
33
|
+
static {
|
|
34
|
+
__name(this, "ConditionalParamInformation");
|
|
35
|
+
}
|
|
32
36
|
constructor(parent, parameterNumber, valueBitMask, definition) {
|
|
33
37
|
this.parent = parent;
|
|
34
38
|
this.parameterNumber = parameterNumber;
|
|
@@ -157,6 +161,9 @@ Parameter #${this.parameterNumber} is missing required property "maxValue"!`);
|
|
|
157
161
|
}
|
|
158
162
|
}
|
|
159
163
|
class ConditionalConfigOption {
|
|
164
|
+
static {
|
|
165
|
+
__name(this, "ConditionalConfigOption");
|
|
166
|
+
}
|
|
160
167
|
value;
|
|
161
168
|
label;
|
|
162
169
|
condition;
|
|
@@ -200,6 +207,7 @@ ${errorPrefix}paramInformation must be an array!`);
|
|
|
200
207
|
}
|
|
201
208
|
return paramInformation;
|
|
202
209
|
}
|
|
210
|
+
__name(parseConditionalParamInformationMap, "parseConditionalParamInformationMap");
|
|
203
211
|
// Annotate the CommonJS export names for ESM import in node:
|
|
204
212
|
0 && (module.exports = {
|
|
205
213
|
ConditionalConfigOption,
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/devices/ParamInformation.ts"],
|
|
4
4
|
"sourcesContent": ["import { tryParseParamNumber } from \"@zwave-js/core\";\nimport {\n\ttype JSONObject,\n\tObjectKeyMap,\n\ttype ReadonlyObjectKeyMap,\n\tpick,\n} from \"@zwave-js/shared/safe\";\nimport { isArray, isObject } from \"alcalzone-shared/typeguards\";\nimport { throwInvalidConfig } from \"../utils_safe.js\";\nimport {\n\ttype ConditionalItem,\n\tconditionApplies,\n\tevaluateDeep,\n\tvalidateCondition,\n} from \"./ConditionalItem.js\";\nimport type { ConditionalDeviceConfig } from \"./DeviceConfig.js\";\nimport type { DeviceID } from \"./shared.js\";\n\nexport class ConditionalParamInformation\n\timplements ConditionalItem<ParamInformation>\n{\n\tpublic constructor(\n\t\tparent: ConditionalDeviceConfig,\n\t\tparameterNumber: number,\n\t\tvalueBitMask: number | undefined,\n\t\tdefinition: JSONObject,\n\t) {\n\t\tthis.parent = parent;\n\t\tthis.parameterNumber = parameterNumber;\n\t\tthis.valueBitMask = valueBitMask;\n\t\t// No need to validate here, this should be done one level higher\n\t\tthis.condition = definition.$if;\n\n\t\tif (typeof definition.label !== \"string\") {\n\t\t\tthrowInvalidConfig(\n\t\t\t\t\"devices\",\n\t\t\t\t`packages/config/config/devices/${parent.filename}:\nParameter #${parameterNumber} has a non-string label`,\n\t\t\t);\n\t\t}\n\t\tthis.label = definition.label;\n\n\t\tif (\n\t\t\tdefinition.description != undefined\n\t\t\t&& typeof definition.description !== \"string\"\n\t\t) {\n\t\t\tthrowInvalidConfig(\n\t\t\t\t\"devices\",\n\t\t\t\t`packages/config/config/devices/${parent.filename}:\nParameter #${parameterNumber} has a non-string description`,\n\t\t\t);\n\t\t}\n\t\tthis.description = definition.description;\n\n\t\tif (\n\t\t\ttypeof definition.valueSize !== \"number\"\n\t\t\t|| definition.valueSize <= 0\n\t\t) {\n\t\t\tthrowInvalidConfig(\n\t\t\t\t\"devices\",\n\t\t\t\t`packages/config/config/devices/${parent.filename}:\nParameter #${parameterNumber} has an invalid value size`,\n\t\t\t);\n\t\t}\n\t\tthis.valueSize = definition.valueSize;\n\n\t\tif (\n\t\t\tdefinition.minValue != undefined\n\t\t\t&& typeof definition.minValue !== \"number\"\n\t\t) {\n\t\t\tthrowInvalidConfig(\n\t\t\t\t\"devices\",\n\t\t\t\t`packages/config/config/devices/${parent.filename}:\nParameter #${parameterNumber} has a non-numeric property minValue`,\n\t\t\t);\n\t\t}\n\t\tthis.minValue = definition.minValue;\n\n\t\tif (\n\t\t\tdefinition.maxValue != undefined\n\t\t\t&& typeof definition.maxValue !== \"number\"\n\t\t) {\n\t\t\tthrowInvalidConfig(\n\t\t\t\t\"devices\",\n\t\t\t\t`packages/config/config/devices/${parent.filename}:\nParameter #${parameterNumber} has a non-numeric property maxValue`,\n\t\t\t);\n\t\t}\n\t\tthis.maxValue = definition.maxValue;\n\n\t\tif (\n\t\t\tdefinition.unsigned != undefined\n\t\t\t&& typeof definition.unsigned !== \"boolean\"\n\t\t) {\n\t\t\tthrowInvalidConfig(\n\t\t\t\t\"devices\",\n\t\t\t\t`packages/config/config/devices/${parent.filename}:\nParameter #${parameterNumber} has a non-boolean property unsigned`,\n\t\t\t);\n\t\t}\n\t\tthis.unsigned = definition.unsigned === true;\n\n\t\tif (\n\t\t\tdefinition.unit != undefined\n\t\t\t&& typeof definition.unit !== \"string\"\n\t\t) {\n\t\t\tthrowInvalidConfig(\n\t\t\t\t\"devices\",\n\t\t\t\t`packages/config/config/devices/${parent.filename}:\nParameter #${parameterNumber} has a non-string unit`,\n\t\t\t);\n\t\t}\n\t\tthis.unit = definition.unit;\n\n\t\tif (definition.readOnly != undefined && definition.readOnly !== true) {\n\t\t\tthrowInvalidConfig(\n\t\t\t\t\"devices\",\n\t\t\t\t`packages/config/config/devices/${parent.filename}:\n\t\tParameter #${parameterNumber}: readOnly must true or omitted!`,\n\t\t\t);\n\t\t}\n\t\tthis.readOnly = definition.readOnly;\n\n\t\tif (\n\t\t\tdefinition.writeOnly != undefined\n\t\t\t&& definition.writeOnly !== true\n\t\t) {\n\t\t\tthrowInvalidConfig(\n\t\t\t\t\"devices\",\n\t\t\t\t`packages/config/config/devices/${parent.filename}:\n\t\tParameter #${parameterNumber}: writeOnly must be true or omitted!`,\n\t\t\t);\n\t\t}\n\t\tthis.writeOnly = definition.writeOnly;\n\n\t\tif (definition.defaultValue == undefined) {\n\t\t\tif (!this.readOnly) {\n\t\t\t\tthrowInvalidConfig(\n\t\t\t\t\t\"devices\",\n\t\t\t\t\t`packages/config/config/devices/${parent.filename}:\nParameter #${parameterNumber} is missing defaultValue, which is required unless the parameter is readOnly`,\n\t\t\t\t);\n\t\t\t}\n\t\t} else if (typeof definition.defaultValue !== \"number\") {\n\t\t\tthrowInvalidConfig(\n\t\t\t\t\"devices\",\n\t\t\t\t`packages/config/config/devices/${parent.filename}:\nParameter #${parameterNumber} has a non-numeric property defaultValue`,\n\t\t\t);\n\t\t}\n\t\tthis.defaultValue = definition.defaultValue;\n\n\t\tif (\n\t\t\tdefinition.allowManualEntry != undefined\n\t\t\t&& definition.allowManualEntry !== false\n\t\t) {\n\t\t\tthrowInvalidConfig(\n\t\t\t\t\"devices\",\n\t\t\t\t`packages/config/config/devices/${parent.filename}:\nParameter #${parameterNumber}: allowManualEntry must be false or omitted!`,\n\t\t\t);\n\t\t}\n\t\t// Default to allowing manual entry, except if the param is readonly\n\t\tthis.allowManualEntry = definition.allowManualEntry\n\t\t\t?? (this.readOnly ? false : true);\n\n\t\tif (\n\t\t\tisArray(definition.options)\n\t\t\t&& !definition.options.every(\n\t\t\t\t(opt: unknown) =>\n\t\t\t\t\tisObject(opt)\n\t\t\t\t\t&& typeof opt.label === \"string\"\n\t\t\t\t\t&& typeof opt.value === \"number\",\n\t\t\t)\n\t\t) {\n\t\t\tthrowInvalidConfig(\n\t\t\t\t\"devices\",\n\t\t\t\t`packages/config/config/devices/${parent.filename}:\nParameter #${parameterNumber}: options is malformed!`,\n\t\t\t);\n\t\t}\n\n\t\tthis.options = definition.options?.map(\n\t\t\t(opt: any) =>\n\t\t\t\tnew ConditionalConfigOption(opt.value, opt.label, opt.$if),\n\t\t) ?? [];\n\t}\n\n\tprivate parent: ConditionalDeviceConfig;\n\tpublic readonly parameterNumber: number;\n\tpublic readonly valueBitMask?: number;\n\tpublic readonly label: string;\n\tpublic readonly description?: string;\n\tpublic readonly valueSize: number;\n\tpublic readonly minValue?: number;\n\tpublic readonly maxValue?: number;\n\tpublic readonly unsigned?: boolean;\n\tpublic readonly defaultValue: number;\n\tpublic readonly unit?: string;\n\tpublic readonly readOnly?: true;\n\tpublic readonly writeOnly?: true;\n\tpublic readonly allowManualEntry: boolean;\n\tpublic readonly options: readonly ConditionalConfigOption[];\n\n\tpublic readonly condition?: string;\n\n\tpublic evaluateCondition(\n\t\tdeviceId?: DeviceID,\n\t): ParamInformation | undefined {\n\t\tif (!conditionApplies(this, deviceId)) return;\n\n\t\tconst ret = {\n\t\t\t...pick(this, [\n\t\t\t\t\"parameterNumber\",\n\t\t\t\t\"valueBitMask\",\n\t\t\t\t\"label\",\n\t\t\t\t\"description\",\n\t\t\t\t\"valueSize\",\n\t\t\t\t\"minValue\",\n\t\t\t\t\"maxValue\",\n\t\t\t\t\"unsigned\",\n\t\t\t\t\"defaultValue\",\n\t\t\t\t\"unit\",\n\t\t\t\t\"readOnly\",\n\t\t\t\t\"writeOnly\",\n\t\t\t\t\"allowManualEntry\",\n\t\t\t]),\n\t\t\toptions: evaluateDeep(this.options, deviceId, true),\n\t\t};\n\t\t// Infer minValue from options if possible\n\t\tif (ret.minValue == undefined) {\n\t\t\tif (ret.allowManualEntry === false && ret.options.length > 0) {\n\t\t\t\tret.minValue = Math.min(...ret.options.map((o) => o.value));\n\t\t\t} else {\n\t\t\t\tthrowInvalidConfig(\n\t\t\t\t\t\"devices\",\n\t\t\t\t\t`packages/config/config/devices/${this.parent.filename}:\nParameter #${this.parameterNumber} is missing required property \"minValue\"!`,\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\tif (ret.maxValue == undefined) {\n\t\t\tif (ret.allowManualEntry === false && ret.options.length > 0) {\n\t\t\t\tret.maxValue = Math.max(...ret.options.map((o) => o.value));\n\t\t\t} else {\n\t\t\t\tthrowInvalidConfig(\n\t\t\t\t\t\"devices\",\n\t\t\t\t\t`packages/config/config/devices/${this.parent.filename}:\nParameter #${this.parameterNumber} is missing required property \"maxValue\"!`,\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\n\t\t// @ts-expect-error TS doesn't seem to understand that we do set min/maxValue\n\t\treturn ret;\n\t}\n}\n\nexport type ParamInformation =\n\t& Omit<\n\t\tConditionalParamInformation,\n\t\t\"condition\" | \"evaluateCondition\" | \"options\" | \"minValue\" | \"maxValue\"\n\t>\n\t& {\n\t\toptions: readonly ConfigOption[];\n\t\tminValue: NonNullable<ConditionalParamInformation[\"minValue\"]>;\n\t\tmaxValue: NonNullable<ConditionalParamInformation[\"maxValue\"]>;\n\t};\n\nexport class ConditionalConfigOption implements ConditionalItem<ConfigOption> {\n\tpublic constructor(\n\t\tpublic readonly value: number,\n\t\tpublic readonly label: string,\n\t\tpublic readonly condition?: string,\n\t) {}\n\n\tpublic evaluateCondition(deviceId?: DeviceID): ConfigOption | undefined {\n\t\tif (!conditionApplies(this, deviceId)) return;\n\n\t\treturn pick(this, [\"value\", \"label\"]);\n\t}\n}\n\nexport interface ConfigOption {\n\tvalue: number;\n\tlabel: string;\n}\n\nexport type ConditionalParamInfoMap = ReadonlyObjectKeyMap<\n\t{ parameter: number; valueBitMask?: number },\n\tConditionalParamInformation[]\n>;\n\nexport type ParamInfoMap = ReadonlyObjectKeyMap<\n\t{ parameter: number; valueBitMask?: number },\n\tParamInformation\n>;\n\nexport function parseConditionalParamInformationMap(\n\tdefinition: JSONObject,\n\tparent: ConditionalDeviceConfig,\n\terrorPrefix: string = \"\",\n): ConditionalParamInfoMap {\n\tconst paramInformation = new ObjectKeyMap<\n\t\t{ parameter: number; valueBitMask?: number },\n\t\tConditionalParamInformation[]\n\t>();\n\n\tconst filename = parent.filename;\n\n\tif (isArray(definition.paramInformation)) {\n\t\t// Check that every param has a param number\n\t\tif (!definition.paramInformation.every((entry: any) => \"#\" in entry)) {\n\t\t\tthrowInvalidConfig(\n\t\t\t\t`device`,\n\t\t\t\t`packages/config/config/devices/${filename}: \n${errorPrefix}required property \"#\" missing in at least one entry of paramInformation`,\n\t\t\t);\n\t\t}\n\n\t\t// And a valid $if condition\n\t\tfor (const entry of definition.paramInformation) {\n\t\t\tvalidateCondition(\n\t\t\t\tfilename,\n\t\t\t\tentry,\n\t\t\t\t`${errorPrefix}At least one entry of paramInformation contains an`,\n\t\t\t);\n\t\t}\n\n\t\tfor (const paramDefinition of definition.paramInformation) {\n\t\t\tconst { [\"#\"]: paramNo, ...defn } = paramDefinition;\n\t\t\tconst key = tryParseParamNumber(paramNo);\n\t\t\tif (!key) {\n\t\t\t\tthrowInvalidConfig(\n\t\t\t\t\t`device`,\n\t\t\t\t\t`packages/config/config/devices/${filename}: \n${errorPrefix}found invalid param number \"${paramNo}\" in paramInformation`,\n\t\t\t\t);\n\t\t\t}\n\n\t\t\tif (!paramInformation.has(key)) paramInformation.set(key, []);\n\t\t\tparamInformation\n\t\t\t\t.get(key)!\n\t\t\t\t.push(\n\t\t\t\t\tnew ConditionalParamInformation(\n\t\t\t\t\t\tparent,\n\t\t\t\t\t\tkey.parameter,\n\t\t\t\t\t\tkey.valueBitMask,\n\t\t\t\t\t\tdefn,\n\t\t\t\t\t),\n\t\t\t\t);\n\t\t}\n\t} else if (isObject(definition.paramInformation)) {\n\t\t// Silently ignore this old format\n\t} else {\n\t\tthrowInvalidConfig(\n\t\t\t`device`,\n\t\t\t`packages/config/config/devices/${filename}:\n${errorPrefix}paramInformation must be an array!`,\n\t\t);\n\t}\n\n\treturn paramInformation;\n}\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AAAA,kBAAoC;AACpC,kBAKO;AACP,wBAAkC;AAClC,wBAAmC;AACnC,6BAKO;AAID,MAAO,4BAA2B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M,EAAE,CAAC,GAAG,GAAG,SAAS,GAAG,KAAI,IAAK;AACpC,YAAM,UAAM,iCAAoB,OAAO;AACvC,UAAI,CAAC,KAAK;AACT,kDACC,UACA,kCAAkC,QAAQ;EAC7C,WAAW,+BAA+B,OAAO,uBAAuB;MAEvE;AAEA,UAAI,CAAC,iBAAiB,IAAI,GAAG;AAAG,yBAAiB,IAAI,KAAK,CAAA,CAAE;AAC5D,uBACE,IAAI,GAAG,EACP,KACA,IAAI,4BACH,QACA,IAAI,WACJ,IAAI,cACJ,IAAI,CACJ;IAEJ;EACD,eAAW,4BAAS,WAAW,gBAAgB,GAAG;EAElD,OAAO;AACN,8CACC,UACA,kCAAkC,QAAQ;EAC3C,WAAW,oCAAoC;EAEhD;AAEA,SAAO;AACR;AAjEgB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/build/cjs/utils.js
CHANGED
|
@@ -5,6 +5,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
8
9
|
var __export = (target, all) => {
|
|
9
10
|
for (var name in all)
|
|
10
11
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -51,6 +52,7 @@ const configDir = import_node_path.default.resolve(import_node_path.default.dirn
|
|
|
51
52
|
function getExternalConfigDirEnvVariable() {
|
|
52
53
|
return process.env.ZWAVEJS_EXTERNAL_CONFIG;
|
|
53
54
|
}
|
|
55
|
+
__name(getExternalConfigDirEnvVariable, "getExternalConfigDirEnvVariable");
|
|
54
56
|
function getDeviceEntryPredicate(manufacturerId, productType, productId, firmwareVersion) {
|
|
55
57
|
return (entry) => {
|
|
56
58
|
if (entry.manufacturerId !== (0, import_shared.formatId)(manufacturerId))
|
|
@@ -65,6 +67,7 @@ function getDeviceEntryPredicate(manufacturerId, productType, productId, firmwar
|
|
|
65
67
|
return true;
|
|
66
68
|
};
|
|
67
69
|
}
|
|
70
|
+
__name(getDeviceEntryPredicate, "getDeviceEntryPredicate");
|
|
68
71
|
async function syncExternalConfigDir(extConfigDir, logger) {
|
|
69
72
|
if (!extConfigDir)
|
|
70
73
|
return { success: false };
|
|
@@ -106,9 +109,11 @@ async function syncExternalConfigDir(extConfigDir, logger) {
|
|
|
106
109
|
}
|
|
107
110
|
return { success: true, version: externalVersion };
|
|
108
111
|
}
|
|
112
|
+
__name(syncExternalConfigDir, "syncExternalConfigDir");
|
|
109
113
|
function versionInRange(version, min, max) {
|
|
110
114
|
return (0, import_gte.default)((0, import_shared.padVersion)(version), (0, import_shared.padVersion)(min)) && (0, import_lte.default)((0, import_shared.padVersion)(version), (0, import_shared.padVersion)(max));
|
|
111
115
|
}
|
|
116
|
+
__name(versionInRange, "versionInRange");
|
|
112
117
|
// Annotate the CommonJS export names for ESM import in node:
|
|
113
118
|
0 && (module.exports = {
|
|
114
119
|
configDir,
|
package/build/cjs/utils.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../src/utils.ts", "../../../../node_modules/.store/@alcalzone-esm2cjs-npm-1.4.
|
|
3
|
+
"sources": ["../../src/utils.ts", "../../../../node_modules/.store/@alcalzone-esm2cjs-npm-1.4.1-18ec443a54/package/shims/import.meta.url/shim.js"],
|
|
4
4
|
"sourcesContent": ["import { copyFilesRecursive, formatId, padVersion } from \"@zwave-js/shared\";\nimport fs from \"node:fs/promises\";\nimport { createRequire } from \"node:module\";\nimport path from \"node:path\";\nimport semverGte from \"semver/functions/gte.js\";\nimport semverInc from \"semver/functions/inc.js\";\nimport semverLte from \"semver/functions/lte.js\";\nimport semverSatisfies from \"semver/functions/satisfies.js\";\nimport semverValid from \"semver/functions/valid.js\";\nimport type { ConfigLogger } from \"./Logger.js\";\nimport { PACKAGE_VERSION } from \"./_version.js\";\nimport type { DeviceConfigIndexEntry } from \"./devices/DeviceConfig.js\";\n\nconst require = createRequire(import.meta.url);\n\n/** The absolute path of the embedded configuration directory */\nexport const configDir = path.resolve(\n\tpath.dirname(require.resolve(\"@zwave-js/config/package.json\")),\n\t\"config\",\n);\n\n/** The (optional) absolute path of an external configuration directory */\nexport function getExternalConfigDirEnvVariable(): string | undefined {\n\treturn process.env.ZWAVEJS_EXTERNAL_CONFIG;\n}\n\nexport function getDeviceEntryPredicate(\n\tmanufacturerId: number,\n\tproductType: number,\n\tproductId: number,\n\tfirmwareVersion?: string,\n): (entry: DeviceConfigIndexEntry) => boolean {\n\treturn (entry) => {\n\t\tif (entry.manufacturerId !== formatId(manufacturerId)) return false;\n\t\tif (entry.productType !== formatId(productType)) return false;\n\t\tif (entry.productId !== formatId(productId)) return false;\n\t\tif (firmwareVersion != undefined) {\n\t\t\t// A firmware version was given, only look at files with a matching firmware version\n\t\t\treturn (\n\t\t\t\tsemverLte(\n\t\t\t\t\tpadVersion(entry.firmwareVersion.min),\n\t\t\t\t\tpadVersion(firmwareVersion),\n\t\t\t\t)\n\t\t\t\t&& semverGte(\n\t\t\t\t\tpadVersion(entry.firmwareVersion.max),\n\t\t\t\t\tpadVersion(firmwareVersion),\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t\treturn true;\n\t};\n}\n\nexport type SyncExternalConfigDirResult =\n\t| {\n\t\tsuccess: false;\n\t}\n\t| {\n\t\tsuccess: true;\n\t\tversion: string;\n\t};\n\n/**\n * Synchronizes or updates the external config directory and returns whether the directory is in a state that can be used\n */\nexport async function syncExternalConfigDir(\n\textConfigDir: string,\n\tlogger: ConfigLogger,\n): Promise<SyncExternalConfigDirResult> {\n\tif (!extConfigDir) return { success: false };\n\n\t// Make sure the config dir exists\n\ttry {\n\t\tawait fs.mkdir(extConfigDir, { recursive: true });\n\t} catch {\n\t\tlogger.print(\n\t\t\t`Synchronizing external config dir failed - directory could not be created`,\n\t\t\t\"error\",\n\t\t);\n\t\treturn { success: false };\n\t}\n\n\tconst externalVersionFilename = path.join(extConfigDir, \"version\");\n\tconst currentVersion = PACKAGE_VERSION;\n\tconst supportedRange = `>=${currentVersion} <${\n\t\tsemverInc(\n\t\t\tcurrentVersion,\n\t\t\t\"patch\",\n\t\t)\n\t}`;\n\n\t// We remember the config version that was copied there in a file called \"version\"\n\t// If that either...\n\t// ...isn't there,\n\t// ...can't be read,\n\t// ...doesn't contain a matching version (>= current && nightly)\n\t// wipe the external config dir and recreate it\n\tlet wipe = false;\n\tlet externalVersion: string | undefined;\n\ttry {\n\t\texternalVersion = await fs.readFile(externalVersionFilename, \"utf8\");\n\t\tif (!semverValid(externalVersion)) {\n\t\t\twipe = true;\n\t\t} else if (\n\t\t\t!semverSatisfies(externalVersion, supportedRange, {\n\t\t\t\tincludePrerelease: true,\n\t\t\t})\n\t\t) {\n\t\t\twipe = true;\n\t\t}\n\t} catch {\n\t\twipe = true;\n\t}\n\n\t// Nothing to wipe, the external dir is good to go\n\tif (!wipe) return { success: true, version: externalVersion! };\n\n\t// Wipe and override the external dir\n\ttry {\n\t\tlogger.print(`Synchronizing external config dir ${extConfigDir}...`);\n\t\tawait fs.rm(extConfigDir, { recursive: true, force: true });\n\t\tawait fs.mkdir(extConfigDir, { recursive: true });\n\t\tawait copyFilesRecursive(\n\t\t\tconfigDir,\n\t\t\textConfigDir,\n\t\t\t(src) => src.endsWith(\".json\"),\n\t\t);\n\t\tawait fs.writeFile(externalVersionFilename, currentVersion, \"utf8\");\n\t\texternalVersion = currentVersion;\n\t} catch {\n\t\t// Something went wrong\n\t\tlogger.print(\n\t\t\t`Synchronizing external config dir failed - using embedded config`,\n\t\t\t\"error\",\n\t\t);\n\t\treturn { success: false };\n\t}\n\n\treturn { success: true, version: externalVersion };\n}\n\nexport function versionInRange(\n\tversion: string,\n\tmin: string,\n\tmax: string,\n): boolean {\n\treturn (\n\t\tsemverGte(padVersion(version), padVersion(min))\n\t\t&& semverLte(padVersion(version), padVersion(max))\n\t);\n}\n", "export const __import_meta_url =\n typeof document === 'undefined' ? new (require('url'.replace('', '')).URL)('file:' + __filename).href :\n (document.currentScript && document.currentScript.src || new URL('main.js', document.baseURI).href)\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;ACAO,IAAM,oBACX,OAAO,aAAa,cAAc,KAAK,QAAQ,MAAM,QAAQ,IAAI,EAAE,CAAC,GAAE,IAAK,UAAU,UAAU,EAAE,OAC9F,SAAS,iBAAiB,SAAS,cAAc,OAAO,IAAI,IAAI,WAAW,SAAS,OAAO,EAAE;ADFlG,oBAAyD;AACzD,sBAAe;AACf,yBAA8B;AAC9B,uBAAiB;AACjB,iBAAsB;AACtB,iBAAsB;AACtB,iBAAsB;AACtB,uBAA4B;AAC5B,mBAAwB;AAExB,qBAAgC;AAGhC,MAAMA,eAAU,kCAAc,iBAAe;AAGtC,MAAM,YAAY,iBAAAC,QAAK,QAC7B,iBAAAA,QAAK,QAAQD,SAAQ,QAAQ,+BAA+B,CAAC,GAC7D,QAAQ;AAIH,SAAU,kCAA+B;AAC9C,SAAO,QAAQ,IAAI;AACpB;AAFgB;AAIV,SAAU,wBACf,gBACA,aACA,WACA,iBAAwB;AAExB,SAAO,CAAC,UAAS;AAChB,QAAI,MAAM,uBAAmB,wBAAS,cAAc;AAAG,aAAO;AAC9D,QAAI,MAAM,oBAAgB,wBAAS,WAAW;AAAG,aAAO;AACxD,QAAI,MAAM,kBAAc,wBAAS,SAAS;AAAG,aAAO;AACpD,QAAI,mBAAmB,QAAW;AAEjC,iBACC,WAAAE,aACC,0BAAW,MAAM,gBAAgB,GAAG,OACpC,0BAAW,eAAe,CAAC,SAEzB,WAAAC,aACF,0BAAW,MAAM,gBAAgB,GAAG,OACpC,0BAAW,eAAe,CAAC;IAG9B;AACA,WAAO;EACR;AACD;AAzBgB;AAuChB,eAAsB,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W,GAAG,CAAC,SAC3C,WAAAD,aAAU,0BAAW,OAAO,OAAG,0BAAW,GAAG,CAAC;AAEnD;AATgB;",
|
|
6
6
|
"names": ["require", "path", "semverLte", "semverGte", "fs", "semverInc", "semverValid", "semverSatisfies"]
|
|
7
7
|
}
|
package/build/cjs/utils_safe.js
CHANGED
|
@@ -3,6 +3,7 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
6
7
|
var __export = (target, all) => {
|
|
7
8
|
for (var name in all)
|
|
8
9
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -33,6 +34,7 @@ function throwInvalidConfig(which, reason) {
|
|
|
33
34
|
throw new import_safe.ZWaveError(`The ${which ? which + " " : ""}config file is malformed!` + (reason ? `
|
|
34
35
|
${reason}` : ""), import_safe.ZWaveErrorCodes.Config_Invalid);
|
|
35
36
|
}
|
|
37
|
+
__name(throwInvalidConfig, "throwInvalidConfig");
|
|
36
38
|
function tryParseCCId(from) {
|
|
37
39
|
let ccId;
|
|
38
40
|
if (/^\d+$/.test(from)) {
|
|
@@ -46,6 +48,7 @@ function tryParseCCId(from) {
|
|
|
46
48
|
return ccId;
|
|
47
49
|
}
|
|
48
50
|
}
|
|
51
|
+
__name(tryParseCCId, "tryParseCCId");
|
|
49
52
|
// Annotate the CommonJS export names for ESM import in node:
|
|
50
53
|
0 && (module.exports = {
|
|
51
54
|
hexKeyRegex2Digits,
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/utils_safe.ts"],
|
|
4
4
|
"sourcesContent": ["import {\n\tCommandClasses,\n\tZWaveError,\n\tZWaveErrorCodes,\n} from \"@zwave-js/core/safe\";\n\nexport const hexKeyRegexNDigits = /^0x[a-f0-9]+$/;\nexport const hexKeyRegex4Digits = /^0x[a-f0-9]{4}$/;\nexport const hexKeyRegex2Digits = /^0x[a-f0-9]{2}$/;\n\nexport function throwInvalidConfig(which: string, reason?: string): never {\n\tthrow new ZWaveError(\n\t\t`The ${which ? which + \" \" : \"\"}config file is malformed!`\n\t\t\t+ (reason ? `\\n${reason}` : \"\"),\n\t\tZWaveErrorCodes.Config_Invalid,\n\t);\n}\n\nexport function tryParseCCId(from: string): CommandClasses | undefined {\n\tlet ccId: number | undefined;\n\tif (/^\\d+$/.test(from)) {\n\t\t// Decimal CC ID\n\t\tccId = parseInt(from, 10);\n\t} else if (hexKeyRegexNDigits.test(from)) {\n\t\t// Hexadecimal CC ID\n\t\tccId = parseInt(from.slice(2), 16);\n\t} else if (from in CommandClasses) {\n\t\t// CC name\n\t\treturn (CommandClasses as any)[from];\n\t}\n\n\tif (ccId != undefined && ccId in CommandClasses) {\n\t\t// This is a valid CC ID\n\t\treturn ccId;\n\t}\n}\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;AAAA,kBAIO;AAEA,MAAM,qBAAqB;AAC3B,MAAM,qBAAqB;AAC3B,MAAM,qBAAqB;AAE5B,SAAU,mBAAmB,OAAe,QAAe;AAChE,QAAM,IAAI,uBACT,OAAO,QAAQ,QAAQ,MAAM,EAAE,+BAC3B,SAAS;EAAK,MAAM,KAAK,KAC7B,4BAAgB,cAAc;AAEhC;AANgB;AAQV,SAAU,aAAa,MAAY;AACxC,MAAI;AACJ,MAAI,QAAQ,KAAK,IAAI,GAAG;AAEvB,WAAO,SAAS,MAAM,EAAE;EACzB,WAAW,mBAAmB,KAAK,IAAI,GAAG;AAEzC,WAAO,SAAS,KAAK,MAAM,CAAC,GAAG,EAAE;EAClC,WAAW,QAAQ,4BAAgB;AAElC,WAAQ,2BAAuB,IAAI;EACpC;AAEA,MAAI,QAAQ,UAAa,QAAQ,4BAAgB;AAEhD,WAAO;EACR;AACD;AAjBgB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/build/esm/_version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "14.3.
|
|
1
|
+
export declare const PACKAGE_VERSION = "14.3.4";
|
|
2
2
|
//# sourceMappingURL=_version.d.ts.map
|
package/build/esm/_version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zwave-js/config",
|
|
3
|
-
"version": "14.3.
|
|
3
|
+
"version": "14.3.4",
|
|
4
4
|
"description": "zwave-js: configuration files",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"test:dirty": "tsx ../maintenance/src/resolveDirtyTests.ts --run"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@zwave-js/core": "14.3.
|
|
62
|
-
"@zwave-js/shared": "14.3.
|
|
61
|
+
"@zwave-js/core": "14.3.4",
|
|
62
|
+
"@zwave-js/shared": "14.3.4",
|
|
63
63
|
"alcalzone-shared": "^5.0.0",
|
|
64
64
|
"ansi-colors": "^4.1.3",
|
|
65
65
|
"json-logic-js": "^2.0.5",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"winston": "^3.15.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@alcalzone/esm2cjs": "^1.4.
|
|
71
|
+
"@alcalzone/esm2cjs": "^1.4.1",
|
|
72
72
|
"@microsoft/api-extractor": "^7.47.9",
|
|
73
73
|
"@types/js-levenshtein": "^1.1.3",
|
|
74
74
|
"@types/json-logic-js": "^2.0.7",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@types/sinon": "^17.0.3",
|
|
79
79
|
"@types/xml2js": "^0.4.14",
|
|
80
80
|
"@types/yargs": "^17.0.33",
|
|
81
|
-
"@zwave-js/maintenance": "14.3.
|
|
81
|
+
"@zwave-js/maintenance": "14.3.4",
|
|
82
82
|
"comment-json": "^4.2.5",
|
|
83
83
|
"del-cli": "^6.0.0",
|
|
84
84
|
"es-main": "^1.3.0",
|