You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(bun): Use namespace imports for node:http in bunHttpServerIntegration (#24584)
closes#24580
closes [JS-3746](https://linear.app/getsentry/issue/JS-3746)
The default imports of `node:http` and `node:https` compiled to
`http.default.Server` in the CJS build. Bun's `node:http` has no
`default` property under `require()`, so `Sentry.init()` threw for every
CJS user.
Adds a CJS scenario to the Bun integration tests. The Bun runner now
accepts a scenario file path, like the Node runner.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
0 commit comments