@appsurify-testmap/rrweb-record 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-record.cjs +3 -7
- package/dist/rrweb-record.cjs.map +1 -1
- package/dist/rrweb-record.js +3 -7
- package/dist/rrweb-record.js.map +1 -1
- package/dist/rrweb-record.umd.cjs +3 -7
- package/dist/rrweb-record.umd.cjs.map +2 -2
- package/dist/rrweb-record.umd.min.cjs +22 -22
- package/dist/rrweb-record.umd.min.cjs.map +3 -3
- package/package.json +4 -4
package/dist/rrweb-record.js
CHANGED
|
@@ -9794,7 +9794,7 @@ class MutationBuffer {
|
|
|
9794
9794
|
let value = m.target.getAttribute(attributeName);
|
|
9795
9795
|
const propValue = target[attributeName];
|
|
9796
9796
|
const isPhantomAttributeMutation = value === null && !target.hasAttribute(attributeName) && m.oldValue !== null && (propValue === "" || propValue === null || typeof propValue === "undefined");
|
|
9797
|
-
if (isPhantomAttributeMutation
|
|
9797
|
+
if (isPhantomAttributeMutation) {
|
|
9798
9798
|
return;
|
|
9799
9799
|
}
|
|
9800
9800
|
if (isExcludeAttribute(attributeName, this.excludeAttribute)) {
|
|
@@ -9842,12 +9842,8 @@ class MutationBuffer {
|
|
|
9842
9842
|
toLowerCase(attributeName),
|
|
9843
9843
|
value
|
|
9844
9844
|
);
|
|
9845
|
-
if (value === item.attributes[attributeName]
|
|
9846
|
-
|
|
9847
|
-
if (Object.keys(item.attributes).length === 0) {
|
|
9848
|
-
this.attributes = this.attributes.filter((a2) => a2 !== item);
|
|
9849
|
-
this.attributeMap.delete(m.target);
|
|
9850
|
-
}
|
|
9845
|
+
if (value === item.attributes[attributeName]) {
|
|
9846
|
+
console.debug("[rrweb-record] A questionable mutation that needs to be investigated in the future.");
|
|
9851
9847
|
return;
|
|
9852
9848
|
}
|
|
9853
9849
|
if (attributeName === "style") {
|