hb-zp-tools 2.0.0 → 2.0.2
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/lib/ZpXmlParser.js +1 -1
- package/package.json +3 -3
package/lib/ZpXmlParser.js
CHANGED
|
@@ -288,7 +288,7 @@ class ZpXmlParser {
|
|
|
288
288
|
obj[key] = {}
|
|
289
289
|
const newValue = [].concat(await this.#process(value[key]))
|
|
290
290
|
for (const elt of newValue) {
|
|
291
|
-
obj[key][this
|
|
291
|
+
obj[key][this.#processKey(elt.channel)] = elt.val
|
|
292
292
|
}
|
|
293
293
|
continue
|
|
294
294
|
}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"ebaauw"
|
|
7
7
|
],
|
|
8
8
|
"license": "Apache-2.0",
|
|
9
|
-
"version": "2.0.
|
|
9
|
+
"version": "2.0.2",
|
|
10
10
|
"type": "module",
|
|
11
11
|
"exports": {
|
|
12
12
|
"./*": "./lib/*.js"
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"zp": "cli/zp.js"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
29
|
-
"node": "^24||^22
|
|
29
|
+
"node": "^24||^22"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"hb-lib-tools": "~3.0.
|
|
32
|
+
"hb-lib-tools": "~3.0.4",
|
|
33
33
|
"he": "^1.2.0",
|
|
34
34
|
"xml2js": "~0.6.2"
|
|
35
35
|
},
|