chore(deps): update esbuild from 0.25.0 to 0.27.0
Update esbuild from 0.25.0 to 0.27.0
Update the iife tests to match esbuild behaviour
I was going to raise an issue about this (still happy to if it's preferable to discuss there rather than in a PR).
For me, the main motivation to do this would be to address various golang stdlib vulnerabilities that were fixed in 0.27.0. See https://github.com/evanw/esbuild/issues/4311.
we might want to specify ^0.25.0 || ^0.26.0 || ^0.27.0 or some such thing
otherwise projects that can't move off esbuild 0.25.0 yet will end up installing two copies
or we can just let them install 2 copies in the hope they notice and upgrade... 😅
Also, should I make the same PR to vite v6 ?
Deploy Preview for vite-docs-v7 ready!
| Name | Link |
|---|---|
| Latest commit | 63c2209a63f31895a3625d16ade48e3d88d3c7a8 |
| Latest deploy log | https://app.netlify.com/projects/vite-docs-v7/deploys/69373835565e7e00073eb53b |
| Deploy Preview | https://deploy-preview-21183--vite-docs-v7.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.
We can just bump to 0.27.0 as we've done the same in the past. This'll likely be merged shortly after as a small v7 minor.
Ok, thank you, if there is anything else I need to do or change just tell me
we might want to specify ^0.25.0 || ^0.26.0 || ^0.27.0 or some such thing
No you can not do that anyways because minor v0 versions are considered incompatible to each other.
otherwise projects that can't move off esbuild 0.25.0 yet will end up installing two copies
And I'm in the opposite situation where another project (storybook) installs 0.27 but vite lags behind resulting in the duplicate.
No you can not do that anyways because minor v0 versions are considered incompatible to each other.
Just to be clear, you can do that. Yes, a minor 0.x version is basically a major. But we know these three versions of esbuild are compatible, and that's what the OR is for.
Though I agree with Bjorn now, that we should just bump the version.
Yeah I think ultimately esbuild it to blame that they are still on v0. They do release their changes as breaking but effectively, esbuild changes are rarely actually breaking. So I agree, just keep it at latest minor version.