Skip to content

Commit 50b54a9

Browse files
authored
upstream: merge commits up to 46f1b25 (#216)
Merges the following commits: * [Ensure there is separation of timestamps](rrweb-io#1455) * [perf(snapshot): avoid recreate element a every time](rrweb-io#1387) * [Fix that blob urls persist on the shared anchor element and can't be later modified](rrweb-io#1467) * [yarn format - prettier improvements & add .editorconfig](rrweb-io#1471) * [Fixup for background-clip replacement](rrweb-io#1476) * [Fix and test for bug](rrweb-io#1481)
2 parents 9fadbb2 + cbc4e92 commit 50b54a9

25 files changed

+247
-43
lines changed

.changeset/curvy-balloons-brake.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.changeset/eleven-bobcats-peel.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
'rrweb-snapshot': patch
3-
'rrweb': patch
2+
"rrweb-snapshot": patch
3+
"rrweb": patch
44
---
55

66
better support for coexistence with older libraries (e.g. MooTools & Prototype.js) which modify the in-built `Array.from` function

.changeset/fair-ducks-clean.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"rrweb-snapshot": patch
3+
"rrweb": patch
4+
---
5+
6+
Fix and test for bug #1457 which was affecting replay of complex tailwind css

.changeset/fast-pets-exist.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"rrweb-snapshot": patch
3+
"rrweb": patch
4+
---
5+
6+
Fixup for multiple background-clip replacement

.changeset/format-head-prettier.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.changeset/hungry-dodos-taste.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'rrweb-snapshot': patch
3+
---
4+
5+
Avoid recreating the same element every time, instead, we cache and we just update the element.
6+
7+
Before: 779k ops/s
8+
After: 860k ops/s
9+
10+
Benchmark: https://jsbench.me/ktlqztuf95/1

.changeset/little-moons-camp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
'rrweb-snapshot': minor
3-
'rrweb': minor
2+
"rrweb-snapshot": minor
3+
"rrweb": minor
44
---
55

66
feat: Better masking of option/radio/checkbox values

.changeset/nervous-kiwis-nail.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'rrweb-snapshot': patch
3+
'rrweb': patch
4+
---
5+
6+
Bugfix after #1434 perf improvements: fix that blob urls persist on the shared anchor element and can't be later modified

.changeset/twenty-tables-call.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
'rrweb-snapshot': patch
3-
'rrweb': patch
2+
"rrweb-snapshot": patch
3+
"rrweb": patch
44
---
55

66
Add `maskAttributesFn` to be called when transforming an attribute. This is typically used to determine if an attribute should be masked or not.

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
root = true
2+
3+
# initialized from https://prettier.io/docs/en/configuration.html#editorconfig
4+
[*]
5+
charset = utf-8
6+
insert_final_newline = true
7+
end_of_line = lf
8+
indent_style = space
9+
indent_size = 2
10+
max_line_length = 80
11+
quote_type = single
12+
13+
[.changeset/*.md]
14+
quote_type = double

0 commit comments

Comments
 (0)