@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.cjs
CHANGED
|
@@ -11700,7 +11700,7 @@ class MutationBuffer {
|
|
|
11700
11700
|
let value = m.target.getAttribute(attributeName);
|
|
11701
11701
|
const propValue = target[attributeName];
|
|
11702
11702
|
const isPhantomAttributeMutation = value === null && !target.hasAttribute(attributeName) && m.oldValue !== null && (propValue === "" || propValue === null || typeof propValue === "undefined");
|
|
11703
|
-
if (isPhantomAttributeMutation
|
|
11703
|
+
if (isPhantomAttributeMutation) {
|
|
11704
11704
|
return;
|
|
11705
11705
|
}
|
|
11706
11706
|
if (isExcludeAttribute(attributeName, this.excludeAttribute)) {
|
|
@@ -11748,12 +11748,8 @@ class MutationBuffer {
|
|
|
11748
11748
|
toLowerCase(attributeName),
|
|
11749
11749
|
value
|
|
11750
11750
|
);
|
|
11751
|
-
if (value === item.attributes[attributeName]
|
|
11752
|
-
|
|
11753
|
-
if (Object.keys(item.attributes).length === 0) {
|
|
11754
|
-
this.attributes = this.attributes.filter((a2) => a2 !== item);
|
|
11755
|
-
this.attributeMap.delete(m.target);
|
|
11756
|
-
}
|
|
11751
|
+
if (value === item.attributes[attributeName]) {
|
|
11752
|
+
console.debug("[rrweb-record] A questionable mutation that needs to be investigated in the future.");
|
|
11757
11753
|
return;
|
|
11758
11754
|
}
|
|
11759
11755
|
if (attributeName === "style") {
|