@appsurify-testmap/rrweb-all 2.1.0-alpha.6 → 2.1.0-alpha.7
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 +3 -7
- package/dist/rrweb-all.cjs.map +1 -1
- package/dist/rrweb-all.js +3 -7
- package/dist/rrweb-all.js.map +1 -1
- package/dist/rrweb-all.umd.cjs +3 -7
- package/dist/rrweb-all.umd.cjs.map +2 -2
- package/dist/rrweb-all.umd.min.cjs +24 -24
- package/dist/rrweb-all.umd.min.cjs.map +3 -3
- package/package.json +4 -4
package/dist/rrweb-all.cjs
CHANGED
|
@@ -11683,7 +11683,7 @@ class MutationBuffer {
|
|
|
11683
11683
|
let value = m.target.getAttribute(attributeName);
|
|
11684
11684
|
const propValue = target[attributeName];
|
|
11685
11685
|
const isPhantomAttributeMutation = value === null && !target.hasAttribute(attributeName) && m.oldValue !== null && (propValue === "" || propValue === null || typeof propValue === "undefined");
|
|
11686
|
-
if (isPhantomAttributeMutation
|
|
11686
|
+
if (isPhantomAttributeMutation) {
|
|
11687
11687
|
return;
|
|
11688
11688
|
}
|
|
11689
11689
|
if (isExcludeAttribute(attributeName, this.excludeAttribute)) {
|
|
@@ -11731,12 +11731,8 @@ class MutationBuffer {
|
|
|
11731
11731
|
toLowerCase(attributeName),
|
|
11732
11732
|
value
|
|
11733
11733
|
);
|
|
11734
|
-
if (value === item.attributes[attributeName]
|
|
11735
|
-
|
|
11736
|
-
if (Object.keys(item.attributes).length === 0) {
|
|
11737
|
-
this.attributes = this.attributes.filter((a2) => a2 !== item);
|
|
11738
|
-
this.attributeMap.delete(m.target);
|
|
11739
|
-
}
|
|
11734
|
+
if (value === item.attributes[attributeName]) {
|
|
11735
|
+
console.debug("[rrweb-record] A questionable mutation that needs to be investigated in the future.");
|
|
11740
11736
|
return;
|
|
11741
11737
|
}
|
|
11742
11738
|
if (attributeName === "style") {
|