You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 of esbuild which can contain some vulnerabilities. The current version pinned in the build is 0.21.5 aligned with vite.
Version 0.21.5 downloads some prebuilt binaries which, on some architecture (notably LInux), contain some vulnerabilities. In particular:
Upgrading to esbuild 0.24 addresses the problem as esbuild team has already upgrade the version of go used to building the binaries.
Moreover, the current version of vite already uses the right version, so this change fit the approach of aligning esbuild to the same version as vite
Moreover, the current version of vite already uses the right version, so this change fit the approach of aligning esbuild to the same version as vite
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
.Version
0.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 of
vite
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
The text was updated successfully, but these errors were encountered: