-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: upgrade rrweb to alpha-13 #1149
Conversation
Size Change: +405 B (0%) Total Size: 973 kB
ℹ️ View Unchanged
|
.map((text) => { | ||
const n = text.node; | ||
- if (n.parentNode.tagName === 'TEXTAREA') { | ||
+ if (n.parentNode && n.parentNode.tagName === 'TEXTAREA') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed as fixed in rrweb-io/rrweb#1445
+ // The browser throws if the canvas is 0 in size | ||
+ // Uncaught (in promise) DOMException: Failed to execute 'createImageBitmap' on 'Window': The source image width is 0. | ||
+ // Assuming the same happens with height | ||
+ if (canvas.width === 0 || canvas.height === 0) return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed as fixed in rrweb-io/rrweb#1422
@@ -1,6 +1,6 @@ | |||
diff --git a/es/rrweb/_virtual/_rollup-plugin-web-worker-loader__helper__browser__createBase64WorkerFactory.js b/es/rrweb/_virtual/_rollup-plugin-web-worker-loader__helper__browser__createBase64WorkerFactory.js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worth noting this diff doesn't look 100% correct because GitHub is incorrectly parsing it. I used a text compare tool and only saw differences in spacing & the two changes intentionally removed
@@ -1,1202 +0,0 @@ | |||
diff --git a/es/rrweb/packages/rrweb/src/record/mutation.js b/es/rrweb/packages/rrweb/src/record/mutation.js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hanging around since the last upgrade but not used / needed
Changes
Upgrade to the latest rrweb with relevant patches reapplied