-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps-dev): bump vite from 3.2.11 to 4.5.6 in /web/admin #165
base: main
Are you sure you want to change the base?
Conversation
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 3.2.11 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:development ... Signed-off-by: dependabot[bot] <[email protected]>
Reviewer's Guide by SourceryThis pull request updates the Sequence diagram for HMR WebSocket connectionsequenceDiagram
participant Browser
participant Vite Server
Browser->>Vite Server: Establish WebSocket connection
activate Vite Server
Vite Server->>Vite Server: Verify token
alt Token is valid
Vite Server-->>Browser: HMR updates
else Token is invalid
Vite Server-->>Browser: Close connection
end
deactivate Vite Server
Updated class diagram for Vite configurationclassDiagram
class ViteConfig {
+server: ServerOptions
+build: BuildOptions
+plugins: Plugin[]
+optimizeDeps: OptimizeDeps
}
class ServerOptions {
+host: string
+port: number
+cors: boolean
+allowedHosts: string[]
}
note for ServerOptions "cors defaults to false in Vite 4.5.6 for security"
note for ServerOptions "allowedHosts introduced in Vite 4.5.6 to prevent DNS rebinding attacks"
class BuildOptions {
+target: string
+outDir: string
+minify: boolean
}
class Plugin {
+name: string
+apply: string
+config: (config: ViteConfig, env: ConfigEnv) => ViteConfig | null | void
}
class OptimizeDeps {
+entries: string[]
}
ViteConfig -- ServerOptions : has
ViteConfig -- BuildOptions : has
ViteConfig -- Plugin : has
ViteConfig -- OptimizeDeps : has
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!
Bumps vite from 3.2.11 to 4.5.6.
Release notes
Sourced from vite's releases.
Changelog
Sourced from vite's changelog.
... (truncated)
Commits
9e460f5
release: v4.5.6ef1049d
fix!: check host header to prevent DNS rebinding attacks and introduce `serve...c065a77
fix: verify token for HMR WebSocket connection07b36d5
fix!: defaultserver.cors: false
to disallow fetching from untrusted originsf1d8845
release: v4.5.52466c08
release: v4.5.4e812716
fix: avoid DOM Clobbering gadget ingetRelativeUrlFromDocument
(#18115)b901438
fix: backport #18112, fs raw queryaac695e
release: v4.5.396a7f3a
fix:fs.deny
with globs with directories (#16250)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 commands and options
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.
Summary by Sourcery
Updates the
vite
dependency to version 4.5.6, which includes security fixes and new features.Bug Fixes:
server.allowedHosts
configuration.server.cors
tofalse
to prevent fetching from untrusted origins.Enhancements:
.marko
files scanning.ssr.resolve.conditions
andssr.resolve.externalConditions
for SSR.Chores:
vite
dependency in the/web/admin
directory from version 3.2.11 to 4.5.6.