Skip to content

Commit 858af60

Browse files
authored
chore: update major deps (#8572)
1 parent 2755508 commit 858af60

File tree

7 files changed

+13
-17
lines changed

7 files changed

+13
-17
lines changed

.eslintrc.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ module.exports = defineConfig({
155155
}
156156
},
157157
{
158-
files: ['*.js'],
158+
files: ['playground/**', '*.js'],
159159
rules: {
160160
'@typescript-eslint/explicit-module-boundary-types': 'off'
161161
}

.github/renovate.json5

+2-6
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,11 @@
1919
"typescript",
2020

2121
// breaking changes
22-
"cac", // `cac:v6.7.10+` has breaking changes
2322
"react-router", // `react-router:v6.0.0+` has breaking changes
2423
"react-router-dom", // `react-router-dom:v6.0.0+` has breaking changes
2524
"source-map", // `source-map:v0.7.0+` needs more investigation
2625
"dotenv-expand", // `dotenv-expand:6.0.0+` has breaking changes (#6858)
27-
28-
// ESM Only => https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-move-my-commonjs-project-to-esm
29-
"node-fetch",
30-
"periscopic",
31-
"strip-ansi"
26+
"kill-port", // `kill-port:^2.0.0 has perf issues (#8392)
27+
"miniflare" // `miniflare:v2.0.0+` only supports node 16.7
3228
]
3329
}

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@types/micromatch": "^4.0.2",
5151
"@types/mime": "^2.0.3",
5252
"@types/minimist": "^1.2.2",
53-
"@types/node": "^17.0.31",
53+
"@types/node": "^17.0.42",
5454
"@types/prompts": "^2.4.0",
5555
"@types/resolve": "^1.20.2",
5656
"@types/sass": "~1.43.1",
@@ -61,26 +61,26 @@
6161
"@typescript-eslint/parser": "^5.27.1",
6262
"conventional-changelog-cli": "^2.2.2",
6363
"cross-env": "^7.0.3",
64-
"esbuild": "^0.14.38",
64+
"esbuild": "^0.14.43",
6565
"eslint": "^8.17.0",
6666
"eslint-define-config": "^1.5.1",
6767
"eslint-plugin-import": "^2.26.0",
6868
"eslint-plugin-node": "^11.1.0",
6969
"esno": "^0.16.3",
70-
"execa": "^5.1.1",
70+
"execa": "^6.1.0",
7171
"fs-extra": "^10.1.0",
7272
"kill-port": "^1.6.1",
7373
"lint-staged": "^13.0.1",
7474
"minimist": "^1.2.6",
75-
"node-fetch": "^2.6.7",
75+
"node-fetch": "^3.2.6",
7676
"npm-run-all": "^4.1.5",
7777
"picocolors": "^1.0.0",
7878
"playwright-chromium": "^1.22.2",
7979
"pnpm": "^7.2.1",
8080
"prettier": "2.6.2",
8181
"prompts": "^2.4.2",
8282
"rimraf": "^3.0.2",
83-
"rollup": "^2.72.1",
83+
"rollup": "^2.75.6",
8484
"semver": "^7.3.7",
8585
"simple-git-hooks": "^2.8.0",
8686
"sirv": "^2.0.2",

packages/plugin-vue-jsx/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
},
3636
"homepage": "https://github.com/vitejs/vite/tree/main/packages/plugin-vue-jsx#readme",
3737
"dependencies": {
38-
"@babel/core": "^7.18.2",
38+
"@babel/core": "^7.18.5",
3939
"@babel/plugin-syntax-import-meta": "^7.10.4",
4040
"@babel/plugin-transform-typescript": "^7.18.4",
4141
"@vue/babel-plugin-jsx": "^1.1.1"

packages/plugin-vue/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@jridgewell/gen-mapping": "^0.3.1",
4343
"@jridgewell/trace-mapping": "^0.3.13",
4444
"debug": "^4.3.4",
45-
"rollup": "^2.72.1",
45+
"rollup": "^2.75.6",
4646
"slash": "^4.0.0",
4747
"source-map": "^0.6.1",
4848
"vite": "workspace:*",

playground/test-utils.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ export async function killProcess(
182182
): Promise<void> {
183183
if (isWindows) {
184184
try {
185-
const { default: execa } = await import('execa')
186-
execa.commandSync(`taskkill /pid ${serverProcess.pid} /T /F`)
185+
const { execaCommandSync } = await import('execa')
186+
execaCommandSync(`taskkill /pid ${serverProcess.pid} /T /F`)
187187
} catch (e) {
188188
console.error('failed to taskkill:', e)
189189
}

scripts/releaseUtils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { existsSync, readdirSync, writeFileSync } from 'fs'
55
import path from 'path'
66
import colors from 'picocolors'
77
import type { Options as ExecaOptions, ExecaReturnValue } from 'execa'
8-
import execa from 'execa'
8+
import { execa } from 'execa'
99
import type { ReleaseType } from 'semver'
1010
import semver from 'semver'
1111
import fs from 'fs-extra'

0 commit comments

Comments
 (0)