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 - May 2024 #3401

Merged
merged 16 commits into from
May 20, 2024
25 changes: 25 additions & 0 deletions .chronus/changes/upgrade-deps-may-2024-2024-4-20-15-37-30.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
# 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"
- "@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 - May 2024
2 changes: 1 addition & 1 deletion eng/tsp-core/pipelines/pr-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ extends:
steps:
- checkout: self

- script: npx -p @chronus/github-pr-commenter@0.4.0 chronus-github-pr-commenter verify
- script: npx -p @chronus/github-pr-commenter@0.5.0 chronus-github-pr-commenter
displayName: Make comment about changes
env:
GITHUB_TOKEN: $(azuresdk-github-pat)
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,33 +36,33 @@
"sync-labels": "tsx ./eng/common/scripts/labels/sync-labels.ts"
},
"devDependencies": {
"@chronus/chronus": "^0.10.1",
"@chronus/github": "^0.3.2",
"@chronus/chronus": "^0.10.2",
"@chronus/github": "^0.4.0",
"@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",
"@pnpm/find-workspace-packages": "^6.0.9",
"@types/node": "~18.11.19",
"@typescript-eslint/parser": "^7.6.0",
"@typescript-eslint/utils": "^7.6.0",
"@typescript-eslint/parser": "^7.9.0",
"@typescript-eslint/utils": "^7.9.0",
"c8": "^9.1.0",
"cspell": "^8.7.0",
"cspell": "^8.8.1",
"eslint": "^8.57.0",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-unicorn": "^52.0.0",
"eslint-plugin-vitest": "^0.5.3",
"picocolors": "~1.0.0",
"eslint-plugin-unicorn": "^53.0.0",
"eslint-plugin-vitest": "^0.5.4",
"picocolors": "~1.0.1",
"prettier": "~3.2.5",
"prettier-plugin-organize-imports": "~3.2.4",
"rimraf": "~5.0.5",
"syncpack": "^12.3.0",
"tsx": "^4.9.4",
"rimraf": "~5.0.7",
"syncpack": "^12.3.2",
"tsx": "^4.10.5",
"typescript": "~5.4.5",
"typescript-eslint": "^7.6.0",
"vitest": "^1.5.0",
"yaml": "~2.4.1"
"typescript-eslint": "^7.9.0",
"vitest": "^1.6.0",
"yaml": "~2.4.2"
},
"syncpack": {
"dependencyTypes": [
Expand Down
8 changes: 4 additions & 4 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.5.0",
"@vitest/ui": "^1.5.0",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"c8": "^9.1.0",
"rimraf": "~5.0.5",
"rimraf": "~5.0.7",
"typescript": "~5.4.5",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
}
}
16 changes: 8 additions & 8 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.1.0",
"@azure/storage-blob": "~12.17.0",
"@azure/identity": "~4.2.0",
"@azure/storage-blob": "~12.18.0",
"@pnpm/find-workspace-packages": "^6.0.9",
"@typespec/bundler": "workspace:~",
"json5": "^2.2.3",
"picocolors": "~1.0.0",
"semver": "^7.6.0"
"picocolors": "~1.0.1",
"semver": "^7.6.2"
},
"devDependencies": {
"@types/node": "~18.11.19",
"@types/semver": "^7.5.8",
"@vitest/coverage-v8": "^1.5.0",
"@vitest/ui": "^1.5.0",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"c8": "^9.1.0",
"rimraf": "~5.0.5",
"rimraf": "~5.0.7",
"typescript": "~5.4.5",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
}
}
14 changes: 7 additions & 7 deletions packages/bundler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,19 @@
"@rollup/plugin-node-resolve": "~15.2.3",
"@rollup/plugin-virtual": "~3.0.2",
"@typespec/compiler": "workspace:~",
"picocolors": "~1.0.0",
"rollup": "~4.14.3",
"picocolors": "~1.0.1",
"rollup": "~4.17.2",
"yargs": "~17.7.2"
},
"devDependencies": {
"@types/node": "~18.11.19",
"@types/yargs": "~17.0.32",
"@vitest/coverage-v8": "^1.5.0",
"@vitest/ui": "^1.5.0",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"c8": "^9.1.0",
"rimraf": "~5.0.5",
"rimraf": "~5.0.7",
"typescript": "~5.4.5",
"vite": "^5.2.8",
"vitest": "^1.5.0"
"vite": "^5.2.11",
"vitest": "^1.6.0"
}
}
16 changes: 8 additions & 8 deletions packages/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,17 @@
},
"dependencies": {
"@babel/code-frame": "~7.24.2",
"ajv": "~8.12.0",
"ajv": "~8.13.0",
"change-case": "~5.4.4",
"globby": "~14.0.1",
"mustache": "~4.2.0",
"picocolors": "~1.0.0",
"picocolors": "~1.0.1",
"prettier": "~3.2.5",
"prompts": "~2.4.2",
"semver": "^7.6.0",
"semver": "^7.6.2",
"vscode-languageserver": "~9.0.1",
"vscode-languageserver-textdocument": "~1.0.11",
"yaml": "~2.4.1",
"yaml": "~2.4.2",
"yargs": "~17.7.2"
},
"devDependencies": {
Expand All @@ -104,16 +104,16 @@
"@types/semver": "^7.5.8",
"@types/yargs": "~17.0.32",
"@typespec/internal-build-utils": "workspace:~",
"@vitest/coverage-v8": "^1.5.0",
"@vitest/ui": "^1.5.0",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"c8": "^9.1.0",
"grammarkdown": "~3.3.2",
"rimraf": "~5.0.5",
"rimraf": "~5.0.7",
"source-map-support": "~0.5.21",
"tmlanguage-generator": "workspace:~",
"ts-node": "~10.9.2",
"typescript": "~5.4.5",
"vitest": "^1.5.0",
"vitest": "^1.6.0",
"vscode-oniguruma": "~2.0.1",
"vscode-textmate": "~9.0.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/compiler/src/config/config-schema.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { JSONSchemaType } from "ajv";
import type { JSONSchemaType } from "ajv";
import { EmitterOptions, TypeSpecRawConfig } from "./types.js";

const emitterOptionsSchema: JSONSchemaType<EmitterOptions> = {
Expand Down
4 changes: 2 additions & 2 deletions packages/compiler/src/core/schema-validator.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Ajv, { ErrorObject, Options } from "ajv";
import { Ajv, type ErrorObject, type Options } from "ajv";
import { getLocationInYamlScript } from "../yaml/diagnostics.js";
import { YamlPathTarget, YamlScript } from "../yaml/types.js";
import { compilerAssert } from "./diagnostics.js";
Expand All @@ -22,7 +22,7 @@ export function createJSONSchemaValidator<T>(
schema: JSONSchemaType<T>,
options: JSONSchemaValidatorOptions = { strict: true }
): JSONSchemaValidator {
const ajv: import("ajv").default = new (Ajv as any)({
const ajv = new Ajv({
strict: options.strict,
coerceTypes: options.coerceTypes,
allErrors: true,
Expand Down
2 changes: 1 addition & 1 deletion packages/compiler/src/init/init-template.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { JSONSchemaType } from "ajv";
import type { JSONSchemaType } from "ajv";
import { TypeSpecConfigJsonSchema } from "../config/config-schema.js";
import { TypeSpecRawConfig } from "../config/types.js";

Expand Down
16 changes: 8 additions & 8 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.6.0",
"@typescript-eslint/rule-tester": "^7.6.0",
"@typescript-eslint/types": "^7.6.0",
"@vitest/coverage-v8": "^1.5.0",
"@vitest/ui": "^1.5.0",
"@typescript-eslint/parser": "^7.9.0",
"@typescript-eslint/rule-tester": "^7.9.0",
"@typescript-eslint/types": "^7.9.0",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"c8": "^9.1.0",
"eslint": "^8.57.0",
"rimraf": "~5.0.5",
"rimraf": "~5.0.7",
"typescript": "~5.4.5",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
},
"dependencies": {
"@typescript-eslint/utils": "^7.6.0"
"@typescript-eslint/utils": "^7.9.0"
}
}
20 changes: 10 additions & 10 deletions packages/html-program-viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,21 @@
"dependencies": {
"@emotion/react": "^11.11.4",
"prettier": "~3.2.5",
"react": "~18.2.0",
"react-dom": "~18.2.0",
"react-is": "~18.2.0"
"react": "~18.3.1",
"react-dom": "~18.3.1",
"react-is": "~18.3.1"
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/core": "^7.24.5",
"@types/node": "~18.11.19",
"@types/react": "~18.2.78",
"@types/react-dom": "~18.2.25",
"@types/react": "~18.3.2",
"@types/react-dom": "~18.3.0",
"@typespec/compiler": "workspace:~",
"@vitest/coverage-v8": "^1.5.0",
"@vitest/ui": "^1.5.0",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"c8": "^9.1.0",
"rimraf": "~5.0.5",
"rimraf": "~5.0.7",
"typescript": "~5.4.5",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
}
}
8 changes: 4 additions & 4 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.5.0",
"@vitest/ui": "^1.5.0",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"c8": "^9.1.0",
"rimraf": "~5.0.5",
"rimraf": "~5.0.7",
"typescript": "~5.4.5",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
}
}
12 changes: 6 additions & 6 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.7.0",
"semver": "^7.6.0",
"cspell": "^8.8.1",
"semver": "^7.6.2",
"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.5.0",
"@vitest/ui": "^1.5.0",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"c8": "^9.1.0",
"chokidar": "~3.6.0",
"rimraf": "~5.0.5",
"rimraf": "~5.0.7",
"typescript": "~5.4.5",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
}
}
12 changes: 6 additions & 6 deletions packages/json-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,16 @@
"@typespec/internal-build-utils": "workspace:~",
"@typespec/library-linter": "workspace:~",
"@typespec/tspd": "workspace:~",
"@vitest/coverage-v8": "^1.5.0",
"@vitest/ui": "^1.5.0",
"ajv": "~8.12.0",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"ajv": "~8.13.0",
"ajv-formats": "~3.0.1",
"c8": "^9.1.0",
"rimraf": "~5.0.5",
"rimraf": "~5.0.7",
"typescript": "~5.4.5",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
},
"dependencies": {
"yaml": "~2.4.1"
"yaml": "~2.4.2"
}
}
8 changes: 4 additions & 4 deletions packages/library-linter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
"devDependencies": {
"@types/node": "~18.11.19",
"@typespec/compiler": "workspace:~",
"@vitest/coverage-v8": "^1.5.0",
"@vitest/ui": "^1.5.0",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"c8": "^9.1.0",
"rimraf": "~5.0.5",
"rimraf": "~5.0.7",
"typescript": "~5.4.5",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
}
}
12 changes: 6 additions & 6 deletions packages/monarch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@
],
"devDependencies": {
"@types/node": "~18.11.19",
"@vitest/coverage-v8": "^1.5.0",
"@vitest/ui": "^1.5.0",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"c8": "^9.1.0",
"happy-dom": "^14.7.1",
"rimraf": "~5.0.5",
"happy-dom": "^14.11.0",
"rimraf": "~5.0.7",
"typescript": "~5.4.5",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
},
"dependencies": {
"monaco-editor-core": "^0.47.0"
"monaco-editor-core": "^0.48.0"
}
}
Loading
Loading