@appsurify-testmap/rrweb-all 3.1.1-alpha.2 → 3.1.1-alpha.3
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/rrweb-all.cjs +30 -8
- package/dist/rrweb-all.cjs.map +1 -1
- package/dist/rrweb-all.js +30 -8
- package/dist/rrweb-all.js.map +1 -1
- package/dist/rrweb-all.umd.cjs +31 -8
- package/dist/rrweb-all.umd.cjs.map +2 -2
- package/dist/rrweb-all.umd.min.cjs +4 -4
- package/dist/rrweb-all.umd.min.cjs.map +3 -3
- package/package.json +4 -4
package/dist/rrweb-all.cjs
CHANGED
|
@@ -939,7 +939,14 @@ const U$1 = {
|
|
|
939
939
|
source: "dom-dsl"
|
|
940
940
|
};
|
|
941
941
|
function P$1(r2) {
|
|
942
|
-
|
|
942
|
+
if (/^[a-z]+-\d+$/i.test(r2) || /^[a-z]+(-[a-z]+)+-\d+$/i.test(r2) || /^[a-z]+(_[a-z]+)*_\d+$/i.test(r2) || /^\d+$/.test(r2) || /^:[a-z0-9]+:$/i.test(r2) || /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/i.test(r2))
|
|
943
|
+
return true;
|
|
944
|
+
if (/^[a-z]{1,3}[A-Za-z0-9]{8,}$/.test(r2)) {
|
|
945
|
+
const t2 = /\d/.test(r2), e2 = /[A-Z]/.test(r2), s2 = r2.length >= 20;
|
|
946
|
+
if (t2 && e2 || s2)
|
|
947
|
+
return true;
|
|
948
|
+
}
|
|
949
|
+
return !!(/^radix-/.test(r2) || /^mui-\d+$/.test(r2));
|
|
943
950
|
}
|
|
944
951
|
const Q$1 = /* @__PURE__ */ new Set([
|
|
945
952
|
"aria-labelledby",
|
|
@@ -1136,6 +1143,11 @@ const At$1 = [
|
|
|
1136
1143
|
/^(rtl|ltr):/,
|
|
1137
1144
|
// === FIX 4: Group and peer variants ===
|
|
1138
1145
|
/^(group|peer)(-hover|-focus|-active)?:/,
|
|
1146
|
+
// === Arbitrary pseudo-class/modifier variants (catch-all) ===
|
|
1147
|
+
// Matches any lowercase/hyphenated prefix followed by colon
|
|
1148
|
+
// e.g., file:bg-transparent, placeholder:text-gray, invalid:border-red, accept:text-primary
|
|
1149
|
+
// Must come AFTER semantic pattern checks to avoid false positives
|
|
1150
|
+
/^[a-z][a-z-]*:/,
|
|
1139
1151
|
// === FIX 4: Tailwind utilities with fraction values ===
|
|
1140
1152
|
/\/([\d.]+|full|auto|screen)$/,
|
|
1141
1153
|
// /50, /100, /full, /auto, /screen
|
|
@@ -13331,7 +13343,14 @@ const U = {
|
|
|
13331
13343
|
source: "dom-dsl"
|
|
13332
13344
|
};
|
|
13333
13345
|
function P(r2) {
|
|
13334
|
-
|
|
13346
|
+
if (/^[a-z]+-\d+$/i.test(r2) || /^[a-z]+(-[a-z]+)+-\d+$/i.test(r2) || /^[a-z]+(_[a-z]+)*_\d+$/i.test(r2) || /^\d+$/.test(r2) || /^:[a-z0-9]+:$/i.test(r2) || /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/i.test(r2))
|
|
13347
|
+
return true;
|
|
13348
|
+
if (/^[a-z]{1,3}[A-Za-z0-9]{8,}$/.test(r2)) {
|
|
13349
|
+
const t2 = /\d/.test(r2), e2 = /[A-Z]/.test(r2), s2 = r2.length >= 20;
|
|
13350
|
+
if (t2 && e2 || s2)
|
|
13351
|
+
return true;
|
|
13352
|
+
}
|
|
13353
|
+
return !!(/^radix-/.test(r2) || /^mui-\d+$/.test(r2));
|
|
13335
13354
|
}
|
|
13336
13355
|
const Q = /* @__PURE__ */ new Set([
|
|
13337
13356
|
"aria-labelledby",
|
|
@@ -13528,6 +13547,11 @@ const At = [
|
|
|
13528
13547
|
/^(rtl|ltr):/,
|
|
13529
13548
|
// === FIX 4: Group and peer variants ===
|
|
13530
13549
|
/^(group|peer)(-hover|-focus|-active)?:/,
|
|
13550
|
+
// === Arbitrary pseudo-class/modifier variants (catch-all) ===
|
|
13551
|
+
// Matches any lowercase/hyphenated prefix followed by colon
|
|
13552
|
+
// e.g., file:bg-transparent, placeholder:text-gray, invalid:border-red, accept:text-primary
|
|
13553
|
+
// Must come AFTER semantic pattern checks to avoid false positives
|
|
13554
|
+
/^[a-z][a-z-]*:/,
|
|
13531
13555
|
// === FIX 4: Tailwind utilities with fraction values ===
|
|
13532
13556
|
/\/([\d.]+|full|auto|screen)$/,
|
|
13533
13557
|
// /50, /100, /full, /auto, /screen
|
|
@@ -17981,7 +18005,7 @@ class ProcessedNodeManager {
|
|
|
17981
18005
|
destroy() {
|
|
17982
18006
|
}
|
|
17983
18007
|
}
|
|
17984
|
-
const version$1 = "3.1.1-alpha.
|
|
18008
|
+
const version$1 = "3.1.1-alpha.3";
|
|
17985
18009
|
let wrappedEmit;
|
|
17986
18010
|
let takeFullSnapshot$1;
|
|
17987
18011
|
let canvasManager;
|
|
@@ -20304,10 +20328,8 @@ class Replayer {
|
|
|
20304
20328
|
this.wrapper.appendChild(this.mouseTail);
|
|
20305
20329
|
}
|
|
20306
20330
|
this.iframe = document.createElement("iframe");
|
|
20307
|
-
const attributes = ["allow-same-origin"];
|
|
20308
|
-
if (this.config.UNSAFE_replayCanvas)
|
|
20309
|
-
attributes.push("allow-scripts");
|
|
20310
|
-
}
|
|
20331
|
+
const attributes = ["allow-same-origin", "allow-scripts"];
|
|
20332
|
+
if (this.config.UNSAFE_replayCanvas) ;
|
|
20311
20333
|
this.iframe.style.display = "none";
|
|
20312
20334
|
this.iframe.setAttribute("sandbox", attributes.join(" "));
|
|
20313
20335
|
this.disableInteract();
|
|
@@ -21503,7 +21525,7 @@ class Replayer {
|
|
|
21503
21525
|
this.config.logger.log(REPLAY_CONSOLE_PREFIX, ...args);
|
|
21504
21526
|
}
|
|
21505
21527
|
}
|
|
21506
|
-
const version = "3.1.1-alpha.
|
|
21528
|
+
const version = "3.1.1-alpha.3";
|
|
21507
21529
|
const { getVersion } = record;
|
|
21508
21530
|
const { isRecording } = record;
|
|
21509
21531
|
const { flushCustomEventQueue } = record;
|