Skip to content

Commit 0e20949

Browse files
authored
chore: update major deps (#8572)
1 parent 26ecd5a commit 0e20949

File tree

19 files changed

+529
-349
lines changed

19 files changed

+529
-349
lines changed

.eslintrc.cjs

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 6 deletions
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

Lines changed: 5 additions & 5 deletions
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/create-vite/__tests__/cli.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { join } from 'path'
22
import type { ExecaSyncReturnValue, SyncOptions } from 'execa'
3-
import { commandSync } from 'execa'
3+
import { execaCommandSync } from 'execa'
44
import { mkdirpSync, readdirSync, remove, writeFileSync } from 'fs-extra'
55
import { afterEach, beforeAll, expect, test } from 'vitest'
66

@@ -13,7 +13,7 @@ const run = (
1313
args: string[],
1414
options: SyncOptions<string> = {}
1515
): ExecaSyncReturnValue<string> => {
16-
return commandSync(`node ${CLI_PATH} ${args.join(' ')}`, options)
16+
return execaCommandSync(`node ${CLI_PATH} ${args.join(' ')}`, options)
1717
}
1818

1919
// Helper to create a non-empty directory

packages/plugin-legacy/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
},
3636
"homepage": "https://github.com/vitejs/vite/tree/main/packages/plugin-legacy#readme",
3737
"dependencies": {
38-
"@babel/standalone": "^7.18.4",
38+
"@babel/standalone": "^7.18.5",
3939
"core-js": "^3.22.8",
4040
"magic-string": "^0.26.2",
4141
"regenerator-runtime": "^0.13.9",
@@ -46,7 +46,7 @@
4646
"vite": "^3.0.0-alpha"
4747
},
4848
"devDependencies": {
49-
"vite": "workspace:*",
50-
"@babel/core": "^7.18.2"
49+
"@babel/core": "^7.18.5",
50+
"vite": "workspace:*"
5151
}
5252
}

packages/plugin-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"homepage": "https://github.com/vitejs/vite/tree/main/packages/plugin-react#readme",
4141
"dependencies": {
42-
"@babel/core": "^7.18.2",
42+
"@babel/core": "^7.18.5",
4343
"@babel/plugin-transform-react-jsx": "^7.17.12",
4444
"@babel/plugin-transform-react-jsx-development": "^7.16.7",
4545
"@babel/plugin-transform-react-jsx-self": "^7.17.12",

packages/plugin-vue-jsx/package.json

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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:*",

packages/vite/LICENSE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ Repository: chalk/ansi-regex
682682

683683
> MIT License
684684
>
685-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
685+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
686686
>
687687
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
688688
>
@@ -3477,7 +3477,7 @@ Repository: chalk/strip-ansi
34773477

34783478
> MIT License
34793479
>
3480-
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
3480+
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
34813481
>
34823482
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
34833483
>
@@ -3854,7 +3854,7 @@ License: ISC
38543854
By: Eemeli Aro
38553855
Repository: github:eemeli/yaml
38563856

3857-
> Copyright 2018 Eemeli Aro <eemeli@gmail.com>
3857+
> Copyright Eemeli Aro <eemeli@gmail.com>
38583858
>
38593859
> Permission to use, copy, modify, and/or distribute this software for any purpose
38603860
> with or without fee is hereby granted, provided that the above copyright notice

packages/vite/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,17 @@
5757
},
5858
"//": "READ CONTRIBUTING.md to understand what to put under deps vs. devDeps!",
5959
"dependencies": {
60-
"esbuild": "^0.14.38",
60+
"esbuild": "^0.14.43",
6161
"postcss": "^8.4.14",
6262
"resolve": "^1.22.0",
63-
"rollup": "^2.72.1"
63+
"rollup": "^2.75.6"
6464
},
6565
"optionalDependencies": {
6666
"fsevents": "~2.3.2"
6767
},
6868
"devDependencies": {
6969
"@ampproject/remapping": "^2.2.0",
70-
"@babel/parser": "^7.18.4",
70+
"@babel/parser": "^7.18.5",
7171
"@babel/types": "^7.18.4",
7272
"@jridgewell/trace-mapping": "^0.3.13",
7373
"@rollup/plugin-alias": "^3.1.9",
@@ -79,7 +79,7 @@
7979
"@rollup/pluginutils": "^4.2.1",
8080
"@vue/compiler-dom": "^3.2.37",
8181
"acorn": "^8.7.1",
82-
"cac": "6.7.9",
82+
"cac": "^6.7.12",
8383
"chokidar": "^3.5.3",
8484
"connect": "^3.7.0",
8585
"connect-history-api-fallback": "^1.6.0",
@@ -91,7 +91,7 @@
9191
"dotenv-expand": "^5.1.0",
9292
"es-module-lexer": "^0.10.5",
9393
"esno": "^0.16.3",
94-
"estree-walker": "^2.0.2",
94+
"estree-walker": "^3.0.1",
9595
"etag": "^1.8.1",
9696
"fast-glob": "^3.2.11",
9797
"http-proxy": "^1.18.1",
@@ -103,17 +103,17 @@
103103
"node-forge": "^1.3.1",
104104
"okie": "^1.0.1",
105105
"open": "^8.4.0",
106-
"periscopic": "^2.0.3",
106+
"periscopic": "^3.0.4",
107107
"picocolors": "^1.0.0",
108108
"postcss-import": "^14.1.0",
109-
"postcss-load-config": "^3.1.4",
109+
"postcss-load-config": "^4.0.1",
110110
"postcss-modules": "^4.3.1",
111111
"resolve.exports": "^1.1.0",
112112
"rollup-plugin-license": "^2.8.1",
113113
"sirv": "^2.0.2",
114114
"source-map-js": "^1.0.2",
115115
"source-map-support": "^0.5.21",
116-
"strip-ansi": "^6.0.1",
116+
"strip-ansi": "^7.0.1",
117117
"strip-literal": "^0.3.0",
118118
"tsconfck": "^2.0.1",
119119
"tslib": "^2.4.0",

0 commit comments

Comments
 (0)