Skip to content

Commit d874b3c

Browse files
authored
feat(replay): Upgrade rrweb packages to 2.15.0 (#11736)
Pulls in a bunch of commits from rrweb upstream to address some outstanding perf issues
1 parent 6f63c6a commit d874b3c

File tree

3 files changed

+30
-80
lines changed

3 files changed

+30
-80
lines changed

packages/replay-canvas/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"homepage": "https://docs.sentry.io/platforms/javascript/session-replay/",
7070
"devDependencies": {
7171
"@babel/core": "^7.17.5",
72-
"@sentry-internal/rrweb": "2.13.0"
72+
"@sentry-internal/rrweb": "2.15.0"
7373
},
7474
"dependencies": {
7575
"@sentry-internal/replay": "8.0.0-beta.3",

packages/replay-internal/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@
7070
"devDependencies": {
7171
"@babel/core": "^7.17.5",
7272
"@sentry-internal/replay-worker": "8.0.0-beta.3",
73-
"@sentry-internal/rrweb": "2.13.0",
74-
"@sentry-internal/rrweb-snapshot": "2.13.0",
73+
"@sentry-internal/rrweb": "2.15.0",
74+
"@sentry-internal/rrweb-snapshot": "2.15.0",
7575
"fflate": "^0.8.1",
7676
"jsdom-worker": "^0.2.1"
7777
},

yarn.lock

Lines changed: 27 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -6300,22 +6300,22 @@
63006300
dependencies:
63016301
"@sentry-internal/rrweb-snapshot" "2.11.0"
63026302

6303-
"@sentry-internal/rrdom@2.13.0":
6304-
version "2.13.0"
6305-
resolved "https://registry.yarnpkg.com/@sentry-internal/rrdom/-/rrdom-2.13.0.tgz#3bb77fd67e72f743d33699431d8f66efb193e951"
6306-
integrity sha512-Idm+phUohY74mu9KxFX+lhBqHAN7qTMB6TZGf1hKBn8CusGm91jdEoBe4xqwesnthe8a37svkf8D3CIsiblZPA==
6303+
"@sentry-internal/rrdom@2.15.0":
6304+
version "2.15.0"
6305+
resolved "https://registry.yarnpkg.com/@sentry-internal/rrdom/-/rrdom-2.15.0.tgz#1ac070a7a00664b2c5351c8ba13979369024128a"
6306+
integrity sha512-LDy2LbmEytIuV9vKTr2dK4iMCTTFTpNW/eJ6IoapB0syYBc4yuUsbH39s/gamxcR5Y7KjkySSh0XkMnCHyV5gg==
63076307
dependencies:
6308-
"@sentry-internal/rrweb-snapshot" "2.13.0"
6308+
"@sentry-internal/rrweb-snapshot" "2.15.0"
63096309

63106310
"@sentry-internal/[email protected]":
63116311
version "2.11.0"
63126312
resolved "https://registry.yarnpkg.com/@sentry-internal/rrweb-snapshot/-/rrweb-snapshot-2.11.0.tgz#1af79130604afea989d325465b209ac015b27c9a"
63136313
integrity sha512-1nP22QlplMNooSNvTh+L30NSZ+E3UcfaJyxXSMLxUjQHTGPyM1VkndxZMmxlKhyR5X+rLbxi/+RvuAcpM43VoA==
63146314

6315-
"@sentry-internal/rrweb-snapshot@2.13.0":
6316-
version "2.13.0"
6317-
resolved "https://registry.yarnpkg.com/@sentry-internal/rrweb-snapshot/-/rrweb-snapshot-2.13.0.tgz#47fb017b2031075cdd4f1b54c098c0bd8eb75e16"
6318-
integrity sha512-ftSybKlmddX9QsLXq02gMiWfuXEfyjysSJe0tvKxGMP2r1y4rS5h2qjJeKx+GYPhcGi1s48KkjphLNwHehqf4g==
6315+
"@sentry-internal/rrweb-snapshot@2.15.0":
6316+
version "2.15.0"
6317+
resolved "https://registry.yarnpkg.com/@sentry-internal/rrweb-snapshot/-/rrweb-snapshot-2.15.0.tgz#04c79d3dc723ed80e4f10685d5ebc6c1b90fcf1b"
6318+
integrity sha512-g/gqzKab6lQ/YvioIXVWQTaQXrUctepqIgXP7vYvpnU+ZmxmsOVd10gQuryDCSLYt2wQiwkffYyeaP2BVqxbwQ==
63196319

63206320
"@sentry-internal/[email protected]":
63216321
version "2.11.0"
@@ -6324,12 +6324,12 @@
63246324
dependencies:
63256325
"@sentry-internal/rrweb-snapshot" "2.11.0"
63266326

6327-
"@sentry-internal/rrweb-types@2.13.0":
6328-
version "2.13.0"
6329-
resolved "https://registry.yarnpkg.com/@sentry-internal/rrweb-types/-/rrweb-types-2.13.0.tgz#b68b9cf03c51626051bed9f8c41a40f1cf362991"
6330-
integrity sha512-noG66TvuN5xJuQAPfxHECW84XUsjYR95fytH6tSvPQQh7a0JUC+i5H76YSWdGhbu5eCMcrypzgATfw/GEN7bPA==
6327+
"@sentry-internal/rrweb-types@2.15.0":
6328+
version "2.15.0"
6329+
resolved "https://registry.yarnpkg.com/@sentry-internal/rrweb-types/-/rrweb-types-2.15.0.tgz#caeabffc227405110946447f30893aa037493b23"
6330+
integrity sha512-D3i9+G4h6gLlG/B1lkP3jc3pM84hP2d2WFGrapTBI0bJou822ERD3Wj9KBVPEkwsRM+qDZRqRMrq0PicdAqJAA==
63316331
dependencies:
6332-
"@sentry-internal/rrweb-snapshot" "2.13.0"
6332+
"@sentry-internal/rrweb-snapshot" "2.15.0"
63336333

63346334
"@sentry-internal/[email protected]":
63356335
version "2.11.0"
@@ -6345,14 +6345,14 @@
63456345
fflate "^0.4.4"
63466346
mitt "^3.0.0"
63476347

6348-
"@sentry-internal/rrweb@2.13.0":
6349-
version "2.13.0"
6350-
resolved "https://registry.yarnpkg.com/@sentry-internal/rrweb/-/rrweb-2.13.0.tgz#27f997a5922fa4af5990198b62a149bbf4c18833"
6351-
integrity sha512-Xi+Sg7T8+1UbIaW5l5zKNb+X7FlD7O0l8TZwZjMXVGQtfQcJTkPkrALspqZfUeaAtX+rQHQArcfpNhQWiDYezQ==
6348+
"@sentry-internal/rrweb@2.15.0":
6349+
version "2.15.0"
6350+
resolved "https://registry.yarnpkg.com/@sentry-internal/rrweb/-/rrweb-2.15.0.tgz#a38dff464624c7ab421579b5ec626007e10c9da8"
6351+
integrity sha512-WO2QJJMJYVcuc8aq6j4YEzNo512FZ2Ro7/04Ip1MYhPI4BpHhn3KI7lRoHvprZeVNYWXyBtiPy7JFehuVCppdw==
63526352
dependencies:
6353-
"@sentry-internal/rrdom" "2.13.0"
6354-
"@sentry-internal/rrweb-snapshot" "2.13.0"
6355-
"@sentry-internal/rrweb-types" "2.13.0"
6353+
"@sentry-internal/rrdom" "2.15.0"
6354+
"@sentry-internal/rrweb-snapshot" "2.15.0"
6355+
"@sentry-internal/rrweb-types" "2.15.0"
63566356
"@types/css-font-loading-module" "0.0.7"
63576357
"@xstate/fsm" "^1.4.0"
63586358
base64-arraybuffer "^1.0.1"
@@ -7785,17 +7785,7 @@
77857785
dependencies:
77867786
"@types/unist" "*"
77877787

7788-
"@types/history-4@npm:@types/[email protected]":
7789-
version "4.7.8"
7790-
resolved "https://registry.yarnpkg.com/@types/history/-/history-4.7.8.tgz#49348387983075705fe8f4e02fb67f7daaec4934"
7791-
integrity sha512-S78QIYirQcUoo6UJZx9CSP0O2ix9IaeAXwQi26Rhr/+mg7qqPy8TzaxHSUut7eGjL8WmLccT7/MXf304WjqHcA==
7792-
7793-
"@types/history-5@npm:@types/[email protected]":
7794-
version "4.7.8"
7795-
resolved "https://registry.yarnpkg.com/@types/history/-/history-4.7.8.tgz#49348387983075705fe8f4e02fb67f7daaec4934"
7796-
integrity sha512-S78QIYirQcUoo6UJZx9CSP0O2ix9IaeAXwQi26Rhr/+mg7qqPy8TzaxHSUut7eGjL8WmLccT7/MXf304WjqHcA==
7797-
7798-
"@types/history@*":
7788+
"@types/history-4@npm:@types/[email protected]", "@types/history-5@npm:@types/[email protected]", "@types/history@*":
77997789
version "4.7.8"
78007790
resolved "https://registry.yarnpkg.com/@types/history/-/history-4.7.8.tgz#49348387983075705fe8f4e02fb67f7daaec4934"
78017791
integrity sha512-S78QIYirQcUoo6UJZx9CSP0O2ix9IaeAXwQi26Rhr/+mg7qqPy8TzaxHSUut7eGjL8WmLccT7/MXf304WjqHcA==
@@ -8159,15 +8149,7 @@
81598149
"@types/history" "^3"
81608150
"@types/react" "*"
81618151

8162-
"@types/react-router-4@npm:@types/[email protected]":
8163-
version "5.1.14"
8164-
resolved "https://registry.yarnpkg.com/@types/react-router/-/react-router-5.1.14.tgz#e0442f4eb4c446541ad7435d44a97f8fe6df40da"
8165-
integrity sha512-LAJpqYUaCTMT2anZheoidiIymt8MuX286zoVFPM3DVb23aQBH0mAkFvzpd4LKqiolV8bBtZWT5Qp7hClCNDENw==
8166-
dependencies:
8167-
"@types/history" "*"
8168-
"@types/react" "*"
8169-
8170-
"@types/react-router-5@npm:@types/[email protected]":
8152+
"@types/react-router-4@npm:@types/[email protected]", "@types/react-router-5@npm:@types/[email protected]":
81718153
version "5.1.14"
81728154
resolved "https://registry.yarnpkg.com/@types/react-router/-/react-router-5.1.14.tgz#e0442f4eb4c446541ad7435d44a97f8fe6df40da"
81738155
integrity sha512-LAJpqYUaCTMT2anZheoidiIymt8MuX286zoVFPM3DVb23aQBH0mAkFvzpd4LKqiolV8bBtZWT5Qp7hClCNDENw==
@@ -26364,7 +26346,7 @@ react-is@^18.0.0:
2636426346
dependencies:
2636526347
"@remix-run/router" "1.0.2"
2636626348

26367-
"react-router-6@npm:[email protected]":
26349+
"react-router-6@npm:[email protected]", [email protected]:
2636826350
version "6.3.0"
2636926351
resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.3.0.tgz#3970cc64b4cb4eae0c1ea5203a80334fdd175557"
2637026352
integrity sha512-7Wh1DzVQ+tlFjkeo+ujvjSqSJmkt1+8JO+T5xklPlgrh70y7ogx75ODRW0ThWhY7S+6yEDks8TYrtQe/aoboBQ==
@@ -26379,13 +26361,6 @@ react-router-dom@^6.2.2:
2637926361
history "^5.2.0"
2638026362
react-router "6.3.0"
2638126363

26382-
26383-
version "6.3.0"
26384-
resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.3.0.tgz#3970cc64b4cb4eae0c1ea5203a80334fdd175557"
26385-
integrity sha512-7Wh1DzVQ+tlFjkeo+ujvjSqSJmkt1+8JO+T5xklPlgrh70y7ogx75ODRW0ThWhY7S+6yEDks8TYrtQe/aoboBQ==
26386-
dependencies:
26387-
history "^5.2.0"
26388-
2638926364
react@^18.0.0:
2639026365
version "18.0.0"
2639126366
resolved "https://registry.yarnpkg.com/react/-/react-18.0.0.tgz#b468736d1f4a5891f38585ba8e8fb29f91c3cb96"
@@ -28753,7 +28728,7 @@ string-template@~0.2.1:
2875328728
resolved "https://registry.yarnpkg.com/string-template/-/string-template-0.2.1.tgz#42932e598a352d01fc22ec3367d9d84eec6c9add"
2875428729
integrity sha1-QpMuWYo1LQH8IuwzZ9nYTuxsmt0=
2875528730

28756-
"string-width-cjs@npm:string-width@^4.2.0":
28731+
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3:
2875728732
version "4.2.3"
2875828733
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
2875928734
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -28788,15 +28763,6 @@ string-width@^3.0.0, string-width@^3.1.0:
2878828763
is-fullwidth-code-point "^2.0.0"
2878928764
strip-ansi "^5.1.0"
2879028765

28791-
string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3:
28792-
version "4.2.3"
28793-
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
28794-
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
28795-
dependencies:
28796-
emoji-regex "^8.0.0"
28797-
is-fullwidth-code-point "^3.0.0"
28798-
strip-ansi "^6.0.1"
28799-
2880028766
string-width@^5.0.0, string-width@^5.0.1, string-width@^5.1.2:
2880128767
version "5.1.2"
2880228768
resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794"
@@ -28892,7 +28858,7 @@ stringify-object@^3.2.1:
2889228858
is-obj "^1.0.1"
2889328859
is-regexp "^1.0.0"
2889428860

28895-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
28861+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
2889628862
version "6.0.1"
2889728863
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
2889828864
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -28920,13 +28886,6 @@ strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0:
2892028886
dependencies:
2892128887
ansi-regex "^4.1.0"
2892228888

28923-
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
28924-
version "6.0.1"
28925-
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
28926-
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
28927-
dependencies:
28928-
ansi-regex "^5.0.1"
28929-
2893028889
strip-ansi@^7.0.1:
2893128890
version "7.0.1"
2893228891
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.0.1.tgz#61740a08ce36b61e50e65653f07060d000975fb2"
@@ -31612,7 +31571,7 @@ workerpool@^6.4.0:
3161231571
resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.4.0.tgz#f8d5cfb45fde32fa3b7af72ad617c3369567a462"
3161331572
integrity sha512-i3KR1mQMNwY2wx20ozq2EjISGtQWDIfV56We+yGJ5yDs8jTwQiLLaqHlkBHITlCuJnYlVRmXegxFxZg7gqI++A==
3161431573

31615-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
31574+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
3161631575
version "7.0.0"
3161731576
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
3161831577
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
@@ -31639,15 +31598,6 @@ wrap-ansi@^6.0.1, wrap-ansi@^6.2.0:
3163931598
string-width "^4.1.0"
3164031599
strip-ansi "^6.0.0"
3164131600

31642-
wrap-ansi@^7.0.0:
31643-
version "7.0.0"
31644-
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
31645-
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
31646-
dependencies:
31647-
ansi-styles "^4.0.0"
31648-
string-width "^4.1.0"
31649-
strip-ansi "^6.0.0"
31650-
3165131601
wrap-ansi@^8.1.0:
3165231602
version "8.1.0"
3165331603
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"

0 commit comments

Comments
 (0)