Skip to content

Commit 7ea2059

Browse files
committed
Update js-beautify
This somewhat mitigates an issue where on very broken inputs (e.g enormous JSON files full of unicode, pretending to be HTML) formatting could effectively never complete. In this specific repro, the current version is still going after many minutes but this version completes after 16s (still terrible - but don't try to format large JSON as HTML and we won't hit this problem, and we do format async anyway).
1 parent 2215f8e commit 7ea2059

File tree

2 files changed

+901
-158
lines changed

2 files changed

+901
-158
lines changed

0 commit comments

Comments
 (0)