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

Upgrade dependencies, fix rollup vulnerability #4531

Merged
merged 8 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .chronus/changes/upgrade-deps-sep-2024-2-2024-8-25-9-32-48.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
changeKind: internal
packages:
- "@typespec/bundler"
- "@typespec/compiler"
- "@typespec/eslint-plugin"
- "@typespec/html-program-viewer"
- "@typespec/http-server-csharp"
- "@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"
---

2 changes: 2 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,13 @@ export default tsEslint.config(
ignores: [
"**/dist/**/*",
"**/.temp/**/*",
"**/temp/**/*",
"**/generated-defs/*",
"**/website/build/**/*",
"**/.docusaurus/**/*",
"packages/compiler/templates/**/*", // Ignore the templates which might have invalid code and not follow exactly our rules.
"**/venv/**/*", // Ignore python virtual env
"**/.vscode-test-web/**/*", // Ignore VSCode test web project
// TODO: enable
"**/.scripts/**/*",
"eng/tsp-core/scripts/**/*",
Expand Down
24 changes: 11 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,20 @@
"sync-labels": "tsx ./eng/common/scripts/labels/sync-labels.ts --config ./eng/common/config/labels.ts"
},
"devDependencies": {
"@chronus/chronus": "^0.12.1",
"@chronus/github": "^0.4.3",
"@eslint/js": "^9.10.0",
"@chronus/chronus": "^0.13.0",
"@chronus/github": "^0.4.4",
"@eslint/js": "^9.11.1",
"@microsoft/api-extractor": "^7.47.9",
"@octokit/core": "^6.1.2",
"@octokit/plugin-paginate-graphql": "^5.2.2",
"@octokit/plugin-paginate-graphql": "^5.2.3",
"@octokit/plugin-rest-endpoint-methods": "^13.2.4",
"@pnpm/find-workspace-packages": "^6.0.9",
"@types/micromatch": "^4.0.9",
"@types/node": "~22.5.4",
"@typescript-eslint/parser": "^8.5.0",
"@typescript-eslint/utils": "^8.5.0",
"@vitest/coverage-v8": "^2.1.0",
"@types/node": "~22.7.0",
"@vitest/coverage-v8": "^2.1.1",
"c8": "^10.1.2",
"cspell": "^8.14.2",
"eslint": "^9.10.0",
"cspell": "^8.14.4",
"eslint": "^9.11.1",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-react-hooks": "^5.1.0-rc-94e652d5-20240912",
Expand All @@ -60,13 +58,13 @@
"micromatch": "^4.0.8",
"picocolors": "~1.1.0",
"prettier": "~3.3.3",
"prettier-plugin-organize-imports": "~4.0.0",
"prettier-plugin-organize-imports": "~4.1.0",
"rimraf": "~6.0.1",
"syncpack": "^13.0.0",
"tsx": "^4.19.1",
"typescript": "~5.6.2",
"typescript-eslint": "^8.5.0",
"vitest": "^2.1.0",
"typescript-eslint": "^8.7.0",
"vitest": "^2.1.1",
"yaml": "~2.5.1"
},
"syncpack": {
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 @@ -44,13 +44,13 @@
"@typespec/compiler": "workspace:~"
},
"devDependencies": {
"@types/node": "~22.5.4",
"@types/node": "~22.7.0",
"@typespec/compiler": "workspace:~",
"@vitest/coverage-v8": "^2.1.0",
"@vitest/ui": "^2.1.0",
"@vitest/coverage-v8": "^2.1.1",
"@vitest/ui": "^2.1.1",
"c8": "^10.1.2",
"rimraf": "~6.0.1",
"typescript": "~5.6.2",
"vitest": "^2.1.0"
"vitest": "^2.1.1"
}
}
10 changes: 5 additions & 5 deletions packages/bundle-uploader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,21 @@
],
"dependencies": {
"@azure/identity": "~4.4.1",
"@azure/storage-blob": "~12.24.0",
"@azure/storage-blob": "~12.25.0",
"@pnpm/find-workspace-packages": "^6.0.9",
"@typespec/bundler": "workspace:~",
"json5": "^2.2.3",
"picocolors": "~1.1.0",
"semver": "^7.6.3"
},
"devDependencies": {
"@types/node": "~22.5.4",
"@types/node": "~22.7.0",
"@types/semver": "^7.5.8",
"@vitest/coverage-v8": "^2.1.0",
"@vitest/ui": "^2.1.0",
"@vitest/coverage-v8": "^2.1.1",
"@vitest/ui": "^2.1.1",
"c8": "^10.1.2",
"rimraf": "~6.0.1",
"typescript": "~5.6.2",
"vitest": "^2.1.0"
"vitest": "^2.1.1"
}
}
18 changes: 9 additions & 9 deletions packages/bundler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,26 @@
"!dist/test/**"
],
"dependencies": {
"@rollup/plugin-alias": "~5.1.0",
"@rollup/plugin-commonjs": "~26.0.1",
"@rollup/plugin-alias": "~5.1.1",
"@rollup/plugin-commonjs": "~28.0.0",
"@rollup/plugin-json": "~6.1.0",
"@rollup/plugin-multi-entry": "~6.0.1",
"@rollup/plugin-node-resolve": "~15.2.3",
"@rollup/plugin-node-resolve": "~15.3.0",
"@rollup/plugin-virtual": "~3.0.2",
"@typespec/compiler": "workspace:~",
"picocolors": "~1.1.0",
"rollup": "~4.21.3",
"rollup": "~4.22.4",
"yargs": "~17.7.2"
},
"devDependencies": {
"@types/node": "~22.5.4",
"@types/node": "~22.7.0",
"@types/yargs": "~17.0.33",
"@vitest/coverage-v8": "^2.1.0",
"@vitest/ui": "^2.1.0",
"@vitest/coverage-v8": "^2.1.1",
"@vitest/ui": "^2.1.1",
"c8": "^10.1.2",
"rimraf": "~6.0.1",
"typescript": "~5.6.2",
"vite": "^5.4.4",
"vitest": "^2.1.0"
"vite": "^5.4.8",
"vitest": "^2.1.1"
}
}
8 changes: 4 additions & 4 deletions packages/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,21 +104,21 @@
"devDependencies": {
"@types/babel__code-frame": "~7.0.6",
"@types/mustache": "~4.2.5",
"@types/node": "~22.5.4",
"@types/node": "~22.7.0",
"@types/prompts": "~2.4.9",
"@types/semver": "^7.5.8",
"@types/yargs": "~17.0.33",
"@typespec/internal-build-utils": "workspace:~",
"@vitest/coverage-v8": "^2.1.0",
"@vitest/ui": "^2.1.0",
"@vitest/coverage-v8": "^2.1.1",
"@vitest/ui": "^2.1.1",
"c8": "^10.1.2",
"grammarkdown": "~3.3.2",
"rimraf": "~6.0.1",
"source-map-support": "~0.5.21",
"tmlanguage-generator": "workspace:~",
"ts-node": "~10.9.2",
"typescript": "~5.6.2",
"vitest": "^2.1.0",
"vitest": "^2.1.1",
"vscode-oniguruma": "~2.0.1",
"vscode-textmate": "~9.1.0"
}
Expand Down
2 changes: 2 additions & 0 deletions packages/compiler/src/lib/decorators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,7 @@ const listPropertiesKey = createStateSymbol("listProperties");
/**
* @deprecated Use the `listsResource` decorator in `@typespec/rest` instead.
*/
// eslint-disable-next-line @typescript-eslint/no-deprecated
export const $list: ListDecorator = (
context: DecoratorContext,
target: Operation,
Expand Down Expand Up @@ -1211,6 +1212,7 @@ export const $withDefaultKeyVisibility: WithDefaultKeyVisibilityDecorator = (
* model Foo {}
* ```
*/
// eslint-disable-next-line @typescript-eslint/no-deprecated
export const $deprecated: DeprecatedDecorator = (
context: DecoratorContext,
target: Type,
Expand Down
20 changes: 10 additions & 10 deletions packages/eslint-plugin-typespec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,22 @@
"!dist/test/**"
],
"peerDependencies": {
"eslint": "^9.10.0"
"eslint": "^9.11.1"
},
"devDependencies": {
"@types/node": "~22.5.4",
"@typescript-eslint/parser": "^8.5.0",
"@typescript-eslint/rule-tester": "^8.5.0",
"@typescript-eslint/types": "^8.5.0",
"@vitest/coverage-v8": "^2.1.0",
"@vitest/ui": "^2.1.0",
"@types/node": "~22.7.0",
"@typescript-eslint/parser": "^8.7.0",
"@typescript-eslint/rule-tester": "^8.7.0",
"@typescript-eslint/types": "^8.7.0",
"@vitest/coverage-v8": "^2.1.1",
"@vitest/ui": "^2.1.1",
"c8": "^10.1.2",
"eslint": "^9.10.0",
"eslint": "^9.11.1",
"rimraf": "~6.0.1",
"typescript": "~5.6.2",
"vitest": "^2.1.0"
"vitest": "^2.1.1"
},
"dependencies": {
"@typescript-eslint/utils": "^8.5.0"
"@typescript-eslint/utils": "^8.7.0"
}
}
18 changes: 9 additions & 9 deletions packages/html-program-viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
"@typespec/compiler": "workspace:~"
},
"dependencies": {
"@fluentui/react-components": "~9.54.15",
"@fluentui/react-components": "~9.54.16",
"@fluentui/react-icons": "^2.0.258",
"@fluentui/react-list-preview": "^0.3.6",
"@fluentui/react-list-preview": "^0.3.7",
"react": "~18.3.1",
"react-dom": "~18.3.1",
"react-hotkeys-hook": "^4.5.1"
Expand All @@ -63,20 +63,20 @@
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
"@types/node": "~22.5.4",
"@types/react": "~18.3.5",
"@types/node": "~22.7.0",
"@types/react": "~18.3.9",
"@types/react-dom": "~18.3.0",
"@typespec/compiler": "workspace:~",
"@typespec/react-components": "workspace:~",
"@vitejs/plugin-react": "~4.3.1",
"@vitest/coverage-v8": "^2.1.0",
"@vitest/ui": "^2.1.0",
"@vitest/coverage-v8": "^2.1.1",
"@vitest/ui": "^2.1.1",
"c8": "^10.1.2",
"rimraf": "~6.0.1",
"typescript": "~5.6.2",
"vite": "^5.4.4",
"vite": "^5.4.8",
"vite-plugin-checker": "^0.8.0",
"vite-plugin-dts": "4.2.1",
"vitest": "^2.1.0"
"vite-plugin-dts": "4.2.2",
"vitest": "^2.1.1"
}
}
8 changes: 4 additions & 4 deletions packages/http-server-csharp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,18 @@
"change-case": "~5.4.4"
},
"devDependencies": {
"@types/node": "~22.5.4",
"@types/node": "~22.7.0",
"@typespec/compiler": "workspace:~",
"@typespec/http": "workspace:~",
"@typespec/library-linter": "workspace:~",
"@typespec/openapi": "workspace:~",
"@typespec/rest": "workspace:~",
"@typespec/tspd": "workspace:~",
"@vitest/coverage-v8": "^2.1.0",
"@vitest/ui": "^2.1.0",
"@vitest/coverage-v8": "^2.1.1",
"@vitest/ui": "^2.1.1",
"c8": "^10.1.2",
"rimraf": "~6.0.1",
"typescript": "~5.6.2",
"vitest": "^2.1.0"
"vitest": "^2.1.1"
}
}
2 changes: 1 addition & 1 deletion packages/http-server-javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"prettier": "~3.3.3"
},
"devDependencies": {
"@types/node": "~22.5.4",
"@types/node": "~22.7.0",
"@typespec/compiler": "workspace:~",
"@typespec/http": "workspace:~",
"tsx": "^4.19.1",
Expand Down
8 changes: 4 additions & 4 deletions packages/http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@
"@typespec/compiler": "workspace:~"
},
"devDependencies": {
"@types/node": "~22.5.4",
"@types/node": "~22.7.0",
"@typespec/compiler": "workspace:~",
"@typespec/library-linter": "workspace:~",
"@typespec/tspd": "workspace:~",
"@vitest/coverage-v8": "^2.1.0",
"@vitest/ui": "^2.1.0",
"@vitest/coverage-v8": "^2.1.1",
"@vitest/ui": "^2.1.1",
"c8": "^10.1.2",
"rimraf": "~6.0.1",
"typescript": "~5.6.2",
"vitest": "^2.1.0"
"vitest": "^2.1.1"
}
}
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.14.2",
"cspell": "^8.14.4",
"semver": "^7.6.3",
"strip-json-comments": "~5.0.1",
"yargs": "~17.7.2"
},
"devDependencies": {
"@types/node": "~22.5.4",
"@types/node": "~22.7.0",
"@types/semver": "^7.5.8",
"@types/yargs": "~17.0.33",
"@vitest/coverage-v8": "^2.1.0",
"@vitest/ui": "^2.1.0",
"@vitest/coverage-v8": "^2.1.1",
"@vitest/ui": "^2.1.1",
"c8": "^10.1.2",
"chokidar": "~4.0.0",
"chokidar": "~4.0.1",
"rimraf": "~6.0.1",
"typescript": "~5.6.2",
"vitest": "^2.1.0"
"vitest": "^2.1.1"
}
}
8 changes: 4 additions & 4 deletions packages/json-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,19 @@
"@typespec/compiler": "workspace:~"
},
"devDependencies": {
"@types/node": "~22.5.4",
"@types/node": "~22.7.0",
"@typespec/compiler": "workspace:~",
"@typespec/internal-build-utils": "workspace:~",
"@typespec/library-linter": "workspace:~",
"@typespec/tspd": "workspace:~",
"@vitest/coverage-v8": "^2.1.0",
"@vitest/ui": "^2.1.0",
"@vitest/coverage-v8": "^2.1.1",
"@vitest/ui": "^2.1.1",
"ajv": "~8.17.1",
"ajv-formats": "~3.0.1",
"c8": "^10.1.2",
"rimraf": "~6.0.1",
"typescript": "~5.6.2",
"vitest": "^2.1.0"
"vitest": "^2.1.1"
},
"dependencies": {
"yaml": "~2.5.1"
Expand Down
Loading
Loading