@appsurify-testmap/rrweb 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.cjs +3 -7
- package/dist/rrweb.cjs.map +1 -1
- package/dist/rrweb.js +3 -7
- package/dist/rrweb.js.map +1 -1
- package/dist/rrweb.umd.cjs +3 -7
- package/dist/rrweb.umd.cjs.map +2 -2
- package/dist/rrweb.umd.min.cjs +24 -24
- package/dist/rrweb.umd.min.cjs.map +3 -3
- package/package.json +5 -5
package/dist/rrweb.umd.cjs
CHANGED
|
@@ -11739,7 +11739,7 @@ class MutationBuffer {
|
|
|
11739
11739
|
let value = m.target.getAttribute(attributeName);
|
|
11740
11740
|
const propValue = target[attributeName];
|
|
11741
11741
|
const isPhantomAttributeMutation = value === null && !target.hasAttribute(attributeName) && m.oldValue !== null && (propValue === "" || propValue === null || typeof propValue === "undefined");
|
|
11742
|
-
if (isPhantomAttributeMutation
|
|
11742
|
+
if (isPhantomAttributeMutation) {
|
|
11743
11743
|
return;
|
|
11744
11744
|
}
|
|
11745
11745
|
if (isExcludeAttribute(attributeName, this.excludeAttribute)) {
|
|
@@ -11787,12 +11787,8 @@ class MutationBuffer {
|
|
|
11787
11787
|
toLowerCase(attributeName),
|
|
11788
11788
|
value
|
|
11789
11789
|
);
|
|
11790
|
-
if (value === item.attributes[attributeName]
|
|
11791
|
-
|
|
11792
|
-
if (Object.keys(item.attributes).length === 0) {
|
|
11793
|
-
this.attributes = this.attributes.filter((a2) => a2 !== item);
|
|
11794
|
-
this.attributeMap.delete(m.target);
|
|
11795
|
-
}
|
|
11790
|
+
if (value === item.attributes[attributeName]) {
|
|
11791
|
+
console.debug("[rrweb-record] A questionable mutation that needs to be investigated in the future.");
|
|
11796
11792
|
return;
|
|
11797
11793
|
}
|
|
11798
11794
|
if (attributeName === "style") {
|