zwave-js 15.22.3 → 15.22.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/lib/_version.d.ts +1 -1
- package/build/cjs/lib/_version.js +1 -1
- package/build/cjs/lib/_version.js.map +1 -1
- package/build/cjs/lib/driver/EndDeviceCLI.js +19 -2
- package/build/cjs/lib/driver/EndDeviceCLI.js.map +2 -2
- package/build/esm/lib/_version.d.ts +1 -1
- package/build/esm/lib/_version.js +1 -1
- package/build/esm/lib/driver/EndDeviceCLI.d.ts.map +1 -1
- package/build/esm/lib/driver/EndDeviceCLI.js +21 -6
- package/build/esm/lib/driver/EndDeviceCLI.js.map +1 -1
- package/package.json +3 -3
|
@@ -22,7 +22,7 @@ __export(version_exports, {
|
|
|
22
22
|
PACKAGE_VERSION: () => PACKAGE_VERSION
|
|
23
23
|
});
|
|
24
24
|
module.exports = __toCommonJS(version_exports);
|
|
25
|
-
const PACKAGE_VERSION = "15.22.
|
|
25
|
+
const PACKAGE_VERSION = "15.22.4";
|
|
26
26
|
const PACKAGE_NAME = "zwave-js";
|
|
27
27
|
// Annotate the CommonJS export names for ESM import in node:
|
|
28
28
|
0 && (module.exports = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/lib/_version.ts"],
|
|
4
|
-
"sourcesContent": ["// This file is auto-generated by the codegen maintenance script\nexport const PACKAGE_VERSION = \"15.22.
|
|
4
|
+
"sourcesContent": ["// This file is auto-generated by the codegen maintenance script\nexport const PACKAGE_VERSION = \"15.22.4\";\nexport const PACKAGE_NAME = \"zwave-js\";\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;;;;;;AACO,MAAM,kBAAkB;AACxB,MAAM,eAAe;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -24,6 +24,24 @@ __export(EndDeviceCLI_exports, {
|
|
|
24
24
|
module.exports = __toCommonJS(EndDeviceCLI_exports);
|
|
25
25
|
var import_core = require("@zwave-js/core");
|
|
26
26
|
var import_shared = require("@zwave-js/shared");
|
|
27
|
+
function parseCommandList(output) {
|
|
28
|
+
const commands = [];
|
|
29
|
+
for (const line of output.trim().split("\n")) {
|
|
30
|
+
const match = line.match(/^\s*([A-Za-z][A-Za-z0-9_]*)\s{2,}(.*?)\s*$/);
|
|
31
|
+
if (match) {
|
|
32
|
+
commands.push([match[1], match[2]]);
|
|
33
|
+
} else if (commands.length > 0) {
|
|
34
|
+
let trimmed = line.trim();
|
|
35
|
+
if (trimmed) {
|
|
36
|
+
if (trimmed.startsWith("["))
|
|
37
|
+
trimmed = " " + trimmed;
|
|
38
|
+
commands.at(-1)[1] += trimmed;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return commands;
|
|
43
|
+
}
|
|
44
|
+
__name(parseCommandList, "parseCommandList");
|
|
27
45
|
class EndDeviceCLI {
|
|
28
46
|
static {
|
|
29
47
|
__name(this, "EndDeviceCLI");
|
|
@@ -64,8 +82,7 @@ class EndDeviceCLI {
|
|
|
64
82
|
if (!commandList) {
|
|
65
83
|
throw new import_core.ZWaveError("Failed to detect CLI commands", import_core.ZWaveErrorCodes.Driver_NotSupported);
|
|
66
84
|
}
|
|
67
|
-
|
|
68
|
-
this._commands = new Map(commands);
|
|
85
|
+
this._commands = new Map(parseCommandList(commandList));
|
|
69
86
|
}
|
|
70
87
|
}
|
|
71
88
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/lib/driver/EndDeviceCLI.ts"],
|
|
4
|
-
"sourcesContent": ["import { ZWaveError, ZWaveErrorCodes } from \"@zwave-js/core\";\nimport { Bytes, type BytesView } from \"@zwave-js/shared\";\n\n/** Encapsulates information about the currently active bootloader */\nexport class EndDeviceCLI {\n\tpublic constructor(\n\t\twriteSerial: (data: BytesView) => Promise<void>,\n\t\texpectMessage: (timeoutMs?: number) => Promise<string | undefined>,\n\t) {\n\t\tthis.writeSerial = writeSerial;\n\t\tthis.expectMessage = expectMessage;\n\t\tthis._commands = new Map();\n\t}\n\n\tpublic readonly writeSerial: (data: BytesView) => Promise<void>;\n\tpublic readonly expectMessage: () => Promise<string | undefined>;\n\n\tprivate _commands: Map<string, string>;\n\tpublic get commands(): ReadonlyMap<string, string> {\n\t\treturn this._commands;\n\t}\n\n\tpublic async executeCommand(command: string): Promise<string | undefined> {\n\t\tconst normalizedCommand = command.trim();\n\t\tconst commandName = normalizedCommand.split(/\\s+/, 1)[0];\n\t\tif (!this.commands.has(commandName)) {\n\t\t\tthrow new ZWaveError(\n\t\t\t\t`Unknown CLI command ${normalizedCommand}`,\n\t\t\t\tZWaveErrorCodes.Driver_NotSupported,\n\t\t\t);\n\t\t}\n\t\tconst response = this.expectMessage();\n\t\tawait this.writeSerial(Bytes.from(normalizedCommand + \"\\r\\n\", \"ascii\"));\n\t\tlet ret = await response;\n\t\tif (!ret) return;\n\n\t\t// Successful commands echo the command itself, followed by a line break\n\t\tif (ret.startsWith(normalizedCommand + \"\\r\\n\")) {\n\t\t\tret = ret.slice(normalizedCommand.length + 2);\n\t\t}\n\t\tret = ret.trim();\n\t\t// Most commands prefix their response with the log level, usually \"[I] \"\n\t\tret = ret.replace(/^\\[[A-Z]\\] /, \"\");\n\t\treturn ret;\n\t}\n\n\tpublic async detectCommands(): Promise<void> {\n\t\tconst response = this.expectMessage();\n\t\tawait this.writeSerial(Bytes.from(\"help\\r\\n\", \"ascii\"));\n\t\tconst commandList = await response;\n\t\tif (!commandList) {\n\t\t\tthrow new ZWaveError(\n\t\t\t\t\"Failed to detect CLI commands\",\n\t\t\t\tZWaveErrorCodes.Driver_NotSupported,\n\t\t\t);\n\t\t}\n\t\
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;AAAA;;;;;AAAA,kBAA4C;AAC5C,oBAAsC;
|
|
4
|
+
"sourcesContent": ["import { ZWaveError, ZWaveErrorCodes } from \"@zwave-js/core\";\nimport { Bytes, type BytesView } from \"@zwave-js/shared\";\n\nfunction parseCommandList(output: string): [string, string][] {\n\tconst commands: [string, string][] = [];\n\tfor (const line of output.trim().split(\"\\n\")) {\n\t\tconst match = line.match(\n\t\t\t/^\\s*([A-Za-z][A-Za-z0-9_]*)\\s{2,}(.*?)\\s*$/,\n\t\t);\n\t\tif (match) {\n\t\t\tcommands.push([match[1], match[2]]);\n\t\t} else if (commands.length > 0) {\n\t\t\t// Continuation line \u2014 append to the previous command's description\n\t\t\tlet trimmed = line.trim();\n\t\t\tif (trimmed) {\n\t\t\t\t// \"[\" indicates an argument description\n\t\t\t\tif (trimmed.startsWith(\"[\")) trimmed = \" \" + trimmed;\n\t\t\t\tcommands.at(-1)![1] += trimmed;\n\t\t\t}\n\t\t}\n\t}\n\treturn commands;\n}\n\n/** Encapsulates information about the currently active bootloader */\nexport class EndDeviceCLI {\n\tpublic constructor(\n\t\twriteSerial: (data: BytesView) => Promise<void>,\n\t\texpectMessage: (timeoutMs?: number) => Promise<string | undefined>,\n\t) {\n\t\tthis.writeSerial = writeSerial;\n\t\tthis.expectMessage = expectMessage;\n\t\tthis._commands = new Map();\n\t}\n\n\tpublic readonly writeSerial: (data: BytesView) => Promise<void>;\n\tpublic readonly expectMessage: () => Promise<string | undefined>;\n\n\tprivate _commands: Map<string, string>;\n\tpublic get commands(): ReadonlyMap<string, string> {\n\t\treturn this._commands;\n\t}\n\n\tpublic async executeCommand(command: string): Promise<string | undefined> {\n\t\tconst normalizedCommand = command.trim();\n\t\tconst commandName = normalizedCommand.split(/\\s+/, 1)[0];\n\t\tif (!this.commands.has(commandName)) {\n\t\t\tthrow new ZWaveError(\n\t\t\t\t`Unknown CLI command ${normalizedCommand}`,\n\t\t\t\tZWaveErrorCodes.Driver_NotSupported,\n\t\t\t);\n\t\t}\n\t\tconst response = this.expectMessage();\n\t\tawait this.writeSerial(Bytes.from(normalizedCommand + \"\\r\\n\", \"ascii\"));\n\t\tlet ret = await response;\n\t\tif (!ret) return;\n\n\t\t// Successful commands echo the command itself, followed by a line break\n\t\tif (ret.startsWith(normalizedCommand + \"\\r\\n\")) {\n\t\t\tret = ret.slice(normalizedCommand.length + 2);\n\t\t}\n\t\tret = ret.trim();\n\t\t// Most commands prefix their response with the log level, usually \"[I] \"\n\t\tret = ret.replace(/^\\[[A-Z]\\] /, \"\");\n\t\treturn ret;\n\t}\n\n\tpublic async detectCommands(): Promise<void> {\n\t\tconst response = this.expectMessage();\n\t\tawait this.writeSerial(Bytes.from(\"help\\r\\n\", \"ascii\"));\n\t\tconst commandList = await response;\n\t\tif (!commandList) {\n\t\t\tthrow new ZWaveError(\n\t\t\t\t\"Failed to detect CLI commands\",\n\t\t\t\tZWaveErrorCodes.Driver_NotSupported,\n\t\t\t);\n\t\t}\n\t\tthis._commands = new Map(parseCommandList(commandList));\n\t}\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;AAAA;;;;;AAAA,kBAA4C;AAC5C,oBAAsC;AAEtC,SAAS,iBAAiB,QAAc;AACvC,QAAM,WAA+B,CAAA;AACrC,aAAW,QAAQ,OAAO,KAAI,EAAG,MAAM,IAAI,GAAG;AAC7C,UAAM,QAAQ,KAAK,MAClB,4CAA4C;AAE7C,QAAI,OAAO;AACV,eAAS,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC;IACnC,WAAW,SAAS,SAAS,GAAG;AAE/B,UAAI,UAAU,KAAK,KAAI;AACvB,UAAI,SAAS;AAEZ,YAAI,QAAQ,WAAW,GAAG;AAAG,oBAAU,MAAM;AAC7C,iBAAS,GAAG,EAAE,EAAG,CAAC,KAAK;MACxB;IACD;EACD;AACA,SAAO;AACR;AAnBS;AAsBH,MAAO,aAAY;EAzBzB,OAyByB;;;EACxB,YACC,aACA,eAAkE;AAElE,SAAK,cAAc;AACnB,SAAK,gBAAgB;AACrB,SAAK,YAAY,oBAAI,IAAG;EACzB;EAEgB;EACA;EAER;EACR,IAAW,WAAQ;AAClB,WAAO,KAAK;EACb;EAEO,MAAM,eAAe,SAAe;AAC1C,UAAM,oBAAoB,QAAQ,KAAI;AACtC,UAAM,cAAc,kBAAkB,MAAM,OAAO,CAAC,EAAE,CAAC;AACvD,QAAI,CAAC,KAAK,SAAS,IAAI,WAAW,GAAG;AACpC,YAAM,IAAI,uBACT,uBAAuB,iBAAiB,IACxC,4BAAgB,mBAAmB;IAErC;AACA,UAAM,WAAW,KAAK,cAAa;AACnC,UAAM,KAAK,YAAY,oBAAM,KAAK,oBAAoB,QAAQ,OAAO,CAAC;AACtE,QAAI,MAAM,MAAM;AAChB,QAAI,CAAC;AAAK;AAGV,QAAI,IAAI,WAAW,oBAAoB,MAAM,GAAG;AAC/C,YAAM,IAAI,MAAM,kBAAkB,SAAS,CAAC;IAC7C;AACA,UAAM,IAAI,KAAI;AAEd,UAAM,IAAI,QAAQ,eAAe,EAAE;AACnC,WAAO;EACR;EAEO,MAAM,iBAAc;AAC1B,UAAM,WAAW,KAAK,cAAa;AACnC,UAAM,KAAK,YAAY,oBAAM,KAAK,YAAY,OAAO,CAAC;AACtD,UAAM,cAAc,MAAM;AAC1B,QAAI,CAAC,aAAa;AACjB,YAAM,IAAI,uBACT,iCACA,4BAAgB,mBAAmB;IAErC;AACA,SAAK,YAAY,IAAI,IAAI,iBAAiB,WAAW,CAAC;EACvD;;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EndDeviceCLI.d.ts","sourceRoot":"","sources":["../../../../src/lib/driver/EndDeviceCLI.ts"],"names":[],"mappings":"AACA,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"EndDeviceCLI.d.ts","sourceRoot":"","sources":["../../../../src/lib/driver/EndDeviceCLI.ts"],"names":[],"mappings":"AACA,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAuBzD,qEAAqE;AACrE,qBAAa,YAAY;IACxB,YACC,WAAW,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,OAAO,CAAC,IAAI,CAAC,EAC/C,aAAa,EAAE,CAAC,SAAS,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,EAKlE;IAED,SAAgB,WAAW,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAChE,SAAgB,aAAa,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAEjE,OAAO,CAAC,SAAS,CAAsB;IACvC,IAAW,QAAQ,IAAI,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAEjD;IAEY,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAsBxE;IAEY,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAW3C;CACD"}
|
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
import { ZWaveError, ZWaveErrorCodes } from "@zwave-js/core";
|
|
2
2
|
import { Bytes } from "@zwave-js/shared";
|
|
3
|
+
function parseCommandList(output) {
|
|
4
|
+
const commands = [];
|
|
5
|
+
for (const line of output.trim().split("\n")) {
|
|
6
|
+
const match = line.match(/^\s*([A-Za-z][A-Za-z0-9_]*)\s{2,}(.*?)\s*$/);
|
|
7
|
+
if (match) {
|
|
8
|
+
commands.push([match[1], match[2]]);
|
|
9
|
+
}
|
|
10
|
+
else if (commands.length > 0) {
|
|
11
|
+
// Continuation line — append to the previous command's description
|
|
12
|
+
let trimmed = line.trim();
|
|
13
|
+
if (trimmed) {
|
|
14
|
+
// "[" indicates an argument description
|
|
15
|
+
if (trimmed.startsWith("["))
|
|
16
|
+
trimmed = " " + trimmed;
|
|
17
|
+
commands.at(-1)[1] += trimmed;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return commands;
|
|
22
|
+
}
|
|
3
23
|
/** Encapsulates information about the currently active bootloader */
|
|
4
24
|
export class EndDeviceCLI {
|
|
5
25
|
constructor(writeSerial, expectMessage) {
|
|
@@ -40,12 +60,7 @@ export class EndDeviceCLI {
|
|
|
40
60
|
if (!commandList) {
|
|
41
61
|
throw new ZWaveError("Failed to detect CLI commands", ZWaveErrorCodes.Driver_NotSupported);
|
|
42
62
|
}
|
|
43
|
-
|
|
44
|
-
.split("\n")
|
|
45
|
-
.map((line) => line.trim())
|
|
46
|
-
.map((line) => line.split(/\s+/, 2).map((part) => part.trim()))
|
|
47
|
-
.filter((parts) => parts.every((part) => !!part));
|
|
48
|
-
this._commands = new Map(commands);
|
|
63
|
+
this._commands = new Map(parseCommandList(commandList));
|
|
49
64
|
}
|
|
50
65
|
}
|
|
51
66
|
//# sourceMappingURL=EndDeviceCLI.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EndDeviceCLI.js","sourceRoot":"","sources":["../../../../src/lib/driver/EndDeviceCLI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAkB,MAAM,kBAAkB,CAAC;AAEzD,qEAAqE;AACrE,MAAM,OAAO,YAAY;IACxB,YACC,WAA+C,EAC/C,aAAkE;QAElE,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,SAAS,GAAG,IAAI,GAAG,EAAE,CAAC;IAC5B,CAAC;IAEe,WAAW,CAAqC;IAChD,aAAa,CAAoC;IAEzD,SAAS,CAAsB;IACvC,IAAW,QAAQ;QAClB,OAAO,IAAI,CAAC,SAAS,CAAC;IACvB,CAAC;IAEM,KAAK,CAAC,cAAc,CAAC,OAAe;QAC1C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AAC,aAAa,EAAE,CAAC;QACtC,MAAM,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC;QACxD,MAAM,WAAW,GAAG,MAAM,QAAQ,CAAC;QACnC,IAAI,CAAC,WAAW,EAAE,CAAC;YAClB,MAAM,IAAI,UAAU,CACnB,+BAA+B,EAC/B,eAAe,CAAC,mBAAmB,CACnC,CAAC;QACH,CAAC;QACD,IAAI,CAAC,SAAS,GAAG,IAAI,GAAG,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC,CAAC;IACzD,CAAC;CACD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zwave-js",
|
|
3
|
-
"version": "15.22.
|
|
3
|
+
"version": "15.22.4",
|
|
4
4
|
"description": "Z-Wave driver written entirely in JavaScript/TypeScript",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"type": "module",
|
|
@@ -134,9 +134,9 @@
|
|
|
134
134
|
"@zwave-js/core": "15.22.1",
|
|
135
135
|
"@zwave-js/host": "15.22.1",
|
|
136
136
|
"@zwave-js/nvmedit": "15.22.1",
|
|
137
|
-
"@zwave-js/serial": "15.22.
|
|
137
|
+
"@zwave-js/serial": "15.22.4",
|
|
138
138
|
"@zwave-js/shared": "15.22.1",
|
|
139
|
-
"@zwave-js/testing": "15.22.
|
|
139
|
+
"@zwave-js/testing": "15.22.4",
|
|
140
140
|
"@zwave-js/waddle": "^1.2.1",
|
|
141
141
|
"alcalzone-shared": "^5.0.0",
|
|
142
142
|
"ansi-colors": "^4.1.3",
|