Merged
Conversation
@typespec/asset-emitter
@typespec/bundler
@typespec/compiler
@typespec/eslint-plugin
@typespec/events
@typespec/html-program-viewer
@typespec/http
@typespec/http-client-js
@typespec/http-server-csharp
@typespec/http-server-js
@typespec/http-specs
@typespec/internal-build-utils
@typespec/json-schema
@typespec/library-linter
@typespec/openapi
@typespec/openapi3
@typespec/playground
@typespec/protobuf
@typespec/rest
@typespec/spec-api
@typespec/spector
@typespec/sse
@typespec/streams
tmlanguage-generator
@typespec/tspd
typespec-vscode
@typespec/versioning
@typespec/xml
commit: |
Contributor
|
All changed packages have been documented.
Show changes
|
Collaborator
|
You can try these changes here
|
markcowl
approved these changes
Apr 9, 2026
github-merge-queue Bot
pushed a commit
to Azure/typespec-azure
that referenced
this pull request
Apr 10, 2026
Go through unused dependencies as done in microsoft/typespec#10239
4 tasks
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.
Had copilot do an audit of all our dependencies to see which ones were not used, which ones should use a more modern or built in alternative.
Removed unused dependencies
json5internal-build-utilsgrammarkdowncompilerdate-fnswebsiteReplaced with built in
c8@vitest/coverage-v8deep-equal/@types/deep-equalspec-api,spector,http-specsisDeepStrictEqualfromnode:utilbody-parser/@types/body-parserspectorexpress.json(),express.urlencoded(), etc.)fs-extrahttp-server-csharp,http-server-js,http-client-jsfs/promises(access,copyFile,mkdir, etc.)Modernized dependencies
onigasmvscode-onigurumatmlanguage-generatorinquirer@inquirer/promptshttp-server-csharp,http-server-js,http-client-jsselect()APIrimraffs.rm()typespec-vscoderm(dir, { recursive: true, force: true })Code changes
http-server-csharp,http-server-js, andhttp-client-jsupdated to use nativefs/promisesand@inquirer/promptspathExists()helper added to replace thefs-extraversiontmlanguage-generatormigrated fromonigasmtovscode-oniguruma, including updated WASM loading and regex validation logic (also removed a workaround for anonigasmbug)@typespec/spectormock API server replacedbodyParser.*calls withexpress.*equivalents@typespec/spec-apiand@typespec/spectorreplaced alldeepEqual(a, b, { strict: true })calls withisDeepStrictEqual(a, b)