Skip to content

fix: extranous runtime deps bundled#471

Merged
mnahkies merged 4 commits into
mainfrom
mn/fix/extranous-runtime-deps-bundled
May 27, 2026
Merged

fix: extranous runtime deps bundled#471
mnahkies merged 4 commits into
mainfrom
mn/fix/extranous-runtime-deps-bundled

Conversation

@mnahkies
Copy link
Copy Markdown
Owner

this fixes issues using the typescript-fetch-runtime in client side applications (eg: nextjs), caused by erroneous bundling of raw-body and it's dependencies.

it further updates the tsdown config to prevent this reoccurring in future - in general bundling dependencies like this is an anti-pattern, as it obscures the SBOM and may prevent security scanners from detecting CVE alerts against dependencies for example, amongst other potential issues with multiple versions of the same package effectively being used as runtime (in a non-obvious way)

now only the unpublished common runtime package from this repository is allowed to be bundled, as intended.

@mnahkies mnahkies marked this pull request as ready for review May 27, 2026 18:59
@mnahkies mnahkies enabled auto-merge (squash) May 27, 2026 18:59
@mnahkies mnahkies merged commit 4ca6a09 into main May 27, 2026
16 checks passed
@mnahkies mnahkies deleted the mn/fix/extranous-runtime-deps-bundled branch May 27, 2026 19:02
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.

1 participant