state-machine-cat 12.0.21 → 12.0.23
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/dist/cli/attributes-parser.mjs +263 -261
- package/dist/parse/scxml/index.mjs +2 -2
- package/dist/parse/smcat/smcat-parser.mjs +575 -593
- package/dist/version.mjs +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { XMLParser } from "fast-xml-parser";
|
|
2
2
|
import he from "he";
|
|
3
3
|
import traverse from "neotraverse";
|
|
4
4
|
import { Counter } from "../../counter.mjs";
|
|
@@ -160,7 +160,7 @@ export function parse(pSCXMLString) {
|
|
|
160
160
|
const lTrimmedSCXMLString = pSCXMLString.trim();
|
|
161
161
|
const lAttributeNamePrefix = "@_";
|
|
162
162
|
let lXMLAsJSON = {};
|
|
163
|
-
const lXMLParser = new
|
|
163
|
+
const lXMLParser = new XMLParser({
|
|
164
164
|
attributeNamePrefix: lAttributeNamePrefix,
|
|
165
165
|
ignoreAttributes: false,
|
|
166
166
|
parseTagValue: true,
|