-
Notifications
You must be signed in to change notification settings - Fork 468
fix: unsafe attribute reference #129
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
Conversation
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.
👍
We'll need a test to cover this case :) |
repro: https://codepen.io/anon/pen/bmYmPd?editors=0011
|
1565e4f
to
0896ee7
Compare
Codecov Report
@@ Coverage Diff @@
## master #129 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 11 11
Lines 211 211
Branches 53 54 +1
=====================================
Hits 211 211
Continue to review full report at Codecov.
|
@kentcdodds added test |
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.
Cool, thanks!
🎉 This PR is included in version 3.11.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Fixes an unsafe reference that can throw an error in
debugDOM
when it receives a reference to adocument
in a real browser (ie puppeteer/codepen)What:
Why:
How:
Checklist: