Yanzhen Yu
|
b964d18ef7
|
allow skip child when serialize node and rebuild node
|
2026-04-01 12:00:00 +08:00 |
|
Yanzhen Yu
|
9a4c21c30f
|
refactor rebuild implementation which mount DOM onto the target document object
|
2026-04-01 12:00:00 +08:00 |
|
Yanzhen Yu
|
19eca4da6d
|
use document object from params instead of the one in the current scope
|
2026-04-01 12:00:00 +08:00 |
|
Yanzhen Yu
|
bbf23157c5
|
export reset id function
|
2026-04-01 12:00:00 +08:00 |
|
Yanzhen Yu
|
cb3efd427f
|
add data attribute to element when rebuild
|
2026-04-01 12:00:00 +08:00 |
|
Yanzhen Yu
|
0434129b00
|
return id node map when rebuild
|
2026-04-01 12:00:00 +08:00 |
|
Yanzhen Yu
|
9cf2c4c7ed
|
export serializeNodeWithId so rrweb could serialize newly added nodes
|
2026-04-01 12:00:00 +08:00 |
|
Yanzhen Yu
|
cfc8798b53
|
return id node map when snapshot
|
2026-04-01 12:00:00 +08:00 |
|
Yanzhen Yu
|
ac5293f162
|
add strict null check and fix codes
|
2026-04-01 12:00:00 +08:00 |
|
Yanzhen Yu
|
546743004b
|
update declaration file
|
2026-04-01 12:00:00 +08:00 |
|
Yanzhen Yu
|
7fadc986ec
|
refactor the test infra: use puppeteer instead of jsdom to get rid of some hack implementations
|
2026-04-01 12:00:00 +08:00 |
|
Yanzhen Yu
|
ed2bc918e0
|
setup tests
|
2026-04-01 12:00:00 +08:00 |
|