Skip to content

Commit 38ea8ea

Browse files
fix(deps): update all non-major dependencies (#7297)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Vladimir Sheremet <[email protected]>
1 parent 385bfa4 commit 38ea8ea

File tree

18 files changed

+741
-811
lines changed

18 files changed

+741
-811
lines changed

docs/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
"generate-pwa-icons": "pwa-assets-generator"
1515
},
1616
"dependencies": {
17-
"@vueuse/core": "^12.4.0",
17+
"@vueuse/core": "^12.5.0",
1818
"vue": "^3.5.12"
1919
},
2020
"devDependencies": {
2121
"@iconify-json/carbon": "^1.2.5",
2222
"@iconify-json/logos": "^1.2.4",
23-
"@shikijs/transformers": "^1.27.2",
24-
"@shikijs/vitepress-twoslash": "^1.27.2",
23+
"@shikijs/transformers": "^1.29.1",
24+
"@shikijs/vitepress-twoslash": "^1.29.1",
2525
"@unocss/reset": "^0.65.4",
2626
"@vite-pwa/assets-generator": "^0.2.6",
2727
"@vite-pwa/vitepress": "^0.5.3",
@@ -32,8 +32,8 @@
3232
"unplugin-vue-components": "^0.28.0",
3333
"vite": "^5.2.8",
3434
"vite-plugin-pwa": "^0.21.1",
35-
"vitepress": "^1.5.0",
36-
"vitepress-plugin-group-icons": "^1.3.4",
35+
"vitepress": "^1.6.3",
36+
"vitepress-plugin-group-icons": "^1.3.5",
3737
"vitepress-plugin-tabs": "^0.5.0",
3838
"workbox-window": "^7.3.0"
3939
}

examples/in-source-test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"test:run": "vitest run"
88
},
99
"devDependencies": {
10-
"typescript": "^5.5.4",
10+
"typescript": "^5.7.3",
1111
"vitest": "latest"
1212
}
1313
}

examples/sveltekit/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"svelte": "^3.59.1",
1818
"svelte-check": "^3.4.3",
1919
"tslib": "^2.5.3",
20-
"typescript": "^5.2.2",
20+
"typescript": "^5.7.3",
2121
"vite": "latest",
2222
"vitest": "latest"
2323
}

examples/typecheck/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"devDependencies": {
1313
"@types/node": "^20.11.5",
1414
"@vitest/ui": "latest",
15-
"typescript": "^5.2.2",
15+
"typescript": "^5.7.3",
1616
"vite": "latest",
1717
"vitest": "latest"
1818
},

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,20 @@
4242
"@rollup/plugin-commonjs": "^28.0.2",
4343
"@rollup/plugin-json": "^6.1.0",
4444
"@rollup/plugin-node-resolve": "^16.0.0",
45-
"@types/node": "^22.10.7",
45+
"@types/node": "^22.10.9",
4646
"@types/ws": "^8.5.13",
4747
"@vitest/browser": "workspace:*",
4848
"@vitest/coverage-istanbul": "workspace:*",
4949
"@vitest/coverage-v8": "workspace:*",
5050
"@vitest/ui": "workspace:*",
51-
"bumpp": "^9.10.1",
51+
"bumpp": "^9.10.2",
5252
"changelogithub": "^0.13.11",
5353
"esbuild": "^0.24.2",
5454
"eslint": "^9.18.0",
5555
"magic-string": "^0.30.17",
56-
"pathe": "^2.0.1",
56+
"pathe": "^2.0.2",
5757
"rimraf": "^6.0.1",
58-
"rollup": "^4.30.1",
58+
"rollup": "^4.31.0",
5959
"rollup-plugin-dts": "^6.1.1",
6060
"rollup-plugin-esbuild": "^6.1.1",
6161
"rollup-plugin-license": "^3.5.3",

packages/browser/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
},
8989
"dependencies": {
9090
"@testing-library/dom": "^10.4.0",
91-
"@testing-library/user-event": "^14.6.0",
91+
"@testing-library/user-event": "^14.6.1",
9292
"@vitest/mocker": "workspace:*",
9393
"@vitest/utils": "workspace:*",
9494
"magic-string": "^0.30.17",
@@ -108,7 +108,7 @@
108108
"flatted": "^3.3.2",
109109
"ivya": "^1.1.1",
110110
"mime": "^4.0.6",
111-
"pathe": "^2.0.1",
111+
"pathe": "^2.0.2",
112112
"periscopic": "^4.0.2",
113113
"playwright": "^1.49.1",
114114
"playwright-core": "^1.49.1",

packages/coverage-istanbul/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"@types/istanbul-lib-source-maps": "^4.0.4",
6464
"@types/istanbul-reports": "^3.0.4",
6565
"@types/test-exclude": "^6.0.2",
66-
"pathe": "^2.0.1",
66+
"pathe": "^2.0.2",
6767
"vitest": "workspace:*"
6868
}
6969
}

packages/coverage-v8/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"@types/istanbul-reports": "^3.0.4",
7676
"@types/test-exclude": "^6.0.2",
7777
"@vitest/browser": "workspace:*",
78-
"pathe": "^2.0.1",
78+
"pathe": "^2.0.2",
7979
"v8-to-istanbul": "^9.3.0",
8080
"vite-node": "workspace:*",
8181
"vitest": "workspace:*"

packages/mocker/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"@vitest/utils": "workspace:*",
7777
"acorn-walk": "^8.3.4",
7878
"msw": "^2.7.0",
79-
"pathe": "^2.0.1",
79+
"pathe": "^2.0.2",
8080
"vite": "^5.4.0"
8181
}
8282
}

packages/runner/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@
4343
},
4444
"dependencies": {
4545
"@vitest/utils": "workspace:*",
46-
"pathe": "^2.0.1"
46+
"pathe": "^2.0.2"
4747
}
4848
}

packages/snapshot/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"dependencies": {
4545
"@vitest/pretty-format": "workspace:*",
4646
"magic-string": "^0.30.17",
47-
"pathe": "^2.0.1"
47+
"pathe": "^2.0.2"
4848
},
4949
"devDependencies": {
5050
"@types/natural-compare": "^1.4.3",

packages/ui/client/auto-imports.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ declare global {
184184
const useCodeMirror: typeof import('./composables/codemirror')['useCodeMirror']
185185
const useColorMode: typeof import('@vueuse/core')['useColorMode']
186186
const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog']
187+
const useCountdown: typeof import('@vueuse/core')['useCountdown']
187188
const useCounter: typeof import('@vueuse/core')['useCounter']
188189
const useCssModule: typeof import('vue')['useCssModule']
189190
const useCssVar: typeof import('@vueuse/core')['useCssVar']

packages/ui/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@vitest/utils": "workspace:*",
5151
"fflate": "^0.8.2",
5252
"flatted": "^3.3.2",
53-
"pathe": "^2.0.1",
53+
"pathe": "^2.0.2",
5454
"sirv": "^3.0.0",
5555
"tinyglobby": "^0.2.10",
5656
"tinyrainbow": "^2.0.0"
@@ -69,14 +69,14 @@
6969
"@vitest/runner": "workspace:*",
7070
"@vitest/ws-client": "workspace:*",
7171
"@vue/test-utils": "^2.4.6",
72-
"@vueuse/core": "^12.4.0",
72+
"@vueuse/core": "^12.5.0",
7373
"ansi-to-html": "^0.7.2",
7474
"birpc": "0.2.19",
7575
"codemirror": "^5.65.18",
7676
"codemirror-theme-vars": "^0.1.2",
77-
"d3-graph-controller": "^3.0.11",
77+
"d3-graph-controller": "^3.0.12",
7878
"floating-vue": "^5.2.2",
79-
"rollup": "^4.30.1",
79+
"rollup": "^4.31.0",
8080
"splitpanes": "^3.1.8",
8181
"unocss": "^0.65.4",
8282
"unplugin-auto-import": "^0.19.0",

packages/vite-node/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"cac": "^6.7.14",
8686
"debug": "^4.4.0",
8787
"es-module-lexer": "^1.6.0",
88-
"pathe": "^2.0.1",
88+
"pathe": "^2.0.2",
8989
"vite": "^5.0.0 || ^6.0.0"
9090
},
9191
"devDependencies": {

packages/vitest/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
"debug": "^4.4.0",
166166
"expect-type": "^1.1.0",
167167
"magic-string": "^0.30.17",
168-
"pathe": "^2.0.1",
168+
"pathe": "^2.0.2",
169169
"std-env": "^3.8.0",
170170
"tinybench": "^2.9.0",
171171
"tinyexec": "^0.3.2",
@@ -186,7 +186,7 @@
186186
"@types/istanbul-reports": "^3.0.4",
187187
"@types/jsdom": "^21.1.7",
188188
"@types/micromatch": "^4.0.9",
189-
"@types/node": "^22.10.7",
189+
"@types/node": "^22.10.9",
190190
"@types/prompts": "^2.4.9",
191191
"@types/sinonjs__fake-timers": "^8.1.5",
192192
"acorn-walk": "^8.3.4",
@@ -196,8 +196,8 @@
196196
"fast-glob": "3.3.3",
197197
"find-up": "^6.3.0",
198198
"flatted": "^3.3.2",
199-
"get-tsconfig": "^4.8.1",
200-
"happy-dom": "^16.6.0",
199+
"get-tsconfig": "^4.10.0",
200+
"happy-dom": "^16.7.2",
201201
"jsdom": "^25.0.1",
202202
"local-pkg": "^0.5.1",
203203
"micromatch": "^4.0.8",

packages/vitest/src/runtime/vm/commonjs-executor.ts

+11-11
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ interface CommonjsExecutorOptions {
1313

1414
const _require = createRequire(import.meta.url)
1515

16-
interface PrivateNodeModule extends NodeModule {
16+
interface PrivateNodeModule extends NodeJS.Module {
1717
_compile: (code: string, filename: string) => void
1818
}
1919

20-
const requiresCache = new WeakMap<NodeModule, NodeRequire>()
20+
const requiresCache = new WeakMap<NodeJS.Module, NodeJS.Require>()
2121

2222
export class CommonjsExecutor {
2323
private context: vm.Context
24-
private requireCache = new Map<string, NodeModule>()
24+
private requireCache = new Map<string, NodeJS.Module>()
2525
private publicRequireCache = this.createProxyCache()
2626

2727
private moduleCache = new Map<string, VMModule | Promise<VMModule>>()
28-
private builtinCache: Record<string, NodeModule> = Object.create(null)
28+
private builtinCache: Record<string, NodeJS.Module> = Object.create(null)
2929
private extensions: Record<
3030
string,
31-
(m: NodeModule, filename: string) => unknown
31+
(m: NodeJS.Module, filename: string) => unknown
3232
> = Object.create(null)
3333

3434
private fs: FileMap
@@ -135,7 +135,7 @@ export class CommonjsExecutor {
135135
static _cache = executor.moduleCache
136136
static _extensions = executor.extensions
137137

138-
static createRequire = (filename: string) => {
138+
static createRequire = (filename: string | URL) => {
139139
return executor.createRequire(filename)
140140
}
141141

@@ -169,17 +169,17 @@ export class CommonjsExecutor {
169169
this.extensions['.json'] = this.requireJson
170170
}
171171

172-
private requireJs = (m: NodeModule, filename: string) => {
172+
private requireJs = (m: NodeJS.Module, filename: string) => {
173173
const content = this.fs.readFile(filename);
174174
(m as PrivateNodeModule)._compile(content, filename)
175175
}
176176

177-
private requireJson = (m: NodeModule, filename: string) => {
177+
private requireJson = (m: NodeJS.Module, filename: string) => {
178178
const code = this.fs.readFile(filename)
179179
m.exports = JSON.parse(code)
180180
}
181181

182-
public createRequire = (filename: string) => {
182+
public createRequire = (filename: string | URL) => {
183183
const _require = createRequire(filename)
184184
const require = ((id: string) => {
185185
const resolved = _require.resolve(id)
@@ -189,7 +189,7 @@ export class CommonjsExecutor {
189189
}
190190
const module = new this.Module(resolved)
191191
return this.loadCommonJSModule(module, resolved)
192-
}) as NodeRequire
192+
}) as NodeJS.Require
193193
require.resolve = _require.resolve
194194
Object.defineProperty(require, 'extensions', {
195195
get: () => this.extensions,
@@ -220,7 +220,7 @@ export class CommonjsExecutor {
220220

221221
// very naive implementation for Node.js require
222222
private loadCommonJSModule(
223-
module: NodeModule,
223+
module: NodeJS.Module,
224224
filename: string,
225225
): Record<string, unknown> {
226226
const cached = this.requireCache.get(filename)

0 commit comments

Comments
 (0)