fix: Explicitly handle null attribute values (#1157)

* fix: Explicitly handle removed attributes

The attribute `value` can be null when a mutation observer triggers due to a removed attribute. This is currently not reflected by types and code.

* Apply formatting changes

* fix

* add changeset
This commit is contained in:
Francesco Novy
2023-02-27 20:32:56 +01:00
committed by GitHub
parent e65465e808
commit 8e47ca1021
7 changed files with 256 additions and 15 deletions

View File

@@ -0,0 +1,6 @@
---
'rrweb-snapshot': patch
'rrweb': patch
---
fix: Explicitly handle `null` attribute values