chore(deps): bump TS SDK dev deps to clear security advisories - #104
Merged
Conversation
Bump vitest to ^3.2.6 (the version that closes the critical advisory; there is no 2.x patch), and force esbuild to ^0.25.0 via an override so every copy in the tree — under both vitest/vite and tsup — is on a patched release. vite resolves to 7.x transitively. `npm audit` is now clean. vitest 3 requires Node 20.12+ (it imports `util.styleText`), so the test matrix moves to Node 20 and 22 and the package engines floor is raised to >=20. Node 18 is EOL, the runtime itself only needs `fetch`, and the package isn't on npm yet, so this drops no supported consumer. Supersedes the split Dependabot PRs (#100, #102), which each bumped a subset and failed CI on Node 18.
This was referenced Jun 12, 2026
Merged
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.
Clears all three open Dependabot advisories on the TypeScript SDK in one pass, with a passing test suite.
npm auditreports 0 vulnerabilities.Why one PR instead of the two bot PRs
The critical advisory is on
vitestitself and is only fixed in 3.2.6 — there's no 2.x patch, so we can't override our way out. vitest 3 importsutil.styleText, which Node 18 lacks, so both bot PRs (#100, #102) failed CI on the Node 18 job. This PR makes the matching support call:enginesfloor → >=20.Node 18 is EOL (April 2025), the runtime only needs
fetch, and the package isn't published to npm yet (#82), so no supported consumer is dropped. Anesbuildoverride pins ≥0.25 across the whole tree (it's pulled by both vitest/vite and tsup).Closes #100. Closes #102.