edge-runtime icon indicating copy to clipboard operation
edge-runtime copied to clipboard

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

Results 103 edge-runtime issues
Sort by recently updated
recently updated
newest added

These constructors are missing right now: ```js expect(format(new Map([['foo', 'bar']]))).toBe("Map(1) { 'foo' => 'bar' }") expect(format(new Set([['foo', 'bar']]))).toBe("Set(1) { [ 'foo', 'bar' ] }") expect(format(new Uint8Array([1, 2, 3]))).toBe("Uint8Array(3) [ 1,...

enhancement

The following fails in the edge runtime (but not in the node runtime) ```typescript class Foo { constructor() { ... } ... } const cls = Foo; cls instanceof Function...

bug

This provides utilities to handle with cookie parsing & manipulating with Request/Response objects. The code was copied from the Next.js repo, to provide these utilities to other frameworks so they...

Bumps [urlpattern-polyfill](https://github.com/kenchris/urlpattern-polyfill) from 5.0.5 to 5.0.6. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=urlpattern-polyfill&package-manager=npm_and_yarn&previous-version=5.0.5&new-version=5.0.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies
javascript

Logging a response throws, eg `console.log(new Response("yes"))` throws an error. ## Reproduction ### First way to reproduce (longer) 1. Create an Edge API Route 2. Fetch anything 3. Log the...

This PR introduces the following changes: - fix(cli): make repl execute all commands in the edge vm instead of copying the values - fix(format): include constructor name in the logger...

The [abort-controller polyfill](https://github.com/mysticatea/abort-controller) isn't compliant with the spec right now, because: - `AbortSignal.abort` is missing - `AbortSignal.timeout` is missing Alternatives: - https://www.npmjs.com/package/abortcontroller-polyfill - https://www.npmjs.com/package/yet-another-abortcontroller-polyfill Related: - https://github.com/vercel/next.js/issues/38658

enhancement

We can enable users to have simpler tests by having expectations that match the standard library we provide. For instance, `Response` matchers: ```ts expect(response).toHaveStatusCode(...); // These expectations can be shared...

enhancement