-
-
Notifications
You must be signed in to change notification settings - Fork 190
chore(deps): update dependency vite to v7.1.11 [security] #929
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
base: main
Are you sure you want to change the base?
Conversation
[email protected].2: | ||
resolution: {integrity: sha512-I25/2QgoROE1vYV+NQ1En9T9UFB9Cmfm2CJ83zZOlaDpvz29wGQSZXWKw7MiNXau7wYgB/T9fVIdIuEQ+KbiiA==} | ||
[email protected].5: | ||
resolution: {integrity: sha512-3GuObel8h7Kqdjt0gxkEzaifHTqLVW56Y/bjN7PSQtkKr0w3V/QYSdt6QWYtd7A1xUtYQigtdUfgj1RvWVtorw==} |
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.
I think CI failure is due to rollup update.
$ pnpm -C packages/plugin-rsc/examples/starter-cf-single/ build
...
9:49:39 AM [vite] Unexpected Node.js imports for environment "rsc". Do you need to enable the "nodejs_compat" compatibility flag? Refer to https://developers.cloudflare.com/workers/runtime-apis/nodejs/ for more details.
- "node:module" imported from "node:async_hooks?commonjs-external"
dist/client/wrangler.json 1.23 kB │ gzip: 0.61 kB
dist/client/assets/react-CHdo91hT.svg 4.13 kB │ gzip: 2.05 kB
dist/client/assets/index-BoQsawTv.css 1.78 kB │ gzip: 0.80 kB
dist/client/assets/worker-entry-HlElc0dF.js 0.40 kB │ gzip: 0.27 kB
dist/client/assets/index-B_LLvm3p.js 622.42 kB │ gzip: 111.73 kB
✓ built in 435ms
vite v7.1.11 building SSR bundle for production...
✓ 40 modules transformed.
dist/rsc/ssr/assets/worker-entry-BQBrefET.js 0.45 kB
dist/rsc/ssr/index.js 590.27 kB
✓ built in 327ms
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.
Maybe not. I override rollup but it didn't fix. I also pinned esbuild but it didn't change as well.
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.
It sounds like it's related to rollup/plugins#1909 (7.0.11 includes that via vitejs/vite#20966)
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.
Good find. Hmm, commonjs plugin to magically injecting createRequire
doesn't seem good.
5e0d0c9
to
35edfb7
Compare
35edfb7
to
f8942c6
Compare
f8942c6
to
9648b1e
Compare
This PR contains the following updates:
7.1.10
->7.1.11
GitHub Vulnerability Alerts
CVE-2025-62522
Summary
Files denied by
server.fs.deny
were sent if the URL ended with\
when the dev server is running on Windows.Impact
Only apps that match the following conditions are affected:
server.host
config option)Details
server.fs.deny
can contain patterns matching against files (by default it includes.env
,.env.*
,*.{crt,pem}
as such patterns). These patterns were able to bypass by using a back slash(\
). The root cause is thatfs.readFile('/foo.png/')
loads/foo.png
.PoC
Release Notes
vitejs/vite (vite)
v7.1.11
Compare Source
Bug Fixes
server.fs.deny
check (#20968) (f479cc5)Miscellaneous Chores
Code Refactoring
Build System
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.