Skip to content

Commit

Permalink
chore: up deps
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Nov 25, 2024
1 parent 0eaaeb9 commit 84dd1a1
Show file tree
Hide file tree
Showing 9 changed files with 837 additions and 1,482 deletions.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@vue/router-root",
"private": true,
"packageManager": "pnpm@9.10.0",
"type": "module",
"engines": {
"node": ">=20.9.0"
},
Expand Down Expand Up @@ -29,19 +30,22 @@
"test": "pnpm run -r test"
},
"devDependencies": {
"@vitest/coverage-v8": "^2.1.5",
"@vitest/ui": "^2.1.5",
"brotli": "^1.3.3",
"chalk": "^5.3.0",
"enquirer": "^2.4.1",
"execa": "^9.3.1",
"execa": "^9.5.1",
"globby": "^14.0.2",
"lint-staged": "^15.2.10",
"minimist": "^1.2.8",
"p-series": "^3.0.0",
"prettier": "^2.8.8",
"semver": "^7.6.3",
"typedoc": "^0.25.8",
"typedoc": "^0.25.13",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "~5.3.3",
"vitest": "^2.1.5",
"yorkie": "^2.0.0"
},
"gitHooks": {
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"docs:preview": "vitepress preview ."
},
"dependencies": {
"simple-git": "^3.26.0",
"simple-git": "^3.27.0",
"vitepress": "1.2.3",
"vitepress-translation-helper": "^0.2.1",
"vue-router": "workspace:*"
Expand Down
12 changes: 6 additions & 6 deletions packages/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
"preview": "vite preview --port 4173"
},
"dependencies": {
"vue": "~3.4.3"
"vue": "~3.4.38"
},
"devDependencies": {
"@types/node": "^20.16.5",
"@vitejs/plugin-vue": "^5.1.3",
"@vue/compiler-sfc": "~3.4.3",
"@types/node": "^20.17.7",
"@vitejs/plugin-vue": "^5.2.0",
"@vue/compiler-sfc": "~3.4.38",
"@vue/tsconfig": "^0.5.1",
"typescript": "~5.3.3",
"vite": "^5.4.3",
"vite": "^5.4.11",
"vue-router": "workspace:*",
"vue-tsc": "^2.1.6"
"vue-tsc": "^2.1.10"
}
}
5 changes: 1 addition & 4 deletions packages/router/__tests__/guards/beforeRouteEnter.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ import { vi, describe, expect, it, beforeAll, beforeEach } from 'vitest'
const Home = { template: `<div>Home</div>` }
const Foo = { template: `<div>Foo</div>` }

const beforeRouteEnter = vi.fn<
Parameters<NavigationGuard>,
ReturnType<NavigationGuard>
>()
const beforeRouteEnter = vi.fn<NavigationGuard>()
const named = {
default: vi.fn(),
other: vi.fn(),
Expand Down
31 changes: 14 additions & 17 deletions packages/router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,37 +117,34 @@
"@vue/devtools-api": "^6.6.4"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.40.1",
"@rollup/plugin-alias": "^5.1.0",
"@microsoft/api-extractor": "^7.48.0",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^5.0.7",
"@rollup/plugin-terser": "^0.4.4",
"@types/jsdom": "^21.1.7",
"@types/nightwatch": "^2.3.31",
"@vitejs/plugin-vue": "^5.1.3",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"@vue/compiler-sfc": "~3.4.3",
"@vue/server-renderer": "~3.4.3",
"@types/nightwatch": "^2.3.32",
"@vitejs/plugin-vue": "^5.2.0",
"@vue/compiler-sfc": "~3.4.38",
"@vue/server-renderer": "~3.4.38",
"@vue/test-utils": "^2.4.6",
"browserstack-local": "^1.5.5",
"chromedriver": "^131.0.0",
"chromedriver": "^131.0.1",
"connect-history-api-fallback": "^1.6.0",
"conventional-changelog-cli": "^2.2.2",
"dotenv": "^16.4.5",
"faked-promise": "^2.2.2",
"geckodriver": "^4.4.4",
"happy-dom": "^15.7.3",
"geckodriver": "^4.5.1",
"happy-dom": "^15.11.6",
"nightwatch": "^2.6.25",
"nightwatch-helpers": "^1.2.0",
"rimraf": "^6.0.1",
"rollup": "^3.29.4",
"rollup": "^3.29.5",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-typescript2": "^0.36.0",
"typescript": "~5.3.3",
"vite": "^5.4.3",
"vitest": "^1.6.0",
"vue": "~3.4.3"
"typescript": "~5.6.3",
"vite": "^5.4.11",
"vue": "~3.4.38"
}
}
2 changes: 1 addition & 1 deletion packages/router/src/RouterLink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export function useLink<Name extends keyof RouteMap = keyof RouteMap>(
typeof document !== 'undefined' &&
'startViewTransition' in document
) {
// @ts-expect-error: not added to types yet
// @ts-ignore: this fails with Vitest, FIXME: remove it
document.startViewTransition(() => p)
}
return p
Expand Down
3 changes: 0 additions & 3 deletions packages/router/vitest.workspace.js

This file was deleted.

Loading

0 comments on commit 84dd1a1

Please sign in to comment.