@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.cjs
CHANGED
|
@@ -624,7 +624,10 @@ function markCssSplits(cssText, style) {
|
|
|
624
624
|
}
|
|
625
625
|
function obfuscateText(text) {
|
|
626
626
|
text = text.replace(/[^ -~]+/g, "");
|
|
627
|
-
text = (text == null ? void 0 : text.split(" ").map((word) =>
|
|
627
|
+
text = (text == null ? void 0 : text.split(" ").map((word) => {
|
|
628
|
+
if (!word) return "";
|
|
629
|
+
return Math.random().toString(20).substring(2, word.length + 2);
|
|
630
|
+
}).join(" ")) || "";
|
|
628
631
|
return text;
|
|
629
632
|
}
|
|
630
633
|
function isElementSrcBlocked(tagName) {
|
|
@@ -16853,6 +16856,7 @@ class Replayer {
|
|
|
16853
16856
|
this.usingVirtualDom = false;
|
|
16854
16857
|
}
|
|
16855
16858
|
this.mirror.reset();
|
|
16859
|
+
this.newDocumentQueue = [];
|
|
16856
16860
|
rebuild(event.data.node, {
|
|
16857
16861
|
doc: this.iframe.contentDocument,
|
|
16858
16862
|
afterAppend,
|