@tamagui/code-to-html 1.0.1-beta.220 → 1.0.1-beta.222

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.
@@ -6552,6 +6552,7 @@ var html = create({
6552
6552
  onAbort: null,
6553
6553
  onAfterPrint: null,
6554
6554
  onAuxClick: null,
6555
+ onBeforeMatch: null,
6555
6556
  onBeforePrint: null,
6556
6557
  onBeforeUnload: null,
6557
6558
  onBlur: null,
@@ -6618,6 +6619,7 @@ var html = create({
6618
6619
  onReset: null,
6619
6620
  onResize: null,
6620
6621
  onScroll: null,
6622
+ onScrollEnd: null,
6621
6623
  onSecurityPolicyViolation: null,
6622
6624
  onSeeked: null,
6623
6625
  onSeeking: null,
@@ -7723,18 +7725,17 @@ function stringify(values) {
7723
7725
 
7724
7726
  // ../../node_modules/comma-separated-tokens/index.js
7725
7727
  function parse2(value) {
7726
- var tokens = [];
7727
- var input = String(value || "");
7728
- var index2 = input.indexOf(",");
7729
- var start = 0;
7730
- var end;
7731
- var token;
7728
+ const tokens = [];
7729
+ const input = String(value || "");
7730
+ let index2 = input.indexOf(",");
7731
+ let start = 0;
7732
+ let end = false;
7732
7733
  while (!end) {
7733
7734
  if (index2 === -1) {
7734
7735
  index2 = input.length;
7735
7736
  end = true;
7736
7737
  }
7737
- token = input.slice(start, index2).trim();
7738
+ const token = input.slice(start, index2).trim();
7738
7739
  if (token || !end) {
7739
7740
  tokens.push(token);
7740
7741
  }
@@ -7744,11 +7745,9 @@ function parse2(value) {
7744
7745
  return tokens;
7745
7746
  }
7746
7747
  function stringify2(values, options) {
7747
- var settings = options || {};
7748
- if (values[values.length - 1] === "") {
7749
- values = values.concat("");
7750
- }
7751
- return values.join(
7748
+ const settings = options || {};
7749
+ const input = values[values.length - 1] === "" ? [...values, ""] : values;
7750
+ return input.join(
7752
7751
  (settings.padRight ? " " : "") + "," + (settings.padLeft === false ? "" : " ")
7753
7752
  ).trim();
7754
7753
  }
@@ -9375,17 +9374,20 @@ var VFileMessage = class extends Error {
9375
9374
  }
9376
9375
  this.name = stringifyPosition(place) || "1:1";
9377
9376
  this.message = typeof reason === "object" ? reason.message : reason;
9378
- this.stack = typeof reason === "object" ? reason.stack : "";
9377
+ this.stack = "";
9378
+ if (typeof reason === "object" && reason.stack) {
9379
+ this.stack = reason.stack;
9380
+ }
9379
9381
  this.reason = this.message;
9380
9382
  this.fatal;
9381
9383
  this.line = position3.start.line;
9382
9384
  this.column = position3.start.column;
9385
+ this.position = position3;
9383
9386
  this.source = parts[0];
9384
9387
  this.ruleId = parts[1];
9385
- this.position = position3;
9388
+ this.file;
9386
9389
  this.actual;
9387
9390
  this.expected;
9388
- this.file;
9389
9391
  this.url;
9390
9392
  this.note;
9391
9393
  }