@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 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 && !isIncludeAttribute(attributeName, this.includeAttribute)) {
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] && !isIncludeAttribute(attributeName, this.includeAttribute)) {
11752
- delete item.attributes[attributeName];
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") {