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

chore(deps): update all non-major dependencies #5957

Merged
merged 2 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
8 changes: 4 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@
},
"dependencies": {
"@vueuse/core": "^10.11.0",
"vue": "^3.4.29"
"vue": "^3.4.31"
},
"devDependencies": {
"@iconify-json/carbon": "^1.1.35",
"@iconify-json/carbon": "^1.1.36",
"@iconify-json/logos": "^1.1.43",
"@shikijs/vitepress-twoslash": "^1.7.0",
"@shikijs/vitepress-twoslash": "^1.10.0",
"@unocss/reset": "^0.61.0",
"@vite-pwa/assets-generator": "^0.2.4",
"@vite-pwa/vitepress": "^0.5.0",
"@vitejs/plugin-vue": "latest",
"fast-glob": "^3.3.2",
"https-localhost": "^4.7.1",
"unocss": "^0.61.0",
"unplugin-vue-components": "^0.27.0",
"unplugin-vue-components": "^0.27.2",
"vite": "^5.2.8",
"vite-plugin-pwa": "^0.20.0",
"vitepress": "^1.2.3",
Expand Down
4 changes: 2 additions & 2 deletions examples/lit/src/my-button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ export class MyButton extends LitElement {
* The name to say "Hello" to.
*/
@property()
name = 'World'
name = 'World'

/**
* The number of times the button has been clicked.
*/
@property({ type: Number })
count = 1
count = 1

render() {
return html`
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,21 @@
"test:browser:playwright": "pnpm -C test/browser run test:playwright"
},
"devDependencies": {
"@antfu/eslint-config": "^2.21.1",
"@antfu/eslint-config": "^2.21.2",
"@antfu/ni": "^0.21.12",
"@playwright/test": "^1.44.1",
"@playwright/test": "^1.45.0",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/node": "^20.14.2",
"@types/node": "^20.14.9",
"@types/ws": "^8.5.10",
"@vitest/browser": "workspace:*",
"@vitest/coverage-istanbul": "workspace:*",
"@vitest/coverage-v8": "workspace:*",
"@vitest/ui": "workspace:*",
"bumpp": "^9.4.1",
"esbuild": "^0.21.5",
"eslint": "^9.5.0",
"esbuild": "^0.22.0",
"eslint": "^9.6.0",
"fast-glob": "^3.3.2",
"lint-staged": "^15.2.7",
"magic-string": "^0.30.10",
Expand All @@ -60,13 +60,13 @@
"rollup": "^4.18.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-esbuild": "^6.1.1",
"rollup-plugin-license": "^3.4.0",
"rollup-plugin-license": "^3.5.1",
"simple-git-hooks": "^2.11.1",
"tsx": "^4.15.6",
"typescript": "^5.4.5",
"tsx": "^4.16.0",
"typescript": "^5.5.2",
"vite": "^5.2.6",
"vitest": "workspace:*",
"zx": "^8.1.2"
"zx": "^8.1.3"
},
"pnpm": {
"overrides": {
Expand Down
8 changes: 4 additions & 4 deletions packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
}
},
"dependencies": {
"@testing-library/dom": "^10.1.0",
"@testing-library/dom": "^10.2.0",
"@testing-library/user-event": "^14.5.2",
"@vitest/utils": "workspace:*",
"magic-string": "^0.30.10",
Expand All @@ -92,10 +92,10 @@
"flatted": "^3.3.1",
"pathe": "^1.1.2",
"periscopic": "^4.0.2",
"playwright": "^1.44.1",
"playwright-core": "^1.44.1",
"playwright": "^1.45.0",
"playwright-core": "^1.45.0",
"safaridriver": "^0.1.2",
"vitest": "workspace:*",
"webdriverio": "^8.38.2"
"webdriverio": "^8.39.0"
}
}
2 changes: 1 addition & 1 deletion packages/coverage-istanbul/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"istanbul-lib-coverage": "^3.2.2",
"istanbul-lib-instrument": "^6.0.3",
"istanbul-lib-report": "^3.0.1",
"istanbul-lib-source-maps": "^5.0.4",
"istanbul-lib-source-maps": "^5.0.5",
"istanbul-reports": "^3.1.7",
"magicast": "^0.3.4",
"picocolors": "^1.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/coverage-v8/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"debug": "^4.3.5",
"istanbul-lib-coverage": "^3.2.2",
"istanbul-lib-report": "^3.0.1",
"istanbul-lib-source-maps": "^5.0.4",
"istanbul-lib-source-maps": "^5.0.5",
"istanbul-reports": "^3.1.7",
"magic-string": "^0.30.10",
"magicast": "^0.3.4",
Expand Down
10 changes: 5 additions & 5 deletions packages/coverage-v8/src/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -443,11 +443,11 @@ export class V8CoverageProvider
transformResults: TransformResults,
functions: Profiler.FunctionCoverage[] = [],
): Promise<{
source: string
originalSource: string
sourceMap?: { sourcemap: EncodedSourceMap }
isExecuted: boolean
}> {
source: string
originalSource: string
sourceMap?: { sourcemap: EncodedSourceMap }
isExecuted: boolean
}> {
const filePath = normalize(fileURLToPath(url))

let isExecuted = true
Expand Down
14 changes: 7 additions & 7 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@
},
"devDependencies": {
"@faker-js/faker": "^8.4.1",
"@iconify-json/carbon": "^1.1.35",
"@iconify-json/carbon": "^1.1.36",
"@iconify-json/logos": "^1.1.43",
"@testing-library/vue": "^8.1.0",
"@types/codemirror": "^5.60.15",
"@types/d3-force": "^3.0.9",
"@types/d3-force": "^3.0.10",
"@types/d3-selection": "^3.0.10",
"@types/ws": "^8.5.10",
"@unocss/reset": "^0.61.0",
Expand All @@ -74,15 +74,15 @@
"birpc": "0.2.17",
"codemirror": "^5.65.16",
"codemirror-theme-vars": "^0.1.2",
"d3-graph-controller": "^3.0.9",
"d3-graph-controller": "^3.0.10",
"floating-vue": "^5.2.2",
"splitpanes": "^3.1.5",
"unocss": "^0.61.0",
"unplugin-auto-import": "^0.17.6",
"unplugin-vue-components": "^0.27.0",
"unplugin-vue-components": "^0.27.2",
"vite": "^5.0.0",
"vite-plugin-pages": "^0.32.2",
"vue": "^3.4.29",
"vue-router": "^4.3.3"
"vite-plugin-pages": "^0.32.3",
"vue": "^3.4.31",
"vue-router": "^4.4.0"
}
}
4 changes: 2 additions & 2 deletions packages/vite-node/src/hmr/emitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export interface Emitter<Events extends Record<EventType, unknown>> {
) => void
emit: (<Key extends keyof Events>(type: Key, event: Events[Key]) => void) &
(<Key extends keyof Events>(
type: undefined extends Events[Key] ? Key : never
) => void)
type: undefined extends Events[Key] ? Key : never
) => void)
}

export type HMREmitter = Emitter<{
Expand Down
6 changes: 3 additions & 3 deletions packages/vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@
"@types/istanbul-lib-coverage": "^2.0.6",
"@types/istanbul-reports": "^3.0.4",
"@types/jsdom": "^21.1.7",
"@types/micromatch": "^4.0.7",
"@types/node": "^20.14.2",
"@types/micromatch": "^4.0.9",
"@types/node": "^20.14.9",
"@types/prompts": "^2.4.9",
"@types/sinonjs__fake-timers": "^8.1.5",
"acorn-walk": "^8.3.3",
Expand All @@ -189,7 +189,7 @@
"find-up": "^6.3.0",
"flatted": "^3.3.1",
"get-tsconfig": "^4.7.5",
"happy-dom": "^14.12.0",
"happy-dom": "^14.12.3",
"jsdom": "^24.1.0",
"local-pkg": "^0.5.0",
"log-update": "^5.0.1",
Expand Down
32 changes: 16 additions & 16 deletions packages/vitest/src/integrations/vi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,22 +278,22 @@ export interface VitestUtils {
mocked: (<T>(item: T, deep?: false) => MaybeMocked<T>) &
(<T>(item: T, deep: true) => MaybeMockedDeep<T>) &
(<T>(
item: T,
options: { partial?: false; deep?: false }
) => MaybeMocked<T>) &
(<T>(
item: T,
options: { partial?: false; deep: true }
) => MaybeMockedDeep<T>) &
(<T>(
item: T,
options: { partial: true; deep?: false }
) => MaybePartiallyMocked<T>) &
(<T>(
item: T,
options: { partial: true; deep: true }
) => MaybePartiallyMockedDeep<T>) &
(<T>(item: T) => MaybeMocked<T>)
item: T,
options: { partial?: false; deep?: false }
) => MaybeMocked<T>) &
(<T>(
item: T,
options: { partial?: false; deep: true }
) => MaybeMockedDeep<T>) &
(<T>(
item: T,
options: { partial: true; deep?: false }
) => MaybePartiallyMocked<T>) &
(<T>(
item: T,
options: { partial: true; deep: true }
) => MaybePartiallyMockedDeep<T>) &
(<T>(item: T) => MaybeMocked<T>)

/**
* Checks that a given parameter is a mock function. If you are using TypeScript, it will also narrow down its type.
Expand Down
6 changes: 3 additions & 3 deletions packages/vitest/src/node/cli/cli-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import type {
import type { CliOptions } from './cli-api'

type NestedOption<T, V = Extract<T, Record<string, any>>> = V extends
| never
| RegExp
| unknown[]
| never
| RegExp
| unknown[]
? never
: V

Expand Down
4 changes: 2 additions & 2 deletions packages/vitest/src/types/coverage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ export interface BaseCoverageOptions {
| Thresholds
| ({
[glob: string]: Pick<
Thresholds,
Thresholds,
'statements' | 'functions' | 'branches' | 'lines'
>
>
} & Thresholds)

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/web-worker/src/shared-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function convertNodePortToWebPort(port: NodeMessagePort): MessagePort {
})
}
if (!('dispatchEvent' in port)) {
const emit = port.emit.bind(port)
const emit = (port as any).emit.bind(port)
Object.defineProperty(port, 'emit', {
value(event: any) {
if (event.name === 'message') {
Expand Down
Loading
Loading