edge-runtime
edge-runtime copied to clipboard
Developing, testing, and defining the runtime Web APIs for Edge infrastructure.
Fixes #941
## Bug Report **Current behavior** `parseSetCookie` ignores the Max-Age attribute when parsing a cookie. For example, this code: ```js import { parseSetCookie } from "@edge-runtime/cookies"; console.log(parseSetCookie("foo=bar; Max-Age=86400; Path=/; SameSite=none; HttpOnly;...
This is a fix for https://github.com/vercel/next.js/issues/70523 ### What? Access the `ResponseCookie` object using the `NextResponse` class in a nextjs middleware like so: ```ts const response = NextResponse.next() const data =...
Fixes https://github.com/vercel/edge-runtime/issues/952 Removes access to global `Buffer` variable from Node when using `@edge-runtime/jest-environment`. `Buffer` will not be available in production when using the edge runtime, so it should also be...
Bumps [blob-polyfill](https://github.com/bjornstar/blob-polyfill) from 7.0.20220408 to 9.0.20240710. Release notes Sourced from blob-polyfill's releases. v9.0.20240710 [Blob.js] Use exported FileReader (@luke-stead-sonocent) [test] Test is now a module (@bjornstar) [README.md] Add badge for master...
Hello people of Vercel community! Hope you all doing great :) I am creating this issue to ask if it is actually possible to do absolute imports in production mode....
## Bug Report The `@edge-runtime/jest-environment` package allows simulating the Edge runtime when running Jest in a node environment, so it should not allow access to node apis such as `Buffer`....
## Bug Report **Current behavior** I'm using Azure Tables with winston as a logging solution on a nextjs app. Everything works fine everywhere, except when the logger is called from...
Bumps [acorn](https://github.com/acornjs/acorn) from 8.14.0 to 8.15.0. Commits 6dc5374 Mark version 8.15.0 c8d954a Make linter happy 71d942e Fix a crash when running the CLI tool on code with a bigint 551a680...
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.24.0 to 0.25.5. Release notes Sourced from esbuild's releases. v0.25.5 Fix a regression with browser in package.json (#4187) The fix to #4144 in version 0.25.3 introduced a...