Commit Graph

1187 Commits

Author SHA1 Message Date
Yanzhen Yu
8a1d74f6cb Update rollup
With rollup's preserveModules option and the sideEffects flag in
package.json, now we have the power of tree shaking.
2020-04-07 22:11:46 +08:00
yz-yu
4f36d0e57d 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
2020-04-07 18:03:47 +08:00
Yanzhen Yu
b0451fc257 Release 0.4.5 2020-04-05 22:33:12 +08:00
Yanzhen Yu
6933a3b807 use player dimension to calc scale when fullscreen 2020-04-05 22:31:47 +08:00
Yanzhen Yu
18063bee33 Release 0.4.4 2020-04-05 22:14:52 +08:00
Yanzhen Yu
08d21b41ba allow scale over 1 2020-04-05 22:14:28 +08:00
Yanzhen Yu
b1723e1716 update rrweb 2020-04-05 22:10:27 +08:00
Yanzhen Yu
18129bab70 Release 0.7.31 2020-04-05 22:04:46 +08:00
Eoghan Murray
e12d240064 Keep track of pause/play state so that player doesn't accidentally 'unpause' a user pause action (#189) 2020-03-31 22:15:17 +08:00
Yanzhen Yu
318ce9eb09 Release 0.7.30 2020-03-29 22:25:57 +08:00
Yanzhen Yu
3f30c47cfb remove useless console.log 2020-03-29 22:05:07 +08:00
Yanzhen Yu
380819ca70 tolerate insertRule error since browser may throw Error on wrong prefix 2020-03-29 21:18:39 +08:00
Yanzhen Yu
6e38ae4735 avoid style sheet rules index overflow 2020-03-29 21:14:45 +08:00
Eoghan Murray
c14242e932 Avoid more common causes of 'blocked script execution' console.error messages in Chrome which are not exceptions (but look like them): (#30)
'Blocked script execution in '<page>' because the document's frame is sandboxed and the 'allow-scripts' permission is not set'
2020-03-26 23:15:41 +08:00
Yanzhen Yu
197526fbe8 ignore style sheet changes before the target DOM was serialized
The serialized DOM will contains all the styles, so this looks safe.
2020-03-22 00:36:20 +08:00
Yanzhen Yu
02a33faaf9 add an integration tests for react and styled components 2020-03-21 23:21:45 +08:00
Yanzhen Yu
5e549c4ee4 make the unit tests more stable 2020-03-21 22:18:08 +08:00
Yanzhen Yu
9f2f6757b3 update rrweb-snapshot 2020-03-14 15:20:18 +08:00
Yanzhen Yu
6245bee7bd Release 0.7.26 2020-03-14 14:48:41 +08:00
Yanzhen Yu
89445f3c50 close #29 add MIT license 2020-03-14 14:46:56 +08:00
James Bradley
86cf78822d H tags (#28)
* Failing test

* Allow numbers in el name tests

* Allow numbers in el names
2020-03-10 22:33:23 +08:00
Filip Slatinac
fc6c6c43d5 Checking node existence (#174)
* added our package

* reverted back to old rrweb snapshot

* Array.from does not capture all elements added in the set, we have to manually iterate through the iterator

* package lock

* checking if nodes are in the parent before we try inserting them
2020-03-01 15:02:32 +08:00
Eoghan Murray
444570b7fc Was experiencing case when a TouchEnd event occurred on a text element i.e. (nodeType: 3 / nodeName: #text) (#180)
This was a recording taken with rrweb 0.7.27 (3afff63970) and rrweb-snapshot 0.7.21 (a0dc9481b2) so issue may have been fixed in the intervening commits
2020-03-01 15:00:32 +08:00
Yanzhen Yu
10f192d54b Release 0.4.3 2020-02-28 19:53:55 +08:00
Yanzhen Yu
6e4a7c3637 add rrweb options 2020-02-28 19:53:31 +08:00
Yanzhen Yu
69094081ea Release 0.7.29 2020-02-28 19:52:06 +08:00
Yanzhen Yu
29296b6877 add trigger focus option to replayer, which may helps integration into other apps 2020-02-28 19:48:36 +08:00
Yanzhen Yu
1b834b6fe6 Release 0.4.2 2020-02-28 16:42:55 +08:00
Yanzhen Yu
fd9095f654 fix logic operator 2020-02-28 16:41:50 +08:00
Yanzhen Yu
a4e49ba741 Release 0.4.1 2020-02-28 16:25:48 +08:00
Yanzhen Yu
4e7b038c7b fix controller height compute 2020-02-28 16:25:08 +08:00
Yanzhen Yu
fa4b4299e7 Release 0.7.28 2020-02-26 09:58:36 +08:00
Yanzhen Yu
91cc57d032 update rrweb-snapshot 2020-02-26 09:58:08 +08:00
Yanzhen Yu
4118d32601 Release 0.7.25 2020-02-26 09:56:49 +08:00
David Cramer
9b7f8d6027 Add support for replaying StyleSheetRule events (#178) 2020-02-25 21:07:17 +08:00
Fizer Khan (பைசர் கான்)
7da67ec182 fix null issue. (#27) 2020-02-25 15:52:38 +08:00
David Cramer
046936b3e8 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>
2020-02-22 12:59:55 +08:00
Yanzhen Yu
b5e9b40f4d close #24 css text can be null 2020-01-26 20:08:52 +08:00
Yanzhen Yu
efea82fc29 fix dependency path 2020-01-12 21:44:43 +08:00
Yanzhen Yu
abfb90a778 impl media interactions recording
close #159
close #72
listen to HTMLMediaElement's play/pause events, and replay them
by programmatically play and pause the target element.
2020-01-12 21:37:01 +08:00
Yanzhen Yu
7c01ec3c27 Release 0.7.24 2020-01-12 18:02:12 +08:00
Yanzhen Yu
a7a3a76af1 add media state check 2020-01-12 18:01:37 +08:00
Yanzhen Yu
2d07b37701 close #153 emit event when it being casted 2019-12-08 16:45:21 +08:00
Yanzhen Yu
3afff63970 close #152
update rrweb-snapshot which contains the fix
2019-11-30 17:58:11 +08:00
Yanzhen Yu
2751762f81 update release it config 2019-11-30 17:57:47 +08:00
Yanzhen Yu
388ec6c30c Release 0.7.23 2019-11-30 17:56:52 +08:00
Yanzhen Yu
98fc939c9e allow release on not committed working dir 2019-11-30 17:56:32 +08:00
Yanzhen Yu
cdf7495cf7 update release it config 2019-11-30 17:52:05 +08:00
Yanzhen Yu
a739c0fbc6 Release 0.7.22 2019-11-30 17:50:48 +08:00
Filip Slatinac
f1cae2f68c added cssText check (#23)
* added cssText check

* added testing
2019-11-27 14:17:00 +08:00