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

Replace the node-static package with serve-handler #9

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

canova
Copy link
Contributor

@canova canova commented Dec 11, 2024

It appears that node-static module hasn't been updated for 6 years and it has some vulnerabilities. On the other and serve-handler is the core package of serve, which is maintained by vercel. So it looks like it's a safer option. There were more options to choose from, but that looks like a good option, and required less effort to migrate.

Note that this came from here: sitespeedio/sitespeed.io#4330

It appears that node-static module hasn't been updated for 6 years and
it has some vulnerabilities. On the other and serve-handler is the core
package of `serve`, which is maintained by vercel. So it looks like it's
a safer option. There were more options to choose from, but that looks
like a good option, and required less effort to migrate.
@fqueze fqueze merged commit ae2ec44 into fqueze:main Dec 11, 2024
@fqueze
Copy link
Owner

fqueze commented Dec 11, 2024

Thanks!

@canova canova deleted the replace-node-static branch December 11, 2024 16:09
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.

2 participants