Konstantin Komelin
Konstantin Komelin
Thanks guys. I will try to reproduce the issue without Jest. Will keep you updated.
Just tested through a console Node.js script (Node 14.16): ```javascript require('isomorphic-dompurify'); DOMPurify.setConfig({ALLOWED_TAGS: ['b']}); console.log(DOMPurify.sanitize('ddddIframe!')); ``` And it worked fine. Could you please give me more details on what are your...
By the way, do you use Yarn or NPM for dependency management?
Thanks @cnorthwood Will try to play with your example. Although I don't think it helps but I've just updated `jsdom` to the latest minor https://github.com/kkomelin/isomorphic-dompurify/commit/e466c367689d18aa675cbde3cb6c2f9acd95497b . If you want to...
Just for reference https://github.com/jsdom/whatwg-url/issues/209
Good catch @cnorthwood ! Now when we know the cause, what solution would you recommend?
Jsdom is a complex project which has already caused some dependency pain https://github.com/kkomelin/isomorphic-dompurify/issues/54
Thanks for reporting @crazyair Will investigate.
Thank you @raditzfarhan for the PR. Let me test it and I will come back to you with the results in a couple of days.
@raditzfarhan I have tested the PR. It doesn't work with Laravel because it publishes the config to the root of the project.