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