Yanzhen Yu
ef0b4b403c
Release 0.7.14
2026-04-01 12:00:00 +08:00
Yanzhen Yu
fbfdafae34
remove child node before set default value
2026-04-01 12:00:00 +08:00
Yanzhen Yu
0a502e83ed
update typings
2026-04-01 12:00:00 +08:00
Yanzhen Yu
daacbb1d07
Release 0.7.13
2026-04-01 12:00:00 +08:00
Yanzhen Yu
6457f9ff62
fix #14 fix innerText cap issue
2026-04-01 12:00:00 +08:00
Yanzhen Yu
21e8affa2b
Use css parser to add hover class name to selectors.
...
Previously we use a regexp to match all the CSS selectors and add
our hover class name to it, which has been proved not solid and
may be very slow in some situation.
Using a production ready css parser can handle this better and also
provide ability's to do more accurate things to the recorded
stylesheets.
2026-04-01 12:00:00 +08:00
Yanzhen Yu
c5b0f985da
Release 0.7.12
2026-04-01 12:00:00 +08:00
Yanzhen Yu
6ecaaa2560
add mask all inputs option to snapshot
2026-04-01 12:00:00 +08:00
Yanzhen Yu
06f1a28a0a
Release 0.7.11
2026-04-01 12:00:00 +08:00
Yanzhen Yu
1a3b17bae4
format code
2026-04-01 12:00:00 +08:00
Razvan Sandu
149c78802a
Allow rendering image tags inside svgs during replay ( #13 )
2026-04-01 12:00:00 +08:00
Benoît Zugmeyer
ad816f7b7f
reuse serialized nodes ids ( #12 )
...
* reuse serialized nodes ids
With this patch, each DOM node keeps its id during its existence. This
allows to apply RRWeb events to previous snapshots if needed.
`resetId` has been removed because it loses its meaning: calling it
would not reset the existing nodes ids anymore, only the new ones.
Since we don't reset the id anymore, we may exhaust the available ids
quicker, but Number.MAX_SAFE_INTEGER (2 ** 53 - 1) is pretty large, so I
doubt this'll cause any problem.
* improv TS typing
The `nAsINode` variable was not very elegant. Simplify this by removing
the cast, and make the INode interface compatible with Node.
* update typings
2026-04-01 12:00:00 +08:00
Yanzhen Yu
2c5bb90b2f
Release 0.7.10
2026-04-01 12:00:00 +08:00
Yanzhen Yu
cf5e17503d
pass inline stylesheet option to iteratly
2026-04-01 12:00:00 +08:00
Yanzhen Yu
75b0a39997
Release 0.7.9
2026-04-01 12:00:00 +08:00
Yanzhen Yu
c4da047b9f
add inline option which can bypass the inline stylesheet
2026-04-01 12:00:00 +08:00
Whalefreezer
68b97e40a2
add support for css @import rules ( #11 )
2026-04-01 12:00:00 +08:00
Yanzhen Yu
fe59f07e9e
Release 0.7.8
2026-04-01 12:00:00 +08:00
Yanzhen Yu
11f8a78f71
update typings
2026-04-01 12:00:00 +08:00
Yanzhen Yu
76ba992d06
Release 0.7.7
2026-04-01 12:00:00 +08:00
Yanzhen Yu
b72e01c2fc
accept RegExp type block class config
2026-04-01 12:00:00 +08:00
Yanzhen Yu
bd42510e23
update typescript and fix test cases
2026-04-01 12:00:00 +08:00
Yanzhen Yu
005f7732ad
Release 0.7.6
2026-04-01 12:00:00 +08:00
Yanzhen Yu
15dd46aadb
add typings folder to npm files
2026-04-01 12:00:00 +08:00
Yanzhen Yu
21f299a895
Release 0.7.5
2026-04-01 12:00:00 +08:00
Yanzhen Yu
1534dcf0d8
add typings autogen command
2026-04-01 12:00:00 +08:00
Sam Mason
e21921a2da
Make block css class optional & fix test ( #6 )
...
* Make block class optional
* Fix test by removing unexpected space space
2026-04-01 12:00:00 +08:00
Yanzhen Yu
f4ddd261e0
Release 0.7.4
2026-04-01 12:00:00 +08:00
Yanzhen Yu
29f2e42978
iterate style element to get css rules string
2026-04-01 12:00:00 +08:00
Yanzhen Yu
cf210efb56
Release 0.7.3
2026-04-01 12:00:00 +08:00
Yanzhen Yu
67027d8be6
handle empty url path
2026-04-01 12:00:00 +08:00
The Gitter Badger
c4b72edcf3
Add Gitter badge ( #9 )
2026-04-01 12:00:00 +08:00
Yanzhen Yu
238acc4b06
Release 0.7.2
2026-04-01 12:00:00 +08:00
Yanzhen Yu
205d3b4aeb
fix the format and use window.location
2026-04-01 12:00:00 +08:00
Daniël van de Giessen
4ed15164c9
Fixed detection of multiple consecutive CSS URLs without quotes ( #4 )
2026-04-01 12:00:00 +08:00
Daniël van de Giessen
61c50c2122
Parse style attributes for absolute URL paths ( #5 )
2026-04-01 12:00:00 +08:00
Yanzhen Yu
c6552fbcca
Release 0.7.1
2026-04-01 12:00:00 +08:00
Daniël van de Giessen
53a0887e9e
Cross-platform npm scripts using cross-env ( #2 )
2026-04-01 12:00:00 +08:00
Yanzhen Yu
15c66d1fe7
Release 0.7.0
2026-04-01 12:00:00 +08:00
Yanzhen Yu
6259ae631d
add camel case svg element tag names to tag map
2026-04-01 12:00:00 +08:00
Yanzhen Yu
ca8288802f
do not add origin before data uri image
2026-04-01 12:00:00 +08:00
Yanzhen Yu
a75a35b832
Release 0.6.11
2026-04-01 12:00:00 +08:00
Yanzhen Yu
55ce53ffa0
close before open to make sure document was closed
2026-04-01 12:00:00 +08:00
Yanzhen Yu
7f03296b5f
Release 0.6.10
2026-04-01 12:00:00 +08:00
Yanzhen Yu
259a929a76
delete not needed props
2026-04-01 12:00:00 +08:00
Yanzhen Yu
66d71a3d2e
Release 0.6.9
2026-04-01 12:00:00 +08:00
Yanzhen Yu
2d1d3596b8
handle block element
2026-04-01 12:00:00 +08:00
Yanzhen Yu
9667a9ae46
update README
2026-04-01 12:00:00 +08:00
Yanzhen Yu
7aa3410aea
update the test snapshot
2026-04-01 12:00:00 +08:00
Yanzhen Yu
c73368a996
Release 0.6.8
2026-04-01 12:00:00 +08:00