@appsurify-testmap/rrweb-snapshot 3.1.1-alpha.2 → 3.2.0-alpha.1

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.
@@ -935,7 +935,14 @@ const U = {
935
935
  source: "dom-dsl"
936
936
  };
937
937
  function P(r) {
938
- return !!(/^[a-z]+-\d+$/i.test(r) || /^[a-z]+(-[a-z]+)+-\d+$/i.test(r) || /^[a-z]+(_[a-z]+)*_\d+$/i.test(r) || /^\d+$/.test(r) || /^:[a-z0-9]+:$/i.test(r) || /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/i.test(r) || /^[a-z]{1,3}[A-Za-z0-9]{8,}$/.test(r) && (/\d/.test(r) || /[A-Z]/.test(r)) || /^radix-/.test(r) || /^mui-\d+$/.test(r));
938
+ if (/^[a-z]+-\d+$/i.test(r) || /^[a-z]+(-[a-z]+)+-\d+$/i.test(r) || /^[a-z]+(_[a-z]+)*_\d+$/i.test(r) || /^\d+$/.test(r) || /^:[a-z0-9]+:$/i.test(r) || /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/i.test(r))
939
+ return true;
940
+ if (/^[a-z]{1,3}[A-Za-z0-9]{8,}$/.test(r)) {
941
+ const t = /\d/.test(r), e = /[A-Z]/.test(r), s = r.length >= 20;
942
+ if (t && e || s)
943
+ return true;
944
+ }
945
+ return !!(/^radix-/.test(r) || /^mui-\d+$/.test(r));
939
946
  }
940
947
  const Q = /* @__PURE__ */ new Set([
941
948
  "aria-labelledby",
@@ -1132,6 +1139,11 @@ const At = [
1132
1139
  /^(rtl|ltr):/,
1133
1140
  // === FIX 4: Group and peer variants ===
1134
1141
  /^(group|peer)(-hover|-focus|-active)?:/,
1142
+ // === Arbitrary pseudo-class/modifier variants (catch-all) ===
1143
+ // Matches any lowercase/hyphenated prefix followed by colon
1144
+ // e.g., file:bg-transparent, placeholder:text-gray, invalid:border-red, accept:text-primary
1145
+ // Must come AFTER semantic pattern checks to avoid false positives
1146
+ /^[a-z][a-z-]*:/,
1135
1147
  // === FIX 4: Tailwind utilities with fraction values ===
1136
1148
  /\/([\d.]+|full|auto|screen)$/,
1137
1149
  // /50, /100, /full, /auto, /screen