AssafKr
10eead6d42
Handle quoted strings in data url ( #84 )
...
* handle quoted strings in data url
* unrefactor
* update package json
* Revert "update package json"
This reverts commit 9446109b0f94d9e569a961642f1e57b1a67793ee.
* change background-image to border-image
2021-07-11 16:47:58 +08:00
Yanzhen Yu
583db22016
Release 1.1.6
2021-06-30 22:42:47 +08:00
Justin Halsall
775291042d
move maskInputValue to rrweb-snapshot ( #83 )
...
More info: https://github.com/rrweb-io/rrweb/pull/602#discussion_r660434998
2021-06-30 22:41:37 +08:00
Yanzhen Yu
5175b08a5a
Release 1.1.5
2021-06-29 18:45:11 +08:00
Yanzhen Yu
778b22dc81
format code
2021-06-29 18:37:49 +08:00
bachmanity1
b1a8b6926a
add keepIframeSrcFn option ( #81 )
...
* add allowIframe option to snapshot
* rename allowIframe to keepIframeSrcFn
2021-06-29 18:07:47 +08:00
Yun Feng
2cf4ddd9e2
style(rebuild.ts snapshot.ts): format code
2021-06-23 16:58:38 +08:00
bachmanity1
f5509d3a47
fix media playback bug ( #80 )
2021-06-23 16:54:01 +08:00
Yanzhen Yu
d9d3e5461a
Release 1.1.4
2021-06-10 19:37:55 +08:00
Lucky Feng
079ecd4972
fix: "Uncaught TypeError: Cannot read property 'insertRule' of null" caused by CSP style-src ( #79 )
2021-06-09 18:55:03 +08:00
Justin Halsall
6710e2c0e3
Fixes https://github.com/rrweb-io/rrweb/issues/567 ( #78 )
2021-06-06 21:52:51 +08:00
mgoshorn
9fbd7e1661
Updates regex used to validate tagnames to allow for tagnames that include namespace information (esp: svg tags) ( #77 )
...
Co-authored-by: Mitch Goshorn <mitch.goshorn@calmid.com >
2021-05-27 19:17:09 +08:00
Yanzhen Yu
4059b2a469
Release 1.1.3
2021-05-13 02:22:31 +08:00
Yanzhen Yu
0d1dbdd0a7
related to #75 mask password input by default
2021-05-13 02:18:54 +08:00
Justin Halsall
0bb95f1ee7
Allow password to be maskable instead of ignorable ( #65 )
...
* Add password to maskInputOptions on types
* Add password on maskInputOptions to types definition
2021-05-13 02:13:44 +08:00
Eoghan Murray
362359eccc
Improve parsing of srcset according to whatwg spec ( #74 )
...
* Improve parsing of srcset according to whatwg spec; e.g. srcset="http://example.com/size400,300/img.jpg 640w"
* Trim/normalise the output in order to conform to prior version; solely to keep tests happy
* Add test case for embedded commas in a srcset url as well as support for future possible parenthesis in descriptor string
* Drop 'future proof' test as it causes an error message in test output
2021-05-04 13:28:38 +08:00
Yanzhen Yu
7850a75c83
Release 1.1.2
2021-04-22 15:38:27 +08:00
re-fort
a0d82589b7
Enable to mask texts ( #73 )
...
* chore: reorder options
* feat: enable to mask texts
* feat: add the default mask function
* refactor: rename options to identify the difference between mask text and mask input
* test: add tests about masking
2021-04-22 15:34:36 +08:00
Justin Halsall
3c2d7c1eea
Speed up addHoverClass on large stylesheets ( #72 )
...
* speed up addHoverClass on large style sheets
* longer strings first to prevent accidental partial matches
* can add hover class when there is a multi selector with the same prefix
* tweak performance
2021-04-22 15:32:50 +08:00
Yanzhen Yu
9dfbd522bf
Release 1.1.1
2021-03-28 17:51:26 +08:00
Yanzhen Yu
9d6696befd
add isShadow flag if a node is under shadow root
2021-03-28 17:49:41 +08:00
Yanzhen Yu
5f96f775e8
update typings
2021-03-21 14:50:35 +08:00
Yanzhen Yu
1192735af4
Release 1.1.0
2021-03-21 14:50:01 +08:00
Yanzhen Yu
88f348a57b
snapshot and rebuild shadow DOM
...
https://github.com/rrweb-io/rrweb/issues/38
2021-03-13 20:46:18 +08:00
Yanzhen Yu
cf5c34592e
add typings script to prepack
2021-02-27 18:00:56 +08:00
Eoghan Murray
4bf3073d80
Found an example in the wild of the deprecated pre-css way of adding a background image to table cells ( #69 )
2021-02-27 17:59:42 +08:00
Yanzhen Yu
8307c87ced
using for loop instead of forEach in element classlists
...
pick #64 and close #68
2021-02-25 21:15:14 +08:00
Province Innovation
dbdf58a29d
Valid tag names can include any digit [0-9] ( #66 )
2021-02-25 09:49:47 +08:00
Justin Halsall
2ad7be639b
Adding prepare & prepack npm statement ( #67 )
...
* Add prepare & prepack
* Create .npmignore
* remove node_modules, they might be needed
2021-02-19 12:02:13 +08:00
Yanzhen Yu
2a9057d4f2
Release 1.0.7
2021-02-18 12:00:16 +08:00
Yanzhen Yu
a591a53195
safe access iframe document
2021-02-18 11:59:41 +08:00
Yanzhen Yu
1ad1e524e3
Release 1.0.6
2021-02-10 21:28:10 +08:00
Yanzhen Yu
d7668efbcf
add iframe load timeout
2021-02-10 21:26:07 +08:00
Yanzhen Yu
1dbe2c1218
Release 1.0.5
2021-02-07 14:01:45 +08:00
yz-yu
98aa732d17
nested record iframe ( #63 )
...
* pick nested branch
* iframe snapshot
* temp: add bundle file to git
* revert ignore file
* refactor iframe impl
1. do callback one iframe is loaded, let rrweb handle the rest
2. handle iframe as normal element in rebuild
* rename hook function
2021-02-07 14:00:22 +08:00
Yanzhen Yu
a3ff5e5ea8
Release 1.0.4
2021-02-04 14:49:20 +08:00
Yanzhen Yu
c7f4c36702
fix href value
2021-02-04 14:48:28 +08:00
Yanzhen Yu
c1c687ad93
Release 1.0.3
2021-01-16 21:24:40 +08:00
丶Cccccc
98cc4ee709
bugfix: svg url中id name被误转为绝对路径 ( #59 )
...
Co-authored-by: wanglei002 <wanglei002@sensorsdata.cn >
2021-01-16 21:22:45 +08:00
cgf
e1c90aae9a
svg xlink:href 路径问题 ( #55 )
...
* feat: 修改在svg , xlink:href 相对路径改为绝对路径
* feat: 修改在svg , xlink:href 路径
* feat: 修改在svg, 图片路径问题
* feat: 修改在svg, 图片路径问题
* feat: 修改在svg , xlink:href 路径
Co-authored-by: caogf <caogf@guahao.com >
2021-01-16 21:21:52 +08:00
Yanzhen Yu
7cd09daad0
Release 1.0.2
2021-01-02 14:35:58 +08:00
Yanzhen Yu
1cc7164f2c
fix https://github.com/rrweb-io/rrweb-snapshot/issues/56
...
safe access tagName of form element
2020-12-21 12:37:13 +08:00
Yanzhen Yu
b6ca577f3e
Release 1.0.1
2020-11-29 14:38:04 +08:00
Yanzhen Yu
6c2d85049a
fix https://github.com/rrweb-io/rrweb/issues/395
2020-11-29 14:37:11 +08:00
Yanzhen Yu
924d2d9911
Release 1.0.0
2020-11-29 13:34:33 +08:00
Yanzhen Yu
852632656f
refactoring public API
2020-11-29 13:22:01 +08:00
Yanzhen Yu
555398d3f5
close #38 , update data uri regexp
2020-11-21 11:05:08 +08:00
Yanzhen Yu
da182f4927
fix lint
2020-11-21 11:03:43 +08:00
Yanzhen Yu
c489e06acf
Release 0.8.4
2020-10-24 16:13:58 +08:00
Karl-Aksel Puulmann
036d3df692
Allow blocking elements by selector ( #50 )
...
* Extract method (isElementBlocked) and add tests
* Add blockSelector argument to snapshot
If blockSelector is passed, it will be matched against the element.
Reasoning: Mutating class names can get messy, so providing another hook
helps keep code clean by using data-attributes instead.
2020-10-24 16:11:39 +08:00