sst / open-next

Open source Next.js serverless adapter
https://open-next.js.org
MIT License
3.7k stars 111 forks source link

Fix polyfill for crypto in the middleware #418

Closed conico974 closed 1 month ago

conico974 commented 1 month ago

Some libs depends on crypto function or class that are available globally in the edge runtime, but are not present by default in node, this should fix it

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
open-next ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 24, 2024 10:39am
changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: e6f5d81313b3ed6ed7764048cf7f7daa6bc96796

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages | Name | Type | | ---------------- | ----- | | open-next | Patch | | app-pages-router | Patch | | app-router | Patch | | tests-unit | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

chungweileong94 commented 1 month ago

LGTM