state-machine-cat 12.0.21 → 12.0.22

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.
@@ -1,4 +1,4 @@
1
- import fastxml from "fast-xml-parser";
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 fastxml.XMLParser({
163
+ const lXMLParser = new XMLParser({
164
164
  attributeNamePrefix: lAttributeNamePrefix,
165
165
  ignoreAttributes: false,
166
166
  parseTagValue: true,
package/dist/version.mjs CHANGED
@@ -1 +1 @@
1
- export const version = "12.0.21";
1
+ export const version = "12.0.22";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "state-machine-cat",
3
- "version": "12.0.21",
3
+ "version": "12.0.22",
4
4
  "description": "write beautiful state charts",
5
5
  "main": "./dist/index.mjs",
6
6
  "module": "./dist/index.mjs",
@@ -42,7 +42,7 @@
42
42
  "dependencies": {
43
43
  "@hpcc-js/wasm-graphviz": "1.7.0",
44
44
  "ajv": "8.17.1",
45
- "fast-xml-parser": "4.5.1",
45
+ "fast-xml-parser": "5.2.0",
46
46
  "he": "1.2.0",
47
47
  "neotraverse": "0.6.18"
48
48
  },