Skip to content
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

feat: replace html-minifier with html-minifier-terser #409

Merged
merged 1 commit into from
Jul 7, 2024

Conversation

JustRed23
Copy link
Contributor

Description

This PR replaces the vulnerable html-minifier package, which contained a CVE, with an updated html-minifier-terser package. I find this a good replacement since the html-minifier has not received any updates in 5 years.

Linked Issues

#397

Additional context

Please do test the minifier, as I have no clue how to test that, I just replaced the deps and added an await

@antfu antfu merged commit f911e31 into antfu-collective:main Jul 7, 2024
@antfu antfu changed the title Replace html-minifier with html-minifier-terser feat: replace html-minifier with html-minifier-terser Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants