Skip to content

Commit 9697a86

Browse files
chore(deps): update dependency vite to v5.4.18 (#31554)
* chore(deps): update dependency vite to v5.4.18 * empty commit * bump all projects + lockfiles * bump specific vite versions * bump vite-react projects * fix missing instances of updating the vite projects * bump circle cache * fix yarn.lock * update system-test snapshots --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jennifer Shehane <[email protected]>
1 parent 8611857 commit 9697a86

File tree

67 files changed

+2272
-2142
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+2272
-2142
lines changed

npm/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"react-router-dom": "6.28.0",
2929
"semver": "^7.7.1",
3030
"typescript": "~5.4.5",
31-
"vite": "5.4.10",
31+
"vite": "5.4.18",
3232
"vite-plugin-require-transform": "1.0.12"
3333
},
3434
"peerDependencies": {

npm/vite-dev-server/cypress/e2e/react.cy.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import dedent from 'dedent'
44

55
type ProjectDirs = typeof fixtureDirs
66

7-
const VITE_REACT: ProjectDirs[number][] = ['vite4.5.5-react', 'vite5.4.10-react', 'vite6.0.0-react']
7+
// These versions should reflect the latest versions of each major version of Vite - update as needed
8+
const VITE_REACT: ProjectDirs[number][] = ['vite4.5.12-react', 'vite5.4.18-react', 'vite6.2.5-react']
89

910
// Add to this list to focus on a particular permutation
1011
const ONLY_PROJECTS: ProjectDirs[number][] = []

npm/vite-dev-server/cypress/e2e/vite-dev-server.cy.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ describe('Config options', () => {
4444
})
4545

4646
it('supports supportFile = false', () => {
47-
cy.scaffoldProject('vite6.0.0-react')
48-
cy.openProject('vite6.0.0-react', ['--config-file', 'cypress-vite-no-support.config.ts', '--component'])
47+
cy.scaffoldProject('vite6.2.5-react')
48+
cy.openProject('vite6.2.5-react', ['--config-file', 'cypress-vite-no-support.config.ts', '--component'])
4949
cy.startAppServer('component')
5050

5151
cy.visitApp()
@@ -59,8 +59,8 @@ describe('Config options', () => {
5959
it('supports serving files with whitespace', () => {
6060
const specWithWhitespace = 'spec with whitespace.cy.jsx'
6161

62-
cy.scaffoldProject('vite6.0.0-react')
63-
cy.openProject('vite6.0.0-react', ['--config-file', 'cypress-vite.config.ts', '--component'])
62+
cy.scaffoldProject('vite6.2.5-react')
63+
cy.openProject('vite6.2.5-react', ['--config-file', 'cypress-vite.config.ts', '--component'])
6464
cy.startAppServer('component')
6565

6666
cy.withCtx(async (ctx, { specWithWhitespace }) => {
@@ -77,8 +77,8 @@ describe('Config options', () => {
7777
})
7878

7979
it('supports @cypress/vite-dev-server', () => {
80-
cy.scaffoldProject('vite6.0.0-react')
81-
cy.openProject('vite6.0.0-react', ['--config-file', 'cypress-vite-dev-server-function.config.ts', '--component'])
80+
cy.scaffoldProject('vite6.2.5-react')
81+
cy.openProject('vite6.2.5-react', ['--config-file', 'cypress-vite-dev-server-function.config.ts', '--component'])
8282
cy.startAppServer('component')
8383

8484
cy.visitApp()
@@ -89,8 +89,8 @@ describe('Config options', () => {
8989
})
9090

9191
it('supports viteConfig as an async function', () => {
92-
cy.scaffoldProject('vite6.0.0-react')
93-
cy.openProject('vite6.0.0-react', ['--config-file', 'cypress-vite-async-function-config.config.ts', '--component'])
92+
cy.scaffoldProject('vite6.2.5-react')
93+
cy.openProject('vite6.2.5-react', ['--config-file', 'cypress-vite-async-function-config.config.ts', '--component'])
9494
cy.startAppServer('component')
9595

9696
cy.visitApp()
@@ -120,8 +120,8 @@ describe('sourcemaps', () => {
120120
})
121121
`
122122

123-
cy.scaffoldProject('vite6.0.0-react')
124-
cy.openProject('vite6.0.0-react', ['--config-file', 'cypress-vite.config.ts', '--component'])
123+
cy.scaffoldProject('vite6.2.5-react')
124+
cy.openProject('vite6.2.5-react', ['--config-file', 'cypress-vite.config.ts', '--component'])
125125
cy.startAppServer('component')
126126

127127
cy.withCtx(async (ctx, o) => {

npm/vite-dev-server/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
"mocha": "^9.2.2",
2828
"sinon": "^13.0.1",
2929
"ts-node": "^10.9.2",
30-
"vite-4": "npm:vite@^4.5.3",
31-
"vite-5": "npm:vite@^5.2.8",
32-
"vite-6": "npm:vite@^6.0.0",
30+
"vite-4": "npm:vite@^4.5.12",
31+
"vite-5": "npm:vite@^5.4.18",
32+
"vite-6": "npm:vite@^6.2.5",
3333
"vite-plugin-inspect": "0.8.4"
3434
},
3535
"peerDependencies": {

npm/vite-plugin-cypress-esm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"react-dom": "18.3.1",
2525
"react-router": "6.28.0",
2626
"react-router-dom": "6.28.0",
27-
"vite": "5.2.11"
27+
"vite": "5.4.18"
2828
},
2929
"files": [
3030
"dist",

npm/vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"globby": "^11.0.1",
2626
"tailwindcss": "1.1.4",
2727
"typescript": "~5.4.5",
28-
"vite": "5.2.11",
28+
"vite": "5.4.18",
2929
"vue": "3.2.47",
3030
"vue-i18n": "9.13.1",
3131
"vue-router": "^4.0.0",

packages/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"tailwindcss": "^3.3.1",
8585
"unplugin-icons": "^22.1.0",
8686
"unplugin-vue-components": "^0.27.0",
87-
"vite": "5.2.11",
87+
"vite": "^5.4.18",
8888
"vite-plugin-pages": "0.32.1",
8989
"vite-plugin-vue-layouts": "0.11.0",
9090
"vite-svg-loader": "5.1.0",

packages/driver/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"underscore.string": "3.3.6",
9393
"url-parse": "1.5.10",
9494
"vanilla-text-mask": "5.1.1",
95-
"vite": "5.2.11",
95+
"vite": "^5.4.18",
9696
"vitest": "^2.1.8",
9797
"webpack": "^5.88.2",
9898
"zone.js": "0.9.0"

packages/frontend-shared/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"type-fest": "^2.3.4",
9999
"unplugin-icons": "0.19.0",
100100
"unplugin-vue-components": "^0.27.0",
101-
"vite": "5.2.11",
101+
"vite": "^5.4.18",
102102
"vite-svg-loader": "5.1.0",
103103
"vue": "3.2.47",
104104
"vue-eslint-parser": "7.11.0",

packages/launchpad/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"sinon": "13.0.2",
7171
"type-fest": "^2.3.4",
7272
"unplugin-vue-components": "0.27.0",
73-
"vite": "5.2.11",
73+
"vite": "^5.4.18",
7474
"vite-plugin-optimize-persist": "0.1.2",
7575
"vite-plugin-package-config": "0.1.1",
7676
"vite-svg-loader": "5.1.0",

system-tests/__snapshots__/vite_dev_server_fresh_spec.ts.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
exports['@cypress/vite-dev-server react executes all of the specs for vite4.5.5-react 1'] = `
1+
exports['@cypress/vite-dev-server react executes all of the specs for vite5.4.18-react 1'] = `
22
33
====================================================================================================
44
@@ -53,7 +53,7 @@ exports['@cypress/vite-dev-server react executes all of the specs for vite4.5.5-
5353
1) An uncaught error was detected outside of a test:
5454
TypeError: The following error originated from your test code, not from Cypress.
5555
56-
> Failed to fetch dynamically imported module: http://localhost:8888/__cypress/src/@fs/foo/bar/.projects/vite4.5.5-react/src/AppCompilationError.cy.jsx
56+
> Failed to fetch dynamically imported module: http://localhost:8888/__cypress/src/@fs/foo/bar/.projects/vite5.4.18-react/src/AppCompilationError.cy.jsx
5757
5858
When Cypress detects uncaught errors originating from your test code it will automatically fail the current test.
5959
@@ -401,7 +401,7 @@ https://on.cypress.io/uncaught-exception-from-application
401401
402402
`
403403

404-
exports['@cypress/vite-dev-server / react / executes the port.cy.jsx spec for vite4.5.5-react when port is statically configured'] = `
404+
exports['@cypress/vite-dev-server / react / executes the port.cy.jsx spec for vite5.4.18-react when port is statically configured'] = `
405405
406406
====================================================================================================
407407
@@ -454,7 +454,7 @@ exports['@cypress/vite-dev-server / react / executes the port.cy.jsx spec for vi
454454
455455
`
456456

457-
exports['@cypress/vite-dev-server react executes all of the specs for vite5.4.10-react 1'] = `
457+
exports['@cypress/vite-dev-server react executes all of the specs for vite6.2.5-react 1'] = `
458458
459459
====================================================================================================
460460
@@ -509,7 +509,7 @@ exports['@cypress/vite-dev-server react executes all of the specs for vite5.4.10
509509
1) An uncaught error was detected outside of a test:
510510
TypeError: The following error originated from your test code, not from Cypress.
511511
512-
> Failed to fetch dynamically imported module: http://localhost:8888/__cypress/src/@fs/foo/bar/.projects/vite5.4.10-react/src/AppCompilationError.cy.jsx
512+
> Failed to fetch dynamically imported module: http://localhost:8888/__cypress/src/@fs/foo/bar/.projects/vite6.2.5-react/src/AppCompilationError.cy.jsx
513513
514514
When Cypress detects uncaught errors originating from your test code it will automatically fail the current test.
515515
@@ -857,7 +857,7 @@ https://on.cypress.io/uncaught-exception-from-application
857857
858858
`
859859

860-
exports['@cypress/vite-dev-server / react / executes the port.cy.jsx spec for vite5.4.10-react when port is statically configured'] = `
860+
exports['@cypress/vite-dev-server / react / executes the port.cy.jsx spec for vite6.2.5-react when port is statically configured'] = `
861861
862862
====================================================================================================
863863
@@ -910,7 +910,7 @@ exports['@cypress/vite-dev-server / react / executes the port.cy.jsx spec for vi
910910
911911
`
912912

913-
exports['@cypress/vite-dev-server react executes all of the specs for vite6.0.0-react 1'] = `
913+
exports['@cypress/vite-dev-server react executes all of the specs for vite4.5.12-react 1'] = `
914914
915915
====================================================================================================
916916
@@ -965,7 +965,7 @@ exports['@cypress/vite-dev-server react executes all of the specs for vite6.0.0-
965965
1) An uncaught error was detected outside of a test:
966966
TypeError: The following error originated from your test code, not from Cypress.
967967
968-
> Failed to fetch dynamically imported module: http://localhost:8888/__cypress/src/@fs/foo/bar/.projects/vite6.0.0-react/src/AppCompilationError.cy.jsx
968+
> Failed to fetch dynamically imported module: http://localhost:8888/__cypress/src/@fs/foo/bar/.projects/vite4.5.12-react/src/AppCompilationError.cy.jsx
969969
970970
When Cypress detects uncaught errors originating from your test code it will automatically fail the current test.
971971
@@ -1313,7 +1313,7 @@ https://on.cypress.io/uncaught-exception-from-application
13131313
13141314
`
13151315

1316-
exports['@cypress/vite-dev-server / react / executes the port.cy.jsx spec for vite6.0.0-react when port is statically configured'] = `
1316+
exports['@cypress/vite-dev-server / react / executes the port.cy.jsx spec for vite4.5.12-react when port is statically configured'] = `
13171317
13181318
====================================================================================================
13191319

system-tests/projects/config-cjs-and-esm/config-with-ts-module-component/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"@cypress/vite-dev-server": "file:../../../../npm/vite-dev-server",
44
"find-up": "7.0.0",
55
"typescript": "5.6.3",
6-
"vite": "5.4.10"
6+
"vite": "^5.4.18"
77
},
88
"type": "module",
99
"projectFixtureDirectory": "simple_passing"

system-tests/projects/config-cjs-and-esm/config-with-ts-module-component/yarn.lock

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
debug "^4.3.4"
99
find-up "6.3.0"
1010
node-html-parser "5.3.3"
11-
semver "^7.5.3"
11+
semver "^7.7.1"
1212

1313
"@esbuild/[email protected]":
1414
version "0.21.5"
@@ -358,13 +358,6 @@ locate-path@^7.2.0:
358358
dependencies:
359359
p-locate "^6.0.0"
360360

361-
lru-cache@^6.0.0:
362-
version "6.0.0"
363-
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94"
364-
integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==
365-
dependencies:
366-
yallist "^4.0.0"
367-
368361
369362
version "2.1.2"
370363
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
@@ -450,12 +443,10 @@ rollup@^4.20.0:
450443
"@rollup/rollup-win32-x64-msvc" "4.24.4"
451444
fsevents "~2.3.2"
452445

453-
semver@^7.5.3:
454-
version "7.5.4"
455-
resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e"
456-
integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==
457-
dependencies:
458-
lru-cache "^6.0.0"
446+
semver@^7.7.1:
447+
version "7.7.1"
448+
resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.1.tgz#abd5098d82b18c6c81f6074ff2647fd3e7220c9f"
449+
integrity sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==
459450

460451
source-map-js@^1.2.1:
461452
version "1.2.1"
@@ -472,22 +463,17 @@ unicorn-magic@^0.1.0:
472463
resolved "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz#1bb9a51c823aaf9d73a8bfcd3d1a23dde94b0ce4"
473464
integrity sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==
474465

475-
476-
version "5.4.10"
477-
resolved "https://registry.npmjs.org/vite/-/vite-5.4.10.tgz#d358a7bd8beda6cf0f3b7a450a8c7693a4f80c18"
478-
integrity sha512-1hvaPshuPUtxeQ0hsVH3Mud0ZanOLwVTneA1EgbAM5LhaZEqyPWGRQ7BtaMvUrTDeEaC8pxtj6a6jku3x4z6SQ==
466+
vite@^5.4.18:
467+
version "5.4.18"
468+
resolved "https://registry.yarnpkg.com/vite/-/vite-5.4.18.tgz#b5af357f9d5ebb2e0c085779b7a37a77f09168a4"
469+
integrity sha512-1oDcnEp3lVyHCuQ2YFelM4Alm2o91xNoMncRm1U7S+JdYfYOvbiGZ3/CxGttrOu2M/KcGz7cRC2DoNUA6urmMA==
479470
dependencies:
480471
esbuild "^0.21.3"
481472
postcss "^8.4.43"
482473
rollup "^4.20.0"
483474
optionalDependencies:
484475
fsevents "~2.3.3"
485476

486-
yallist@^4.0.0:
487-
version "4.0.0"
488-
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
489-
integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==
490-
491477
yocto-queue@^1.0.0:
492478
version "1.0.0"
493479
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.0.0.tgz#7f816433fb2cbc511ec8bf7d263c3b58a1a3c251"

system-tests/projects/ct-public-api-solid-js/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

system-tests/projects/ct-public-api-solid-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"name": "ct-public-api-solid-js",
33
"dependencies": {
44
"solid-js": "1.9.3",
5-
"vite": "^5.4.10"
5+
"vite": "^5.4.18"
66
}
77
}

system-tests/projects/justInTimeCompile/vite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"@vitejs/plugin-react": "^4.3.1",
77
"react": "^18.3.1",
88
"react-dom": "^18.3.1",
9-
"vite": "5.3.5"
9+
"vite": "^5.4.18"
1010
},
1111
"license": "ISC",
1212
"author": ""

0 commit comments

Comments
 (0)