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
{{ message }}
Repository navigation
fix(api/spec): patch generation and test tooling vulnerabilities - #5336
Patch the TypeSpec workspace test and generation dependency graph, covering its 14 high and 11 medium non-compiler Dependabot records. Align Vitest and coverage at 4.1.12, explicitly select Vite 8.1.6, and enforce patched devalue, fast-uri, js-yaml, postcss, and source-map-js versions. Include the nanoid patch identified by the live audit.
Validation:
make update-openapi: regenerated OpenAPI, Python SDK, v3 SDKs, and Go API outputs without any tracked generated changes.
make test-api-spec, Go emitter checks, generated TypeScript SDK type checks, and formatting checks for changed configuration files.
Live audit leaves only the TypeSpec compiler/openapi3 advisory, addressed separately by the compiler upgrade PR.
The compiler and existing TypeSpec patches are unchanged in this PR.
Summary by CodeRabbit
Chores
Updated development tooling and workspace package versions.
Confidence Score: 5/5
This PR appears safe to merge; no actionable issues were found.
Summary
Updates the TypeSpec workspace’s generation and test dependencies.
TypeSpec tests and generators use patched dependency versions.
No actionable issues found. Tests and generation were not run during this review.
Acknowledgment: turip states that the remaining TypeSpec compiler/OpenAPI advisory is being addressed separately; this PR intentionally leaves the compiler unchanged.
Reviewing files that changed from the base of the PR and between 54ab862 and 0635ea8.
⛔ Files ignored due to path filters: 1
api/spec/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing: 3
api/spec/package.json
api/spec/packages/typespec-go/package.json
api/spec/pnpm-workspace.yaml
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
📝 Walkthrough
The API spec development dependencies now use updated Vitest versions, and the API spec package adds Vite. The pnpm workspace adds six package overrides and removes comments about the Vite maturity-gate exclusion.
Changes: API spec dependencies
Layer / File(s)
Summary
Update API spec tooling dependencies api/spec/package.json, api/spec/packages/typespec-go/package.json
api/spec/package.json adds Vite 8.1.6 and updates @vitest/coverage-v8 and vitest to 4.1.12. The TypeSpec Go package updates vitest to 4.1.12.
Adds version overrides for devalue, fast-uri, js-yaml, nanoid, postcss, and source-map-js. Removes comments about the Vite maturity-gate exclusion; the configuration value is unchanged.
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
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.
Patch the TypeSpec workspace test and generation dependency graph, covering its 14 high and 11 medium non-compiler Dependabot records. Align Vitest and coverage at 4.1.12, explicitly select Vite 8.1.6, and enforce patched devalue, fast-uri, js-yaml, postcss, and source-map-js versions. Include the nanoid patch identified by the live audit.
Validation:
make update-openapi: regenerated OpenAPI, Python SDK, v3 SDKs, and Go API outputs without any tracked generated changes.make test-api-spec, Go emitter checks, generated TypeScript SDK type checks, and formatting checks for changed configuration files.The compiler and existing TypeSpec patches are unchanged in this PR.
Summary by CodeRabbit


Confidence Score: 5/5
This PR appears safe to merge; no actionable issues were found.Summary
Updates the TypeSpec workspace’s generation and test dependencies.
No actionable issues found. Tests and generation were not run during this review.
Acknowledgment:
turipstates that the remaining TypeSpec compiler/OpenAPI advisory is being addressed separately; this PR intentionally leaves the compiler unchanged.Reviews (1) · Last reviewed commit: "fix(api/spec): patch generation and test..." · Reviewed by Greptile