chore(deps): upgrade rrweb-snapshot to 2.0.1#10668
Merged
Merged
Conversation
Bump from the last alpha (2.0.0-alpha.20) to stable 2.0.1 in the browser and ui packages. rrweb 2.0 guards `rebuild()` behind a sandboxed-iframe factory/WeakSet contract (CVE-2025-45806) and throws for documents not created via its helpers. The UI trace viewer already renders snapshots into its own `sandbox="allow-same-origin"` iframe, so pass `UNSAFE_allowUnprotectedRebuild: true` to keep our existing iframe lifecycle without weakening the sandbox. Regenerate the local pseudo-class patch against 2.0.1 (now version-pinned). Co-authored-by: OpenCode (claude-opus-4-8) <noreply@opencode.ai>
✅ Deploy Preview for vitest-dev ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
AriPerkkio
reviewed
Jun 26, 2026
Member
There was a problem hiding this comment.
Have you considered upstreaming this patch? 👀
Collaborator
Author
There was a problem hiding this comment.
No I haven't but good point. I think I can bring that up to the issue. Probably I need to consider their high level rrweb API use case too though worth the try.
hi-ogawa
commented
Jun 26, 2026
sheremet-va
approved these changes
Jun 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Extracting from renovate PR #9958 (that is currently failing with invalid patch). This PR updates rrweb from the long time alpha to stable v2.0.1.
They did some security hardening for rrweb-io/rrweb#1817, but we did already had sandbox ensured manually, so I went with
UNSAFE_allowUnprotectedRebuild.Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
pnpm-lock.yamlunless you introduce a new test example.Tests
pnpm test:ci.Documentation
pnpm run docscommand.Changesets
feat:,fix:,perf:,docs:, orchore:.