Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #3934

Closed
Closed
26 changes: 26 additions & 0 deletions .chronus/changes/upgrade-deps-july-2024-2-2024-6-22-23-39-34.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
changeKind: dependencies
packages:
- "@typespec/bundler"
- "@typespec/compiler"
- "@typespec/eslint-plugin"
- "@typespec/html-program-viewer"
- "@typespec/http-server-javascript"
- "@typespec/http"
- "@typespec/internal-build-utils"
- "@typespec/json-schema"
- "@typespec/library-linter"
- "@typespec/openapi"
- "@typespec/openapi3"
- "@typespec/playground"
- "@typespec/prettier-plugin-typespec"
- "@typespec/protobuf"
- "@typespec/rest"
- tmlanguage-generator
- typespec-vscode
- "@typespec/versioning"
- "@typespec/xml"
---

Update dependencies
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,34 +36,34 @@
"sync-labels": "tsx ./eng/common/scripts/labels/sync-labels.ts --config ./eng/common/config/labels.ts"
},
"devDependencies": {
"@chronus/chronus": "^0.10.2",
"@chronus/github": "^0.4.0",
"@chronus/chronus": "^0.11.0",
"@chronus/github": "^0.4.1",
"@eslint/js": "^8.57.0",
"@octokit/core": "^6.1.2",
"@octokit/plugin-paginate-graphql": "^5.2.2",
"@octokit/plugin-rest-endpoint-methods": "^13.2.1",
"@octokit/plugin-rest-endpoint-methods": "^13.2.4",
"@pnpm/find-workspace-packages": "^6.0.9",
"@types/node": "~18.11.19",
"@typescript-eslint/parser": "^7.15.0",
"@typescript-eslint/utils": "^7.15.0",
"@vitest/coverage-v8": "^1.6.0",
"@typescript-eslint/parser": "^7.17.0",
"@typescript-eslint/utils": "^7.17.0",
"@vitest/coverage-v8": "^2.0.4",
"c8": "^10.1.2",
"cspell": "^8.9.1",
"cspell": "^8.12.1",
"eslint": "^8.57.0",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-unicorn": "^54.0.0",
"eslint-plugin-vitest": "^0.5.4",
"picocolors": "~1.0.1",
"prettier": "~3.3.2",
"prettier": "~3.3.3",
"prettier-plugin-organize-imports": "~4.0.0",
"rimraf": "~5.0.7",
"rimraf": "~6.0.1",
"syncpack": "^12.3.3",
"tsx": "^4.16.0",
"typescript": "~5.5.3",
"typescript-eslint": "^7.15.0",
"vitest": "^1.6.0",
"tsx": "^4.16.2",
"typescript": "~5.5.4",
"typescript-eslint": "^7.17.0",
"vitest": "^2.0.4",
"yaml": "~2.4.5"
},
"syncpack": {
Expand Down
10 changes: 5 additions & 5 deletions packages/best-practices/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
"devDependencies": {
"@types/node": "~18.11.19",
"@typespec/compiler": "workspace:~",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"@vitest/coverage-v8": "^2.0.4",
"@vitest/ui": "^2.0.4",
"c8": "^10.1.2",
"rimraf": "~5.0.7",
"typescript": "~5.5.3",
"vitest": "^1.6.0"
"rimraf": "~6.0.1",
"typescript": "~5.5.4",
"vitest": "^2.0.4"
}
}
14 changes: 7 additions & 7 deletions packages/bundle-uploader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,22 @@
"!dist/test/**"
],
"dependencies": {
"@azure/identity": "~4.3.0",
"@azure/identity": "~4.4.0",
"@azure/storage-blob": "~12.23.0",
"@pnpm/find-workspace-packages": "^6.0.9",
"@typespec/bundler": "workspace:~",
"json5": "^2.2.3",
"picocolors": "~1.0.1",
"semver": "^7.6.2"
"semver": "^7.6.3"
},
"devDependencies": {
"@types/node": "~18.11.19",
"@types/semver": "^7.5.8",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"@vitest/coverage-v8": "^2.0.4",
"@vitest/ui": "^2.0.4",
"c8": "^10.1.2",
"rimraf": "~5.0.7",
"typescript": "~5.5.3",
"vitest": "^1.6.0"
"rimraf": "~6.0.1",
"typescript": "~5.5.4",
"vitest": "^2.0.4"
}
}
14 changes: 7 additions & 7 deletions packages/bundler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@
"@rollup/plugin-virtual": "~3.0.2",
"@typespec/compiler": "workspace:~",
"picocolors": "~1.0.1",
"rollup": "~4.18.0",
"rollup": "~4.19.0",
"yargs": "~17.7.2"
},
"devDependencies": {
"@types/node": "~18.11.19",
"@types/yargs": "~17.0.32",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"@vitest/coverage-v8": "^2.0.4",
"@vitest/ui": "^2.0.4",
"c8": "^10.1.2",
"rimraf": "~5.0.7",
"typescript": "~5.5.3",
"vite": "^5.3.2",
"vitest": "^1.6.0"
"rimraf": "~6.0.1",
"typescript": "~5.5.4",
"vite": "^5.3.4",
"vitest": "^2.0.4"
}
}
18 changes: 9 additions & 9 deletions packages/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@
},
"dependencies": {
"@babel/code-frame": "~7.24.7",
"ajv": "~8.16.0",
"ajv": "~8.17.1",
"change-case": "~5.4.4",
"globby": "~14.0.2",
"mustache": "~4.2.0",
"picocolors": "~1.0.1",
"prettier": "~3.3.2",
"prettier": "~3.3.3",
"prompts": "~2.4.2",
"semver": "^7.6.2",
"semver": "^7.6.3",
"temporal-polyfill": "^0.2.5",
"vscode-languageserver": "~9.0.1",
"vscode-languageserver-textdocument": "~1.0.11",
Expand All @@ -105,17 +105,17 @@
"@types/semver": "^7.5.8",
"@types/yargs": "~17.0.32",
"@typespec/internal-build-utils": "workspace:~",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"@vitest/coverage-v8": "^2.0.4",
"@vitest/ui": "^2.0.4",
"c8": "^10.1.2",
"grammarkdown": "~3.3.2",
"rimraf": "~5.0.7",
"rimraf": "~6.0.1",
"source-map-support": "~0.5.21",
"tmlanguage-generator": "workspace:~",
"ts-node": "~10.9.2",
"typescript": "~5.5.3",
"vitest": "^1.6.0",
"typescript": "~5.5.4",
"vitest": "^2.0.4",
"vscode-oniguruma": "~2.0.1",
"vscode-textmate": "~9.0.0"
"vscode-textmate": "~9.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/compiler/src/core/checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5669,7 +5669,7 @@ export function createChecker(program: Program): Checker {
node: Node & { decorators: readonly DecoratorExpressionNode[] },
mapper: TypeMapper | undefined
) {
const sym = isMemberNode(node) ? getSymbolForMember(node) ?? node.symbol : node.symbol;
const sym = isMemberNode(node) ? (getSymbolForMember(node) ?? node.symbol) : node.symbol;
const decorators: DecoratorApplication[] = [];

const augmentDecoratorNodes = augmentDecoratorsForSym.get(sym) ?? [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ function getStringValue(type: Type): string | undefined {
case "String":
return type.value;
case "EnumMember":
return typeof type.value !== "number" ? type.value ?? type.name : undefined;
return typeof type.value !== "number" ? (type.value ?? type.name) : undefined;
default:
return undefined;
}
Expand Down
18 changes: 9 additions & 9 deletions packages/eslint-plugin-typespec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,18 @@
},
"devDependencies": {
"@types/node": "~18.11.19",
"@typescript-eslint/parser": "^7.15.0",
"@typescript-eslint/rule-tester": "^7.15.0",
"@typescript-eslint/types": "^7.15.0",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"@typescript-eslint/parser": "^7.17.0",
"@typescript-eslint/rule-tester": "^7.17.0",
"@typescript-eslint/types": "^7.17.0",
"@vitest/coverage-v8": "^2.0.4",
"@vitest/ui": "^2.0.4",
"c8": "^10.1.2",
"eslint": "^8.57.0",
"rimraf": "~5.0.7",
"typescript": "~5.5.3",
"vitest": "^1.6.0"
"rimraf": "~6.0.1",
"typescript": "~5.5.4",
"vitest": "^2.0.4"
},
"dependencies": {
"@typescript-eslint/utils": "^7.15.0"
"@typescript-eslint/utils": "^7.17.0"
}
}
28 changes: 14 additions & 14 deletions packages/html-program-viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,32 +51,32 @@
"@typespec/compiler": "workspace:~"
},
"dependencies": {
"@fluentui/react-components": "~9.54.2",
"@fluentui/react-icons": "^2.0.247",
"@fluentui/react-list-preview": "^0.2.8",
"@fluentui/react-components": "~9.54.5",
"@fluentui/react-icons": "^2.0.249",
"@fluentui/react-list-preview": "^0.3.1",
"react": "~18.3.1",
"react-dom": "~18.3.1",
"react-hotkeys-hook": "^4.5.0"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@testing-library/dom": "^10.2.0",
"@testing-library/jest-dom": "^6.4.6",
"@babel/core": "^7.24.9",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.7",
"@testing-library/react": "^16.0.0",
"@types/node": "~18.11.19",
"@types/react": "~18.3.3",
"@types/react-dom": "~18.3.0",
"@typespec/compiler": "workspace:~",
"@typespec/react-components": "workspace:~",
"@vitejs/plugin-react": "~4.3.1",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"@vitest/coverage-v8": "^2.0.4",
"@vitest/ui": "^2.0.4",
"c8": "^10.1.2",
"rimraf": "~5.0.7",
"typescript": "~5.5.3",
"vite": "^5.3.2",
"vite-plugin-checker": "^0.7.0",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.6.0"
"rimraf": "~6.0.1",
"typescript": "~5.5.4",
"vite": "^5.3.4",
"vite-plugin-checker": "^0.7.2",
"vite-plugin-dts": "4.0.0-beta.1",
"vitest": "^2.0.4"
}
}
2 changes: 1 addition & 1 deletion packages/http-client-csharp/emitter/src/emitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export async function $onEmit(context: EmitContext<NetEmitterOptions>) {
const existingProjectOption = options["existing-project-folder"]
? `--existing-project-folder ${options["existing-project-folder"]}`
: "";
const debugFlag = options.debug ?? false ? " --debug" : "";
const debugFlag = (options.debug ?? false) ? " --debug" : "";

const projectRoot = findProjectRoot(dirname(fileURLToPath(import.meta.url)));
const generatorPath = resolvePath(
Expand Down
6 changes: 3 additions & 3 deletions packages/http-server-javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
"@typespec/http": "workspace:~"
},
"dependencies": {
"prettier": "~3.3.2"
"prettier": "~3.3.3"
},
"devDependencies": {
"@types/node": "~18.11.19",
"@typespec/compiler": "workspace:~",
"@typespec/http": "workspace:~",
"typescript": "~5.5.3",
"tsx": "^4.16.0"
"tsx": "^4.16.2",
"typescript": "~5.5.4"
}
}
10 changes: 5 additions & 5 deletions packages/http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@
"@typespec/compiler": "workspace:~",
"@typespec/library-linter": "workspace:~",
"@typespec/tspd": "workspace:~",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"@vitest/coverage-v8": "^2.0.4",
"@vitest/ui": "^2.0.4",
"c8": "^10.1.2",
"rimraf": "~5.0.7",
"typescript": "~5.5.3",
"vitest": "^1.6.0"
"rimraf": "~6.0.1",
"typescript": "~5.5.4",
"vitest": "^2.0.4"
}
}
2 changes: 1 addition & 1 deletion packages/http/src/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function collectSegmentsAndOptions(

const route = getRoutePath(program, source)?.path;
const options =
source.kind === "Namespace" ? getRouteOptionsForNamespace(program, source) ?? {} : {};
source.kind === "Namespace" ? (getRouteOptionsForNamespace(program, source) ?? {}) : {};

return [[...parentSegments, ...(route ? [route] : [])], { ...parentOptions, ...options }];
}
Expand Down
14 changes: 7 additions & 7 deletions packages/internal-build-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,21 @@
],
"dependencies": {
"@pnpm/find-workspace-packages": "^6.0.9",
"cspell": "^8.9.1",
"semver": "^7.6.2",
"cspell": "^8.12.1",
"semver": "^7.6.3",
"strip-json-comments": "~5.0.1",
"yargs": "~17.7.2"
},
"devDependencies": {
"@types/node": "~18.11.19",
"@types/semver": "^7.5.8",
"@types/yargs": "~17.0.32",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"@vitest/coverage-v8": "^2.0.4",
"@vitest/ui": "^2.0.4",
"c8": "^10.1.2",
"chokidar": "~3.6.0",
"rimraf": "~5.0.7",
"typescript": "~5.5.3",
"vitest": "^1.6.0"
"rimraf": "~6.0.1",
"typescript": "~5.5.4",
"vitest": "^2.0.4"
}
}
12 changes: 6 additions & 6 deletions packages/json-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@
"@typespec/internal-build-utils": "workspace:~",
"@typespec/library-linter": "workspace:~",
"@typespec/tspd": "workspace:~",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"ajv": "~8.16.0",
"@vitest/coverage-v8": "^2.0.4",
"@vitest/ui": "^2.0.4",
"ajv": "~8.17.1",
"ajv-formats": "~3.0.1",
"c8": "^10.1.2",
"rimraf": "~5.0.7",
"typescript": "~5.5.3",
"vitest": "^1.6.0"
"rimraf": "~6.0.1",
"typescript": "~5.5.4",
"vitest": "^2.0.4"
},
"dependencies": {
"yaml": "~2.4.5"
Expand Down
Loading
Loading