@appsurify-testmap/rrweb-all 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.
@@ -11683,7 +11683,7 @@ class MutationBuffer {
11683
11683
  let value = m.target.getAttribute(attributeName);
11684
11684
  const propValue = target[attributeName];
11685
11685
  const isPhantomAttributeMutation = value === null && !target.hasAttribute(attributeName) && m.oldValue !== null && (propValue === "" || propValue === null || typeof propValue === "undefined");
11686
- if (isPhantomAttributeMutation && !isIncludeAttribute(attributeName, this.includeAttribute)) {
11686
+ if (isPhantomAttributeMutation) {
11687
11687
  return;
11688
11688
  }
11689
11689
  if (isExcludeAttribute(attributeName, this.excludeAttribute)) {
@@ -11731,12 +11731,8 @@ class MutationBuffer {
11731
11731
  toLowerCase(attributeName),
11732
11732
  value
11733
11733
  );
11734
- if (value === item.attributes[attributeName] && !isIncludeAttribute(attributeName, this.includeAttribute)) {
11735
- delete item.attributes[attributeName];
11736
- if (Object.keys(item.attributes).length === 0) {
11737
- this.attributes = this.attributes.filter((a2) => a2 !== item);
11738
- this.attributeMap.delete(m.target);
11739
- }
11734
+ if (value === item.attributes[attributeName]) {
11735
+ console.debug("[rrweb-record] A questionable mutation that needs to be investigated in the future.");
11740
11736
  return;
11741
11737
  }
11742
11738
  if (attributeName === "style") {