@highlight-run/rrweb 2.0.0-lambda.4 → 2.0.0-lambda.5
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.cjs +5 -1
- package/dist/rrweb.cjs.map +1 -1
- package/dist/rrweb.js +5 -1
- package/dist/rrweb.js.map +1 -1
- package/dist/rrweb.umd.cjs +5 -1
- package/dist/rrweb.umd.cjs.map +2 -2
- package/dist/rrweb.umd.min.cjs +2 -2
- package/dist/rrweb.umd.min.cjs.map +2 -2
- package/package.json +5 -5
package/dist/rrweb.umd.cjs
CHANGED
|
@@ -669,7 +669,10 @@ function markCssSplits(cssText, style) {
|
|
|
669
669
|
}
|
|
670
670
|
function obfuscateText(text) {
|
|
671
671
|
text = text.replace(/[^ -~]+/g, "");
|
|
672
|
-
text = (text == null ? void 0 : text.split(" ").map((word) =>
|
|
672
|
+
text = (text == null ? void 0 : text.split(" ").map((word) => {
|
|
673
|
+
if (!word) return "";
|
|
674
|
+
return Math.random().toString(20).substring(2, word.length + 2);
|
|
675
|
+
}).join(" ")) || "";
|
|
673
676
|
return text;
|
|
674
677
|
}
|
|
675
678
|
function isElementSrcBlocked(tagName) {
|
|
@@ -16858,6 +16861,7 @@ class Replayer {
|
|
|
16858
16861
|
this.usingVirtualDom = false;
|
|
16859
16862
|
}
|
|
16860
16863
|
this.mirror.reset();
|
|
16864
|
+
this.newDocumentQueue = [];
|
|
16861
16865
|
rebuild(event.data.node, {
|
|
16862
16866
|
doc: this.iframe.contentDocument,
|
|
16863
16867
|
afterAppend,
|