Bump browsers versions to support for…of and let/const#786
Bump browsers versions to support for…of and let/const#786cure53 merged 2 commits intocure53:mainfrom buzinas:bump-browsers-versions
Conversation
|
Something seems to break the tests, not sure how to best fix this. https://github.com/cure53/DOMPurify/actions/runs/4536381460/jobs/8000156773#step:7:31 |
|
I'll take a look, thanks! |
|
@cure53 the reason tests were failing was due to all target browsers now supporting ESM and then Babel keeping the ES Modules untouched. This would prevent globals from being attached when using the By removing the So I finally renamed Now all tests work as expected! Please let me know what you think. |
|
Fantastic, thank you 😄 |
Summary
Potential fix for #785.
Background & Context
Bump browsers versions in order to remove a lot of polyfills for
for…ofandconst/let.