fix: Another TypeScript issue - #45
Merged
Merged
Conversation
timfish
enabled auto-merge (squash)
July 27, 2026 10:29
timfish
disabled auto-merge
July 27, 2026 10:29
Merged
andreiborza
added a commit
to getsentry/sentry-javascript
that referenced
this pull request
Jul 27, 2026
…22676) ## What Bump `@apm-js-collab/code-transformer-bundler-plugins` from `^0.7.1` to `^0.7.3` in `@sentry/server-utils` and `@sentry/bun`, walking back the pin from #22497. * `packages/server-utils/package.json`: `^0.7.1` -> `^0.7.3` * `packages/bun/package.json`: `^0.7.1` -> `^0.7.3` * `yarn.lock`: resolves to 0.7.3 ## Why #22497 pinned to 0.7.1 to work around the `generic-ts3.8` e2e test (0.7.2 shipped `.d.cts`/`.d.mts` files TS 3.8 could not parse). But 0.7.1's `.d.cts` has a broken `./instrumentation-serde` re-export, which breaks modern TypeScript in consumers. 0.7.3 was released upstream specifically for [apm-js-collab/code-transformer-bundler-plugins#45](<apm-js-collab/code-transformer-bundler-plugins#45>) ("TS 3.8 cannot parse mixed type imports"). It moves to plain `.d.ts` files with a resolvable `./instrumentation-serde.js` re-export, fixing both sides: modern TS resolves the module, and TS 3.8 no longer chokes on the type-import syntax. Fixes #22626 <br>Fixes #22646 Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TS 3.8 cannot parse mixed type imports