Bjorn Lu

Results 767 comments of Bjorn Lu

Are you getting the error from your browser, or your nodejs terminal? Vite doesn't down-level your code by default, so while it can parse the decorators, the output still keep...

> Can you please confirm exactly what vite should be doing, given the scenario of this issue which is using the latest updates wrt to decorators: @dkent600 esbuild has two...

> The code that I submitted to this issue demonstrating the problem is already using `esbuild.target: "es2022"` in vite.config and `"overrides": { "esbuild": "^0.21.3" }` in package.json. It doesn't seem...

The analog fail seems to be something on their end. I think this is ready to go in the next minor.

In Vite's lockfile, `inflight` is used by `glob` v8 and v7, which both are used by various dependencies including: - `@rollup/plugin-commonjs` v25.0.4 - `npm-packlist` v5.1.3 - `rimraf` v3.0.2 - `rollup-plugin-license`...

Ignore it? It isn't breaking anything. Or you could try to see if the packages I mentioned above have moved away from `inflight` and if so, try to update them...

For eslint, which only comes from Vite's react templates, https://github.com/vitejs/vite/pull/12860 will migrate it to eslint v9, however there seems to be some blockers before we can do that.

https://github.com/vitejs/vite/pull/17431 removes the `inflight` dependency that's bundled within Vite. However, I'll still keep this open for the eslint template case.

https://github.com/vitejs/vite/pull/12860 has been merged and released in create-vite 5.5.0, which bumps the eslint templates to v9