@probelabs/visor 0.1.150-ee → 0.1.151-ee

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.
Files changed (43) hide show
  1. package/dist/index.js +319 -376
  2. package/dist/sdk/{check-provider-registry-RRYBG6AU.mjs → check-provider-registry-IGIIFX67.mjs} +5 -5
  3. package/dist/sdk/{check-provider-registry-VHM53BTI.mjs → check-provider-registry-NEOLXMRW.mjs} +5 -5
  4. package/dist/sdk/{chunk-GLROSEYJ.mjs → chunk-CZOKADR7.mjs} +3 -3
  5. package/dist/sdk/{chunk-O4H5KZ7Y.mjs → chunk-GJN2HALW.mjs} +15 -15
  6. package/dist/sdk/{chunk-FZEQ744M.mjs → chunk-LH3PEGKM.mjs} +2 -2
  7. package/dist/sdk/{chunk-PETLPNRA.mjs → chunk-NE3OOOB2.mjs} +2 -2
  8. package/dist/sdk/{chunk-PETLPNRA.mjs.map → chunk-NE3OOOB2.mjs.map} +1 -1
  9. package/dist/sdk/{chunk-AADKUA6L.mjs → chunk-U4ZJWL63.mjs} +15 -15
  10. package/dist/sdk/{failure-condition-evaluator-XV2ZMFFY.mjs → failure-condition-evaluator-XYC6LZAV.mjs} +3 -3
  11. package/dist/sdk/{github-frontend-A2R7D4N6.mjs → github-frontend-NWH4ZK77.mjs} +3 -3
  12. package/dist/sdk/{host-BRZQLVCH.mjs → host-7WIF5HKA.mjs} +2 -2
  13. package/dist/sdk/{host-MR7L57QI.mjs → host-ZWGHQS34.mjs} +2 -2
  14. package/dist/sdk/{routing-V3MYZAOH.mjs → routing-ODVQHICC.mjs} +4 -4
  15. package/dist/sdk/{schedule-tool-4QDBJV74.mjs → schedule-tool-HQFZLF4V.mjs} +5 -5
  16. package/dist/sdk/{schedule-tool-NYLNJUEW.mjs → schedule-tool-SFHR3T3S.mjs} +5 -5
  17. package/dist/sdk/{schedule-tool-handler-27XEVLSY.mjs → schedule-tool-handler-C6B4SFCZ.mjs} +5 -5
  18. package/dist/sdk/{schedule-tool-handler-EFQIYD3W.mjs → schedule-tool-handler-JCOBGMRA.mjs} +5 -5
  19. package/dist/sdk/sdk.js +1 -1
  20. package/dist/sdk/sdk.js.map +1 -1
  21. package/dist/sdk/sdk.mjs +4 -4
  22. package/dist/sdk/{trace-helpers-6NSZBC35.mjs → trace-helpers-LKAADSNB.mjs} +2 -2
  23. package/dist/sdk/{workflow-check-provider-3MVUCEJR.mjs → workflow-check-provider-CH3ARLBE.mjs} +5 -5
  24. package/dist/sdk/{workflow-check-provider-XLH7N4FV.mjs → workflow-check-provider-LMAKHSEZ.mjs} +5 -5
  25. package/package.json +2 -2
  26. /package/dist/sdk/{check-provider-registry-RRYBG6AU.mjs.map → check-provider-registry-IGIIFX67.mjs.map} +0 -0
  27. /package/dist/sdk/{check-provider-registry-VHM53BTI.mjs.map → check-provider-registry-NEOLXMRW.mjs.map} +0 -0
  28. /package/dist/sdk/{chunk-GLROSEYJ.mjs.map → chunk-CZOKADR7.mjs.map} +0 -0
  29. /package/dist/sdk/{chunk-O4H5KZ7Y.mjs.map → chunk-GJN2HALW.mjs.map} +0 -0
  30. /package/dist/sdk/{chunk-FZEQ744M.mjs.map → chunk-LH3PEGKM.mjs.map} +0 -0
  31. /package/dist/sdk/{chunk-AADKUA6L.mjs.map → chunk-U4ZJWL63.mjs.map} +0 -0
  32. /package/dist/sdk/{failure-condition-evaluator-XV2ZMFFY.mjs.map → failure-condition-evaluator-XYC6LZAV.mjs.map} +0 -0
  33. /package/dist/sdk/{github-frontend-A2R7D4N6.mjs.map → github-frontend-NWH4ZK77.mjs.map} +0 -0
  34. /package/dist/sdk/{host-BRZQLVCH.mjs.map → host-7WIF5HKA.mjs.map} +0 -0
  35. /package/dist/sdk/{host-MR7L57QI.mjs.map → host-ZWGHQS34.mjs.map} +0 -0
  36. /package/dist/sdk/{routing-V3MYZAOH.mjs.map → routing-ODVQHICC.mjs.map} +0 -0
  37. /package/dist/sdk/{schedule-tool-4QDBJV74.mjs.map → schedule-tool-HQFZLF4V.mjs.map} +0 -0
  38. /package/dist/sdk/{schedule-tool-NYLNJUEW.mjs.map → schedule-tool-SFHR3T3S.mjs.map} +0 -0
  39. /package/dist/sdk/{schedule-tool-handler-27XEVLSY.mjs.map → schedule-tool-handler-C6B4SFCZ.mjs.map} +0 -0
  40. /package/dist/sdk/{schedule-tool-handler-EFQIYD3W.mjs.map → schedule-tool-handler-JCOBGMRA.mjs.map} +0 -0
  41. /package/dist/sdk/{trace-helpers-6NSZBC35.mjs.map → trace-helpers-LKAADSNB.mjs.map} +0 -0
  42. /package/dist/sdk/{workflow-check-provider-3MVUCEJR.mjs.map → workflow-check-provider-CH3ARLBE.mjs.map} +0 -0
  43. /package/dist/sdk/{workflow-check-provider-XLH7N4FV.mjs.map → workflow-check-provider-LMAKHSEZ.mjs.map} +0 -0
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- process.env.VISOR_VERSION = '0.1.150';
3
- process.env.PROBE_VERSION = '0.6.0-rc266';
4
- process.env.VISOR_COMMIT_SHA = '3b87c12790f72a2050000f18b840f18909bda118';
5
- process.env.VISOR_COMMIT_SHORT = '3b87c12';
2
+ process.env.VISOR_VERSION = '0.1.151';
3
+ process.env.PROBE_VERSION = '0.6.0-rc268';
4
+ process.env.VISOR_COMMIT_SHA = 'b06d244c0580c243801a29bbeae739a8198bea09';
5
+ process.env.VISOR_COMMIT_SHORT = 'b06d244';
6
6
  /******/ (() => { // webpackBootstrap
7
7
  /******/ var __webpack_modules__ = ({
8
8
 
@@ -262678,7 +262678,7 @@ var require_fxp = __commonJS({
262678
262678
  }, o: (t6, e6) => Object.prototype.hasOwnProperty.call(t6, e6), r: (t6) => {
262679
262679
  "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t6, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t6, "__esModule", { value: true });
262680
262680
  } }, e5 = {};
262681
- t5.r(e5), t5.d(e5, { XMLBuilder: () => dt, XMLParser: () => it, XMLValidator: () => gt });
262681
+ t5.r(e5), t5.d(e5, { XMLBuilder: () => gt, XMLParser: () => it, XMLValidator: () => xt });
262682
262682
  const n5 = ":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", i5 = new RegExp("^[" + n5 + "][" + n5 + "\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");
262683
262683
  function s5(t6, e6) {
262684
262684
  const n6 = [];
@@ -262700,90 +262700,90 @@ var require_fxp = __commonJS({
262700
262700
  const n6 = [];
262701
262701
  let i6 = false, s6 = false;
262702
262702
  "\uFEFF" === t6[0] && (t6 = t6.substr(1));
262703
- for (let o6 = 0; o6 < t6.length; o6++) if ("<" === t6[o6] && "?" === t6[o6 + 1]) {
262704
- if (o6 += 2, o6 = u5(t6, o6), o6.err) return o6;
262703
+ for (let r6 = 0; r6 < t6.length; r6++) if ("<" === t6[r6] && "?" === t6[r6 + 1]) {
262704
+ if (r6 += 2, r6 = u5(t6, r6), r6.err) return r6;
262705
262705
  } else {
262706
- if ("<" !== t6[o6]) {
262707
- if (l5(t6[o6])) continue;
262708
- return m5("InvalidChar", "char '" + t6[o6] + "' is not expected.", b5(t6, o6));
262706
+ if ("<" !== t6[r6]) {
262707
+ if (l5(t6[r6])) continue;
262708
+ return m5("InvalidChar", "char '" + t6[r6] + "' is not expected.", N(t6, r6));
262709
262709
  }
262710
262710
  {
262711
- let a6 = o6;
262712
- if (o6++, "!" === t6[o6]) {
262713
- o6 = h5(t6, o6);
262711
+ let o6 = r6;
262712
+ if (r6++, "!" === t6[r6]) {
262713
+ r6 = d5(t6, r6);
262714
262714
  continue;
262715
262715
  }
262716
262716
  {
262717
- let d6 = false;
262718
- "/" === t6[o6] && (d6 = true, o6++);
262719
- let p6 = "";
262720
- for (; o6 < t6.length && ">" !== t6[o6] && " " !== t6[o6] && " " !== t6[o6] && "\n" !== t6[o6] && "\r" !== t6[o6]; o6++) p6 += t6[o6];
262721
- if (p6 = p6.trim(), "/" === p6[p6.length - 1] && (p6 = p6.substring(0, p6.length - 1), o6--), !r5(p6)) {
262717
+ let a6 = false;
262718
+ "/" === t6[r6] && (a6 = true, r6++);
262719
+ let h6 = "";
262720
+ for (; r6 < t6.length && ">" !== t6[r6] && " " !== t6[r6] && " " !== t6[r6] && "\n" !== t6[r6] && "\r" !== t6[r6]; r6++) h6 += t6[r6];
262721
+ if (h6 = h6.trim(), "/" === h6[h6.length - 1] && (h6 = h6.substring(0, h6.length - 1), r6--), !b5(h6)) {
262722
262722
  let e7;
262723
- return e7 = 0 === p6.trim().length ? "Invalid space after '<'." : "Tag '" + p6 + "' is an invalid name.", m5("InvalidTag", e7, b5(t6, o6));
262723
+ return e7 = 0 === h6.trim().length ? "Invalid space after '<'." : "Tag '" + h6 + "' is an invalid name.", m5("InvalidTag", e7, N(t6, r6));
262724
262724
  }
262725
- const c6 = f5(t6, o6);
262726
- if (false === c6) return m5("InvalidAttr", "Attributes for '" + p6 + "' have open quote.", b5(t6, o6));
262727
- let E3 = c6.value;
262728
- if (o6 = c6.index, "/" === E3[E3.length - 1]) {
262729
- const n7 = o6 - E3.length;
262730
- E3 = E3.substring(0, E3.length - 1);
262731
- const s7 = g5(E3, e6);
262732
- if (true !== s7) return m5(s7.err.code, s7.err.msg, b5(t6, n7 + s7.err.line));
262725
+ const p6 = c5(t6, r6);
262726
+ if (false === p6) return m5("InvalidAttr", "Attributes for '" + h6 + "' have open quote.", N(t6, r6));
262727
+ let f6 = p6.value;
262728
+ if (r6 = p6.index, "/" === f6[f6.length - 1]) {
262729
+ const n7 = r6 - f6.length;
262730
+ f6 = f6.substring(0, f6.length - 1);
262731
+ const s7 = g5(f6, e6);
262732
+ if (true !== s7) return m5(s7.err.code, s7.err.msg, N(t6, n7 + s7.err.line));
262733
262733
  i6 = true;
262734
- } else if (d6) {
262735
- if (!c6.tagClosed) return m5("InvalidTag", "Closing tag '" + p6 + "' doesn't have proper closing.", b5(t6, o6));
262736
- if (E3.trim().length > 0) return m5("InvalidTag", "Closing tag '" + p6 + "' can't have attributes or invalid starting.", b5(t6, a6));
262737
- if (0 === n6.length) return m5("InvalidTag", "Closing tag '" + p6 + "' has not been opened.", b5(t6, a6));
262734
+ } else if (a6) {
262735
+ if (!p6.tagClosed) return m5("InvalidTag", "Closing tag '" + h6 + "' doesn't have proper closing.", N(t6, r6));
262736
+ if (f6.trim().length > 0) return m5("InvalidTag", "Closing tag '" + h6 + "' can't have attributes or invalid starting.", N(t6, o6));
262737
+ if (0 === n6.length) return m5("InvalidTag", "Closing tag '" + h6 + "' has not been opened.", N(t6, o6));
262738
262738
  {
262739
262739
  const e7 = n6.pop();
262740
- if (p6 !== e7.tagName) {
262741
- let n7 = b5(t6, e7.tagStartPos);
262742
- return m5("InvalidTag", "Expected closing tag '" + e7.tagName + "' (opened in line " + n7.line + ", col " + n7.col + ") instead of closing tag '" + p6 + "'.", b5(t6, a6));
262740
+ if (h6 !== e7.tagName) {
262741
+ let n7 = N(t6, e7.tagStartPos);
262742
+ return m5("InvalidTag", "Expected closing tag '" + e7.tagName + "' (opened in line " + n7.line + ", col " + n7.col + ") instead of closing tag '" + h6 + "'.", N(t6, o6));
262743
262743
  }
262744
262744
  0 == n6.length && (s6 = true);
262745
262745
  }
262746
262746
  } else {
262747
- const r6 = g5(E3, e6);
262748
- if (true !== r6) return m5(r6.err.code, r6.err.msg, b5(t6, o6 - E3.length + r6.err.line));
262749
- if (true === s6) return m5("InvalidXml", "Multiple possible root nodes found.", b5(t6, o6));
262750
- -1 !== e6.unpairedTags.indexOf(p6) || n6.push({ tagName: p6, tagStartPos: a6 }), i6 = true;
262747
+ const a7 = g5(f6, e6);
262748
+ if (true !== a7) return m5(a7.err.code, a7.err.msg, N(t6, r6 - f6.length + a7.err.line));
262749
+ if (true === s6) return m5("InvalidXml", "Multiple possible root nodes found.", N(t6, r6));
262750
+ -1 !== e6.unpairedTags.indexOf(h6) || n6.push({ tagName: h6, tagStartPos: o6 }), i6 = true;
262751
262751
  }
262752
- for (o6++; o6 < t6.length; o6++) if ("<" === t6[o6]) {
262753
- if ("!" === t6[o6 + 1]) {
262754
- o6++, o6 = h5(t6, o6);
262752
+ for (r6++; r6 < t6.length; r6++) if ("<" === t6[r6]) {
262753
+ if ("!" === t6[r6 + 1]) {
262754
+ r6++, r6 = d5(t6, r6);
262755
262755
  continue;
262756
262756
  }
262757
- if ("?" !== t6[o6 + 1]) break;
262758
- if (o6 = u5(t6, ++o6), o6.err) return o6;
262759
- } else if ("&" === t6[o6]) {
262760
- const e7 = x5(t6, o6);
262761
- if (-1 == e7) return m5("InvalidChar", "char '&' is not expected.", b5(t6, o6));
262762
- o6 = e7;
262763
- } else if (true === s6 && !l5(t6[o6])) return m5("InvalidXml", "Extra text at the end", b5(t6, o6));
262764
- "<" === t6[o6] && o6--;
262757
+ if ("?" !== t6[r6 + 1]) break;
262758
+ if (r6 = u5(t6, ++r6), r6.err) return r6;
262759
+ } else if ("&" === t6[r6]) {
262760
+ const e7 = x5(t6, r6);
262761
+ if (-1 == e7) return m5("InvalidChar", "char '&' is not expected.", N(t6, r6));
262762
+ r6 = e7;
262763
+ } else if (true === s6 && !l5(t6[r6])) return m5("InvalidXml", "Extra text at the end", N(t6, r6));
262764
+ "<" === t6[r6] && r6--;
262765
262765
  }
262766
262766
  }
262767
262767
  }
262768
- return i6 ? 1 == n6.length ? m5("InvalidTag", "Unclosed tag '" + n6[0].tagName + "'.", b5(t6, n6[0].tagStartPos)) : !(n6.length > 0) || m5("InvalidXml", "Invalid '" + JSON.stringify(n6.map(((t7) => t7.tagName)), null, 4).replace(/\r?\n/g, "") + "' found.", { line: 1, col: 1 }) : m5("InvalidXml", "Start tag expected.", 1);
262768
+ return i6 ? 1 == n6.length ? m5("InvalidTag", "Unclosed tag '" + n6[0].tagName + "'.", N(t6, n6[0].tagStartPos)) : !(n6.length > 0) || m5("InvalidXml", "Invalid '" + JSON.stringify(n6.map((t7) => t7.tagName), null, 4).replace(/\r?\n/g, "") + "' found.", { line: 1, col: 1 }) : m5("InvalidXml", "Start tag expected.", 1);
262769
262769
  }
262770
262770
  function l5(t6) {
262771
262771
  return " " === t6 || " " === t6 || "\n" === t6 || "\r" === t6;
262772
262772
  }
262773
262773
  function u5(t6, e6) {
262774
262774
  const n6 = e6;
262775
- for (; e6 < t6.length; e6++) if ("?" != t6[e6] && " " != t6[e6]) ;
262776
- else {
262775
+ for (; e6 < t6.length; e6++) if ("?" == t6[e6] || " " == t6[e6]) {
262777
262776
  const i6 = t6.substr(n6, e6 - n6);
262778
- if (e6 > 5 && "xml" === i6) return m5("InvalidXml", "XML declaration allowed only at the start of the document.", b5(t6, e6));
262777
+ if (e6 > 5 && "xml" === i6) return m5("InvalidXml", "XML declaration allowed only at the start of the document.", N(t6, e6));
262779
262778
  if ("?" == t6[e6] && ">" == t6[e6 + 1]) {
262780
262779
  e6++;
262781
262780
  break;
262782
262781
  }
262782
+ continue;
262783
262783
  }
262784
262784
  return e6;
262785
262785
  }
262786
- function h5(t6, e6) {
262786
+ function d5(t6, e6) {
262787
262787
  if (t6.length > e6 + 5 && "-" === t6[e6 + 1] && "-" === t6[e6 + 2]) {
262788
262788
  for (e6 += 3; e6 < t6.length; e6++) if ("-" === t6[e6] && "-" === t6[e6 + 1] && ">" === t6[e6 + 2]) {
262789
262789
  e6 += 2;
@@ -262801,11 +262801,11 @@ var require_fxp = __commonJS({
262801
262801
  }
262802
262802
  return e6;
262803
262803
  }
262804
- const d5 = '"', p5 = "'";
262805
- function f5(t6, e6) {
262804
+ const h5 = '"', p5 = "'";
262805
+ function c5(t6, e6) {
262806
262806
  let n6 = "", i6 = "", s6 = false;
262807
262807
  for (; e6 < t6.length; e6++) {
262808
- if (t6[e6] === d5 || t6[e6] === p5) "" === i6 ? i6 = t6[e6] : i6 !== t6[e6] || (i6 = "");
262808
+ if (t6[e6] === h5 || t6[e6] === p5) "" === i6 ? i6 = t6[e6] : i6 !== t6[e6] || (i6 = "");
262809
262809
  else if (">" === t6[e6] && "" === i6) {
262810
262810
  s6 = true;
262811
262811
  break;
@@ -262814,16 +262814,16 @@ var require_fxp = __commonJS({
262814
262814
  }
262815
262815
  return "" === i6 && { value: n6, index: e6, tagClosed: s6 };
262816
262816
  }
262817
- const c5 = new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`, "g");
262817
+ const f5 = new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`, "g");
262818
262818
  function g5(t6, e6) {
262819
- const n6 = s5(t6, c5), i6 = {};
262819
+ const n6 = s5(t6, f5), i6 = {};
262820
262820
  for (let t7 = 0; t7 < n6.length; t7++) {
262821
- if (0 === n6[t7][1].length) return m5("InvalidAttr", "Attribute '" + n6[t7][2] + "' has no space in starting.", N(n6[t7]));
262822
- if (void 0 !== n6[t7][3] && void 0 === n6[t7][4]) return m5("InvalidAttr", "Attribute '" + n6[t7][2] + "' is without value.", N(n6[t7]));
262823
- if (void 0 === n6[t7][3] && !e6.allowBooleanAttributes) return m5("InvalidAttr", "boolean attribute '" + n6[t7][2] + "' is not allowed.", N(n6[t7]));
262821
+ if (0 === n6[t7][1].length) return m5("InvalidAttr", "Attribute '" + n6[t7][2] + "' has no space in starting.", y2(n6[t7]));
262822
+ if (void 0 !== n6[t7][3] && void 0 === n6[t7][4]) return m5("InvalidAttr", "Attribute '" + n6[t7][2] + "' is without value.", y2(n6[t7]));
262823
+ if (void 0 === n6[t7][3] && !e6.allowBooleanAttributes) return m5("InvalidAttr", "boolean attribute '" + n6[t7][2] + "' is not allowed.", y2(n6[t7]));
262824
262824
  const s6 = n6[t7][2];
262825
- if (!E2(s6)) return m5("InvalidAttr", "Attribute '" + s6 + "' is an invalid name.", N(n6[t7]));
262826
- if (i6.hasOwnProperty(s6)) return m5("InvalidAttr", "Attribute '" + s6 + "' is repeated.", N(n6[t7]));
262825
+ if (!E2(s6)) return m5("InvalidAttr", "Attribute '" + s6 + "' is an invalid name.", y2(n6[t7]));
262826
+ if (Object.prototype.hasOwnProperty.call(i6, s6)) return m5("InvalidAttr", "Attribute '" + s6 + "' is repeated.", y2(n6[t7]));
262827
262827
  i6[s6] = 1;
262828
262828
  }
262829
262829
  return true;
@@ -262851,49 +262851,52 @@ var require_fxp = __commonJS({
262851
262851
  function E2(t6) {
262852
262852
  return r5(t6);
262853
262853
  }
262854
- function b5(t6, e6) {
262854
+ function b5(t6) {
262855
+ return r5(t6);
262856
+ }
262857
+ function N(t6, e6) {
262855
262858
  const n6 = t6.substring(0, e6).split(/\r?\n/);
262856
262859
  return { line: n6.length, col: n6[n6.length - 1].length + 1 };
262857
262860
  }
262858
- function N(t6) {
262861
+ function y2(t6) {
262859
262862
  return t6.startIndex + t6[1].length;
262860
262863
  }
262861
- const y2 = { preserveOrder: false, attributeNamePrefix: "@_", attributesGroupName: false, textNodeName: "#text", ignoreAttributes: true, removeNSPrefix: false, allowBooleanAttributes: false, parseTagValue: true, parseAttributeValue: false, trimValues: true, cdataPropName: false, numberParseOptions: { hex: true, leadingZeros: true, eNotation: true }, tagValueProcessor: function(t6, e6) {
262864
+ const T = { preserveOrder: false, attributeNamePrefix: "@_", attributesGroupName: false, textNodeName: "#text", ignoreAttributes: true, removeNSPrefix: false, allowBooleanAttributes: false, parseTagValue: true, parseAttributeValue: false, trimValues: true, cdataPropName: false, numberParseOptions: { hex: true, leadingZeros: true, eNotation: true }, tagValueProcessor: function(t6, e6) {
262862
262865
  return e6;
262863
262866
  }, attributeValueProcessor: function(t6, e6) {
262864
262867
  return e6;
262865
262868
  }, stopNodes: [], alwaysCreateTextNode: false, isArray: () => false, commentPropName: false, unpairedTags: [], processEntities: true, htmlEntities: false, ignoreDeclaration: false, ignorePiTags: false, transformTagName: false, transformAttributeName: false, updateTag: function(t6, e6, n6) {
262866
262869
  return t6;
262867
- }, captureMetaData: false };
262868
- function T(t6) {
262869
- return "boolean" == typeof t6 ? { enabled: t6, maxEntitySize: 1e4, maxExpansionDepth: 10, maxTotalExpansions: 1e3, maxExpandedLength: 1e5, allowedTags: null, tagFilter: null } : "object" == typeof t6 && null !== t6 ? { enabled: false !== t6.enabled, maxEntitySize: t6.maxEntitySize ?? 1e4, maxExpansionDepth: t6.maxExpansionDepth ?? 10, maxTotalExpansions: t6.maxTotalExpansions ?? 1e3, maxExpandedLength: t6.maxExpandedLength ?? 1e5, allowedTags: t6.allowedTags ?? null, tagFilter: t6.tagFilter ?? null } : T(true);
262870
+ }, captureMetaData: false, maxNestedTags: 100, strictReservedNames: true };
262871
+ function w5(t6) {
262872
+ return "boolean" == typeof t6 ? { enabled: t6, maxEntitySize: 1e4, maxExpansionDepth: 10, maxTotalExpansions: 1e3, maxExpandedLength: 1e5, allowedTags: null, tagFilter: null } : "object" == typeof t6 && null !== t6 ? { enabled: false !== t6.enabled, maxEntitySize: t6.maxEntitySize ?? 1e4, maxExpansionDepth: t6.maxExpansionDepth ?? 10, maxTotalExpansions: t6.maxTotalExpansions ?? 1e3, maxExpandedLength: t6.maxExpandedLength ?? 1e5, allowedTags: t6.allowedTags ?? null, tagFilter: t6.tagFilter ?? null } : w5(true);
262870
262873
  }
262871
- const w5 = function(t6) {
262872
- const e6 = Object.assign({}, y2, t6);
262873
- return e6.processEntities = T(e6.processEntities), e6;
262874
+ const v5 = function(t6) {
262875
+ const e6 = Object.assign({}, T, t6);
262876
+ return e6.processEntities = w5(e6.processEntities), e6;
262874
262877
  };
262875
- let v5;
262876
- v5 = "function" != typeof Symbol ? "@@xmlMetadata" : Symbol("XML Node Metadata");
262878
+ let O;
262879
+ O = "function" != typeof Symbol ? "@@xmlMetadata" : Symbol("XML Node Metadata");
262877
262880
  class I2 {
262878
262881
  constructor(t6) {
262879
- this.tagname = t6, this.child = [], this[":@"] = {};
262882
+ this.tagname = t6, this.child = [], this[":@"] = /* @__PURE__ */ Object.create(null);
262880
262883
  }
262881
262884
  add(t6, e6) {
262882
262885
  "__proto__" === t6 && (t6 = "#__proto__"), this.child.push({ [t6]: e6 });
262883
262886
  }
262884
262887
  addChild(t6, e6) {
262885
- "__proto__" === t6.tagname && (t6.tagname = "#__proto__"), t6[":@"] && Object.keys(t6[":@"]).length > 0 ? this.child.push({ [t6.tagname]: t6.child, ":@": t6[":@"] }) : this.child.push({ [t6.tagname]: t6.child }), void 0 !== e6 && (this.child[this.child.length - 1][v5] = { startIndex: e6 });
262888
+ "__proto__" === t6.tagname && (t6.tagname = "#__proto__"), t6[":@"] && Object.keys(t6[":@"]).length > 0 ? this.child.push({ [t6.tagname]: t6.child, ":@": t6[":@"] }) : this.child.push({ [t6.tagname]: t6.child }), void 0 !== e6 && (this.child[this.child.length - 1][O] = { startIndex: e6 });
262886
262889
  }
262887
262890
  static getMetaDataSymbol() {
262888
- return v5;
262891
+ return O;
262889
262892
  }
262890
262893
  }
262891
- class O {
262894
+ class P {
262892
262895
  constructor(t6) {
262893
262896
  this.suppressValidationErr = !t6, this.options = t6;
262894
262897
  }
262895
262898
  readDocType(t6, e6) {
262896
- const n6 = {};
262899
+ const n6 = /* @__PURE__ */ Object.create(null);
262897
262900
  if ("O" !== t6[e6 + 3] || "C" !== t6[e6 + 4] || "T" !== t6[e6 + 5] || "Y" !== t6[e6 + 6] || "P" !== t6[e6 + 7] || "E" !== t6[e6 + 8]) throw new Error("Invalid Tag instead of DOCTYPE");
262898
262901
  {
262899
262902
  e6 += 9;
@@ -262902,23 +262905,23 @@ var require_fxp = __commonJS({
262902
262905
  if (r6 ? "-" === t6[e6 - 1] && "-" === t6[e6 - 2] && (r6 = false, i6--) : i6--, 0 === i6) break;
262903
262906
  } else "[" === t6[e6] ? s6 = true : o6 += t6[e6];
262904
262907
  else {
262905
- if (s6 && A2(t6, "!ENTITY", e6)) {
262908
+ if (s6 && S(t6, "!ENTITY", e6)) {
262906
262909
  let i7, s7;
262907
262910
  if (e6 += 7, [i7, s7, e6] = this.readEntityExp(t6, e6 + 1, this.suppressValidationErr), -1 === s7.indexOf("&")) {
262908
262911
  const t7 = i7.replace(/[.\-+*:]/g, "\\.");
262909
262912
  n6[i7] = { regx: RegExp(`&${t7};`, "g"), val: s7 };
262910
262913
  }
262911
- } else if (s6 && A2(t6, "!ELEMENT", e6)) {
262914
+ } else if (s6 && S(t6, "!ELEMENT", e6)) {
262912
262915
  e6 += 8;
262913
262916
  const { index: n7 } = this.readElementExp(t6, e6 + 1);
262914
262917
  e6 = n7;
262915
- } else if (s6 && A2(t6, "!ATTLIST", e6)) e6 += 8;
262916
- else if (s6 && A2(t6, "!NOTATION", e6)) {
262918
+ } else if (s6 && S(t6, "!ATTLIST", e6)) e6 += 8;
262919
+ else if (s6 && S(t6, "!NOTATION", e6)) {
262917
262920
  e6 += 9;
262918
262921
  const { index: n7 } = this.readNotationExp(t6, e6 + 1, this.suppressValidationErr);
262919
262922
  e6 = n7;
262920
262923
  } else {
262921
- if (!A2(t6, "!--", e6)) throw new Error("Invalid DOCTYPE");
262924
+ if (!S(t6, "!--", e6)) throw new Error("Invalid DOCTYPE");
262922
262925
  r6 = true;
262923
262926
  }
262924
262927
  i6++, o6 = "";
@@ -262928,10 +262931,10 @@ var require_fxp = __commonJS({
262928
262931
  return { entities: n6, i: e6 };
262929
262932
  }
262930
262933
  readEntityExp(t6, e6) {
262931
- e6 = P(t6, e6);
262934
+ e6 = A2(t6, e6);
262932
262935
  let n6 = "";
262933
262936
  for (; e6 < t6.length && !/\s/.test(t6[e6]) && '"' !== t6[e6] && "'" !== t6[e6]; ) n6 += t6[e6], e6++;
262934
- if (S(n6), e6 = P(t6, e6), !this.suppressValidationErr) {
262937
+ if (C2(n6), e6 = A2(t6, e6), !this.suppressValidationErr) {
262935
262938
  if ("SYSTEM" === t6.substring(e6, e6 + 6).toUpperCase()) throw new Error("External entities are not supported");
262936
262939
  if ("%" === t6[e6]) throw new Error("Parameter entities are not supported");
262937
262940
  }
@@ -262940,15 +262943,15 @@ var require_fxp = __commonJS({
262940
262943
  return [n6, i6, --e6];
262941
262944
  }
262942
262945
  readNotationExp(t6, e6) {
262943
- e6 = P(t6, e6);
262946
+ e6 = A2(t6, e6);
262944
262947
  let n6 = "";
262945
262948
  for (; e6 < t6.length && !/\s/.test(t6[e6]); ) n6 += t6[e6], e6++;
262946
- !this.suppressValidationErr && S(n6), e6 = P(t6, e6);
262949
+ !this.suppressValidationErr && C2(n6), e6 = A2(t6, e6);
262947
262950
  const i6 = t6.substring(e6, e6 + 6).toUpperCase();
262948
262951
  if (!this.suppressValidationErr && "SYSTEM" !== i6 && "PUBLIC" !== i6) throw new Error(`Expected SYSTEM or PUBLIC, found "${i6}"`);
262949
- e6 += i6.length, e6 = P(t6, e6);
262952
+ e6 += i6.length, e6 = A2(t6, e6);
262950
262953
  let s6 = null, r6 = null;
262951
- if ("PUBLIC" === i6) [e6, s6] = this.readIdentifierVal(t6, e6, "publicIdentifier"), '"' !== t6[e6 = P(t6, e6)] && "'" !== t6[e6] || ([e6, r6] = this.readIdentifierVal(t6, e6, "systemIdentifier"));
262954
+ if ("PUBLIC" === i6) [e6, s6] = this.readIdentifierVal(t6, e6, "publicIdentifier"), '"' !== t6[e6 = A2(t6, e6)] && "'" !== t6[e6] || ([e6, r6] = this.readIdentifierVal(t6, e6, "systemIdentifier"));
262952
262955
  else if ("SYSTEM" === i6 && ([e6, r6] = this.readIdentifierVal(t6, e6, "systemIdentifier"), !this.suppressValidationErr && !r6)) throw new Error("Missing mandatory system identifier for SYSTEM notation");
262953
262956
  return { notationName: n6, publicIdentifier: s6, systemIdentifier: r6, index: --e6 };
262954
262957
  }
@@ -262961,13 +262964,13 @@ var require_fxp = __commonJS({
262961
262964
  return [++e6, i6];
262962
262965
  }
262963
262966
  readElementExp(t6, e6) {
262964
- e6 = P(t6, e6);
262967
+ e6 = A2(t6, e6);
262965
262968
  let n6 = "";
262966
262969
  for (; e6 < t6.length && !/\s/.test(t6[e6]); ) n6 += t6[e6], e6++;
262967
262970
  if (!this.suppressValidationErr && !r5(n6)) throw new Error(`Invalid element name: "${n6}"`);
262968
262971
  let i6 = "";
262969
- if ("E" === t6[e6 = P(t6, e6)] && A2(t6, "MPTY", e6)) e6 += 4;
262970
- else if ("A" === t6[e6] && A2(t6, "NY", e6)) e6 += 2;
262972
+ if ("E" === t6[e6 = A2(t6, e6)] && S(t6, "MPTY", e6)) e6 += 4;
262973
+ else if ("A" === t6[e6] && S(t6, "NY", e6)) e6 += 2;
262971
262974
  else if ("(" === t6[e6]) {
262972
262975
  for (e6++; e6 < t6.length && ")" !== t6[e6]; ) i6 += t6[e6], e6++;
262973
262976
  if (")" !== t6[e6]) throw new Error("Unterminated content model");
@@ -262975,24 +262978,24 @@ var require_fxp = __commonJS({
262975
262978
  return { elementName: n6, contentModel: i6.trim(), index: e6 };
262976
262979
  }
262977
262980
  readAttlistExp(t6, e6) {
262978
- e6 = P(t6, e6);
262981
+ e6 = A2(t6, e6);
262979
262982
  let n6 = "";
262980
262983
  for (; e6 < t6.length && !/\s/.test(t6[e6]); ) n6 += t6[e6], e6++;
262981
- S(n6), e6 = P(t6, e6);
262984
+ C2(n6), e6 = A2(t6, e6);
262982
262985
  let i6 = "";
262983
262986
  for (; e6 < t6.length && !/\s/.test(t6[e6]); ) i6 += t6[e6], e6++;
262984
- if (!S(i6)) throw new Error(`Invalid attribute name: "${i6}"`);
262985
- e6 = P(t6, e6);
262987
+ if (!C2(i6)) throw new Error(`Invalid attribute name: "${i6}"`);
262988
+ e6 = A2(t6, e6);
262986
262989
  let s6 = "";
262987
262990
  if ("NOTATION" === t6.substring(e6, e6 + 8).toUpperCase()) {
262988
- if (s6 = "NOTATION", "(" !== t6[e6 = P(t6, e6 += 8)]) throw new Error(`Expected '(', found "${t6[e6]}"`);
262991
+ if (s6 = "NOTATION", "(" !== t6[e6 = A2(t6, e6 += 8)]) throw new Error(`Expected '(', found "${t6[e6]}"`);
262989
262992
  e6++;
262990
262993
  let n7 = [];
262991
262994
  for (; e6 < t6.length && ")" !== t6[e6]; ) {
262992
262995
  let i7 = "";
262993
262996
  for (; e6 < t6.length && "|" !== t6[e6] && ")" !== t6[e6]; ) i7 += t6[e6], e6++;
262994
- if (i7 = i7.trim(), !S(i7)) throw new Error(`Invalid notation name: "${i7}"`);
262995
- n7.push(i7), "|" === t6[e6] && (e6++, e6 = P(t6, e6));
262997
+ if (i7 = i7.trim(), !C2(i7)) throw new Error(`Invalid notation name: "${i7}"`);
262998
+ n7.push(i7), "|" === t6[e6] && (e6++, e6 = A2(t6, e6));
262996
262999
  }
262997
263000
  if (")" !== t6[e6]) throw new Error("Unterminated list of notations");
262998
263001
  e6++, s6 += " (" + n7.join("|") + ")";
@@ -263001,45 +263004,43 @@ var require_fxp = __commonJS({
263001
263004
  const n7 = ["CDATA", "ID", "IDREF", "IDREFS", "ENTITY", "ENTITIES", "NMTOKEN", "NMTOKENS"];
263002
263005
  if (!this.suppressValidationErr && !n7.includes(s6.toUpperCase())) throw new Error(`Invalid attribute type: "${s6}"`);
263003
263006
  }
263004
- e6 = P(t6, e6);
263007
+ e6 = A2(t6, e6);
263005
263008
  let r6 = "";
263006
263009
  return "#REQUIRED" === t6.substring(e6, e6 + 8).toUpperCase() ? (r6 = "#REQUIRED", e6 += 8) : "#IMPLIED" === t6.substring(e6, e6 + 7).toUpperCase() ? (r6 = "#IMPLIED", e6 += 7) : [e6, r6] = this.readIdentifierVal(t6, e6, "ATTLIST"), { elementName: n6, attributeName: i6, attributeType: s6, defaultValue: r6, index: e6 };
263007
263010
  }
263008
263011
  }
263009
- const P = (t6, e6) => {
263012
+ const A2 = (t6, e6) => {
263010
263013
  for (; e6 < t6.length && /\s/.test(t6[e6]); ) e6++;
263011
263014
  return e6;
263012
263015
  };
263013
- function A2(t6, e6, n6) {
263016
+ function S(t6, e6, n6) {
263014
263017
  for (let i6 = 0; i6 < e6.length; i6++) if (e6[i6] !== t6[n6 + i6 + 1]) return false;
263015
263018
  return true;
263016
263019
  }
263017
- function S(t6) {
263020
+ function C2(t6) {
263018
263021
  if (r5(t6)) return t6;
263019
263022
  throw new Error(`Invalid entity name ${t6}`);
263020
263023
  }
263021
- const C2 = /^[-+]?0x[a-fA-F0-9]+$/, $ = /^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/, V = { hex: true, leadingZeros: true, decimalPoint: ".", eNotation: true };
263022
- const D2 = /^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;
263023
- function L(t6) {
263024
- return "function" == typeof t6 ? t6 : Array.isArray(t6) ? (e6) => {
263025
- for (const n6 of t6) {
263026
- if ("string" == typeof n6 && e6 === n6) return true;
263027
- if (n6 instanceof RegExp && n6.test(e6)) return true;
263028
- }
263029
- } : () => false;
263030
- }
263031
- class F2 {
263024
+ const $ = /^[-+]?0x[a-fA-F0-9]+$/, V = /^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/, D2 = { hex: true, leadingZeros: true, decimalPoint: ".", eNotation: true };
263025
+ const j5 = /^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;
263026
+ class L {
263032
263027
  constructor(t6) {
263033
- if (this.options = t6, this.currentNode = null, this.tagsNodeStack = [], this.docTypeEntities = {}, this.lastEntities = { apos: { regex: /&(apos|#39|#x27);/g, val: "'" }, gt: { regex: /&(gt|#62|#x3E);/g, val: ">" }, lt: { regex: /&(lt|#60|#x3C);/g, val: "<" }, quot: { regex: /&(quot|#34|#x22);/g, val: '"' } }, this.ampEntity = { regex: /&(amp|#38|#x26);/g, val: "&" }, this.htmlEntities = { space: { regex: /&(nbsp|#160);/g, val: " " }, cent: { regex: /&(cent|#162);/g, val: "\xA2" }, pound: { regex: /&(pound|#163);/g, val: "\xA3" }, yen: { regex: /&(yen|#165);/g, val: "\xA5" }, euro: { regex: /&(euro|#8364);/g, val: "\u20AC" }, copyright: { regex: /&(copy|#169);/g, val: "\xA9" }, reg: { regex: /&(reg|#174);/g, val: "\xAE" }, inr: { regex: /&(inr|#8377);/g, val: "\u20B9" }, num_dec: { regex: /&#([0-9]{1,7});/g, val: (t7, e6) => K(e6, 10, "&#") }, num_hex: { regex: /&#x([0-9a-fA-F]{1,6});/g, val: (t7, e6) => K(e6, 16, "&#x") } }, this.addExternalEntities = j5, this.parseXml = B2, this.parseTextData = M, this.resolveNameSpace = _, this.buildAttributesMap = U, this.isItStopNode = X, this.replaceEntitiesValue = Y, this.readStopNodeData = q5, this.saveTextToParentTag = G2, this.addChild = R, this.ignoreAttributesFn = L(this.options.ignoreAttributes), this.entityExpansionCount = 0, this.currentExpandedLength = 0, this.options.stopNodes && this.options.stopNodes.length > 0) {
263028
+ var e6;
263029
+ if (this.options = t6, this.currentNode = null, this.tagsNodeStack = [], this.docTypeEntities = {}, this.lastEntities = { apos: { regex: /&(apos|#39|#x27);/g, val: "'" }, gt: { regex: /&(gt|#62|#x3E);/g, val: ">" }, lt: { regex: /&(lt|#60|#x3C);/g, val: "<" }, quot: { regex: /&(quot|#34|#x22);/g, val: '"' } }, this.ampEntity = { regex: /&(amp|#38|#x26);/g, val: "&" }, this.htmlEntities = { space: { regex: /&(nbsp|#160);/g, val: " " }, cent: { regex: /&(cent|#162);/g, val: "\xA2" }, pound: { regex: /&(pound|#163);/g, val: "\xA3" }, yen: { regex: /&(yen|#165);/g, val: "\xA5" }, euro: { regex: /&(euro|#8364);/g, val: "\u20AC" }, copyright: { regex: /&(copy|#169);/g, val: "\xA9" }, reg: { regex: /&(reg|#174);/g, val: "\xAE" }, inr: { regex: /&(inr|#8377);/g, val: "\u20B9" }, num_dec: { regex: /&#([0-9]{1,7});/g, val: (t7, e7) => K(e7, 10, "&#") }, num_hex: { regex: /&#x([0-9a-fA-F]{1,6});/g, val: (t7, e7) => K(e7, 16, "&#x") } }, this.addExternalEntities = F2, this.parseXml = R, this.parseTextData = M, this.resolveNameSpace = k5, this.buildAttributesMap = U, this.isItStopNode = X, this.replaceEntitiesValue = Y, this.readStopNodeData = q5, this.saveTextToParentTag = G2, this.addChild = B2, this.ignoreAttributesFn = "function" == typeof (e6 = this.options.ignoreAttributes) ? e6 : Array.isArray(e6) ? (t7) => {
263030
+ for (const n6 of e6) {
263031
+ if ("string" == typeof n6 && t7 === n6) return true;
263032
+ if (n6 instanceof RegExp && n6.test(t7)) return true;
263033
+ }
263034
+ } : () => false, this.entityExpansionCount = 0, this.currentExpandedLength = 0, this.options.stopNodes && this.options.stopNodes.length > 0) {
263034
263035
  this.stopNodesExact = /* @__PURE__ */ new Set(), this.stopNodesWildcard = /* @__PURE__ */ new Set();
263035
263036
  for (let t7 = 0; t7 < this.options.stopNodes.length; t7++) {
263036
- const e6 = this.options.stopNodes[t7];
263037
- "string" == typeof e6 && (e6.startsWith("*.") ? this.stopNodesWildcard.add(e6.substring(2)) : this.stopNodesExact.add(e6));
263037
+ const e7 = this.options.stopNodes[t7];
263038
+ "string" == typeof e7 && (e7.startsWith("*.") ? this.stopNodesWildcard.add(e7.substring(2)) : this.stopNodesExact.add(e7));
263038
263039
  }
263039
263040
  }
263040
263041
  }
263041
263042
  }
263042
- function j5(t6) {
263043
+ function F2(t6) {
263043
263044
  const e6 = Object.keys(t6);
263044
263045
  for (let n6 = 0; n6 < e6.length; n6++) {
263045
263046
  const i6 = e6[n6], s6 = i6.replace(/[.\-+*:]/g, "\\.");
@@ -263053,7 +263054,7 @@ var require_fxp = __commonJS({
263053
263054
  return null == i7 ? t6 : typeof i7 != typeof t6 || i7 !== t6 ? i7 : this.options.trimValues || t6.trim() === t6 ? Z(t6, this.options.parseTagValue, this.options.numberParseOptions) : t6;
263054
263055
  }
263055
263056
  }
263056
- function _(t6) {
263057
+ function k5(t6) {
263057
263058
  if (this.options.removeNSPrefix) {
263058
263059
  const e6 = t6.split(":"), n6 = "/" === t6.charAt(0) ? "/" : "";
263059
263060
  if ("xmlns" === e6[0]) return "";
@@ -263061,10 +263062,10 @@ var require_fxp = __commonJS({
263061
263062
  }
263062
263063
  return t6;
263063
263064
  }
263064
- const k5 = new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`, "gm");
263065
+ const _ = new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`, "gm");
263065
263066
  function U(t6, e6, n6) {
263066
263067
  if (true !== this.options.ignoreAttributes && "string" == typeof t6) {
263067
- const i6 = s5(t6, k5), r6 = i6.length, o6 = {};
263068
+ const i6 = s5(t6, _), r6 = i6.length, o6 = {};
263068
263069
  for (let t7 = 0; t7 < r6; t7++) {
263069
263070
  const s6 = this.resolveNameSpace(i6[t7][1]);
263070
263071
  if (this.ignoreAttributesFn(s6, e6)) continue;
@@ -263083,12 +263084,12 @@ var require_fxp = __commonJS({
263083
263084
  return o6;
263084
263085
  }
263085
263086
  }
263086
- const B2 = function(t6) {
263087
+ const R = function(t6) {
263087
263088
  t6 = t6.replace(/\r\n?/g, "\n");
263088
263089
  const e6 = new I2("!xml");
263089
263090
  let n6 = e6, i6 = "", s6 = "";
263090
263091
  this.entityExpansionCount = 0, this.currentExpandedLength = 0;
263091
- const r6 = new O(this.options.processEntities);
263092
+ const r6 = new P(this.options.processEntities);
263092
263093
  for (let o6 = 0; o6 < t6.length; o6++) if ("<" === t6[o6]) if ("/" === t6[o6 + 1]) {
263093
263094
  const e7 = z2(t6, ">", o6, "Closing Tag is not closed.");
263094
263095
  let r7 = t6.substring(o6 + 2, e7).trim();
@@ -263128,26 +263129,27 @@ var require_fxp = __commonJS({
263128
263129
  } else {
263129
263130
  let r7 = W(t6, o6, this.options.removeNSPrefix), a6 = r7.tagName;
263130
263131
  const l6 = r7.rawTagName;
263131
- let u6 = r7.tagExp, h6 = r7.attrExpPresent, d6 = r7.closeIndex;
263132
+ let u6 = r7.tagExp, d6 = r7.attrExpPresent, h6 = r7.closeIndex;
263132
263133
  if (this.options.transformTagName) {
263133
263134
  const t7 = this.options.transformTagName(a6);
263134
263135
  u6 === a6 && (u6 = t7), a6 = t7;
263135
263136
  }
263137
+ if (this.options.strictReservedNames && (a6 === this.options.commentPropName || a6 === this.options.cdataPropName)) throw new Error(`Invalid tag name: ${a6}`);
263136
263138
  n6 && i6 && "!xml" !== n6.tagname && (i6 = this.saveTextToParentTag(i6, n6, s6, false));
263137
263139
  const p6 = n6;
263138
263140
  p6 && -1 !== this.options.unpairedTags.indexOf(p6.tagname) && (n6 = this.tagsNodeStack.pop(), s6 = s6.substring(0, s6.lastIndexOf("."))), a6 !== e6.tagname && (s6 += s6 ? "." + a6 : a6);
263139
- const f6 = o6;
263141
+ const c6 = o6;
263140
263142
  if (this.isItStopNode(this.stopNodesExact, this.stopNodesWildcard, s6, a6)) {
263141
263143
  let e7 = "";
263142
263144
  if (u6.length > 0 && u6.lastIndexOf("/") === u6.length - 1) "/" === a6[a6.length - 1] ? (a6 = a6.substr(0, a6.length - 1), s6 = s6.substr(0, s6.length - 1), u6 = a6) : u6 = u6.substr(0, u6.length - 1), o6 = r7.closeIndex;
263143
263145
  else if (-1 !== this.options.unpairedTags.indexOf(a6)) o6 = r7.closeIndex;
263144
263146
  else {
263145
- const n7 = this.readStopNodeData(t6, l6, d6 + 1);
263147
+ const n7 = this.readStopNodeData(t6, l6, h6 + 1);
263146
263148
  if (!n7) throw new Error(`Unexpected end of ${l6}`);
263147
263149
  o6 = n7.i, e7 = n7.tagContent;
263148
263150
  }
263149
263151
  const i7 = new I2(a6);
263150
- a6 !== u6 && h6 && (i7[":@"] = this.buildAttributesMap(u6, s6, a6)), e7 && (e7 = this.parseTextData(e7, a6, s6, true, h6, true, true)), s6 = s6.substr(0, s6.lastIndexOf(".")), i7.add(this.options.textNodeName, e7), this.addChild(n6, i7, s6, f6);
263152
+ a6 !== u6 && d6 && (i7[":@"] = this.buildAttributesMap(u6, s6, a6)), e7 && (e7 = this.parseTextData(e7, a6, s6, true, d6, true, true)), s6 = s6.substr(0, s6.lastIndexOf(".")), i7.add(this.options.textNodeName, e7), this.addChild(n6, i7, s6, c6);
263151
263153
  } else {
263152
263154
  if (u6.length > 0 && u6.lastIndexOf("/") === u6.length - 1) {
263153
263155
  if ("/" === a6[a6.length - 1] ? (a6 = a6.substr(0, a6.length - 1), s6 = s6.substr(0, s6.length - 1), u6 = a6) : u6 = u6.substr(0, u6.length - 1), this.options.transformTagName) {
@@ -263155,18 +263157,26 @@ var require_fxp = __commonJS({
263155
263157
  u6 === a6 && (u6 = t8), a6 = t8;
263156
263158
  }
263157
263159
  const t7 = new I2(a6);
263158
- a6 !== u6 && h6 && (t7[":@"] = this.buildAttributesMap(u6, s6, a6)), this.addChild(n6, t7, s6, f6), s6 = s6.substr(0, s6.lastIndexOf("."));
263160
+ a6 !== u6 && d6 && (t7[":@"] = this.buildAttributesMap(u6, s6, a6)), this.addChild(n6, t7, s6, c6), s6 = s6.substr(0, s6.lastIndexOf("."));
263159
263161
  } else {
263160
- const t7 = new I2(a6);
263161
- this.tagsNodeStack.push(n6), a6 !== u6 && h6 && (t7[":@"] = this.buildAttributesMap(u6, s6, a6)), this.addChild(n6, t7, s6, f6), n6 = t7;
263162
+ if (-1 !== this.options.unpairedTags.indexOf(a6)) {
263163
+ const t7 = new I2(a6);
263164
+ a6 !== u6 && d6 && (t7[":@"] = this.buildAttributesMap(u6, s6)), this.addChild(n6, t7, s6, c6), s6 = s6.substr(0, s6.lastIndexOf(".")), o6 = r7.closeIndex;
263165
+ continue;
263166
+ }
263167
+ {
263168
+ const t7 = new I2(a6);
263169
+ if (this.tagsNodeStack.length > this.options.maxNestedTags) throw new Error("Maximum nested tags exceeded");
263170
+ this.tagsNodeStack.push(n6), a6 !== u6 && d6 && (t7[":@"] = this.buildAttributesMap(u6, s6, a6)), this.addChild(n6, t7, s6, c6), n6 = t7;
263171
+ }
263162
263172
  }
263163
- i6 = "", o6 = d6;
263173
+ i6 = "", o6 = h6;
263164
263174
  }
263165
263175
  }
263166
263176
  else i6 += t6[o6];
263167
263177
  return e6.child;
263168
263178
  };
263169
- function R(t6, e6, n6, i6) {
263179
+ function B2(t6, e6, n6, i6) {
263170
263180
  this.options.captureMetaData || (i6 = void 0);
263171
263181
  const s6 = this.options.updateTag(e6.tagname, n6, e6[":@"]);
263172
263182
  false === s6 || ("string" == typeof s6 ? (e6.tagname = s6, t6.addChild(e6, i6)) : t6.addChild(e6, i6));
@@ -263227,12 +263237,12 @@ var require_fxp = __commonJS({
263227
263237
  const o6 = s6.index, a6 = r6.search(/\s/);
263228
263238
  let l6 = r6, u6 = true;
263229
263239
  -1 !== a6 && (l6 = r6.substring(0, a6), r6 = r6.substring(a6 + 1).trimStart());
263230
- const h6 = l6;
263240
+ const d6 = l6;
263231
263241
  if (n6) {
263232
263242
  const t7 = l6.indexOf(":");
263233
263243
  -1 !== t7 && (l6 = l6.substr(t7 + 1), u6 = l6 !== s6.data.substr(t7 + 1));
263234
263244
  }
263235
- return { tagName: l6, tagExp: r6, closeIndex: o6, attrExpPresent: u6, rawTagName: h6 };
263245
+ return { tagName: l6, tagExp: r6, closeIndex: o6, attrExpPresent: u6, rawTagName: d6 };
263236
263246
  }
263237
263247
  function q5(t6, e6, n6) {
263238
263248
  const i6 = n6;
@@ -263253,19 +263263,19 @@ var require_fxp = __commonJS({
263253
263263
  if (e6 && "string" == typeof t6) {
263254
263264
  const e7 = t6.trim();
263255
263265
  return "true" === e7 || "false" !== e7 && (function(t7, e8 = {}) {
263256
- if (e8 = Object.assign({}, V, e8), !t7 || "string" != typeof t7) return t7;
263266
+ if (e8 = Object.assign({}, D2, e8), !t7 || "string" != typeof t7) return t7;
263257
263267
  let n7 = t7.trim();
263258
263268
  if (void 0 !== e8.skipLike && e8.skipLike.test(n7)) return t7;
263259
263269
  if ("0" === t7) return 0;
263260
- if (e8.hex && C2.test(n7)) return (function(t8) {
263270
+ if (e8.hex && $.test(n7)) return (function(t8) {
263261
263271
  if (parseInt) return parseInt(t8, 16);
263262
263272
  if (Number.parseInt) return Number.parseInt(t8, 16);
263263
263273
  if (window && window.parseInt) return window.parseInt(t8, 16);
263264
263274
  throw new Error("parseInt, Number.parseInt, window.parseInt are not supported");
263265
263275
  })(n7);
263266
- if (-1 !== n7.search(/.+[eE].+/)) return (function(t8, e9, n8) {
263276
+ if (n7.includes("e") || n7.includes("E")) return (function(t8, e9, n8) {
263267
263277
  if (!n8.eNotation) return t8;
263268
- const i7 = e9.match(D2);
263278
+ const i7 = e9.match(j5);
263269
263279
  if (i7) {
263270
263280
  let s6 = i7[1] || "";
263271
263281
  const r6 = -1 === i7[3].indexOf("e") ? "E" : "e", o6 = i7[2], a6 = s6 ? t8[o6.length + 1] === r6 : t8[o6.length] === r6;
@@ -263274,7 +263284,7 @@ var require_fxp = __commonJS({
263274
263284
  return t8;
263275
263285
  })(t7, n7, e8);
263276
263286
  {
263277
- const s6 = $.exec(n7);
263287
+ const s6 = V.exec(n7);
263278
263288
  if (s6) {
263279
263289
  const r6 = s6[1] || "", o6 = s6[2];
263280
263290
  let a6 = (i6 = s6[3]) && -1 !== i6.indexOf(".") ? ("." === (i6 = i6.replace(/0+$/, "")) ? i6 = "0" : "." === i6[0] ? i6 = "0" + i6 : "." === i6[i6.length - 1] && (i6 = i6.substring(0, i6.length - 1)), i6) : i6;
@@ -263282,7 +263292,7 @@ var require_fxp = __commonJS({
263282
263292
  if (!e8.leadingZeros && (o6.length > 1 || 1 === o6.length && !l6)) return t7;
263283
263293
  {
263284
263294
  const i7 = Number(n7), s7 = String(i7);
263285
- if (0 === i7 || -0 === i7) return i7;
263295
+ if (0 === i7) return i7;
263286
263296
  if (-1 !== s7.search(/[eE]/)) return e8.eNotation ? i7 : t7;
263287
263297
  if (-1 !== n7.indexOf(".")) return "0" === s7 || s7 === a6 || s7 === `${r6}${a6}` ? i7 : t7;
263288
263298
  let l7 = o6 ? a6 : n7;
@@ -263316,7 +263326,7 @@ var require_fxp = __commonJS({
263316
263326
  if (o6[a6]) {
263317
263327
  let t7 = H2(o6[a6], e6, l6);
263318
263328
  const n7 = nt(t7, e6);
263319
- void 0 !== o6[Q] && (t7[Q] = o6[Q]), o6[":@"] ? et(t7, o6[":@"], l6, e6) : 1 !== Object.keys(t7).length || void 0 === t7[e6.textNodeName] || e6.alwaysCreateTextNode ? 0 === Object.keys(t7).length && (e6.alwaysCreateTextNode ? t7[e6.textNodeName] = "" : t7 = "") : t7 = t7[e6.textNodeName], void 0 !== s6[a6] && s6.hasOwnProperty(a6) ? (Array.isArray(s6[a6]) || (s6[a6] = [s6[a6]]), s6[a6].push(t7)) : e6.isArray(a6, l6, n7) ? s6[a6] = [t7] : s6[a6] = t7;
263329
+ o6[":@"] ? et(t7, o6[":@"], l6, e6) : 1 !== Object.keys(t7).length || void 0 === t7[e6.textNodeName] || e6.alwaysCreateTextNode ? 0 === Object.keys(t7).length && (e6.alwaysCreateTextNode ? t7[e6.textNodeName] = "" : t7 = "") : t7 = t7[e6.textNodeName], void 0 !== o6[Q] && "object" == typeof t7 && null !== t7 && (t7[Q] = o6[Q]), void 0 !== s6[a6] && Object.prototype.hasOwnProperty.call(s6, a6) ? (Array.isArray(s6[a6]) || (s6[a6] = [s6[a6]]), s6[a6].push(t7)) : e6.isArray(a6, l6, n7) ? s6[a6] = [t7] : s6[a6] = t7;
263320
263330
  }
263321
263331
  }
263322
263332
  }
@@ -263344,7 +263354,7 @@ var require_fxp = __commonJS({
263344
263354
  }
263345
263355
  class it {
263346
263356
  constructor(t6) {
263347
- this.externalEntities = {}, this.options = w5(t6);
263357
+ this.externalEntities = {}, this.options = v5(t6);
263348
263358
  }
263349
263359
  parse(t6, e6) {
263350
263360
  if ("string" != typeof t6 && t6.toString) t6 = t6.toString();
@@ -263354,7 +263364,7 @@ var require_fxp = __commonJS({
263354
263364
  const n7 = a5(t6, e6);
263355
263365
  if (true !== n7) throw Error(`${n7.err.msg}:${n7.err.line}:${n7.err.col}`);
263356
263366
  }
263357
- const n6 = new F2(this.options);
263367
+ const n6 = new L(this.options);
263358
263368
  n6.addExternalEntities(this.externalEntities);
263359
263369
  const i6 = n6.parseXml(t6);
263360
263370
  return this.options.preserveOrder || void 0 === i6 ? i6 : J2(i6, this.options);
@@ -263375,6 +263385,13 @@ var require_fxp = __commonJS({
263375
263385
  }
263376
263386
  function rt(t6, e6, n6, i6) {
263377
263387
  let s6 = "", r6 = false;
263388
+ if (!Array.isArray(t6)) {
263389
+ if (null != t6) {
263390
+ let n7 = t6.toString();
263391
+ return n7 = ut(n7, e6), n7;
263392
+ }
263393
+ return "";
263394
+ }
263378
263395
  for (let o6 = 0; o6 < t6.length; o6++) {
263379
263396
  const a6 = t6[o6], l6 = ot(a6);
263380
263397
  if (void 0 === l6) continue;
@@ -263398,10 +263415,10 @@ var require_fxp = __commonJS({
263398
263415
  o7 = 0 !== o7.length ? " " + o7 : "", s6 += n7 + `<${l6}${o7}${t7}?>`, r6 = true;
263399
263416
  continue;
263400
263417
  }
263401
- let h6 = i6;
263402
- "" !== h6 && (h6 += e6.indentBy);
263403
- const d6 = i6 + `<${l6}${at3(a6[":@"], e6)}`, p6 = rt(a6[l6], e6, u6, h6);
263404
- -1 !== e6.unpairedTags.indexOf(l6) ? e6.suppressUnpairedNode ? s6 += d6 + ">" : s6 += d6 + "/>" : p6 && 0 !== p6.length || !e6.suppressEmptyNode ? p6 && p6.endsWith(">") ? s6 += d6 + `>${p6}${i6}</${l6}>` : (s6 += d6 + ">", p6 && "" !== i6 && (p6.includes("/>") || p6.includes("</")) ? s6 += i6 + e6.indentBy + p6 + i6 : s6 += p6, s6 += `</${l6}>`) : s6 += d6 + "/>", r6 = true;
263418
+ let d6 = i6;
263419
+ "" !== d6 && (d6 += e6.indentBy);
263420
+ const h6 = i6 + `<${l6}${at3(a6[":@"], e6)}`, p6 = rt(a6[l6], e6, u6, d6);
263421
+ -1 !== e6.unpairedTags.indexOf(l6) ? e6.suppressUnpairedNode ? s6 += h6 + ">" : s6 += h6 + "/>" : p6 && 0 !== p6.length || !e6.suppressEmptyNode ? p6 && p6.endsWith(">") ? s6 += h6 + `>${p6}${i6}</${l6}>` : (s6 += h6 + ">", p6 && "" !== i6 && (p6.includes("/>") || p6.includes("</")) ? s6 += i6 + e6.indentBy + p6 + i6 : s6 += p6, s6 += `</${l6}>`) : s6 += h6 + "/>", r6 = true;
263405
263422
  }
263406
263423
  return s6;
263407
263424
  }
@@ -263409,13 +263426,13 @@ var require_fxp = __commonJS({
263409
263426
  const e6 = Object.keys(t6);
263410
263427
  for (let n6 = 0; n6 < e6.length; n6++) {
263411
263428
  const i6 = e6[n6];
263412
- if (t6.hasOwnProperty(i6) && ":@" !== i6) return i6;
263429
+ if (Object.prototype.hasOwnProperty.call(t6, i6) && ":@" !== i6) return i6;
263413
263430
  }
263414
263431
  }
263415
263432
  function at3(t6, e6) {
263416
263433
  let n6 = "";
263417
263434
  if (t6 && !e6.ignoreAttributes) for (let i6 in t6) {
263418
- if (!t6.hasOwnProperty(i6)) continue;
263435
+ if (!Object.prototype.hasOwnProperty.call(t6, i6)) continue;
263419
263436
  let s6 = e6.attributeValueProcessor(i6, t6[i6]);
263420
263437
  s6 = ut(s6, e6), true === s6 && e6.suppressBooleanAttributes ? n6 += ` ${i6.substr(e6.attributeNamePrefix.length)}` : n6 += ` ${i6.substr(e6.attributeNamePrefix.length)}="${s6}"`;
263421
263438
  }
@@ -263433,15 +263450,21 @@ var require_fxp = __commonJS({
263433
263450
  }
263434
263451
  return t6;
263435
263452
  }
263436
- const ht = { attributeNamePrefix: "@_", attributesGroupName: false, textNodeName: "#text", ignoreAttributes: true, cdataPropName: false, format: false, indentBy: " ", suppressEmptyNode: false, suppressUnpairedNode: true, suppressBooleanAttributes: true, tagValueProcessor: function(t6, e6) {
263453
+ const dt = { attributeNamePrefix: "@_", attributesGroupName: false, textNodeName: "#text", ignoreAttributes: true, cdataPropName: false, format: false, indentBy: " ", suppressEmptyNode: false, suppressUnpairedNode: true, suppressBooleanAttributes: true, tagValueProcessor: function(t6, e6) {
263437
263454
  return e6;
263438
263455
  }, attributeValueProcessor: function(t6, e6) {
263439
263456
  return e6;
263440
263457
  }, preserveOrder: false, commentPropName: false, unpairedTags: [], entities: [{ regex: new RegExp("&", "g"), val: "&amp;" }, { regex: new RegExp(">", "g"), val: "&gt;" }, { regex: new RegExp("<", "g"), val: "&lt;" }, { regex: new RegExp("'", "g"), val: "&apos;" }, { regex: new RegExp('"', "g"), val: "&quot;" }], processEntities: true, stopNodes: [], oneListGroup: false };
263441
- function dt(t6) {
263442
- this.options = Object.assign({}, ht, t6), true === this.options.ignoreAttributes || this.options.attributesGroupName ? this.isAttribute = function() {
263458
+ function ht(t6) {
263459
+ var e6;
263460
+ this.options = Object.assign({}, dt, t6), true === this.options.ignoreAttributes || this.options.attributesGroupName ? this.isAttribute = function() {
263443
263461
  return false;
263444
- } : (this.ignoreAttributesFn = L(this.options.ignoreAttributes), this.attrPrefixLen = this.options.attributeNamePrefix.length, this.isAttribute = ct), this.processTextOrObjNode = pt, this.options.format ? (this.indentate = ft, this.tagEndChar = ">\n", this.newLine = "\n") : (this.indentate = function() {
263462
+ } : (this.ignoreAttributesFn = "function" == typeof (e6 = this.options.ignoreAttributes) ? e6 : Array.isArray(e6) ? (t7) => {
263463
+ for (const n6 of e6) {
263464
+ if ("string" == typeof n6 && t7 === n6) return true;
263465
+ if (n6 instanceof RegExp && n6.test(t7)) return true;
263466
+ }
263467
+ } : () => false, this.attrPrefixLen = this.options.attributeNamePrefix.length, this.isAttribute = ft), this.processTextOrObjNode = pt, this.options.format ? (this.indentate = ct, this.tagEndChar = ">\n", this.newLine = "\n") : (this.indentate = function() {
263445
263468
  return "";
263446
263469
  }, this.tagEndChar = ">", this.newLine = "");
263447
263470
  }
@@ -263449,15 +263472,15 @@ var require_fxp = __commonJS({
263449
263472
  const s6 = this.j2x(t6, n6 + 1, i6.concat(e6));
263450
263473
  return void 0 !== t6[this.options.textNodeName] && 1 === Object.keys(t6).length ? this.buildTextValNode(t6[this.options.textNodeName], e6, s6.attrStr, n6) : this.buildObjectNode(s6.val, e6, s6.attrStr, n6);
263451
263474
  }
263452
- function ft(t6) {
263475
+ function ct(t6) {
263453
263476
  return this.options.indentBy.repeat(t6);
263454
263477
  }
263455
- function ct(t6) {
263478
+ function ft(t6) {
263456
263479
  return !(!t6.startsWith(this.options.attributeNamePrefix) || t6 === this.options.textNodeName) && t6.substr(this.attrPrefixLen);
263457
263480
  }
263458
- dt.prototype.build = function(t6) {
263481
+ ht.prototype.build = function(t6) {
263459
263482
  return this.options.preserveOrder ? st(t6, this.options) : (Array.isArray(t6) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1 && (t6 = { [this.options.arrayNodeName]: t6 }), this.j2x(t6, 0, []).val);
263460
- }, dt.prototype.j2x = function(t6, e6, n6) {
263483
+ }, ht.prototype.j2x = function(t6, e6, n6) {
263461
263484
  let i6 = "", s6 = "";
263462
263485
  const r6 = n6.join(".");
263463
263486
  for (let o6 in t6) if (Object.prototype.hasOwnProperty.call(t6, o6)) if (void 0 === t6[o6]) this.isAttribute(o6) && (s6 += "");
@@ -263492,18 +263515,18 @@ var require_fxp = __commonJS({
263492
263515
  for (let s7 = 0; s7 < n7; s7++) i6 += this.buildAttrPairStr(e7[s7], "" + t6[o6][e7[s7]]);
263493
263516
  } else s6 += this.processTextOrObjNode(t6[o6], o6, e6, n6);
263494
263517
  return { attrStr: i6, val: s6 };
263495
- }, dt.prototype.buildAttrPairStr = function(t6, e6) {
263518
+ }, ht.prototype.buildAttrPairStr = function(t6, e6) {
263496
263519
  return e6 = this.options.attributeValueProcessor(t6, "" + e6), e6 = this.replaceEntitiesValue(e6), this.options.suppressBooleanAttributes && "true" === e6 ? " " + t6 : " " + t6 + '="' + e6 + '"';
263497
- }, dt.prototype.buildObjectNode = function(t6, e6, n6, i6) {
263520
+ }, ht.prototype.buildObjectNode = function(t6, e6, n6, i6) {
263498
263521
  if ("" === t6) return "?" === e6[0] ? this.indentate(i6) + "<" + e6 + n6 + "?" + this.tagEndChar : this.indentate(i6) + "<" + e6 + n6 + this.closeTag(e6) + this.tagEndChar;
263499
263522
  {
263500
263523
  let s6 = "</" + e6 + this.tagEndChar, r6 = "";
263501
263524
  return "?" === e6[0] && (r6 = "?", s6 = ""), !n6 && "" !== n6 || -1 !== t6.indexOf("<") ? false !== this.options.commentPropName && e6 === this.options.commentPropName && 0 === r6.length ? this.indentate(i6) + `<!--${t6}-->` + this.newLine : this.indentate(i6) + "<" + e6 + n6 + r6 + this.tagEndChar + t6 + this.indentate(i6) + s6 : this.indentate(i6) + "<" + e6 + n6 + r6 + ">" + t6 + s6;
263502
263525
  }
263503
- }, dt.prototype.closeTag = function(t6) {
263526
+ }, ht.prototype.closeTag = function(t6) {
263504
263527
  let e6 = "";
263505
263528
  return -1 !== this.options.unpairedTags.indexOf(t6) ? this.options.suppressUnpairedNode || (e6 = "/") : e6 = this.options.suppressEmptyNode ? "/" : `></${t6}`, e6;
263506
- }, dt.prototype.buildTextValNode = function(t6, e6, n6, i6) {
263529
+ }, ht.prototype.buildTextValNode = function(t6, e6, n6, i6) {
263507
263530
  if (false !== this.options.cdataPropName && e6 === this.options.cdataPropName) return this.indentate(i6) + `<![CDATA[${t6}]]>` + this.newLine;
263508
263531
  if (false !== this.options.commentPropName && e6 === this.options.commentPropName) return this.indentate(i6) + `<!--${t6}-->` + this.newLine;
263509
263532
  if ("?" === e6[0]) return this.indentate(i6) + "<" + e6 + n6 + "?" + this.tagEndChar;
@@ -263511,14 +263534,14 @@ var require_fxp = __commonJS({
263511
263534
  let s6 = this.options.tagValueProcessor(e6, t6);
263512
263535
  return s6 = this.replaceEntitiesValue(s6), "" === s6 ? this.indentate(i6) + "<" + e6 + n6 + this.closeTag(e6) + this.tagEndChar : this.indentate(i6) + "<" + e6 + n6 + ">" + s6 + "</" + e6 + this.tagEndChar;
263513
263536
  }
263514
- }, dt.prototype.replaceEntitiesValue = function(t6) {
263537
+ }, ht.prototype.replaceEntitiesValue = function(t6) {
263515
263538
  if (t6 && t6.length > 0 && this.options.processEntities) for (let e6 = 0; e6 < this.options.entities.length; e6++) {
263516
263539
  const n6 = this.options.entities[e6];
263517
263540
  t6 = t6.replace(n6.regex, n6.val);
263518
263541
  }
263519
263542
  return t6;
263520
263543
  };
263521
- const gt = { validate: a5 };
263544
+ const gt = ht, xt = { validate: a5 };
263522
263545
  module2.exports = e5;
263523
263546
  })();
263524
263547
  }
@@ -263538,7 +263561,8 @@ var require_xml_parser = __commonJS({
263538
263561
  ignoreDeclaration: true,
263539
263562
  parseTagValue: false,
263540
263563
  trimValues: false,
263541
- tagValueProcessor: (_, val) => val.trim() === "" && val.includes("\n") ? "" : void 0
263564
+ tagValueProcessor: (_, val) => val.trim() === "" && val.includes("\n") ? "" : void 0,
263565
+ maxNestedTags: 1024
263542
263566
  });
263543
263567
  parser.addEntity("#xD", "\r");
263544
263568
  parser.addEntity("#10", "\n");
@@ -268091,7 +268115,7 @@ var require_package2 = __commonJS({
268091
268115
  module2.exports = {
268092
268116
  name: "@aws-sdk/client-bedrock-runtime",
268093
268117
  description: "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
268094
- version: "3.1000.0",
268118
+ version: "3.1001.0",
268095
268119
  scripts: {
268096
268120
  build: "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
268097
268121
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-runtime",
@@ -268115,54 +268139,54 @@ var require_package2 = __commonJS({
268115
268139
  dependencies: {
268116
268140
  "@aws-crypto/sha256-browser": "5.2.0",
268117
268141
  "@aws-crypto/sha256-js": "5.2.0",
268118
- "@aws-sdk/core": "^3.973.15",
268119
- "@aws-sdk/credential-provider-node": "^3.972.14",
268142
+ "@aws-sdk/core": "^3.973.16",
268143
+ "@aws-sdk/credential-provider-node": "^3.972.15",
268120
268144
  "@aws-sdk/eventstream-handler-node": "^3.972.9",
268121
268145
  "@aws-sdk/middleware-eventstream": "^3.972.6",
268122
268146
  "@aws-sdk/middleware-host-header": "^3.972.6",
268123
268147
  "@aws-sdk/middleware-logger": "^3.972.6",
268124
268148
  "@aws-sdk/middleware-recursion-detection": "^3.972.6",
268125
- "@aws-sdk/middleware-user-agent": "^3.972.15",
268126
- "@aws-sdk/middleware-websocket": "^3.972.10",
268149
+ "@aws-sdk/middleware-user-agent": "^3.972.16",
268150
+ "@aws-sdk/middleware-websocket": "^3.972.11",
268127
268151
  "@aws-sdk/region-config-resolver": "^3.972.6",
268128
- "@aws-sdk/token-providers": "3.1000.0",
268152
+ "@aws-sdk/token-providers": "3.1001.0",
268129
268153
  "@aws-sdk/types": "^3.973.4",
268130
268154
  "@aws-sdk/util-endpoints": "^3.996.3",
268131
268155
  "@aws-sdk/util-user-agent-browser": "^3.972.6",
268132
- "@aws-sdk/util-user-agent-node": "^3.973.0",
268156
+ "@aws-sdk/util-user-agent-node": "^3.973.1",
268133
268157
  "@smithy/config-resolver": "^4.4.9",
268134
- "@smithy/core": "^3.23.6",
268158
+ "@smithy/core": "^3.23.7",
268135
268159
  "@smithy/eventstream-serde-browser": "^4.2.10",
268136
268160
  "@smithy/eventstream-serde-config-resolver": "^4.3.10",
268137
268161
  "@smithy/eventstream-serde-node": "^4.2.10",
268138
- "@smithy/fetch-http-handler": "^5.3.11",
268162
+ "@smithy/fetch-http-handler": "^5.3.12",
268139
268163
  "@smithy/hash-node": "^4.2.10",
268140
268164
  "@smithy/invalid-dependency": "^4.2.10",
268141
268165
  "@smithy/middleware-content-length": "^4.2.10",
268142
- "@smithy/middleware-endpoint": "^4.4.20",
268143
- "@smithy/middleware-retry": "^4.4.37",
268166
+ "@smithy/middleware-endpoint": "^4.4.21",
268167
+ "@smithy/middleware-retry": "^4.4.38",
268144
268168
  "@smithy/middleware-serde": "^4.2.11",
268145
268169
  "@smithy/middleware-stack": "^4.2.10",
268146
268170
  "@smithy/node-config-provider": "^4.3.10",
268147
- "@smithy/node-http-handler": "^4.4.12",
268171
+ "@smithy/node-http-handler": "^4.4.13",
268148
268172
  "@smithy/protocol-http": "^5.3.10",
268149
- "@smithy/smithy-client": "^4.12.0",
268173
+ "@smithy/smithy-client": "^4.12.1",
268150
268174
  "@smithy/types": "^4.13.0",
268151
268175
  "@smithy/url-parser": "^4.2.10",
268152
268176
  "@smithy/util-base64": "^4.3.1",
268153
268177
  "@smithy/util-body-length-browser": "^4.2.1",
268154
268178
  "@smithy/util-body-length-node": "^4.2.2",
268155
- "@smithy/util-defaults-mode-browser": "^4.3.36",
268156
- "@smithy/util-defaults-mode-node": "^4.2.39",
268179
+ "@smithy/util-defaults-mode-browser": "^4.3.37",
268180
+ "@smithy/util-defaults-mode-node": "^4.2.40",
268157
268181
  "@smithy/util-endpoints": "^3.3.1",
268158
268182
  "@smithy/util-middleware": "^4.2.10",
268159
268183
  "@smithy/util-retry": "^4.2.10",
268160
- "@smithy/util-stream": "^4.5.15",
268184
+ "@smithy/util-stream": "^4.5.16",
268161
268185
  "@smithy/util-utf8": "^4.2.1",
268162
268186
  tslib: "^2.6.2"
268163
268187
  },
268164
268188
  devDependencies: {
268165
- "@smithy/snapshot-testing": "^1.0.7",
268189
+ "@smithy/snapshot-testing": "^1.0.8",
268166
268190
  "@tsconfig/node20": "20.1.8",
268167
268191
  "@types/node": "^20.14.8",
268168
268192
  concurrently: "7.0.0",
@@ -268878,7 +268902,7 @@ var init_package = __esm({
268878
268902
  "node_modules/@aws-sdk/nested-clients/package.json"() {
268879
268903
  package_default = {
268880
268904
  name: "@aws-sdk/nested-clients",
268881
- version: "3.996.3",
268905
+ version: "3.996.4",
268882
268906
  description: "Nested clients for AWS SDK packages.",
268883
268907
  main: "./dist-cjs/index.js",
268884
268908
  module: "./dist-es/index.js",
@@ -268907,37 +268931,37 @@ var init_package = __esm({
268907
268931
  dependencies: {
268908
268932
  "@aws-crypto/sha256-browser": "5.2.0",
268909
268933
  "@aws-crypto/sha256-js": "5.2.0",
268910
- "@aws-sdk/core": "^3.973.15",
268934
+ "@aws-sdk/core": "^3.973.16",
268911
268935
  "@aws-sdk/middleware-host-header": "^3.972.6",
268912
268936
  "@aws-sdk/middleware-logger": "^3.972.6",
268913
268937
  "@aws-sdk/middleware-recursion-detection": "^3.972.6",
268914
- "@aws-sdk/middleware-user-agent": "^3.972.15",
268938
+ "@aws-sdk/middleware-user-agent": "^3.972.16",
268915
268939
  "@aws-sdk/region-config-resolver": "^3.972.6",
268916
268940
  "@aws-sdk/types": "^3.973.4",
268917
268941
  "@aws-sdk/util-endpoints": "^3.996.3",
268918
268942
  "@aws-sdk/util-user-agent-browser": "^3.972.6",
268919
- "@aws-sdk/util-user-agent-node": "^3.973.0",
268943
+ "@aws-sdk/util-user-agent-node": "^3.973.1",
268920
268944
  "@smithy/config-resolver": "^4.4.9",
268921
- "@smithy/core": "^3.23.6",
268922
- "@smithy/fetch-http-handler": "^5.3.11",
268945
+ "@smithy/core": "^3.23.7",
268946
+ "@smithy/fetch-http-handler": "^5.3.12",
268923
268947
  "@smithy/hash-node": "^4.2.10",
268924
268948
  "@smithy/invalid-dependency": "^4.2.10",
268925
268949
  "@smithy/middleware-content-length": "^4.2.10",
268926
- "@smithy/middleware-endpoint": "^4.4.20",
268927
- "@smithy/middleware-retry": "^4.4.37",
268950
+ "@smithy/middleware-endpoint": "^4.4.21",
268951
+ "@smithy/middleware-retry": "^4.4.38",
268928
268952
  "@smithy/middleware-serde": "^4.2.11",
268929
268953
  "@smithy/middleware-stack": "^4.2.10",
268930
268954
  "@smithy/node-config-provider": "^4.3.10",
268931
- "@smithy/node-http-handler": "^4.4.12",
268955
+ "@smithy/node-http-handler": "^4.4.13",
268932
268956
  "@smithy/protocol-http": "^5.3.10",
268933
- "@smithy/smithy-client": "^4.12.0",
268957
+ "@smithy/smithy-client": "^4.12.1",
268934
268958
  "@smithy/types": "^4.13.0",
268935
268959
  "@smithy/url-parser": "^4.2.10",
268936
268960
  "@smithy/util-base64": "^4.3.1",
268937
268961
  "@smithy/util-body-length-browser": "^4.2.1",
268938
268962
  "@smithy/util-body-length-node": "^4.2.2",
268939
- "@smithy/util-defaults-mode-browser": "^4.3.36",
268940
- "@smithy/util-defaults-mode-node": "^4.2.39",
268963
+ "@smithy/util-defaults-mode-browser": "^4.3.37",
268964
+ "@smithy/util-defaults-mode-node": "^4.2.40",
268941
268965
  "@smithy/util-endpoints": "^3.3.1",
268942
268966
  "@smithy/util-middleware": "^4.2.10",
268943
268967
  "@smithy/util-retry": "^4.2.10",
@@ -269042,17 +269066,30 @@ var require_dist_cjs51 = __commonJS({
269042
269066
  }
269043
269067
  return ["md/nodejs", node_process.versions.node];
269044
269068
  };
269045
- var getTypeScriptPackageJsonPath = (dirname6 = "") => {
269046
- let nodeModulesPath;
269069
+ var SEMVER_REGEX = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/;
269070
+ var getSanitizedTypeScriptVersion = (version2 = "") => {
269071
+ const match2 = version2.match(SEMVER_REGEX);
269072
+ if (!match2) {
269073
+ return void 0;
269074
+ }
269075
+ const [major, minor, patch, prerelease] = [match2[1], match2[2], match2[3], match2[4]];
269076
+ return prerelease ? `${major}.${minor}.${patch}-${prerelease}` : `${major}.${minor}.${patch}`;
269077
+ };
269078
+ var typescriptPackageJsonPath = node_path.join("node_modules", "typescript", "package.json");
269079
+ var getTypeScriptPackageJsonPaths = (dirname6) => {
269080
+ const cwdPath = node_path.join(process.cwd(), typescriptPackageJsonPath);
269081
+ if (!dirname6) {
269082
+ return [cwdPath];
269083
+ }
269047
269084
  const normalizedPath = node_path.normalize(dirname6);
269048
269085
  const parts = normalizedPath.split(node_path.sep);
269049
269086
  const nodeModulesIndex = parts.indexOf("node_modules");
269050
- if (nodeModulesIndex !== -1) {
269051
- nodeModulesPath = parts.slice(0, nodeModulesIndex).join(node_path.sep);
269052
- } else {
269053
- nodeModulesPath = dirname6;
269087
+ const parentDir = nodeModulesIndex !== -1 ? parts.slice(0, nodeModulesIndex).join(node_path.sep) : dirname6;
269088
+ const parentDirPath = node_path.join(parentDir, typescriptPackageJsonPath);
269089
+ if (cwdPath === parentDirPath) {
269090
+ return [cwdPath];
269054
269091
  }
269055
- return node_path.join(nodeModulesPath, "node_modules", "typescript", "package.json");
269092
+ return [parentDirPath, cwdPath];
269056
269093
  };
269057
269094
  var tscVersion;
269058
269095
  var getTypeScriptUserAgentPair = async () => {
@@ -269061,18 +269098,22 @@ var require_dist_cjs51 = __commonJS({
269061
269098
  } else if (typeof tscVersion === "string") {
269062
269099
  return ["md/tsc", tscVersion];
269063
269100
  }
269064
- try {
269065
- const packageJson = await promises.readFile(getTypeScriptPackageJsonPath(__dirname), "utf-8");
269066
- const { version: version2 } = JSON.parse(packageJson);
269067
- if (typeof version2 !== "string") {
269068
- tscVersion = null;
269069
- return void 0;
269101
+ const dirname6 = typeof __dirname !== "undefined" ? __dirname : void 0;
269102
+ for (const typescriptPackageJsonPath2 of getTypeScriptPackageJsonPaths(dirname6)) {
269103
+ try {
269104
+ const packageJson = await promises.readFile(typescriptPackageJsonPath2, "utf-8");
269105
+ const { version: version2 } = JSON.parse(packageJson);
269106
+ const sanitizedVersion = getSanitizedTypeScriptVersion(version2);
269107
+ if (typeof sanitizedVersion !== "string") {
269108
+ continue;
269109
+ }
269110
+ tscVersion = sanitizedVersion;
269111
+ return ["md/tsc", tscVersion];
269112
+ } catch {
269070
269113
  }
269071
- tscVersion = version2;
269072
- return ["md/tsc", tscVersion];
269073
- } catch {
269074
- tscVersion = null;
269075
269114
  }
269115
+ tscVersion = null;
269116
+ return void 0;
269076
269117
  };
269077
269118
  var crtAvailability = {
269078
269119
  isCrtAvailable: false
@@ -270171,9 +270212,9 @@ var init_sso_oidc = __esm({
270171
270212
  }
270172
270213
  });
270173
270214
 
270174
- // node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/index.js
270215
+ // node_modules/@aws-sdk/token-providers/dist-cjs/index.js
270175
270216
  var require_dist_cjs56 = __commonJS({
270176
- "node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/index.js"(exports2) {
270217
+ "node_modules/@aws-sdk/token-providers/dist-cjs/index.js"(exports2) {
270177
270218
  "use strict";
270178
270219
  var client = (init_client(), __toCommonJS(client_exports));
270179
270220
  var httpAuthSchemes = (init_httpAuthSchemes2(), __toCommonJS(httpAuthSchemes_exports));
@@ -274006,155 +274047,8 @@ var require_dist_cjs63 = __commonJS({
274006
274047
  }
274007
274048
  });
274008
274049
 
274009
- // node_modules/@aws-sdk/token-providers/dist-cjs/index.js
274010
- var require_dist_cjs64 = __commonJS({
274011
- "node_modules/@aws-sdk/token-providers/dist-cjs/index.js"(exports2) {
274012
- "use strict";
274013
- var client = (init_client(), __toCommonJS(client_exports));
274014
- var httpAuthSchemes = (init_httpAuthSchemes2(), __toCommonJS(httpAuthSchemes_exports));
274015
- var propertyProvider = require_dist_cjs24();
274016
- var sharedIniFileLoader = require_dist_cjs42();
274017
- var node_fs = __nccwpck_require__(73024);
274018
- var fromEnvSigningName = ({ logger: logger2, signingName } = {}) => async () => {
274019
- logger2?.debug?.("@aws-sdk/token-providers - fromEnvSigningName");
274020
- if (!signingName) {
274021
- throw new propertyProvider.TokenProviderError("Please pass 'signingName' to compute environment variable key", { logger: logger2 });
274022
- }
274023
- const bearerTokenKey = httpAuthSchemes.getBearerTokenEnvKey(signingName);
274024
- if (!(bearerTokenKey in process.env)) {
274025
- throw new propertyProvider.TokenProviderError(`Token not present in '${bearerTokenKey}' environment variable`, { logger: logger2 });
274026
- }
274027
- const token = { token: process.env[bearerTokenKey] };
274028
- client.setTokenFeature(token, "BEARER_SERVICE_ENV_VARS", "3");
274029
- return token;
274030
- };
274031
- var EXPIRE_WINDOW_MS = 5 * 60 * 1e3;
274032
- var REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;
274033
- var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
274034
- const { SSOOIDCClient: SSOOIDCClient2 } = await Promise.resolve().then(() => (init_sso_oidc(), sso_oidc_exports));
274035
- const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop];
274036
- const ssoOidcClient = new SSOOIDCClient2(Object.assign({}, init.clientConfig ?? {}, {
274037
- region: ssoRegion ?? init.clientConfig?.region,
274038
- logger: coalesce("logger"),
274039
- userAgentAppId: coalesce("userAgentAppId")
274040
- }));
274041
- return ssoOidcClient;
274042
- };
274043
- var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => {
274044
- const { CreateTokenCommand: CreateTokenCommand2 } = await Promise.resolve().then(() => (init_sso_oidc(), sso_oidc_exports));
274045
- const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig);
274046
- return ssoOidcClient.send(new CreateTokenCommand2({
274047
- clientId: ssoToken.clientId,
274048
- clientSecret: ssoToken.clientSecret,
274049
- refreshToken: ssoToken.refreshToken,
274050
- grantType: "refresh_token"
274051
- }));
274052
- };
274053
- var validateTokenExpiry = (token) => {
274054
- if (token.expiration && token.expiration.getTime() < Date.now()) {
274055
- throw new propertyProvider.TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false);
274056
- }
274057
- };
274058
- var validateTokenKey = (key, value, forRefresh = false) => {
274059
- if (typeof value === "undefined") {
274060
- throw new propertyProvider.TokenProviderError(`Value not present for '${key}' in SSO Token${forRefresh ? ". Cannot refresh" : ""}. ${REFRESH_MESSAGE}`, false);
274061
- }
274062
- };
274063
- var { writeFile: writeFile2 } = node_fs.promises;
274064
- var writeSSOTokenToFile = (id, ssoToken) => {
274065
- const tokenFilepath = sharedIniFileLoader.getSSOTokenFilepath(id);
274066
- const tokenString = JSON.stringify(ssoToken, null, 2);
274067
- return writeFile2(tokenFilepath, tokenString);
274068
- };
274069
- var lastRefreshAttemptTime = /* @__PURE__ */ new Date(0);
274070
- var fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
274071
- init.logger?.debug("@aws-sdk/token-providers - fromSso");
274072
- const profiles = await sharedIniFileLoader.parseKnownFiles(init);
274073
- const profileName = sharedIniFileLoader.getProfileName({
274074
- profile: init.profile ?? callerClientConfig?.profile
274075
- });
274076
- const profile = profiles[profileName];
274077
- if (!profile) {
274078
- throw new propertyProvider.TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false);
274079
- } else if (!profile["sso_session"]) {
274080
- throw new propertyProvider.TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`);
274081
- }
274082
- const ssoSessionName = profile["sso_session"];
274083
- const ssoSessions = await sharedIniFileLoader.loadSsoSessionData(init);
274084
- const ssoSession = ssoSessions[ssoSessionName];
274085
- if (!ssoSession) {
274086
- throw new propertyProvider.TokenProviderError(`Sso session '${ssoSessionName}' could not be found in shared credentials file.`, false);
274087
- }
274088
- for (const ssoSessionRequiredKey of ["sso_start_url", "sso_region"]) {
274089
- if (!ssoSession[ssoSessionRequiredKey]) {
274090
- throw new propertyProvider.TokenProviderError(`Sso session '${ssoSessionName}' is missing required property '${ssoSessionRequiredKey}'.`, false);
274091
- }
274092
- }
274093
- ssoSession["sso_start_url"];
274094
- const ssoRegion = ssoSession["sso_region"];
274095
- let ssoToken;
274096
- try {
274097
- ssoToken = await sharedIniFileLoader.getSSOTokenFromFile(ssoSessionName);
274098
- } catch (e5) {
274099
- throw new propertyProvider.TokenProviderError(`The SSO session token associated with profile=${profileName} was not found or is invalid. ${REFRESH_MESSAGE}`, false);
274100
- }
274101
- validateTokenKey("accessToken", ssoToken.accessToken);
274102
- validateTokenKey("expiresAt", ssoToken.expiresAt);
274103
- const { accessToken, expiresAt } = ssoToken;
274104
- const existingToken = { token: accessToken, expiration: new Date(expiresAt) };
274105
- if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) {
274106
- return existingToken;
274107
- }
274108
- if (Date.now() - lastRefreshAttemptTime.getTime() < 30 * 1e3) {
274109
- validateTokenExpiry(existingToken);
274110
- return existingToken;
274111
- }
274112
- validateTokenKey("clientId", ssoToken.clientId, true);
274113
- validateTokenKey("clientSecret", ssoToken.clientSecret, true);
274114
- validateTokenKey("refreshToken", ssoToken.refreshToken, true);
274115
- try {
274116
- lastRefreshAttemptTime.setTime(Date.now());
274117
- const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init, callerClientConfig);
274118
- validateTokenKey("accessToken", newSsoOidcToken.accessToken);
274119
- validateTokenKey("expiresIn", newSsoOidcToken.expiresIn);
274120
- const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1e3);
274121
- try {
274122
- await writeSSOTokenToFile(ssoSessionName, {
274123
- ...ssoToken,
274124
- accessToken: newSsoOidcToken.accessToken,
274125
- expiresAt: newTokenExpiration.toISOString(),
274126
- refreshToken: newSsoOidcToken.refreshToken
274127
- });
274128
- } catch (error2) {
274129
- }
274130
- return {
274131
- token: newSsoOidcToken.accessToken,
274132
- expiration: newTokenExpiration
274133
- };
274134
- } catch (error2) {
274135
- validateTokenExpiry(existingToken);
274136
- return existingToken;
274137
- }
274138
- };
274139
- var fromStatic = ({ token, logger: logger2 }) => async () => {
274140
- logger2?.debug("@aws-sdk/token-providers - fromStatic");
274141
- if (!token || !token.token) {
274142
- throw new propertyProvider.TokenProviderError(`Please pass a valid token to fromStatic`, false);
274143
- }
274144
- return token;
274145
- };
274146
- var nodeProvider = (init = {}) => propertyProvider.memoize(propertyProvider.chain(fromSso(init), async () => {
274147
- throw new propertyProvider.TokenProviderError("Could not load token from any providers", false);
274148
- }), (token) => token.expiration !== void 0 && token.expiration.getTime() - Date.now() < 3e5, (token) => token.expiration !== void 0);
274149
- exports2.fromEnvSigningName = fromEnvSigningName;
274150
- exports2.fromSso = fromSso;
274151
- exports2.fromStatic = fromStatic;
274152
- exports2.nodeProvider = nodeProvider;
274153
- }
274154
- });
274155
-
274156
274050
  // node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js
274157
- var require_dist_cjs65 = __commonJS({
274051
+ var require_dist_cjs64 = __commonJS({
274158
274052
  "node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js"(exports2) {
274159
274053
  "use strict";
274160
274054
  var eventstreamSerdeUniversal = require_dist_cjs35();
@@ -276836,11 +276730,11 @@ var require_runtimeConfig = __commonJS({
276836
276730
  var core_1 = (init_dist_es2(), __toCommonJS(dist_es_exports2));
276837
276731
  var credential_provider_node_1 = require_dist_cjs62();
276838
276732
  var eventstream_handler_node_1 = require_dist_cjs63();
276839
- var token_providers_1 = require_dist_cjs64();
276733
+ var token_providers_1 = require_dist_cjs56();
276840
276734
  var util_user_agent_node_1 = require_dist_cjs51();
276841
276735
  var config_resolver_1 = require_dist_cjs39();
276842
276736
  var core_2 = (init_dist_es(), __toCommonJS(dist_es_exports));
276843
- var eventstream_serde_node_1 = require_dist_cjs65();
276737
+ var eventstream_serde_node_1 = require_dist_cjs64();
276844
276738
  var hash_node_1 = require_dist_cjs52();
276845
276739
  var middleware_retry_1 = require_dist_cjs47();
276846
276740
  var node_config_provider_1 = require_dist_cjs43();
@@ -276912,7 +276806,7 @@ var require_runtimeConfig = __commonJS({
276912
276806
  });
276913
276807
 
276914
276808
  // node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js
276915
- var require_dist_cjs66 = __commonJS({
276809
+ var require_dist_cjs65 = __commonJS({
276916
276810
  "node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js"(exports2) {
276917
276811
  "use strict";
276918
276812
  var middlewareEventstream = require_dist_cjs3();
@@ -277757,13 +277651,13 @@ var import_client_bedrock_runtime, import_client_bedrock_runtime2, import_client
277757
277651
  var init_dist3 = __esm({
277758
277652
  "node_modules/@ai-sdk/amazon-bedrock/dist/index.mjs"() {
277759
277653
  init_dist2();
277760
- import_client_bedrock_runtime = __toESM(require_dist_cjs66(), 1);
277654
+ import_client_bedrock_runtime = __toESM(require_dist_cjs65(), 1);
277761
277655
  init_dist();
277762
- import_client_bedrock_runtime2 = __toESM(require_dist_cjs66(), 1);
277656
+ import_client_bedrock_runtime2 = __toESM(require_dist_cjs65(), 1);
277763
277657
  init_dist();
277764
277658
  init_dist();
277765
277659
  init_dist2();
277766
- import_client_bedrock_runtime3 = __toESM(require_dist_cjs66(), 1);
277660
+ import_client_bedrock_runtime3 = __toESM(require_dist_cjs65(), 1);
277767
277661
  generateFileId = createIdGenerator({ prefix: "file", size: 16 });
277768
277662
  BedrockChatLanguageModel = class {
277769
277663
  constructor(modelId, settings, config) {
@@ -285454,6 +285348,8 @@ var init_fileTracker = __esm({
285454
285348
  this.debug = options.debug || false;
285455
285349
  this._seenFiles = /* @__PURE__ */ new Set();
285456
285350
  this._contentRecords = /* @__PURE__ */ new Map();
285351
+ this._textEditCounts = /* @__PURE__ */ new Map();
285352
+ this.maxConsecutiveTextEdits = 3;
285457
285353
  }
285458
285354
  /**
285459
285355
  * Mark a file as "seen" — the LLM has read its content.
@@ -285461,6 +285357,7 @@ var init_fileTracker = __esm({
285461
285357
  */
285462
285358
  markFileSeen(resolvedPath2) {
285463
285359
  this._seenFiles.add(resolvedPath2);
285360
+ this._textEditCounts.set(resolvedPath2, 0);
285464
285361
  if (this.debug) {
285465
285362
  console.error(`[FileTracker] Marked as seen: ${resolvedPath2}`);
285466
285363
  }
@@ -285606,9 +285503,37 @@ var init_fileTracker = __esm({
285606
285503
  * @param {string} resolvedPath - Absolute path to the file
285607
285504
  */
285608
285505
  async trackFileAfterWrite(resolvedPath2) {
285609
- this.markFileSeen(resolvedPath2);
285506
+ this._seenFiles.add(resolvedPath2);
285610
285507
  this.invalidateFileRecords(resolvedPath2);
285611
285508
  }
285509
+ /**
285510
+ * Record a text-mode edit (old_string/new_string) to a file.
285511
+ * Increments the consecutive edit counter.
285512
+ * @param {string} resolvedPath - Absolute path to the file
285513
+ */
285514
+ recordTextEdit(resolvedPath2) {
285515
+ const count = (this._textEditCounts.get(resolvedPath2) || 0) + 1;
285516
+ this._textEditCounts.set(resolvedPath2, count);
285517
+ if (this.debug) {
285518
+ console.error(`[FileTracker] Text edit #${count} for ${resolvedPath2}`);
285519
+ }
285520
+ }
285521
+ /**
285522
+ * Check if a file has had too many consecutive text edits without a re-read.
285523
+ * @param {string} resolvedPath - Absolute path to the file
285524
+ * @returns {{ok: boolean, editCount?: number, message?: string}}
285525
+ */
285526
+ checkTextEditStaleness(resolvedPath2) {
285527
+ const count = this._textEditCounts.get(resolvedPath2) || 0;
285528
+ if (count >= this.maxConsecutiveTextEdits) {
285529
+ return {
285530
+ ok: false,
285531
+ editCount: count,
285532
+ message: `This file has been edited ${count} times without being re-read. Use 'extract' to re-read the current file content before making more edits, to ensure you are working with the actual state of the file.`
285533
+ };
285534
+ }
285535
+ return { ok: true, editCount: count };
285536
+ }
285612
285537
  /**
285613
285538
  * Update the stored hash for a symbol after a successful write.
285614
285539
  * Enables chained edits to the same symbol.
@@ -285652,6 +285577,7 @@ var init_fileTracker = __esm({
285652
285577
  clear() {
285653
285578
  this._seenFiles.clear();
285654
285579
  this._contentRecords.clear();
285580
+ this._textEditCounts.clear();
285655
285581
  }
285656
285582
  };
285657
285583
  }
@@ -331452,6 +331378,9 @@ var init_prompts = __esm({
331452
331378
  predefinedPrompts = {
331453
331379
  "code-explorer": `You are ProbeChat Code Explorer, a specialized AI assistant focused on helping developers, product managers, and QAs understand and navigate codebases. Your primary function is to answer questions based on code, explain how systems work, and provide insights into code functionality using the provided code analysis tools.
331454
331380
 
331381
+ CRITICAL - You are READ-ONLY:
331382
+ You must NEVER create, modify, delete, or write files. You are strictly an exploration and analysis tool. If asked to make changes, implement features, fix bugs, or modify a PR, refuse and explain that file modifications must be done by the engineer tool \u2014 your role is only to investigate code and answer questions. Do not attempt workarounds using bash commands (echo, cat, tee, sed, etc.) to write files.
331383
+
331455
331384
  When exploring code:
331456
331385
  - Provide clear, concise explanations based on user request
331457
331386
  - Find and highlight the most relevant code snippets, if required
@@ -356184,7 +356113,9 @@ var init_ProbeAgent = __esm({
356184
356113
  return nativeTools;
356185
356114
  }
356186
356115
  for (const [toolName, toolImpl] of Object.entries(this.toolImplementations)) {
356187
- const { schema, description } = this._getToolSchemaAndDescription(toolName);
356116
+ const toolInfo = this._getToolSchemaAndDescription(toolName);
356117
+ if (!toolInfo) continue;
356118
+ const { schema, description } = toolInfo;
356188
356119
  if (schema && description) {
356189
356120
  nativeTools[toolName] = wrapTool(toolName, schema, description, toolImpl.execute);
356190
356121
  }
@@ -357087,11 +357018,11 @@ Follow these instructions carefully:
357087
357018
  6. Prefer concise and focused search queries. Use specific keywords and phrases to narrow down results.${this.allowEdit ? `
357088
357019
  7. When modifying files, choose the appropriate tool:
357089
357020
  - Use 'edit' for all code modifications:
357090
- * For small changes (a line or a few lines), use old_string + new_string \u2014 copy old_string verbatim from the file.
357091
- * For rewriting entire functions/classes/methods, use the symbol parameter instead (no exact text matching needed).
357092
- * For editing specific lines from search/extract output, use start_line (and optionally end_line) with the line numbers shown in the output.${this.hashLines ? ' Line references include content hashes (e.g. "42:ab") for integrity verification.' : ""}
357021
+ * PREFERRED: Use start_line (and optionally end_line) for line-targeted editing \u2014 this is the safest and most precise approach.${this.hashLines ? ' Use the line:hash references from extract/search output (e.g. "42:ab") for integrity verification.' : ""} Always use extract first to see line numbers${this.hashLines ? " and hashes" : ""}, then edit by line reference.
357093
357022
  * For editing inside large functions: first use extract with the symbol target (e.g. "file.js#myFunction") to see the function with line numbers${this.hashLines ? " and hashes" : ""}, then use start_line/end_line to surgically edit specific lines within it.
357094
- * IMPORTANT: Keep old_string as small as possible \u2014 include only the lines you need to change plus minimal context for uniqueness. For replacing large blocks (10+ lines), prefer line-targeted editing with start_line/end_line to constrain scope.
357023
+ * For rewriting entire functions/classes/methods, use the symbol parameter instead (no exact text matching needed).
357024
+ * FALLBACK ONLY: Use old_string + new_string for simple single-line changes where the text is unique. Copy old_string verbatim from the file. Keep old_string as small as possible.
357025
+ * IMPORTANT: After multiple edits to the same file, re-read the changed areas before continuing \u2014 use extract with a targeted symbol (e.g. "file.js#myFunction") or a line range (e.g. "file.js:50-80") instead of re-reading the full file.
357095
357026
  - Use 'create' for new files or complete file rewrites.
357096
357027
  - If an edit fails, read the error message \u2014 it tells you exactly how to fix the call and retry.
357097
357028
  - The system tracks which files you've seen via search/extract. If you try to edit a file you haven't read, or one that changed since you last read it, the edit will fail with instructions to re-read first. Always use extract before editing to ensure you have current file content.` : ""}
@@ -360333,6 +360264,15 @@ Example: <extract><targets>${displayPath}</targets></extract>`;
360333
360264
  if (typeof old_string !== "string") {
360334
360265
  return `Error editing file: Invalid old_string - must be a string. Provide the exact text to find in the file, or use the symbol parameter instead for AST-aware editing by name.`;
360335
360266
  }
360267
+ if (options.fileTracker) {
360268
+ const staleCheck = options.fileTracker.checkTextEditStaleness(resolvedPath2);
360269
+ if (!staleCheck.ok) {
360270
+ const displayPath = toRelativePath(resolvedPath2, workspaceRoot);
360271
+ return `Error editing ${displayPath}: ${staleCheck.message}
360272
+
360273
+ Example: <extract><targets>${displayPath}</targets></extract>`;
360274
+ }
360275
+ }
360336
360276
  const content = await import_fs11.promises.readFile(resolvedPath2, "utf-8");
360337
360277
  let matchTarget = old_string;
360338
360278
  let matchStrategy = "exact";
@@ -360366,7 +360306,10 @@ Example: <extract><targets>${displayPath}</targets></extract>`;
360366
360306
  return `Error editing file: No changes made - the replacement result is identical to the original. Verify that old_string and new_string are actually different. If fuzzy matching was used, the matched text may already equal new_string.`;
360367
360307
  }
360368
360308
  await import_fs11.promises.writeFile(resolvedPath2, newContent, "utf-8");
360369
- if (options.fileTracker) await options.fileTracker.trackFileAfterWrite(resolvedPath2);
360309
+ if (options.fileTracker) {
360310
+ await options.fileTracker.trackFileAfterWrite(resolvedPath2);
360311
+ options.fileTracker.recordTextEdit(resolvedPath2);
360312
+ }
360370
360313
  const replacedCount = replace_all ? occurrences : 1;
360371
360314
  if (debug) {
360372
360315
  console.error(`[Edit] Successfully edited ${resolvedPath2}, replaced ${replacedCount} occurrence(s)`);
@@ -396991,7 +396934,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"100":"Continue","101":"Switching Pro
396991
396934
  /***/ ((module) => {
396992
396935
 
396993
396936
  "use strict";
396994
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@probelabs/visor","version":"0.1.42","main":"dist/index.js","bin":{"visor":"./dist/index.js"},"exports":{".":{"require":"./dist/index.js","import":"./dist/index.js"},"./sdk":{"types":"./dist/sdk/sdk.d.ts","import":"./dist/sdk/sdk.mjs","require":"./dist/sdk/sdk.js"},"./cli":{"require":"./dist/index.js"}},"files":["dist/","defaults/","action.yml","README.md","LICENSE"],"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"scripts":{"build:cli":"ncc build src/index.ts -o dist && cp -r defaults dist/ && cp -r output dist/ && cp -r docs dist/ && cp -r examples dist/ && cp -r src/debug-visualizer/ui dist/debug-visualizer/ && node scripts/inject-version.js && echo \'#!/usr/bin/env node\' | cat - dist/index.js > temp && mv temp dist/index.js && chmod +x dist/index.js","build:sdk":"tsup src/sdk.ts --dts --sourcemap --format esm,cjs --out-dir dist/sdk","build":"./scripts/build-oss.sh","build:ee":"npm run build:cli && npm run build:sdk","test":"jest && npm run test:yaml","test:unit":"jest","prepublishOnly":"npm run build","test:watch":"jest --watch","test:coverage":"jest --coverage","test:ee":"jest --testPathPatterns=\'tests/ee\' --testPathIgnorePatterns=\'/node_modules/\' --no-coverage","test:manual:bash":"RUN_MANUAL_TESTS=true jest tests/manual/bash-config-manual.test.ts","lint":"eslint src tests --ext .ts","lint:fix":"eslint src tests --ext .ts --fix","format":"prettier --write src tests","format:check":"prettier --check src tests","clean":"","clean:traces":"node scripts/clean-traces.js","prebuild":"npm run clean && node scripts/generate-config-schema.js","pretest":"npm run clean:traces && node scripts/generate-config-schema.js && npm run build:cli","pretest:unit":"npm run clean:traces && node scripts/generate-config-schema.js && npm run build:cli","test:with-build":"npm run build:cli && jest","test:yaml":"node dist/index.js test --progress compact","test:yaml:parallel":"node dist/index.js test --progress compact --max-parallel 4","prepare":"husky","pre-commit":"lint-staged","deploy:site":"cd site && npx wrangler pages deploy . --project-name=visor-site --commit-dirty=true","deploy:worker":"npx wrangler deploy","deploy":"npm run deploy:site && npm run deploy:worker","publish:ee":"./scripts/publish-ee.sh","release":"./scripts/release.sh","release:patch":"./scripts/release.sh patch","release:minor":"./scripts/release.sh minor","release:major":"./scripts/release.sh major","release:prerelease":"./scripts/release.sh prerelease","docs:validate":"node scripts/validate-readme-links.js","workshop:setup":"npm install -D reveal-md@6.1.2","workshop:serve":"cd workshop && reveal-md slides.md -w","workshop:export":"reveal-md workshop/slides.md --static workshop/build","workshop:pdf":"reveal-md workshop/slides.md --print workshop/Visor-Workshop.pdf --print-size letter","workshop:pdf:ci":"reveal-md workshop/slides.md --print workshop/Visor-Workshop.pdf --print-size letter --puppeteer-launch-args=\\"--no-sandbox --disable-dev-shm-usage\\"","workshop:pdf:a4":"reveal-md workshop/slides.md --print workshop/Visor-Workshop-A4.pdf --print-size A4","workshop:build":"npm run workshop:export && npm run workshop:pdf","simulate:issue":"TS_NODE_TRANSPILE_ONLY=1 ts-node scripts/simulate-gh-run.ts --event issues --action opened --debug","simulate:comment":"TS_NODE_TRANSPILE_ONLY=1 ts-node scripts/simulate-gh-run.ts --event issue_comment --action created --debug"},"keywords":["code-review","ai","github-action","cli","pr-review","visor"],"author":"Probe Labs","license":"MIT","description":"AI workflow engine for code review, assistants, and automation — orchestrate checks, MCP tools, and AI providers with YAML-driven pipelines","repository":{"type":"git","url":"git+https://github.com/probelabs/visor.git"},"bugs":{"url":"https://github.com/probelabs/visor/issues"},"homepage":"https://github.com/probelabs/visor#readme","dependencies":{"@actions/core":"^1.11.1","@apidevtools/swagger-parser":"^12.1.0","@modelcontextprotocol/sdk":"^1.25.3","@nyariv/sandboxjs":"github:probelabs/SandboxJS#f1c13b8eee98734a8ea024061eada4aa9a9ff2e9","@octokit/action":"^8.0.2","@octokit/auth-app":"^8.1.0","@octokit/core":"^7.0.3","@octokit/rest":"^22.0.0","@opentelemetry/api":"^1.9.0","@opentelemetry/core":"^1.30.1","@opentelemetry/exporter-trace-otlp-grpc":"^0.203.0","@opentelemetry/exporter-trace-otlp-http":"^0.203.0","@opentelemetry/instrumentation":"^0.203.0","@opentelemetry/resources":"^1.30.1","@opentelemetry/sdk-metrics":"^1.30.1","@opentelemetry/sdk-node":"^0.203.0","@opentelemetry/sdk-trace-base":"^1.30.1","@opentelemetry/semantic-conventions":"^1.30.1","@probelabs/probe":"^0.6.0-rc266","@types/commander":"^2.12.0","@types/uuid":"^10.0.0","acorn":"^8.16.0","acorn-walk":"^8.3.5","ajv":"^8.17.1","ajv-formats":"^3.0.1","better-sqlite3":"^11.0.0","blessed":"^0.1.81","cli-table3":"^0.6.5","commander":"^14.0.0","deepmerge":"^4.3.1","dotenv":"^17.2.3","ignore":"^7.0.5","js-yaml":"^4.1.0","jsonpath-plus":"^10.4.0","liquidjs":"^10.21.1","minimatch":"^10.2.2","node-cron":"^3.0.3","open":"^9.1.0","simple-git":"^3.28.0","uuid":"^11.1.0","ws":"^8.18.3"},"optionalDependencies":{"@anthropic/claude-code-sdk":"npm:null@*","@open-policy-agent/opa-wasm":"^1.10.0","knex":"^3.1.0","mysql2":"^3.11.0","pg":"^8.13.0","tedious":"^19.0.0"},"devDependencies":{"@eslint/js":"^9.34.0","@kie/act-js":"^2.6.2","@kie/mock-github":"^2.0.1","@swc/core":"^1.13.2","@swc/jest":"^0.2.37","@types/better-sqlite3":"^7.6.0","@types/blessed":"^0.1.27","@types/jest":"^30.0.0","@types/js-yaml":"^4.0.9","@types/node":"^24.3.0","@types/node-cron":"^3.0.11","@types/ws":"^8.18.1","@typescript-eslint/eslint-plugin":"^8.42.0","@typescript-eslint/parser":"^8.42.0","@vercel/ncc":"^0.38.4","eslint":"^9.34.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","husky":"^9.1.7","jest":"^30.1.3","lint-staged":"^16.1.6","prettier":"^3.6.2","reveal-md":"^6.1.2","ts-json-schema-generator":"^1.5.1","ts-node":"^10.9.2","tsup":"^8.5.0","typescript":"^5.9.2","wrangler":"^3.0.0"},"peerDependenciesMeta":{"@anthropic/claude-code-sdk":{"optional":true}},"directories":{"test":"tests"},"lint-staged":{"src/**/*.{ts,js}":["eslint --fix","prettier --write"],"tests/**/*.{ts,js}":["eslint --fix","prettier --write"],"*.{json,md,yml,yaml}":["prettier --write"]}}');
396937
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@probelabs/visor","version":"0.1.42","main":"dist/index.js","bin":{"visor":"./dist/index.js"},"exports":{".":{"require":"./dist/index.js","import":"./dist/index.js"},"./sdk":{"types":"./dist/sdk/sdk.d.ts","import":"./dist/sdk/sdk.mjs","require":"./dist/sdk/sdk.js"},"./cli":{"require":"./dist/index.js"}},"files":["dist/","defaults/","action.yml","README.md","LICENSE"],"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"scripts":{"build:cli":"ncc build src/index.ts -o dist && cp -r defaults dist/ && cp -r output dist/ && cp -r docs dist/ && cp -r examples dist/ && cp -r src/debug-visualizer/ui dist/debug-visualizer/ && node scripts/inject-version.js && echo \'#!/usr/bin/env node\' | cat - dist/index.js > temp && mv temp dist/index.js && chmod +x dist/index.js","build:sdk":"tsup src/sdk.ts --dts --sourcemap --format esm,cjs --out-dir dist/sdk","build":"./scripts/build-oss.sh","build:ee":"npm run build:cli && npm run build:sdk","test":"jest && npm run test:yaml","test:unit":"jest","prepublishOnly":"npm run build","test:watch":"jest --watch","test:coverage":"jest --coverage","test:ee":"jest --testPathPatterns=\'tests/ee\' --testPathIgnorePatterns=\'/node_modules/\' --no-coverage","test:manual:bash":"RUN_MANUAL_TESTS=true jest tests/manual/bash-config-manual.test.ts","lint":"eslint src tests --ext .ts","lint:fix":"eslint src tests --ext .ts --fix","format":"prettier --write src tests","format:check":"prettier --check src tests","clean":"","clean:traces":"node scripts/clean-traces.js","prebuild":"npm run clean && node scripts/generate-config-schema.js","pretest":"npm run clean:traces && node scripts/generate-config-schema.js && npm run build:cli","pretest:unit":"npm run clean:traces && node scripts/generate-config-schema.js && npm run build:cli","test:with-build":"npm run build:cli && jest","test:yaml":"node dist/index.js test --progress compact","test:yaml:parallel":"node dist/index.js test --progress compact --max-parallel 4","prepare":"husky","pre-commit":"lint-staged","deploy:site":"cd site && npx wrangler pages deploy . --project-name=visor-site --commit-dirty=true","deploy:worker":"npx wrangler deploy","deploy":"npm run deploy:site && npm run deploy:worker","publish:ee":"./scripts/publish-ee.sh","release":"./scripts/release.sh","release:patch":"./scripts/release.sh patch","release:minor":"./scripts/release.sh minor","release:major":"./scripts/release.sh major","release:prerelease":"./scripts/release.sh prerelease","docs:validate":"node scripts/validate-readme-links.js","workshop:setup":"npm install -D reveal-md@6.1.2","workshop:serve":"cd workshop && reveal-md slides.md -w","workshop:export":"reveal-md workshop/slides.md --static workshop/build","workshop:pdf":"reveal-md workshop/slides.md --print workshop/Visor-Workshop.pdf --print-size letter","workshop:pdf:ci":"reveal-md workshop/slides.md --print workshop/Visor-Workshop.pdf --print-size letter --puppeteer-launch-args=\\"--no-sandbox --disable-dev-shm-usage\\"","workshop:pdf:a4":"reveal-md workshop/slides.md --print workshop/Visor-Workshop-A4.pdf --print-size A4","workshop:build":"npm run workshop:export && npm run workshop:pdf","simulate:issue":"TS_NODE_TRANSPILE_ONLY=1 ts-node scripts/simulate-gh-run.ts --event issues --action opened --debug","simulate:comment":"TS_NODE_TRANSPILE_ONLY=1 ts-node scripts/simulate-gh-run.ts --event issue_comment --action created --debug"},"keywords":["code-review","ai","github-action","cli","pr-review","visor"],"author":"Probe Labs","license":"MIT","description":"AI workflow engine for code review, assistants, and automation — orchestrate checks, MCP tools, and AI providers with YAML-driven pipelines","repository":{"type":"git","url":"git+https://github.com/probelabs/visor.git"},"bugs":{"url":"https://github.com/probelabs/visor/issues"},"homepage":"https://github.com/probelabs/visor#readme","dependencies":{"@actions/core":"^1.11.1","@apidevtools/swagger-parser":"^12.1.0","@modelcontextprotocol/sdk":"^1.25.3","@nyariv/sandboxjs":"github:probelabs/SandboxJS#f1c13b8eee98734a8ea024061eada4aa9a9ff2e9","@octokit/action":"^8.0.2","@octokit/auth-app":"^8.1.0","@octokit/core":"^7.0.3","@octokit/rest":"^22.0.0","@opentelemetry/api":"^1.9.0","@opentelemetry/core":"^1.30.1","@opentelemetry/exporter-trace-otlp-grpc":"^0.203.0","@opentelemetry/exporter-trace-otlp-http":"^0.203.0","@opentelemetry/instrumentation":"^0.203.0","@opentelemetry/resources":"^1.30.1","@opentelemetry/sdk-metrics":"^1.30.1","@opentelemetry/sdk-node":"^0.203.0","@opentelemetry/sdk-trace-base":"^1.30.1","@opentelemetry/semantic-conventions":"^1.30.1","@probelabs/probe":"^0.6.0-rc268","@types/commander":"^2.12.0","@types/uuid":"^10.0.0","acorn":"^8.16.0","acorn-walk":"^8.3.5","ajv":"^8.17.1","ajv-formats":"^3.0.1","better-sqlite3":"^11.0.0","blessed":"^0.1.81","cli-table3":"^0.6.5","commander":"^14.0.0","deepmerge":"^4.3.1","dotenv":"^17.2.3","ignore":"^7.0.5","js-yaml":"^4.1.0","jsonpath-plus":"^10.4.0","liquidjs":"^10.21.1","minimatch":"^10.2.2","node-cron":"^3.0.3","open":"^9.1.0","simple-git":"^3.28.0","uuid":"^11.1.0","ws":"^8.18.3"},"optionalDependencies":{"@anthropic/claude-code-sdk":"npm:null@*","@open-policy-agent/opa-wasm":"^1.10.0","knex":"^3.1.0","mysql2":"^3.11.0","pg":"^8.13.0","tedious":"^19.0.0"},"devDependencies":{"@eslint/js":"^9.34.0","@kie/act-js":"^2.6.2","@kie/mock-github":"^2.0.1","@swc/core":"^1.13.2","@swc/jest":"^0.2.37","@types/better-sqlite3":"^7.6.0","@types/blessed":"^0.1.27","@types/jest":"^30.0.0","@types/js-yaml":"^4.0.9","@types/node":"^24.3.0","@types/node-cron":"^3.0.11","@types/ws":"^8.18.1","@typescript-eslint/eslint-plugin":"^8.42.0","@typescript-eslint/parser":"^8.42.0","@vercel/ncc":"^0.38.4","eslint":"^9.34.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","husky":"^9.1.7","jest":"^30.1.3","lint-staged":"^16.1.6","prettier":"^3.6.2","reveal-md":"^6.1.2","ts-json-schema-generator":"^1.5.1","ts-node":"^10.9.2","tsup":"^8.5.0","typescript":"^5.9.2","wrangler":"^3.0.0"},"peerDependenciesMeta":{"@anthropic/claude-code-sdk":{"optional":true}},"directories":{"test":"tests"},"lint-staged":{"src/**/*.{ts,js}":["eslint --fix","prettier --write"],"tests/**/*.{ts,js}":["eslint --fix","prettier --write"],"*.{json,md,yml,yaml}":["prettier --write"]}}');
396995
396938
 
396996
396939
  /***/ })
396997
396940