Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Use createDOMPurify differently#188

Merged
smashwilson merged 3 commits intomasterfrom
aw/dom-purify-fix
Mar 22, 2018
Merged

Use createDOMPurify differently#188
smashwilson merged 3 commits intomasterfrom
aw/dom-purify-fix

Conversation

@smashwilson
Copy link
Copy Markdown
Contributor

Updating DOMPurify to use the node API.

@smashwilson
Copy link
Copy Markdown
Contributor Author

@hansonw for future reference: I think DOMPurify does some require-time environment inference stuff that gets confused when we're building the v8 snapshot within the Atom build. Of course, we don't snapshot for our tests, so they were happily green... I've fixed it here by changing it to use createDOMPurify() a la Node.js, which is working for us in atom/github.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant