Bump vite from 4.5.5 to 4.5.6 in the npm_and_yarn group across 1 directory#2
Bump vite from 4.5.5 to 4.5.6 in the npm_and_yarn group across 1 directory#2dependabot[bot] wants to merge 1 commit intomainfrom
Conversation
Bumps the npm_and_yarn group with 1 update in the / directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite). Updates `vite` from 4.5.5 to 4.5.6 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v4.5.6/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v4.5.6/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:production dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com>
Reviewer's Guide by SourceryThis pull request bumps the Sequence diagram for HMR WebSocket connectionsequenceDiagram
participant Browser
participant Vite Server
Browser->>Vite Server: HMR WebSocket Connection Request
Vite Server->>Vite Server: Verify Token
alt Token Valid
Vite Server-->>Browser: HMR Updates
else Token Invalid
Vite Server-->>Browser: Connection Refused
end
Updated class diagram for vite configurationclassDiagram
class ViteConfig {
+server: ServerOptions
}
class ServerOptions {
+cors: boolean
+allowedHosts: string[]
}
note for ServerOptions "cors defaults to false to disallow fetching from untrusted origins"
note for ServerOptions "allowedHosts is introduced to prevent DNS rebinding attacks"
ViteConfig -- ServerOptions
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Superseded by #3. |
Bumps the npm_and_yarn group with 1 update in the / directory: vite.
Updates
vitefrom 4.5.5 to 4.5.6Release notes
Sourced from vite's releases.
Changelog
Sourced from vite's changelog.
Commits
9e460f5release: v4.5.6ef1049dfix!: check host header to prevent DNS rebinding attacks and introduce `serve...c065a77fix: verify token for HMR WebSocket connection07b36d5fix!: defaultserver.cors: falseto disallow fetching from untrusted originsDependabot 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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditionsYou can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by Sourcery
Upgrade vite from 4.5.5 to 4.5.6 to incorporate security fixes, including checks for host headers to prevent DNS rebinding attacks, defaulting server.cors to false to disallow fetching from untrusted origins, and verifying tokens for HMR WebSocket connections.
Bug Fixes: