@usearazzo/resolver 1.0.1-alpha.17 → 1.0.1-alpha.18

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/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.0.1-alpha.18](https://github.com/usearazzo/arazzo-toolkit/compare/v1.0.1-alpha.17...v1.0.1-alpha.18) (2026-10-30)
7
+
8
+ **Note:** Version bump only for package @usearazzo/resolver
9
+
6
10
  ## [1.0.1-alpha.17](https://github.com/usearazzo/arazzo-toolkit/compare/v1.0.1-alpha.16...v1.0.1-alpha.17) (2026-10-29)
7
11
 
8
12
  **Note:** Version bump only for package @usearazzo/resolver
@@ -63396,7 +63396,7 @@ const Ast = function fnast() {
63396
63396
  xml += `<root nodes="${records.length / 2}" characters="${chars.length}">\n`;
63397
63397
  xml += `<!-- input string -->\n`;
63398
63398
  xml += indent(depth + 2);
63399
- xml += utils.charsToString(chars);
63399
+ xml += utils.charsToXmlString(chars);
63400
63400
  xml += '\n';
63401
63401
  records.forEach((rec) => {
63402
63402
  if (rec.state === id.SEM_PRE) {
@@ -63404,7 +63404,7 @@ const Ast = function fnast() {
63404
63404
  xml += indent(depth);
63405
63405
  xml += `<node name="${rec.name}" index="${rec.phraseIndex}" length="${rec.phraseLength}">\n`;
63406
63406
  xml += indent(depth + 2);
63407
- xml += utils.charsToString(chars, rec.phraseIndex, rec.phraseLength);
63407
+ xml += utils.charsToXmlString(chars, rec.phraseIndex, rec.phraseLength);
63408
63408
  xml += '\n';
63409
63409
  } else {
63410
63410
  xml += indent(depth);
@@ -63786,6 +63786,14 @@ const utilities = {
63786
63786
  }
63787
63787
  return String.fromCodePoint(...subChars);
63788
63788
  },
63789
+ charsToXmlString: (chars, beg, len) =>
63790
+ utilities
63791
+ .charsToString(chars, beg, len)
63792
+ .replace(/&/g, '&amp;')
63793
+ .replace(/</g, '&lt;')
63794
+ .replace(/>/g, '&gt;')
63795
+ .replace(/'/g, '&apos;')
63796
+ .replace(/"/g, '&quot;'),
63789
63797
  };
63790
63798
 
63791
63799
  const identifiers = {