From 017867d7d951f2ad2662a87ad864f16f665e8e5c Mon Sep 17 00:00:00 2001 From: Billy Vong Date: Thu, 12 Dec 2024 14:46:59 -0500 Subject: [PATCH] feat(replay): Upgrade rrweb packages to 2.31.0 (#14689) Includes the following fixes: - fix: remote CSS does not get rebuilt properly ([#226](https://github.com/getsentry/rrweb/pull/226)) - fix(snapshot): Set attributes to null for remote CSS ([#227](https://github.com/getsentry/rrweb/pull/227)) - fix(snapshot): Change to ignore all link[rel="modulepreload"] ([#228](https://github.com/getsentry/rrweb/pull/228)) --- .../browser-integration-tests/package.json | 2 +- packages/replay-canvas/package.json | 2 +- packages/replay-internal/package.json | 4 +- yarn.lock | 42 +++++++++---------- 4 files changed, 25 insertions(+), 25 deletions(-) diff --git a/dev-packages/browser-integration-tests/package.json b/dev-packages/browser-integration-tests/package.json index b41d9e55cfb2..e9da36325bf7 100644 --- a/dev-packages/browser-integration-tests/package.json +++ b/dev-packages/browser-integration-tests/package.json @@ -42,7 +42,7 @@ "dependencies": { "@babel/preset-typescript": "^7.16.7", "@playwright/test": "^1.44.1", - "@sentry-internal/rrweb": "2.30.0", + "@sentry-internal/rrweb": "2.31.0", "@sentry/browser": "8.44.0", "axios": "1.7.7", "babel-loader": "^8.2.2", diff --git a/packages/replay-canvas/package.json b/packages/replay-canvas/package.json index 2a4a5d1505c3..678390d1cc69 100644 --- a/packages/replay-canvas/package.json +++ b/packages/replay-canvas/package.json @@ -65,7 +65,7 @@ }, "homepage": "https://docs.sentry.io/platforms/javascript/session-replay/", "devDependencies": { - "@sentry-internal/rrweb": "2.30.0" + "@sentry-internal/rrweb": "2.31.0" }, "dependencies": { "@sentry-internal/replay": "8.44.0", diff --git a/packages/replay-internal/package.json b/packages/replay-internal/package.json index 0f7882c14cb4..7e856661690c 100644 --- a/packages/replay-internal/package.json +++ b/packages/replay-internal/package.json @@ -69,8 +69,8 @@ "devDependencies": { "@babel/core": "^7.17.5", "@sentry-internal/replay-worker": "8.44.0", - "@sentry-internal/rrweb": "2.30.0", - "@sentry-internal/rrweb-snapshot": "2.30.0", + "@sentry-internal/rrweb": "2.31.0", + "@sentry-internal/rrweb-snapshot": "2.31.0", "fflate": "^0.8.1", "jest-matcher-utils": "^29.0.0", "jsdom-worker": "^0.2.1" diff --git a/yarn.lock b/yarn.lock index 5c2eb8197a5f..e2f483ec6322 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8645,34 +8645,34 @@ "@angular-devkit/schematics" "14.2.13" jsonc-parser "3.1.0" -"@sentry-internal/rrdom@2.30.0": - version "2.30.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/rrdom/-/rrdom-2.30.0.tgz#b0d0455be62db08a196d22c3f99e063489634223" - integrity sha512-u5f38j3y7esGSoJfblgQETX2sWC2+jM3nkzhqPP0nOEKoIb0GPA+m1fa2D949BXrk20e98qEUPzW32dpF4ka/w== +"@sentry-internal/rrdom@2.31.0": + version "2.31.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/rrdom/-/rrdom-2.31.0.tgz#548773964167ec104d3cbb9d7a4b25103c091e06" + integrity sha512-6sCgyKZy0Jpkb0wQ2XYLNcJjCETfbjHJ5jroAm2mU1imoSBlAldtNTdMc0wk8MaX/0q5qkMlr78SiYFf7xo12Q== dependencies: - "@sentry-internal/rrweb-snapshot" "2.30.0" + "@sentry-internal/rrweb-snapshot" "2.31.0" -"@sentry-internal/rrweb-snapshot@2.30.0": - version "2.30.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/rrweb-snapshot/-/rrweb-snapshot-2.30.0.tgz#d4e1974e32e068db0bd3e3cfd5f0d700f5c4d414" - integrity sha512-rR6KRcE0UZfrh1taBO1KLVzfDaQ2iWW879LBMa94HEH/xUUSG3vRF7t55rmKpxIam1v2Ib6iiCMMTAZoZxzE0Q== +"@sentry-internal/rrweb-snapshot@2.31.0": + version "2.31.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/rrweb-snapshot/-/rrweb-snapshot-2.31.0.tgz#7a86d02429a490f6367d7aead0548fad7e0c9487" + integrity sha512-uGyJPfmOaiSZOZyd5HFiI8aCd/pPOtrZB89BJBgdB63++wD9Fry8OoWvRORzTo+N+Squummkq3Iucjm/yGdbAw== -"@sentry-internal/rrweb-types@2.30.0": - version "2.30.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/rrweb-types/-/rrweb-types-2.30.0.tgz#50ab65034fab3d8243b601ff9925fe45ad141f48" - integrity sha512-Wb6RM5SnnWdCpHB6nxEGFV4bqQwMMDOGryMj8QyZf7fK6lkxtEBXOWiEhxUgAUPjMBqQDZm/2DzKO+bW4NHLZg== +"@sentry-internal/rrweb-types@2.31.0": + version "2.31.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/rrweb-types/-/rrweb-types-2.31.0.tgz#daf766526efff760eb6020ddf22c6432db9ff6a6" + integrity sha512-rWNCU6KaYopmd+353KBbRuNftpqfI97GdNFeCmB1wwwV/S2CW/lVcEn1uzMwzs8blm3YL2i/O+ykONxecQj+BQ== dependencies: - "@sentry-internal/rrweb-snapshot" "2.30.0" + "@sentry-internal/rrweb-snapshot" "2.31.0" "@types/css-font-loading-module" "0.0.7" -"@sentry-internal/rrweb@2.30.0": - version "2.30.0" - resolved "https://registry.yarnpkg.com/@sentry-internal/rrweb/-/rrweb-2.30.0.tgz#9af028b80a0081c75ff410817fe2fcda010f9cf6" - integrity sha512-ZOf4RmxX29LgQDW5sy9D/JfwmQbgMzF6DfA00rlFTtQYht56gbgtmWfqeWMDxG9tas71BnMTOz6eF28t7MoykQ== +"@sentry-internal/rrweb@2.31.0": + version "2.31.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/rrweb/-/rrweb-2.31.0.tgz#69c6f6a4304c4d7446c3a1cc1c9b044d5dc4f040" + integrity sha512-u1uobvl5qnjtdhL2lrzbpwROZagc5xT1P2lANXxrKpLOUpp2+jMSjq0Zt2TElj+2aHlqh4lkDsj/OIa/FBHnnQ== dependencies: - "@sentry-internal/rrdom" "2.30.0" - "@sentry-internal/rrweb-snapshot" "2.30.0" - "@sentry-internal/rrweb-types" "2.30.0" + "@sentry-internal/rrdom" "2.31.0" + "@sentry-internal/rrweb-snapshot" "2.31.0" + "@sentry-internal/rrweb-types" "2.31.0" "@types/css-font-loading-module" "0.0.7" "@xstate/fsm" "^1.4.0" base64-arraybuffer "^1.0.1"