Skip to content

Commit

Permalink
Bump vite from 4.5.0 to 4.5.6 (#3841)
Browse files Browse the repository at this point in the history
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite)
from 4.5.0 to 4.5.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/releases">vite's
releases</a>.</em></p>
<blockquote>
<h2>v4.5.6</h2>
<p>This version contains a breaking change due to security fixes. See <a
href="https://github.com/vitejs/vite/security/advisories/GHSA-vg6x-rcgg-rjx6">https://github.com/vitejs/vite/security/advisories/GHSA-vg6x-rcgg-rjx6</a>
for more details.</p>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/v4.5.6/packages/vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>v4.5.5</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/v4.5.5/packages/vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
<h2>v4.5.4</h2>
<p>Please refer to <a
href="https://github.com/vitejs/vite/blob/v4.5.4/packages/vite/CHANGELOG.md">CHANGELOG.md</a>
for details.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/v4.5.6/packages/vite/CHANGELOG.md">vite's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->4.5.6 (2025-01-20)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix!: check host header to prevent DNS rebinding attacks and
introduce <code>server.allowedHosts</code> (<a
href="https://github.com/vitejs/vite/commit/ef1049d">ef1049d</a>)</li>
<li>fix!: default <code>server.cors: false</code> to disallow fetching
from untrusted origins (<a
href="https://github.com/vitejs/vite/commit/07b36d5">07b36d5</a>)</li>
<li>fix: verify token for HMR WebSocket connection (<a
href="https://github.com/vitejs/vite/commit/c065a77">c065a77</a>)</li>
</ul>
<h2><!-- raw HTML omitted -->4.5.5 (2024-09-16)<!-- raw HTML omitted
--></h2>
<h2><!-- raw HTML omitted -->4.5.4 (2024-09-16)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: avoid DOM Clobbering gadget in
<code>getRelativeUrlFromDocument</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18115">#18115</a>)
(<a href="https://github.com/vitejs/vite/commit/e812716">e812716</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18115">#18115</a></li>
<li>fix: backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18112">#18112</a>,
fs raw query (<a
href="https://github.com/vitejs/vite/commit/b901438">b901438</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/18112">#18112</a></li>
</ul>
<h2><!-- raw HTML omitted -->4.5.3 (2024-03-24)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: <code>fs.deny</code> with globs with directories (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16250">#16250</a>)
(<a href="https://github.com/vitejs/vite/commit/96a7f3a">96a7f3a</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/16250">#16250</a></li>
</ul>
<h2><!-- raw HTML omitted -->4.5.2 (2024-01-19)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: fs deny for case insensitive systems (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15653">#15653</a>)
(<a href="https://github.com/vitejs/vite/commit/eeec23b">eeec23b</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/15653">#15653</a></li>
</ul>
<h2><!-- raw HTML omitted -->4.5.1 (2023-12-04)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15223">#15223</a>,
proxy html path should be encoded (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15226">#15226</a>)
(<a href="https://github.com/vitejs/vite/commit/41bb354">41bb354</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/15223">#15223</a>
<a
href="https://redirect.github.com/vitejs/vite/issues/15226">#15226</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitejs/vite/commit/9e460f58f91f95972ff9683f664fa4df44b6d2af"><code>9e460f5</code></a>
release: v4.5.6</li>
<li><a
href="https://github.com/vitejs/vite/commit/ef1049d4570ca29852a258c764665387d3c749a4"><code>ef1049d</code></a>
fix!: check host header to prevent DNS rebinding attacks and introduce
`serve...</li>
<li><a
href="https://github.com/vitejs/vite/commit/c065a775d0386234856218443f2595aac7e7587f"><code>c065a77</code></a>
fix: verify token for HMR WebSocket connection</li>
<li><a
href="https://github.com/vitejs/vite/commit/07b36d503a4448cf2b8787a4eb1ccdaefb3424b5"><code>07b36d5</code></a>
fix!: default <code>server.cors: false</code> to disallow fetching from
untrusted origins</li>
<li><a
href="https://github.com/vitejs/vite/commit/f1d8845fff4842c3a0fec69309d9475c12c30cd9"><code>f1d8845</code></a>
release: v4.5.5</li>
<li><a
href="https://github.com/vitejs/vite/commit/2466c0862587c1beb4171daa02d8a541a8be18f6"><code>2466c08</code></a>
release: v4.5.4</li>
<li><a
href="https://github.com/vitejs/vite/commit/e8127166979e7ace6eeaa2c3b733c8994caa31f3"><code>e812716</code></a>
fix: avoid DOM Clobbering gadget in
<code>getRelativeUrlFromDocument</code> (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18115">#18115</a>)</li>
<li><a
href="https://github.com/vitejs/vite/commit/b901438f99e667f76662840826eec91c8ab3b3e7"><code>b901438</code></a>
fix: backport <a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/18112">#18112</a>,
fs raw query</li>
<li><a
href="https://github.com/vitejs/vite/commit/aac695e9f8f29da43c2f7c50c549fa3d3dfeeadc"><code>aac695e</code></a>
release: v4.5.3</li>
<li><a
href="https://github.com/vitejs/vite/commit/96a7f3a41ef2f9351c46f3ab12489bb4efa03cc9"><code>96a7f3a</code></a>
fix: <code>fs.deny</code> with globs with directories (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/16250">#16250</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitejs/vite/commits/v4.5.6/packages/vite">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=4.5.0&new-version=4.5.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/BuilderIO/builder/network/alerts).

</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jan 22, 2025
1 parent 0913072 commit 89c1acb
Show file tree
Hide file tree
Showing 13 changed files with 65 additions and 25 deletions.
2 changes: 1 addition & 1 deletion packages/react-tests/react-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"@types/react-dom": "^18.2.17",
"@vitejs/plugin-react": "^4.0.4",
"typescript": "^5.1.6",
"vite": "^4.4.8"
"vite": "^4.5.6"
}
}
2 changes: 1 addition & 1 deletion packages/sdks/e2e/qwik-city/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@types/node": "^18.11.18",
"node-fetch": "3.3.0",
"typescript": "^5.1.6",
"vite": "^4.0.3",
"vite": "^4.5.6",
"vite-tsconfig-paths": "3.5.0"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sdks/e2e/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"@types/react-dom": "^18.2.17",
"@vitejs/plugin-react": "^4.0.4",
"typescript": "^5.1.6",
"vite": "^4.4.8"
"vite": "^4.5.6"
}
}
2 changes: 1 addition & 1 deletion packages/sdks/e2e/solid-start/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"postcss": "^8.4.28",
"solid-start-node": "^0.3.10",
"typescript": "^4.9.5",
"vite": "^4.4.9"
"vite": "^4.5.6"
},
"dependencies": {
"@builder.io/sdk-solid": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdks/e2e/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"svelte-check": "^3.4.6",
"tslib": "^2.5.0",
"typescript": "^5.1.6",
"vite": "^4.3.2"
"vite": "^4.5.6"
}
}
2 changes: 1 addition & 1 deletion packages/sdks/e2e/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"devDependencies": {
"@vitejs/plugin-vue": "^4.2.3",
"typescript": "^5.1.6",
"vite": "^4.4.8",
"vite": "^4.5.6",
"vue-tsc": "^1.8.24"
}
}
2 changes: 1 addition & 1 deletion packages/sdks/output/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"next": ">=13.4.20",
"react": "^18.2.0",
"typescript": "^5.1.6",
"vite": "^4.4.9"
"vite": "^4.5.6"
},
"dependencies": {
"isolated-vm": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/sdks/output/qwik/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
"@builder.io/sdks": "workspace:*",
"@types/node": "latest",
"typescript": "5.5.2",
"vite": "^4.3.2"
"vite": "^4.5.6"
},
"peerDependencies": {
"@builder.io/qwik": ">=1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/sdks/output/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
"react": "^18.2.0",
"recast": "^0.23.4",
"typescript": "^4.9.4",
"vite": "^4.4.9"
"vite": "^4.5.6"
},
"nx": {
"targets": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sdks/output/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"svelte-preprocess": "^5.0.4",
"tslib": "^2.3.1",
"typescript": "^5.1.6",
"vite": "^4.4.8"
"vite": "^4.5.6"
},
"nx": {
"targets": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sdks/snippets/gen1-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"@types/react-dom": "^18.2.17",
"@vitejs/plugin-react": "^4.0.4",
"typescript": "^5.1.6",
"vite": "^4.4.8"
"vite": "^4.5.6"
}
}
2 changes: 1 addition & 1 deletion packages/sdks/snippets/qwik-city/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@types/node": "^18.11.18",
"node-fetch": "3.3.0",
"typescript": "^5.1.6",
"vite": "^4.0.3",
"vite": "^4.5.6",
"vite-tsconfig-paths": "3.5.0"
},
"dependencies": {
Expand Down
66 changes: 53 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4153,7 +4153,7 @@ __metadata:
"@types/node": latest
isolated-vm: ^5.0.0
typescript: 5.5.2
vite: ^4.3.2
vite: ^4.5.6
peerDependencies:
"@builder.io/qwik": ">=1.0.0"
languageName: unknown
Expand Down Expand Up @@ -4202,7 +4202,7 @@ __metadata:
next: ">=13.4.20"
react: ^18.2.0
typescript: ^5.1.6
vite: ^4.4.9
vite: ^4.5.6
peerDependencies:
next: ">=13.4.20"
react: ">=18.2.0"
Expand All @@ -4220,7 +4220,7 @@ __metadata:
react: ^18.2.0
recast: ^0.23.4
typescript: ^4.9.4
vite: ^4.4.9
vite: ^4.5.6
peerDependencies:
react: ">=16 || ^19.0.0-rc"
languageName: unknown
Expand Down Expand Up @@ -4258,7 +4258,7 @@ __metadata:
svelte-preprocess: ^5.0.4
tslib: ^2.3.1
typescript: ^5.1.6
vite: ^4.4.8
vite: ^4.5.6
peerDependencies:
svelte: ^4.1.2
languageName: unknown
Expand Down Expand Up @@ -4844,7 +4844,7 @@ __metadata:
react: ^18.2.0
react-dom: ^18.2.0
typescript: ^5.1.6
vite: ^4.4.8
vite: ^4.5.6
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -4949,7 +4949,7 @@ __metadata:
"@types/node": ^18.11.18
node-fetch: 3.3.0
typescript: ^5.1.6
vite: ^4.0.3
vite: ^4.5.6
vite-tsconfig-paths: 3.5.0
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -5068,7 +5068,7 @@ __metadata:
react: ^18.2.0
react-dom: ^18.2.0
typescript: ^5.1.6
vite: ^4.4.8
vite: ^4.5.6
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -5116,7 +5116,7 @@ __metadata:
solid-start: ^0.3.10
solid-start-node: ^0.3.10
typescript: ^4.9.5
vite: ^4.4.9
vite: ^4.5.6
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -5146,7 +5146,7 @@ __metadata:
svelte-check: ^3.4.6
tslib: ^2.5.0
typescript: ^5.1.6
vite: ^4.3.2
vite: ^4.5.6
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -5175,7 +5175,7 @@ __metadata:
"@vitejs/plugin-vue": ^4.2.3
cross-fetch: ^4.0.0
typescript: ^5.1.6
vite: ^4.4.8
vite: ^4.5.6
vite-plugin-ssr: ^0.4.133
vue: ^3.2.37
vue-tsc: ^1.8.24
Expand Down Expand Up @@ -14312,7 +14312,7 @@ __metadata:
react-dom: ^18.2.0
react-router-dom: ^6.24.1
typescript: ^5.1.6
vite: ^4.4.8
vite: ^4.5.6
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -14419,7 +14419,7 @@ __metadata:
"@types/node": ^18.11.18
node-fetch: 3.3.0
typescript: ^5.1.6
vite: ^4.0.3
vite: ^4.5.6
vite-tsconfig-paths: 3.5.0
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -53079,7 +53079,7 @@ __metadata:
languageName: node
linkType: hard

"vite@npm:^3.0.0 || ^4.0.0, vite@npm:^4.0.3, vite@npm:^4.1.4, vite@npm:^4.3.2, vite@npm:^4.4.8, vite@npm:^4.4.9, vite@npm:^4.5.0":
"vite@npm:^3.0.0 || ^4.0.0, vite@npm:^4.1.4, vite@npm:^4.5.0":
version: 4.5.0
resolution: "vite@npm:4.5.0"
dependencies:
Expand Down Expand Up @@ -53157,6 +53157,46 @@ __metadata:
languageName: node
linkType: hard

"vite@npm:^4.5.6":
version: 4.5.9
resolution: "vite@npm:4.5.9"
dependencies:
esbuild: ^0.18.10
fsevents: ~2.3.2
postcss: ^8.4.27
rollup: ^3.27.1
peerDependencies:
"@types/node": ">= 14"
less: "*"
lightningcss: ^1.21.0
sass: "*"
stylus: "*"
sugarss: "*"
terser: ^5.4.0
dependenciesMeta:
fsevents:
optional: true
peerDependenciesMeta:
"@types/node":
optional: true
less:
optional: true
lightningcss:
optional: true
sass:
optional: true
stylus:
optional: true
sugarss:
optional: true
terser:
optional: true
bin:
vite: bin/vite.js
checksum: ebe21bd4aab9e4dac38e77971c9c506f1df28dbf1afb7962894edeeac3a8a57fdc547708fa977ba798c4666f3204ec36a164110a9377fe78b7efa894b7b6c5ff
languageName: node
linkType: hard

"vite@npm:^5, vite@npm:^5.4.9":
version: 5.4.10
resolution: "vite@npm:5.4.10"
Expand Down

0 comments on commit 89c1acb

Please sign in to comment.