Skip to content

fix(node): Unpin @apm-js-collab/code-transformer-bundler-plugins - #22676

Merged
andreiborza merged 1 commit into
developfrom
ab/unpin-code-transformer-bundler-plugins
Jul 27, 2026
Merged

fix(node): Unpin @apm-js-collab/code-transformer-bundler-plugins#22676
andreiborza merged 1 commit into
developfrom
ab/unpin-code-transformer-bundler-plugins

Conversation

@andreiborza

@andreiborza andreiborza commented Jul 27, 2026

Copy link
Copy Markdown
Member

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 ("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
Fixes #22646

Bump `@apm-js-collab/code-transformer-bundler-plugins` from `^0.7.1` to
`^0.7.3` in `@sentry/server-utils` and `@sentry/bun`.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@andreiborza
andreiborza marked this pull request as ready for review July 27, 2026 11:27
@andreiborza
andreiborza requested review from a team as code owners July 27, 2026 11:27
@andreiborza
andreiborza requested review from JPeer264, chargome, isaacs and s1gr1d and removed request for a team July 27, 2026 11:27
@andreiborza
andreiborza merged commit 1cc308a into develop Jul 27, 2026
281 checks passed
@andreiborza
andreiborza deleted the ab/unpin-code-transformer-bundler-plugins branch July 27, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10.68.0 pinned @apm-js-collab/code-transformer-bundler-plugins@0.7.1 causing type errors #22497 introduces .d.ts TSC error

2 participants