Yun Feng
83394c3db4
refactor: eliminate eslint errors ( #920 )
...
* refactor: eliminate eslint errors as many as I can
* refactor: fix more eslint errors in the record module
* LINT: fix @typescript-eslint/unbound-method
* LINT: fix all eslint errors in source code
* LINT: fix as many eslint warnings as possible
Co-authored-by: Justin Halsall <Juice10@users.noreply.github.com >
2022-07-10 15:49:20 +08:00
Justin Halsall
1355917e1b
Chore: Add issue/pr template and general housekeeping tools and docs ( #900 )
...
* Add linting
* Add issue templates and docs
* Add root eslint config and remove tslint
* Autofix lint issues
2022-05-22 09:59:42 +08:00
Justin Halsall
e4f680e8c9
Remove INode (node.__sn) and use Mirror as source of truth ( #868 )
...
* Move ids to weakmap
* Fix typo
* Move from INode to storing serialized data in mirror
* Update packages/rrweb-snapshot/src/rebuild.ts
Co-authored-by: Yun Feng <yun.feng@anu.edu.au >
* Remove unnessisary `as Node` typecastings
Fixes: https://github.com/rrweb-io/rrweb/pull/868#discussion_r842240758
* Remove unnessisary `as unknown as ...`
* Remove unnessisary `as unknown as ...`
* Reset mirror when recording starts
Solves: https://github.com/rrweb-io/rrweb/pull/868#discussion_r842249599
* API has changed for snapshot, change test to reflect that
* Allow for es5 compatibility
* Remove unnessisary as unknown as ... and change test to reflect the API change
* Refactor mirror to remove `nodeIdMap`
Fixes: https://github.com/rrweb-io/rrweb/pull/868#discussion_r842732696
Co-authored-by: Yun Feng <yun.feng@anu.edu.au >
2022-04-06 23:56:39 +08:00
Mark-fenng
bc319d510c
moved rrweb-snapshot into packages/rrweb-snapshot
2021-07-22 17:54:51 +08:00