@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.
package/dist/esm/index.js CHANGED
@@ -6581,6 +6581,7 @@ var html = create({
6581
6581
  onAbort: null,
6582
6582
  onAfterPrint: null,
6583
6583
  onAuxClick: null,
6584
+ onBeforeMatch: null,
6584
6585
  onBeforePrint: null,
6585
6586
  onBeforeUnload: null,
6586
6587
  onBlur: null,
@@ -6647,6 +6648,7 @@ var html = create({
6647
6648
  onReset: null,
6648
6649
  onResize: null,
6649
6650
  onScroll: null,
6651
+ onScrollEnd: null,
6650
6652
  onSecurityPolicyViolation: null,
6651
6653
  onSeeked: null,
6652
6654
  onSeeking: null,
@@ -7752,18 +7754,17 @@ function stringify(values) {
7752
7754
 
7753
7755
  // ../../node_modules/comma-separated-tokens/index.js
7754
7756
  function parse2(value) {
7755
- var tokens = [];
7756
- var input = String(value || "");
7757
- var index2 = input.indexOf(",");
7758
- var start = 0;
7759
- var end;
7760
- var token;
7757
+ const tokens = [];
7758
+ const input = String(value || "");
7759
+ let index2 = input.indexOf(",");
7760
+ let start = 0;
7761
+ let end = false;
7761
7762
  while (!end) {
7762
7763
  if (index2 === -1) {
7763
7764
  index2 = input.length;
7764
7765
  end = true;
7765
7766
  }
7766
- token = input.slice(start, index2).trim();
7767
+ const token = input.slice(start, index2).trim();
7767
7768
  if (token || !end) {
7768
7769
  tokens.push(token);
7769
7770
  }
@@ -7773,11 +7774,9 @@ function parse2(value) {
7773
7774
  return tokens;
7774
7775
  }
7775
7776
  function stringify2(values, options) {
7776
- var settings = options || {};
7777
- if (values[values.length - 1] === "") {
7778
- values = values.concat("");
7779
- }
7780
- return values.join(
7777
+ const settings = options || {};
7778
+ const input = values[values.length - 1] === "" ? [...values, ""] : values;
7779
+ return input.join(
7781
7780
  (settings.padRight ? " " : "") + "," + (settings.padLeft === false ? "" : " ")
7782
7781
  ).trim();
7783
7782
  }
@@ -15948,17 +15947,20 @@ var VFileMessage = class extends Error {
15948
15947
  }
15949
15948
  this.name = stringifyPosition(place) || "1:1";
15950
15949
  this.message = typeof reason === "object" ? reason.message : reason;
15951
- this.stack = typeof reason === "object" ? reason.stack : "";
15950
+ this.stack = "";
15951
+ if (typeof reason === "object" && reason.stack) {
15952
+ this.stack = reason.stack;
15953
+ }
15952
15954
  this.reason = this.message;
15953
15955
  this.fatal;
15954
15956
  this.line = position3.start.line;
15955
15957
  this.column = position3.start.column;
15958
+ this.position = position3;
15956
15959
  this.source = parts[0];
15957
15960
  this.ruleId = parts[1];
15958
- this.position = position3;
15961
+ this.file;
15959
15962
  this.actual;
15960
15963
  this.expected;
15961
- this.file;
15962
15964
  this.url;
15963
15965
  this.note;
15964
15966
  }