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

Fix insecure dynamic Function issue and switch to edge runtime #11

Merged
merged 6 commits into from
Feb 17, 2022

Conversation

huozhi
Copy link
Member

@huozhi huozhi commented Feb 16, 2022

excerpts is using very old version of cheerio, and that cheerio is using very old version of loadsh libraries who has new Function(...) stuff, which is not allowed.

@vercel
Copy link

vercel bot commented Feb 16, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/vercel/next-server-components/Ey2n5MKVvwZ4io38YAiAACHFGAvm
✅ Preview: https://next-server-components-git-jc-1058a.vercel.sh

@huozhi huozhi requested a review from shuding February 16, 2022 19:19
Copy link
Member

@shuding shuding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also update the README with https://github.com/vercel/next-rsc-demo#technical-details, to explicitly say it's using edge?

components/Page.server.js Outdated Show resolved Hide resolved
@vercel
Copy link

vercel bot commented Feb 17, 2022

Deployment failed with the following error:

Resource is limited - try again after in 1 minute (more than 150, code: "api-deployments-paid-per-hour").

@huozhi huozhi merged commit f76ca7c into main Feb 17, 2022
@huozhi huozhi deleted the jc/1058a branch February 17, 2022 16:32
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