@usearazzo/validator 1.0.1-alpha.16 → 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,14 @@
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/validator
9
+
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)
11
+
12
+ **Note:** Version bump only for package @usearazzo/validator
13
+
6
14
  ## [1.0.1-alpha.16](https://github.com/usearazzo/arazzo-toolkit/compare/v1.0.1-alpha.15...v1.0.1-alpha.16) (2026-10-28)
7
15
 
8
16
  **Note:** Version bump only for package @usearazzo/validator
@@ -198137,7 +198137,7 @@ const Ast = function fnast() {
198137
198137
  xml += `<root nodes="${records.length / 2}" characters="${chars.length}">\n`;
198138
198138
  xml += `<!-- input string -->\n`;
198139
198139
  xml += indent(depth + 2);
198140
- xml += utils.charsToString(chars);
198140
+ xml += utils.charsToXmlString(chars);
198141
198141
  xml += '\n';
198142
198142
  records.forEach((rec) => {
198143
198143
  if (rec.state === id.SEM_PRE) {
@@ -198145,7 +198145,7 @@ const Ast = function fnast() {
198145
198145
  xml += indent(depth);
198146
198146
  xml += `<node name="${rec.name}" index="${rec.phraseIndex}" length="${rec.phraseLength}">\n`;
198147
198147
  xml += indent(depth + 2);
198148
- xml += utils.charsToString(chars, rec.phraseIndex, rec.phraseLength);
198148
+ xml += utils.charsToXmlString(chars, rec.phraseIndex, rec.phraseLength);
198149
198149
  xml += '\n';
198150
198150
  } else {
198151
198151
  xml += indent(depth);
@@ -198527,6 +198527,14 @@ const utilities = {
198527
198527
  }
198528
198528
  return String.fromCodePoint(...subChars);
198529
198529
  },
198530
+ charsToXmlString: (chars, beg, len) =>
198531
+ utilities
198532
+ .charsToString(chars, beg, len)
198533
+ .replace(/&/g, '&amp;')
198534
+ .replace(/</g, '&lt;')
198535
+ .replace(/>/g, '&gt;')
198536
+ .replace(/'/g, '&apos;')
198537
+ .replace(/"/g, '&quot;'),
198530
198538
  };
198531
198539
 
198532
198540
  const identifiers = {
@@ -218207,7 +218215,7 @@ var ColorPresentation;
218207
218215
  function is(value) {
218208
218216
  const candidate = value;
218209
218217
  return Is.objectLiteral(candidate) && Is.string(candidate.label)
218210
- && (Is.undefined(candidate.textEdit) || TextEdit.is(candidate))
218218
+ && (Is.undefined(candidate.textEdit) || TextEdit.is(candidate.textEdit))
218211
218219
  && (Is.undefined(candidate.additionalTextEdits) || Is.typedArray(candidate.additionalTextEdits, TextEdit.is));
218212
218220
  }
218213
218221
  ColorPresentation.is = is;
@@ -218264,7 +218272,7 @@ var FoldingRange;
218264
218272
  */
218265
218273
  function is(value) {
218266
218274
  const candidate = value;
218267
- return Is.objectLiteral(candidate) && Is.uinteger(candidate.startLine) && Is.uinteger(candidate.startLine)
218275
+ return Is.objectLiteral(candidate) && Is.uinteger(candidate.startLine) && Is.uinteger(candidate.endLine)
218268
218276
  && (Is.undefined(candidate.startCharacter) || Is.uinteger(candidate.startCharacter))
218269
218277
  && (Is.undefined(candidate.endCharacter) || Is.uinteger(candidate.endCharacter))
218270
218278
  && (Is.undefined(candidate.kind) || Is.string(candidate.kind));