Bun issue (Nov 30): Bun bun-types Rejects URL in new Request() Unlike Runtime
Is it fixed? Not yet.
Ongoing since Nov 30, 17:07 UTC. First reported Nov 30, 17:07 UTC.
What happened
TypeScript users of bun-types 1.4.4 and 1.4.5 encounter a type definition issue where passing a URL or string | URL | Request into new Request() is rejected, despite being accepted at runtime by Bun.
What caused it?
Under active investigation. No report has identified a root cause yet.
No verified workaround yet
None of the linked reports describe a mitigation. This page updates when one appears.
Official fixOutage timeline
- Investigating(current)
- Workaround available(upcoming)
- Resolved(upcoming)
- First report on GitHub issue
bun-types: new Request() rejects a URL (and string | URL | Request), which Bun accepts at runtime
Source
Reports of this outage
1 report · 1 GitHubShow
- [1]GitHub First reportbun-types: new Request() rejects a URL (and string | URL | Request), which Bun accepts at runtime(opens GitHub issue in a new tab)
What version of Bun is running? 1.4.5 (also reproduced with bun-types 1.4.4; the declaration is the same in 1.4.5) What platform is your computer? Darwin 27.2.0 arm64 (a type definition issue, so not platform-specific) What steps can reproduce the bug? In a server-only project whose tsconfig uses "types": ["bun-types"] and no "dom" lib: const url = new URL("https://example.com"); new Request(url); const input: string | URL | Request = url; new Request(input); What is the expected behavior?…
by matevzStinjek 0upvotes 1comments
Bun issue FAQ
What happened in the Bun issue, and why?
Ongoing since Nov 30, 17:07 UTC. No cause has been published yet; this page adds it once the vendor or a report explains it.
What is affected by the Bun issue?
Bun (versions: 1.4.4, 1.4.5).
When did the Bun issue start and end?
It started Nov 30, 17:07 UTC and is still ongoing (1 h 39 min so far). This page updates as it develops.
How do I get alerts for Bun?
Subscribe to the Bun RSS feed for every new Bun incident, or connect an AI assistant to WhatBrokeToday over MCP and ask whether Bun is down. Bun feed
Where does this information come from?
WhatBrokeToday collects public status pages, developer community reports and security advisories, groups the ones about the same problem, and links every report under Evidence on this page. This one has 1 report from 1 independent source.