Yanzhen Yu
6a4d9e4c67
use a fixed version of styled-components to make snapshot testing stable
2026-04-01 12:00:00 +08:00
Yanzhen Yu
4209ea7fe8
Update rollup
...
With rollup's preserveModules option and the sideEffects flag in
package.json, now we have the power of tree shaking.
2026-04-01 12:00:00 +08:00
yz-yu
dcad6ff922
Packer ( #172 )
...
* introduce pako and add general packer interface
* add tests for packer
* use function API instead of class API for better tree shaking support
* refcatoring the rollup bundle config
2026-04-01 12:00:00 +08:00
Yanzhen Yu
bd5aa59589
ignore style sheet changes before the target DOM was serialized
...
The serialized DOM will contains all the styles, so this looks safe.
2026-04-01 12:00:00 +08:00
Yanzhen Yu
79a7191916
add an integration tests for react and styled components
2026-04-01 12:00:00 +08:00
Yanzhen Yu
e194e08b17
make the unit tests more stable
2026-04-01 12:00:00 +08:00
David Cramer
3a0e829884
Add observers for stylesheet mutations ( #177 )
...
* hack together stylesheet observer
* Add test coverage for insertRule/deleteRule on stylesheets
* Add new observers
* update patch based on changes to master
* Functioning event recording
* Remove print statements
* Fix ID usage and mark add vs remove
* Correct type
Co-authored-by: Jon Perl <perl.jonathan@gmail.com >
2026-04-01 12:00:00 +08:00
Yanzhen Yu
26f9b1bfc8
fix types in replayer unit test
2026-04-01 12:00:00 +08:00
Yanzhen Yu
bae4dd8294
fix unit test types
2026-04-01 12:00:00 +08:00
Yanzhen Yu
f872ed143b
Revert "temp revert #81 "
...
This reverts commit 835161c737 .
2026-04-01 12:00:00 +08:00
Yanzhen Yu
602c848be6
update mask option test snapshot
2026-04-01 12:00:00 +08:00
Yanzhen Yu
2be090cc0d
temp revert #81
...
This patch introduce a breaking change in rrweb-record's API, so
we will revert it in 0.7.x and release it in 0.8.
2026-04-01 12:00:00 +08:00
Yanzhen Yu
d92a946926
impl #81 custom event
...
This is the record side impl of custom event, according to the
issue, we may also add first-class support for the custom event
tag like display color labels in the replayer-ui.
2026-04-01 12:00:00 +08:00
Yanzhen Yu
5c3619b795
tweak some code for mask input option
2026-04-01 12:00:00 +08:00
Sebastian Jakob
2502913883
Option to mask inputs ( #80 )
...
* Option to mask inputs
Added option 'maskAllInputs' to replace all user inputs with an Asterisk.
* Update types.d.ts
2026-04-01 12:00:00 +08:00
Yanzhen Yu
eaf339ed79
Upgrade the DOM mutation observer
...
This is an important patch contains some crtical bug fixes for
the DOM mutation observer.
Previously the observer did not handle complex DOM movement very
well. So in this patch we optimized this by distinguishing moved
node better and added a resolving queue to avoid the error caused
by ordering.
2026-04-01 12:00:00 +08:00
Yanzhen Yu
17751e528d
fix character data test snapshot with latest puppeteer
2026-04-01 12:00:00 +08:00
Yanzhen Yu
ebaa318d54
update typescript and fix test cases
2026-04-01 12:00:00 +08:00
Yanzhen Yu
931f71e738
update mutation observer handler
...
1. deep delete from adds set when node was dropped
2. remove node from dropped set when node was added again
2026-04-01 12:00:00 +08:00
yz-yu
329de4e9f7
update dependencies and generate typings ( #44 )
2026-04-01 12:00:00 +08:00
yz-yu
ca61d6b19e
fix remove node observer and check on the result of getNode ( #43 )
...
* check removed node and its parent before collect
* add more more checks on the result of getNode
2026-04-01 12:00:00 +08:00
yz-yu
081781d1ca
add checkout config to recorder ( #36 )
...
* add checkout config to recorder
* add test cases for checkout feature and extract assertSnapshot method
2026-04-01 12:00:00 +08:00
Yanzhen Yu
e4cb91e1e6
fix block strategy
...
If an element was blocked, its child nodes should also be blocked.
The interactions and mutations on the element and its child nodes
also need to be blocked.
2026-04-01 12:00:00 +08:00
Yanzhen Yu
97f1c30a37
add some unit tests to replayer
2026-04-01 12:00:00 +08:00
Yanzhen Yu
9a4640fa98
update puppeteer to use setContent with wait and housekeeping the declaration files
2026-04-01 12:00:00 +08:00
Yanzhen Yu
86beabd2bb
resolve #1 add ignore and block strategy for privacy purpose
2026-04-01 12:00:00 +08:00
Yanzhen Yu
b065b22f09
refactor the repl tool to support multipage apps and better dev
2026-04-01 12:00:00 +08:00
Yanzhen Yu
92faf502d0
add bundle watch
2026-04-01 12:00:00 +08:00
Yanzhen Yu
3cfe0c56b8
ignore href in integration test to avoid fail when code changed
2026-04-01 12:00:00 +08:00
Yanzhen Yu
c30cc04548
fix repl rollup config
2026-04-01 12:00:00 +08:00
Yanzhen Yu
632c6de677
update test command
2026-04-01 12:00:00 +08:00
Yanzhen Yu
500f89b1d0
add a repl mode for quick test
2026-04-01 12:00:00 +08:00
Yanzhen Yu
cbe80dbd2e
also resolve missing previous node
2026-04-01 12:00:00 +08:00
Yanzhen Yu
d3948d982e
temp hack the integration test cases
2026-04-01 12:00:00 +08:00
Yanzhen Yu
7c04836709
add travis build
2026-04-01 12:00:00 +08:00
Yanzhen Yu
4e0c401583
add select2.html snapshot test
2026-04-01 12:00:00 +08:00
Yanzhen Yu
6ce32f7994
filter text and attributes mutations which target tot a removed node
2026-04-01 12:00:00 +08:00
Yanzhen Yu
7c35cb2f49
check added nodes from removed nodes and dropped nodes
2026-04-01 12:00:00 +08:00
Yanzhen Yu
f75748674f
impl dynamic config and pause. Bump 0.3.0
2026-04-01 12:00:00 +08:00
Yanzhen Yu
5bbc29ef1a
add test infra and a basic record integration test
2026-04-01 12:00:00 +08:00