Open LunaticMuch opened 6 days ago
Moreover, the current version of
vite
already uses the right version, so this change fit the approach of aligningesbuild
to the same version asvite
You're referencing the esbuild version from the Vite 6 beta. Astro stable is still using Vite 5 stable, which is using esbuild v0.21. So the dependencies here don't dedupe.
Upgrading to 0.22, 0.23, or 0.24 are all breaking changes and we can't do in a stable as well. Furthermore, the vulnerabilities listed all do not affect us. It only affects esbuild's dev server, which is not used. The vulnerabilities can be ignored.
(Sorry accidentally pressed close, but let's discuss this first)
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Current astro
v4.16.8
uses a version ofesbuild
which can contain some vulnerabilities. The current version pinned in the build is0.21.5
aligned withvite
. Version0.21.5
downloads some prebuilt binaries which, on some architecture (notably LInux), contain some vulnerabilities. In particular:What's the expected result?
Upgrading to esbuild 0.24 addresses the problem as
esbuild
team has already upgrade the version ofgo
used to building the binaries. Moreover, the current version ofvite
already uses the right version, so this change fit the approach of aligningesbuild
to the same version asvite
Link to Minimal Reproducible Example
none
Participation