GitShow/vercel/edge-runtime
vercel

edge-runtime

Developing, testing, and defining the runtime Web APIs for Edge infrastructure.

by vercel
Star on GitHubForkWebsitenpm

TypeScript

912 stars91 forks42 contributorsQuiet · 3mo agoSince 2022edge-runtime@4.0.1MIT

Meet the team

See all 42 on GitHub →
dependabot[bot]Bot
dependabot[bot]395 contributions
Kikobeats
Kikobeats308 contributions
github-actions[bot]Bot
github-actions[bot]84 contributions
Schniz
Schniz43 contributions
balazsorban44
balazsorban4425 contributions
javivelasco
javivelasco22 contributions
feugy
feugy11 contributions
leerob
leerob7 contributions

Languages

View on GitHub →
TypeScript87.9%
JavaScript12.1%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

3 of 6 standards met

Community profile →
62
✓README✓License○Contributing○Code of Conduct✓Issue Template○PR Template

Recent PRs & issues

Quiet · Last activity 3mo ago
See all on GitHub →
aui
fix(node-utils): computeOrigin respects HTTP/2 :authorityOpenPR

Fixes #1152

aui · 2mo ago
aui
`@edge-runtime/node-utils`: `computeOrigin` ignores HTTP/2 `:authority`OpenIssue

Bug Report Package: Version observed: Current behavior When converting a Node.js into a Fetch , the function only reads . In HTTP/2 connections, the request authority is often provided via the pseudo-header instead, leaving the header unset. As a result, the adapter falls back to the , causing to point to the wrong host even when the client provided the correct authority. Expected behavior/code should reflect the client's authority (e.g., ) when the pseudo-header is present in the request headers. Possible solution** Update to check for the header if is missing, and improve protocol inference to better handle TLS on non-standard ports.

aui · 2mo ago
Biswarup-Das309
Update README.mdOpenPR
Biswarup-Das309 · 3mo ago

Recent fixes

View closed PRs →
mturac
fix(cookies): parse percent values in set-cookie headersMergedPR

Summary parse the first name/value pair without routing it through the request-cookie parser decode response cookie values exactly once, falling back to the raw value for malformed percent escapes add regressions for , bare , valueless pairs, and values containing This fixes the cookie parsing failure reported from Next.js middleware/runtime usage in vercel/next.js#70523. Tests

mturac · 1mo ago
chanceaclark
Proxying primitive instances return anonymous `toString()` return functionsClosedIssue

Bug Report Current behavior Within the edge runtime calling ( is equivalent, see additional context) returns an anonymous function . You can reproduce this behavior here: Returns: Expected behavior/code In both browser and node runtimes, using returns . I have a feeling like it should work in a edge runtime as well 🤔 Possible solution I nailed it down to this proxy and similarly for however, I couldn't figure out a solution for it 😞 Additional context/screenshots For background context, I found this using the lib, which was using 's function, specifically this line: https://github.com/lodash/lodash/blob/4.17.15/lodash.js#L12046 (directly ). I've been debating whether that is unreliable to use on lodash's library or something broken by the runtime. I have a feeling like this is something the runtime should fix since it works as expected on /browser runtimes but let me know otherwise.

chanceaclark · 2mo ago
styfle
chore: remove pull_request_targetMergedPR
styfle · 3mo ago
Structured data for AI agents

Repository: vercel/edge-runtime. Description: Developing, testing, and defining the runtime Web APIs for Edge infrastructure. Stars: 912, Forks: 91. Primary language: TypeScript. Languages: TypeScript (87.9%), JavaScript (12.1%). License: MIT. Homepage: https://edge-runtime.vercel.app Latest release: edge-runtime@4.0.1 (1y ago). Open PRs: 25, open issues: 28. Last activity: 3mo ago. Community health: 62%. Top contributors: dependabot[bot], Kikobeats, github-actions[bot], Schniz, balazsorban44, javivelasco, feugy, leerob, nkzawa, smaeda-ks and others.

·@ofershap

Replace github.com with gitshow.dev