basyx-typescript-sdk 2.1.1 → 2.1.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.
|
@@ -882,7 +882,11 @@ export function deserializeXml(xmlString) {
|
|
|
882
882
|
if (!xmlString || xmlString.trim() === '') {
|
|
883
883
|
return new BaSyxEnvironment();
|
|
884
884
|
}
|
|
885
|
-
const rootNode = parseXmlString(xmlString
|
|
885
|
+
const rootNode = parseXmlString(xmlString, {
|
|
886
|
+
// Merge adjacent text callbacks and skip line/column tracking for faster parse.
|
|
887
|
+
coalesceText: true,
|
|
888
|
+
trackPosition: false,
|
|
889
|
+
});
|
|
886
890
|
const parsed = buildObject(rootNode, {
|
|
887
891
|
stripNamespaces: true,
|
|
888
892
|
arrayElements: ARRAY_ELEMENTS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "basyx-typescript-sdk",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "BaSyx TypeScript SDK for developing applications and components for the Asset Administration Shell (AAS)",
|
|
5
5
|
"main": "bundle/index.cjs",
|
|
6
6
|
"module": "bundle/index.mjs",
|
|
@@ -41,13 +41,14 @@
|
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@aas-core-works/aas-core3.1-typescript": "^1.0.0",
|
|
44
|
+
"@eslint/js": "^10.0.1",
|
|
44
45
|
"@openapitools/openapi-generator-cli": "^2.18.4",
|
|
45
46
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
46
47
|
"@types/jest": "^30.0.0",
|
|
47
48
|
"@types/node": "^25.0.0",
|
|
48
49
|
"@typescript-eslint/eslint-plugin": "^8.21.0",
|
|
49
50
|
"@typescript-eslint/parser": "^8.20.0",
|
|
50
|
-
"eslint": "^
|
|
51
|
+
"eslint": "^10.0.0",
|
|
51
52
|
"eslint-config-prettier": "^10.0.1",
|
|
52
53
|
"eslint-plugin-prettier": "^5.2.3",
|
|
53
54
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
@@ -64,6 +65,6 @@
|
|
|
64
65
|
"typescript-eslint": "^8.21.0"
|
|
65
66
|
},
|
|
66
67
|
"dependencies": {
|
|
67
|
-
"xml-sax-ts": "^0.
|
|
68
|
+
"xml-sax-ts": "^0.4.0"
|
|
68
69
|
}
|
|
69
70
|
}
|