@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.cjs
CHANGED
|
@@ -9796,7 +9796,7 @@ class MutationBuffer {
|
|
|
9796
9796
|
let value = m.target.getAttribute(attributeName);
|
|
9797
9797
|
const propValue = target[attributeName];
|
|
9798
9798
|
const isPhantomAttributeMutation = value === null && !target.hasAttribute(attributeName) && m.oldValue !== null && (propValue === "" || propValue === null || typeof propValue === "undefined");
|
|
9799
|
-
if (isPhantomAttributeMutation
|
|
9799
|
+
if (isPhantomAttributeMutation) {
|
|
9800
9800
|
return;
|
|
9801
9801
|
}
|
|
9802
9802
|
if (isExcludeAttribute(attributeName, this.excludeAttribute)) {
|
|
@@ -9844,12 +9844,8 @@ class MutationBuffer {
|
|
|
9844
9844
|
toLowerCase(attributeName),
|
|
9845
9845
|
value
|
|
9846
9846
|
);
|
|
9847
|
-
if (value === item.attributes[attributeName]
|
|
9848
|
-
|
|
9849
|
-
if (Object.keys(item.attributes).length === 0) {
|
|
9850
|
-
this.attributes = this.attributes.filter((a2) => a2 !== item);
|
|
9851
|
-
this.attributeMap.delete(m.target);
|
|
9852
|
-
}
|
|
9847
|
+
if (value === item.attributes[attributeName]) {
|
|
9848
|
+
console.debug("[rrweb-record] A questionable mutation that needs to be investigated in the future.");
|
|
9853
9849
|
return;
|
|
9854
9850
|
}
|
|
9855
9851
|
if (attributeName === "style") {
|