vitejs / vite-plugin-react-swc

Speed up your Vite dev server with SWC
MIT License
774 stars 49 forks source link

fix(deps): update all non-major dependencies #209

Open renovate[bot] opened 1 month ago

renovate[bot] commented 1 month ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@generouted/react-router ^1.19.4 -> ^1.19.5 age adoption passing confidence
@playwright/test (source) ^1.44.0 -> ^1.45.1 age adoption passing confidence
@swc/core (source) ^1.5.7 -> ^1.6.6 age adoption passing confidence
@swc/plugin-emotion ^3.0.4 -> ^3.0.8 age adoption passing confidence
@swc/plugin-styled-components ^2.0.6 -> ^2.0.9 age adoption passing confidence
@types/node (source) 20.11.5 -> 20.14.9 age adoption passing confidence
@types/react (source) ^18.3.2 -> ^18.3.3 age adoption passing confidence
esbuild ^0.21.3 -> ^0.23.0 age adoption passing confidence
react-router-dom (source) ^6.23.1 -> ^6.24.0 age adoption passing confidence
typescript (source) ^5.4.5 -> ^5.5.3 age adoption passing confidence
vite (source) ^5.2.11 -> ^5.3.3 age adoption passing confidence

Release Notes

oedotme/generouted (@​generouted/react-router) ### [`v1.19.5`](https://togithub.com/oedotme/generouted/releases/tag/v1.19.5) [Compare Source](https://togithub.com/oedotme/generouted/compare/v1.19.4...v1.19.5) #### Commits - feat: ignore directories from src/pages only [`d870b8d`](https://togithub.com/oedotme/generouted/commit/d870b8d) by [@​oedotme](https://togithub.com/oedotme) **Changelog**: https://github.com/oedotme/generouted/compare/v1.19.4...v1.19.5
microsoft/playwright (@​playwright/test) ### [`v1.45.1`](https://togithub.com/microsoft/playwright/compare/v1.45.0...e8989f83d9801cdaadc3803b5341c601c9593947) [Compare Source](https://togithub.com/microsoft/playwright/compare/v1.45.0...v1.45.1) ### [`v1.45.0`](https://togithub.com/microsoft/playwright/compare/v1.44.1...4f3f6eecae490af444dd9298c9eaeb0c596915b7) [Compare Source](https://togithub.com/microsoft/playwright/compare/v1.44.1...v1.45.0) ### [`v1.44.1`](https://togithub.com/microsoft/playwright/releases/tag/v1.44.1) [Compare Source](https://togithub.com/microsoft/playwright/compare/v1.44.0...v1.44.1) ##### Highlights [https://github.com/microsoft/playwright/issues/30779](https://togithub.com/microsoft/playwright/issues/30779) - \[REGRESSION]: When using `video: 'on'` with VSCode extension the browser got closed [https://github.com/microsoft/playwright/issues/30755](https://togithub.com/microsoft/playwright/issues/30755) - \[REGRESSION]: Electron launch with spaces inside executablePath didn't work[https://github.com/microsoft/playwright/issues/30770](https://togithub.com/microsoft/playwright/issues/30770)0 - \[REGRESSION]: Mask elements outside of viewport when creating fullscreen screenshots didn't wor[https://github.com/microsoft/playwright/issues/30858](https://togithub.com/microsoft/playwright/issues/30858)58 - \[REGRESSION]: ipv6 got shown instead of localhost in show-trace/show-report #### Browser Versions - Chromium 125.0.6422.14 - Mozilla Firefox 125.0.1 - WebKit 17.4 This version was also tested against the following stable channels: - Google Chrome 124 - Microsoft Edge 124
swc-project/swc (@​swc/core) ### [`v1.6.6`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#166---2024-06-29) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.6.5...v1.6.6) ##### Bug Fixes - **(es/lexer)** Fix lexing of `\r\n` in JSX ([#​9112](https://togithub.com/swc-project/swc/issues/9112)) ([2a0ebec](https://togithub.com/swc-project/swc/commit/2a0ebec0f5e51d5cba1c1981215a893834c63255)) ##### Performance - **(es/parser)** Optimize macros ([#​9100](https://togithub.com/swc-project/swc/issues/9100)) ([719b7c5](https://togithub.com/swc-project/swc/commit/719b7c54f69ef276270dc39fbcb8bbdbf52899bf)) - **(es/parser)** Remove unnecessary check ([#​9102](https://togithub.com/swc-project/swc/issues/9102)) ([2a490ad](https://togithub.com/swc-project/swc/commit/2a490ad0b2f9f89260742e653ba9ca086c1a9798)) - **(es/parser)** Add a check before numeric operations ([#​9105](https://togithub.com/swc-project/swc/issues/9105)) ([c0602c8](https://togithub.com/swc-project/swc/commit/c0602c81db55777be726cd8fe2fd074e34bd4d96)) - **(es/parser)** Increase token context size ([#​9104](https://togithub.com/swc-project/swc/issues/9104)) ([8ef30cc](https://togithub.com/swc-project/swc/commit/8ef30cc08c86251bb8bebf66286949805e332b6c)) ### [`v1.6.5`](https://togithub.com/swc-project/swc/compare/v1.6.4...v1.6.5) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.6.4...v1.6.5) ### [`v1.6.4`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#164---2024-06-22) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.6.3...v1.6.4) ##### Features - **(cli)** Support generating `.d.ts` files ([#​9097](https://togithub.com/swc-project/swc/issues/9097)) ([e71b6d3](https://togithub.com/swc-project/swc/commit/e71b6d31b1179dffb8a6e2d652b394273a6d7852)) - **(common)** Add fallible methods to `swc_common::SourceMap` ([#​9090](https://togithub.com/swc-project/swc/issues/9090)) ([e423d1b](https://togithub.com/swc-project/swc/commit/e423d1bcedc24803eaeeed4c72cc84fe9a938f65)) - **(es/transform)** Add experimental `.d.ts` generation ([#​9093](https://togithub.com/swc-project/swc/issues/9093)) ([51a2702](https://togithub.com/swc-project/swc/commit/51a27022b9a3fa8767797813b23803ea1ecad3e2)) - **(swc_core)** Reexport `swc_typescript` ([#​9092](https://togithub.com/swc-project/swc/issues/9092)) ([a2645e2](https://togithub.com/swc-project/swc/commit/a2645e2fa0a55c4dbe519b6f8baa9e83a69bb2f0)) - **(typescript)** Implement Isolated Declaration ([#​9086](https://togithub.com/swc-project/swc/issues/9086)) ([a855159](https://togithub.com/swc-project/swc/commit/a8551592b29bb1a1a0518e3724ad54acacca888a)) ##### Miscellaneous Tasks - **(deps)** Replace `sha-1` with `sha1` ([#​9091](https://togithub.com/swc-project/swc/issues/9091)) ([5a2c968](https://togithub.com/swc-project/swc/commit/5a2c968720141b115ec2055ea13ae6d025175e95)) ##### Performance - **(es/lexer)** Apply various optimizations ([#​9095](https://togithub.com/swc-project/swc/issues/9095)) ([2f02630](https://togithub.com/swc-project/swc/commit/2f02630b1e597692ce5a3d946f8d498ca33709dd)) - **(es/lexer)** Use `memchr::memmem` for lexing block comments ([#​9096](https://togithub.com/swc-project/swc/issues/9096)) ([1b3672f](https://togithub.com/swc-project/swc/commit/1b3672f1e7d38a0039b1ba0ebc136133dd8c907f)) ##### Refactor - **(es/parser)** Rename `EsConfig` and `TsConfig` ([#​9094](https://togithub.com/swc-project/swc/issues/9094)) ([5520b23](https://togithub.com/swc-project/swc/commit/5520b236dd40fdd579c99cb6d66eef094cabc3fc)) ### [`v1.6.3`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#163---2024-06-19) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.6.1...v1.6.3) ##### Bug Fixes - **(css/minifier)** Don't tranform rotate deg ([#​9072](https://togithub.com/swc-project/swc/issues/9072)) ([8d37dae](https://togithub.com/swc-project/swc/commit/8d37daedf10cbf5fa7ac8ceeb4192ddd6241e310)) - **(es/decorators)** Reduce the number of sourcemap mappings ([#​9074](https://togithub.com/swc-project/swc/issues/9074)) ([cfe3ba3](https://togithub.com/swc-project/swc/commit/cfe3ba306dc709149c496f67dbb7f35dc4f86819)) ##### Performance - **(common)** Use `Chars` in `StringInput` ([#​9073](https://togithub.com/swc-project/swc/issues/9073)) ([7698eaa](https://togithub.com/swc-project/swc/commit/7698eaa006d2951df0e0e0cb5680fe531d64dcf4)) - **(es/lexer)** Optimize lexer ([#​9075](https://togithub.com/swc-project/swc/issues/9075)) ([6426928](https://togithub.com/swc-project/swc/commit/6426928b912baa6573b902d7d3c85bcd49b2e823)) - **(es/lexer)** Make lexing of string literals faster ([#​9077](https://togithub.com/swc-project/swc/issues/9077)) ([373bac5](https://togithub.com/swc-project/swc/commit/373bac55aaffbe1f6e001c7c6d490797de45114e)) - **(es/lexer)** Reduce allocation while lexing identifiers ([#​9076](https://togithub.com/swc-project/swc/issues/9076)) ([69f00b8](https://togithub.com/swc-project/swc/commit/69f00b85d465e882ec33642d6e8ed22dbe3c3fb2)) - **(es/lexer)** Add a fast-path to template literal lexer ([#​9080](https://togithub.com/swc-project/swc/issues/9080)) ([238f1c5](https://togithub.com/swc-project/swc/commit/238f1c50e5b27a8655e10ac2b2be723b62233931)) - **(es/lexer)** Add fast-path to jsx lexer ([#​9081](https://togithub.com/swc-project/swc/issues/9081)) ([af58606](https://togithub.com/swc-project/swc/commit/af586069a922525dc24b5f59aefaf53daed7759a)) ##### Refactor - **(common)** Simplify `StringInput` implementation ([#​9071](https://togithub.com/swc-project/swc/issues/9071)) ([c3a8c0b](https://togithub.com/swc-project/swc/commit/c3a8c0b56755f17d0611f6559689a5cfb3185c33)) ### [`v1.6.1`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#161---2024-06-16) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.6.0...v1.6.1) ##### Bug Fixes - **(common)** Revert `Use SourceMap::adjust_mappings` ([#​9058](https://togithub.com/swc-project/swc/issues/9058)) ([cdd20cd](https://togithub.com/swc-project/swc/commit/cdd20cd16370342f645a181198432a3dc3b6c7ab)) ##### Performance - **(es/parser)** Reduce allocations while lexing numbers ([#​9057](https://togithub.com/swc-project/swc/issues/9057)) ([ca26eb7](https://togithub.com/swc-project/swc/commit/ca26eb796b1aefa150ccab7b16822ecb748aca7b)) ### [`v1.6.0`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#160---2024-06-15) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.5.29...v1.6.0) ##### Features - **(common)** Use `SourceMap::adjust_mappings` ([#​9052](https://togithub.com/swc-project/swc/issues/9052)) ([eda2e45](https://togithub.com/swc-project/swc/commit/eda2e456915cf1c0bfc8e4e833bcd2b9c6c36a41)) - **(es/ast)** Add more utilities ([#​9054](https://togithub.com/swc-project/swc/issues/9054)) ([ab226dc](https://togithub.com/swc-project/swc/commit/ab226dcfb7abea0b14430697c53c0002bd823866)) ##### Performance - **(es/lints)** Avoid needless allocations in `no-dupe-args` ([#​9041](https://togithub.com/swc-project/swc/issues/9041)) ([e560198](https://togithub.com/swc-project/swc/commit/e5601989a1fa699c3d4f7f120bd14f946eee01fa)) - **(es/parser)** Do not track `raw` by hand ([#​9047](https://togithub.com/swc-project/swc/issues/9047)) ([60fe5f0](https://togithub.com/swc-project/swc/commit/60fe5f0effdcc45f0cfd363fd0ff4e6f4dba5b33)) - **(es/parser)** Reduce allocations for `raw` while lexing numbers ([#​9056](https://togithub.com/swc-project/swc/issues/9056)) ([bc8ec62](https://togithub.com/swc-project/swc/commit/bc8ec625ecee8a077fe84de371c490be14a1a033)) ##### Refactor - **(es/ast)** Remove unused fields of `TsPropertySignature` ([#​8955](https://togithub.com/swc-project/swc/issues/8955)) ([6306778](https://togithub.com/swc-project/swc/commit/63067785127a0bf311c3bac2731df447a3cd614a)) - **(es/parser)** Remove unused `raw: Raw` params ([#​9048](https://togithub.com/swc-project/swc/issues/9048)) ([32e23ed](https://togithub.com/swc-project/swc/commit/32e23edd8591784bda2b49f941611b01a60e9a80)) - **(es/utils)** Refine some APIs ([#​9049](https://togithub.com/swc-project/swc/issues/9049)) ([e856478](https://togithub.com/swc-project/swc/commit/e8564780600d367a717e7b90a33bfd34275f5a19)) ##### Testing - **(es/parser)** Add benchmarks ([#​9044](https://togithub.com/swc-project/swc/issues/9044)) ([11bba26](https://togithub.com/swc-project/swc/commit/11bba262f555b284087a0a27ad3cbefdbd1b1c24)) ### [`v1.5.29`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1529---2024-06-13) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.5.28...v1.5.29) ##### Bug Fixes - **(ci)** Make publish action upload cli artifacts ([#​9040](https://togithub.com/swc-project/swc/issues/9040)) ([3337bb2](https://togithub.com/swc-project/swc/commit/3337bb26f9b00352c3f03c625f1429ee15ebc070)) - **(es)** Make `output` field optional ([#​9033](https://togithub.com/swc-project/swc/issues/9033)) ([39654bf](https://togithub.com/swc-project/swc/commit/39654bf1e7136077d2db2f85a93591708b4cfe8c)) - **(es/codegen)** Emit named type in mapped types ([#​9038](https://togithub.com/swc-project/swc/issues/9038)) ([91e92ec](https://togithub.com/swc-project/swc/commit/91e92ececab33c2258eeb659803da9a549e7591a)) - **(es/minifier)** Visit RHS while hoisting properties ([#​9032](https://togithub.com/swc-project/swc/issues/9032)) ([cb16994](https://togithub.com/swc-project/swc/commit/cb16994a8d7a203e923b52e444d265bad0fa9e6e)) - **(xtask)** Fix `nightly` action ([#​9042](https://togithub.com/swc-project/swc/issues/9042)) ([733dcc6](https://togithub.com/swc-project/swc/commit/733dcc6b83e77a2571a3fee307a73fc0c17bd44c)) ##### Performance - **(es/minifier)** Do not visit var init multiple times ([#​9039](https://togithub.com/swc-project/swc/issues/9039)) ([675916c](https://togithub.com/swc-project/swc/commit/675916ccbd378d3b0334ffeb7ad0759538856ddd)) - **(es/parser)** Optimize lexing of template literals ([#​9036](https://togithub.com/swc-project/swc/issues/9036)) ([6ab19a1](https://togithub.com/swc-project/swc/commit/6ab19a1b5f37e7f485f392ef3b63af024ae9e644)) - **(es/parser)** Optimize lexing of template literals, again ([#​9037](https://togithub.com/swc-project/swc/issues/9037)) ([5bffd0f](https://togithub.com/swc-project/swc/commit/5bffd0ff9b9548e1585b7e791a3f35ad0a83e1e0)) ### [`v1.5.28`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1528---2024-06-11) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.5.27...v1.5.28) ##### Bug Fixes - **(es/minifier)** Fix typescript enum detection ([#​9031](https://togithub.com/swc-project/swc/issues/9031)) ([6669343](https://togithub.com/swc-project/swc/commit/6669343b4aaaaca5cb4f4ee5753f86aea71974b1)) ### [`v1.5.27`](https://togithub.com/swc-project/swc/compare/v1.5.25...v1.5.27) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.5.25...v1.5.27) ### [`v1.5.25`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1525---2024-06-05) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.5.24...v1.5.25) ##### Bug Fixes - **(es/es2015)** Fix injection location of `this` for getter/setter properties ([#​8993](https://togithub.com/swc-project/swc/issues/8993)) ([09121a6](https://togithub.com/swc-project/swc/commit/09121a61cc5bf390b627e548c471bfc39ccb1c0f)) - **(es/minifier)** Preserve unused special properties ([#​9005](https://togithub.com/swc-project/swc/issues/9005)) ([e764ff6](https://togithub.com/swc-project/swc/commit/e764ff6f64d4e528a2af3e3ad7859ab3f8a2fe48)) - **(es/minifier)** Fix comparison of `-0.0` ([#​9012](https://togithub.com/swc-project/swc/issues/9012)) ([8a29577](https://togithub.com/swc-project/swc/commit/8a29577cc5bd3842d3bccfdbbffa45e4c9944d7f)) - **(es/minifier)** Do not index a string with a surrogate pair ([#​9013](https://togithub.com/swc-project/swc/issues/9013)) ([2879a4d](https://togithub.com/swc-project/swc/commit/2879a4d42b18e7e9d6bc12119a799c6a8c95e108)) - **(es/minifier)** Fix evaluation of `-0` as a string ([#​9011](https://togithub.com/swc-project/swc/issues/9011)) ([9f8e24a](https://togithub.com/swc-project/swc/commit/9f8e24a76c00b8f4470aadf22f071a60f409a13d)) - **(es/resolver)** Fix hoisting of `const` and `let` ([#​8987](https://togithub.com/swc-project/swc/issues/8987)) ([0d9ecf3](https://togithub.com/swc-project/swc/commit/0d9ecf39c1f452be1f2e583f72cebc6986a8088b)) ##### Features - **(es/minifier)** Detect TypeScript enum initialization pattern ([#​8986](https://togithub.com/swc-project/swc/issues/8986)) ([cc8c155](https://togithub.com/swc-project/swc/commit/cc8c1550ddd8f45712039663487fe07b8dfa2599)) - **(x)** Initialize project ([#​8999](https://togithub.com/swc-project/swc/issues/8999)) ([da70ebe](https://togithub.com/swc-project/swc/commit/da70ebed692d734ac4c042cd6a67fee9da793731)) ##### Performance - **(es/parser)** Add feature named `tracing-spans` ([#​9019](https://togithub.com/swc-project/swc/issues/9019)) ([3bf3114](https://togithub.com/swc-project/swc/commit/3bf31148ba5058323ee89bb2ca74b641c52c0669)) ### [`v1.5.24`](https://togithub.com/swc-project/swc/compare/v1.5.23...a1084695ae075079c8a0b967f45b6f4cc4c07bcd) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.5.23...v1.5.24) ### [`v1.5.23`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1523---2024-05-30) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.5.22...v1.5.23) ##### Bug Fixes - **(bindings/node)** Fix regression of JS APIs ([#​8998](https://togithub.com/swc-project/swc/issues/8998)) ([125ddd2](https://togithub.com/swc-project/swc/commit/125ddd2dd98e882f9e10b7d94f766eae85143d71)) - **(es/jest)** Handle `@jest/globals` ([#​8994](https://togithub.com/swc-project/swc/issues/8994)) ([a81a01f](https://togithub.com/swc-project/swc/commit/a81a01f629613a624798693e60f9796904a8dce1)) ### [`v1.5.22`](https://togithub.com/swc-project/swc/compare/v1.5.20...v1.5.22) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.5.20...v1.5.22) ### [`v1.5.20`](https://togithub.com/swc-project/swc/compare/v1.5.19...v1.5.20) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.5.19...v1.5.20) ### [`v1.5.19`](https://togithub.com/swc-project/swc/compare/v1.5.11...v1.5.19) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.5.11...v1.5.19) ### [`v1.5.11`](https://togithub.com/swc-project/swc/compare/v1.5.7...v1.5.11) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.5.7...v1.5.11)
evanw/esbuild (esbuild) ### [`v0.23.0`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0230) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.22.0...v0.23.0) ***This release deliberately contains backwards-incompatible changes.*** To avoid automatically picking up releases like this, you should either be pinning the exact version of `esbuild` in your `package.json` file (recommended) or be using a version range syntax that only accepts patch upgrades such as `^0.22.0` or `~0.22.0`. See npm's documentation about [semver](https://docs.npmjs.com/cli/v6/using-npm/semver/) for more information. - Revert the recent change to avoid bundling dependencies for node ([#​3819](https://togithub.com/evanw/esbuild/issues/3819)) This release reverts the recent change in version 0.22.0 that made `--packages=external` the default behavior with `--platform=node`. The default is now back to `--packages=bundle`. I've just been made aware that Amazon doesn't pin their dependencies in their "AWS CDK" product, which means that whenever esbuild publishes a new release, many people (potentially everyone?) using their SDK around the world instantly starts using it without Amazon checking that it works first. This change in version 0.22.0 happened to break their SDK. I'm amazed that things haven't broken before this point. This revert attempts to avoid these problems for Amazon's customers. Hopefully Amazon will pin their dependencies in the future. In addition, this is probably a sign that esbuild is used widely enough that it now needs to switch to a more complicated release model. I may have esbuild use a beta channel model for further development. - Fix preserving collapsed JSX whitespace ([#​3818](https://togithub.com/evanw/esbuild/issues/3818)) When transformed, certain whitespace inside JSX elements is ignored completely if it collapses to an empty string. However, the whitespace should only be ignored if the JSX is being transformed, not if it's being preserved. This release fixes a bug where esbuild was previously incorrectly ignoring collapsed whitespace with `--jsx=preserve`. Here is an example: ```jsx // Original code // Old output (with --jsx=preserve) ; // New output (with --jsx=preserve) ; ``` ### [`v0.22.0`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0220) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.21.5...v0.22.0) **This release deliberately contains backwards-incompatible changes.** To avoid automatically picking up releases like this, you should either be pinning the exact version of `esbuild` in your `package.json` file (recommended) or be using a version range syntax that only accepts patch upgrades such as `^0.21.0` or `~0.21.0`. See npm's documentation about [semver](https://docs.npmjs.com/cli/v6/using-npm/semver/) for more information. - Omit packages from bundles by default when targeting node ([#​1874](https://togithub.com/evanw/esbuild/issues/1874), [#​2830](https://togithub.com/evanw/esbuild/issues/2830), [#​2846](https://togithub.com/evanw/esbuild/issues/2846), [#​2915](https://togithub.com/evanw/esbuild/issues/2915), [#​3145](https://togithub.com/evanw/esbuild/issues/3145), [#​3294](https://togithub.com/evanw/esbuild/issues/3294), [#​3323](https://togithub.com/evanw/esbuild/issues/3323), [#​3582](https://togithub.com/evanw/esbuild/issues/3582), [#​3809](https://togithub.com/evanw/esbuild/issues/3809), [#​3815](https://togithub.com/evanw/esbuild/issues/3815)) This breaking change is an experiment. People are commonly confused when using esbuild to bundle code for node (i.e. for `--platform=node`) because some packages may not be intended for bundlers, and may use node-specific features that don't work with a bundler. Even though esbuild's "getting started" instructions say to use `--packages=external` to work around this problem, many people don't read the documentation and don't do this, and are then confused when it doesn't work. So arguably this is a bad default behavior for esbuild to have if people keep tripping over this. With this release, esbuild will now omit packages from the bundle by default when the platform is `node` (i.e. the previous behavior of `--packages=external` is now the default in this case). *Note that your dependencies must now be present on the file system when your bundle is run.* If you don't want this behavior, you can do `--packages=bundle` to allow packages to be included in the bundle (i.e. the previous default behavior). Note that `--packages=bundle` doesn't mean all packages are bundled, just that packages are allowed to be bundled. You can still exclude individual packages from the bundle using `--external:` even when `--packages=bundle` is present. The `--packages=` setting considers all import paths that "look like" package imports in the original source code to be package imports. Specifically import paths that don't start with a path segment of `/` or `.` or `..` are considered to be package imports. The only two exceptions to this rule are [subpath imports](https://nodejs.org/api/packages.html#subpath-imports) (which start with a `#` character) and TypeScript path remappings via `paths` and/or `baseUrl` in `tsconfig.json` (which are applied first). - Drop support for older platforms ([#​3802](https://togithub.com/evanw/esbuild/issues/3802)) This release drops support for the following operating systems: - Windows 7 - Windows 8 - Windows Server 2008 - Windows Server 2012 This is because the Go programming language dropped support for these operating system versions in [Go 1.21](https://go.dev/doc/go1.21#windows), and this release updates esbuild from Go 1.20 to Go 1.22. Note that this only affects the binary esbuild executables that are published to the `esbuild` npm package. It's still possible to compile esbuild's source code for these older operating systems. If you need to, you can compile esbuild for yourself using an older version of the Go compiler (before Go version 1.21). That might look something like this: git clone https://github.com/evanw/esbuild.git cd esbuild go build ./cmd/esbuild ./esbuild.exe --version In addition, this release increases the minimum required node version for esbuild's JavaScript API from node 12 to node 18. Node 18 is the oldest version of node that is still being supported (see node's [release schedule](https://nodejs.org/en/about/previous-releases) for more information). This increase is because of an incompatibility between the JavaScript that the Go compiler generates for the `esbuild-wasm` package and versions of node before node 17.4 (specifically the `crypto.getRandomValues` function). - Update `await using` behavior to match TypeScript TypeScript 5.5 subtly changes the way `await using` behaves. This release updates esbuild to match these changes in TypeScript. You can read more about these changes in [microsoft/TypeScript#58624](https://togithub.com/microsoft/TypeScript/pull/58624). - Allow `es2024` as a target environment The ECMAScript 2024 specification was just approved, so it has been added to esbuild as a possible compilation target. You can read more about the features that it adds here: . The only addition that's relevant for esbuild is the regular expression `/v` flag. With `--target=es2024`, regular expressions that use the `/v` flag will now be passed through untransformed instead of being transformed into a call to `new RegExp`. - Publish binaries for OpenBSD on 64-bit ARM ([#​3665](https://togithub.com/evanw/esbuild/issues/3665), [#​3674](https://togithub.com/evanw/esbuild/pull/3674)) With this release, you should now be able to install the `esbuild` npm package in OpenBSD on 64-bit ARM, such as on an Apple device with an M1 chip. This was contributed by [@​ikmckenz](https://togithub.com/ikmckenz). - Publish binaries for WASI (WebAssembly System Interface) preview 1 ([#​3300](https://togithub.com/evanw/esbuild/issues/3300), [#​3779](https://togithub.com/evanw/esbuild/pull/3779)) The upcoming WASI (WebAssembly System Interface) standard is going to be a way to run WebAssembly outside of a JavaScript host environment. In this scenario you only need a `.wasm` file without any supporting JavaScript code. Instead of JavaScript providing the APIs for the host environment, the WASI standard specifies a "system interface" that WebAssembly code can access directly (e.g. for file system access). Development versions of the WASI specification are being released using preview numbers. The people behind WASI are currently working on preview 2 but the Go compiler has [released support for preview 1](https://go.dev/blog/wasi), which from what I understand is now considered an unsupported legacy release. However, some people have requested that esbuild publish binary executables that support WASI preview 1 so they can experiment with them. This release publishes esbuild precompiled for WASI preview 1 to the `@esbuild/wasi-preview1` package on npm (specifically the file `@esbuild/wasi-preview1/esbuild.wasm`). This binary executable has not been tested and won't be officially supported, as it's for an old preview release of a specification that has since moved in another direction. If it works for you, great! If not, then you'll likely have to wait for the ecosystem to evolve before using esbuild with WASI. For example, it sounds like perhaps WASI preview 1 doesn't include support for opening network sockets so esbuild's local development server is unlikely to work with WASI preview 1. - Warn about `onResolve` plugins not setting a path ([#​3790](https://togithub.com/evanw/esbuild/issues/3790)) Plugins that return values from `onResolve` without resolving the path (i.e. without setting either `path` or `external: true`) will now cause a warning. This is because esbuild only uses return values from `onResolve` if it successfully resolves the path, and it's not good for invalid input to be silently ignored. - Add a new Go API for running the CLI with plugins ([#​3539](https://togithub.com/evanw/esbuild/pull/3539)) With esbuild's Go API, you can now call `cli.RunWithPlugins(args, plugins)` to pass an array of esbuild plugins to be used during the build process. This allows you to create a CLI that behaves similarly to esbuild's CLI but with additional Go plugins enabled. This was contributed by [@​edewit](https://togithub.com/edewit). ### [`v0.21.5`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0215) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.21.4...v0.21.5) - Fix `Symbol.metadata` on classes without a class decorator ([#​3781](https://togithub.com/evanw/esbuild/issues/3781)) This release fixes a bug with esbuild's support for the [decorator metadata proposal](https://togithub.com/tc39/proposal-decorator-metadata). Previously esbuild only added the `Symbol.metadata` property to decorated classes if there was a decorator on the class element itself. However, the proposal says that the `Symbol.metadata` property should be present on all classes that have any decorators at all, not just those with a decorator on the class element itself. - Allow unknown import attributes to be used with the `copy` loader ([#​3792](https://togithub.com/evanw/esbuild/issues/3792)) Import attributes (the `with` keyword on `import` statements) are allowed to alter how that path is loaded. For example, esbuild cannot assume that it knows how to load `./bagel.js` as type `bagel`: ```js // This is an error with "--bundle" without also using "--external:./bagel.js" import tasty from "./bagel.js" with { type: "bagel" } ``` Because of that, bundling this code with esbuild is an error unless the file `./bagel.js` is external to the bundle (such as with `--bundle --external:./bagel.js`). However, there is an additional case where it's ok for esbuild to allow this: if the file is loaded using the `copy` loader. That's because the `copy` loader behaves similarly to `--external` in that the file is left external to the bundle. The difference is that the `copy` loader copies the file into the output folder and rewrites the import path while `--external` doesn't. That means the following will now work with the `copy` loader (such as with `--bundle --loader:.bagel=copy`): ```js // This is no longer an error with "--bundle" and "--loader:.bagel=copy" import tasty from "./tasty.bagel" with { type: "bagel" } ``` - Support import attributes with glob-style imports ([#​3797](https://togithub.com/evanw/esbuild/issues/3797)) This release adds support for import attributes (the `with` option) to glob-style imports (dynamic imports with certain string literal patterns as paths). These imports previously didn't support import attributes due to an oversight. So code like this will now work correctly: ```ts async function loadLocale(locale: string): Locale { const data = await import(`./locales/${locale}.data`, { with: { type: 'json' } }) return unpackLocale(locale, data) } ``` Previously this didn't work even though esbuild normally supports forcing the JSON loader using an import attribute. Attempting to do this used to result in the following error: ✘ [ERROR] No loader is configured for ".data" files: locales/en-US.data example.ts:2:28: 2 │ const data = await import(`./locales/${locale}.data`, { with: { type: 'json' } }) ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~ In addition, this change means plugins can now access the contents of `with` for glob-style imports. - Support `${configDir}` in `tsconfig.json` files ([#​3782](https://togithub.com/evanw/esbuild/issues/3782)) This adds support for a new feature from the upcoming TypeScript 5.5 release. The character sequence `${configDir}` is now respected at the start of `baseUrl` and `paths` values, which are used by esbuild during bundling to correctly map import paths to file system paths. This feature lets base `tsconfig.json` files specified via `extends` refer to the directory of the top-level `tsconfig.json` file. Here is an example: ```json { "compilerOptions": { "paths": { "js/*": ["${configDir}/dist/js/*"] } } } ``` You can read more in [TypeScript's blog post about their upcoming 5.5 release](https://devblogs.microsoft.com/typescript/announcing-typescript-5-5-rc/#the-configdir-template-variable-for-configuration-files). Note that this feature does not make use of template literals (you need to use `"${configDir}/dist/js/*"` not `` `${configDir}/dist/js/*` ``). The syntax for `tsconfig.json` is still just JSON with comments, and JSON syntax does not allow template literals. This feature only recognizes `${configDir}` in strings for certain path-like properties, and only at the beginning of the string. - Fix internal error with `--supported:object-accessors=false` ([#​3794](https://togithub.com/evanw/esbuild/issues/3794)) This release fixes a regression in 0.21.0 where some code that was added to esbuild's internal runtime library of helper functions for JavaScript decorators fails to parse when you configure esbuild with `--supported:object-accessors=false`. The reason is that esbuild introduced code that does `{ get [name]() {} }` which uses both the `object-extensions` feature for the `[name]` and the `object-accessors` feature for the `get`, but esbuild was incorrectly only checking for `object-extensions` and not for `object-accessors`. Additional tests have been added to avoid this type of issue in the future. A workaround for this issue in earlier releases is to also add `--supported:object-extensions=false`. ### [`v0.21.4`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0214) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.21.3...v0.21.4) - Update support for import assertions and import attributes in node ([#​3778](https://togithub.com/evanw/esbuild/issues/3778)) Import assertions (the `assert` keyword) have been removed from node starting in v22.0.0. So esbuild will now strip them and generate a warning with `--target=node22` or above: ▲ [WARNING] The "assert" keyword is not supported in the configured target environment ("node22") [assert-to-with] example.mjs:1:40: 1 │ import json from "esbuild/package.json" assert { type: "json" } │ ~~~~~~ ╵ with Did you mean to use "with" instead of "assert"? Import attributes (the `with` keyword) have been backported to node 18 starting in v18.20.0. So esbuild will no longer strip them with `--target=node18.N` if `N` is 20 or greater. - Fix `for await` transform when a label is present This release fixes a bug where the `for await` transform, which wraps the loop in a `try` statement, previously failed to also move the loop's label into the `try` statement. This bug only affects code that uses both of these features in combination. Here's an example of some affected code: ```js // Original code async function test() { outer: for await (const x of [Promise.resolve([0, 1])]) { for (const y of x) if (y) break outer throw 'fail' } } // Old output (with --target=es6) function test() { return __async(this, null, function* () { outer: try { for (var iter = __forAwait([Promise.resolve([0, 1])]), more, temp, error; more = !(temp = yield iter.next()).done; more = false) { const x = temp.value; for (const y of x) if (y) break outer; throw "fail"; } } catch (temp) { error = [temp]; } finally { try { more && (temp = iter.return) && (yield temp.call(iter)); } finally { if (error) throw error[0]; } } }); } // New output (with --target=es6) function test() { return __async(this, null, function* () { try { outer: for (var iter = __forAwait([Promise.resolve([0, 1])]), more, temp, error; more = !(temp = yield iter.next()).done; more = false) { const x = temp.value; for (const y of x) if (y) break outer; throw "fail"; } } catch (temp) { error = [temp]; } finally { try { more && (temp = iter.return) && (yield temp.call(iter)); } finally { if (error) throw error[0]; } } }); } ``` - Do additional constant folding after cross-module enum inlining ([#​3416](https://togithub.com/evanw/esbuild/issues/3416), [#​3425](https://togithub.com/evanw/esbuild/issues/3425)) This release adds a few more cases where esbuild does constant folding after cross-module enum inlining. ```ts // Original code: enum.ts export enum Platform { WINDOWS = 'windows', MACOS = 'macos', LINUX = 'linux', } // Original code: main.ts import { Platform } from './enum'; declare const PLATFORM: string; export function logPlatform() { if (PLATFORM == Platform.WINDOWS) console.log('Windows'); else if (PLATFORM == Platform.MACOS) console.log('macOS'); else if (PLATFORM == Platform.LINUX) console.log('Linux'); else console.log('Other'); } // Old output (with --bundle '--define:PLATFORM="macos"' --minify --format=esm) function n(){"windows"=="macos"?console.log("Windows"):"macos"=="macos"?console.log("macOS"):"linux"=="macos"?console.log("Linux"):console.log("Other")}export{n as logPlatform}; // New output (with --bundle '--define:PLATFORM="macos"' --minify --format=esm) function n(){console.log("macOS")}export{n as logPlatform}; ``` - Pass import attributes to on-resolve plugins ([#​3384](https://togithub.com/evanw/esbuild/issues/3384), [#​3639](https://togithub.com/evanw/esbuild/issues/3639), [#​3646](https://togithub.com/evanw/esbuild/issues/3646)) With this release, on-resolve plugins will now have access to the import attributes on the import via the `with` property of the arguments object. This mirrors the `with` property of the arguments object that's already passed to on-load plugins. In addition, you can now pass `with` to the `resolve()` API call which will then forward that value on to all relevant plugins. Here's an example of a plugin that can now be written: ```js const examplePlugin = { name: 'Example plugin', setup(build) { build.onResolve({ filter: /.*/ }, args => { if (args.with.type === 'external') return { external: true } }) } } require('esbuild').build({ stdin: { contents: ` import foo from "./foo" with { type: "external" } foo() `, }, bundle: true, format: 'esm', write: false, plugins: [examplePlugin], }).then(result => { console.log(result.outputFiles[0].text) }) ``` - Formatting support for the `@position-try` rule ([#​3773](https://togithub.com/evanw/esbuild/issues/3773)) Chrome shipped this new CSS at-rule in version 125 as part of the [CSS anchor positioning API](https://developer.chrome.com/blog/anchor-positioning-api). With this release, esbuild now knows to expect a declaration list inside of the `@position-try` body block and will format it appropriately. - Always allow internal string import and export aliases ([#​3343](https://togithub.com/evanw/esbuild/issues/3343)) Import and export names can be string literals in ES2022+. Previously esbuild forbid any usage of these aliases when the target was below ES2022. Starting with this release, esbuild will only forbid such usage when the alias would otherwise end up in output as a string literal. String literal aliases that are only used internally in the bundle and are "compiled away" are no longer errors. This makes it possible to use string literal aliases with esbuild's `inject` feature even when the target is earlier than ES2022.
remix-run/react-router (react-router-dom) ### [`v6.24.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6240) [Compare Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.23.1...react-router-dom@6.24.0) ##### Minor Changes - Add support for Lazy Route Discovery (a.k.a. Fog of War) ([#​11626](https://togithub.com/remix-run/react-router/pull/11626)) - RFC: - `unstable_patchRoutesOnMiss` docs: ##### Patch Changes - Fix `fetcher.submit` types - remove incorrect `navigate`/`fetcherKey`/`unstable_viewTransition` options because they are only relevant for `useSubmit` ([#​11631](https://togithub.com/remix-run/react-router/pull/11631)) - Allow falsy `location.state` values passed to `` ([#​11495](https://togithub.com/remix-run/react-router/pull/11495)) - Updated dependencies: - `react-router@6.24.0` - `@remix-run/router@1.17.0`
Microsoft/TypeScript (typescript) ### [`v5.5.3`](https://togithub.com/Microsoft/TypeScript/compare/v5.5.2...f0e992167440686f948965e5441a918b34251886) [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.5.2...v5.5.3) ### [`v5.5.2`](https://togithub.com/Microsoft/TypeScript/compare/v5.4.5...ce2e60e4ea15a65992e54a9e8877d16be9d42abb) [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.4.5...v5.5.2)
vitejs/vite (vite) ### [`v5.3.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small533-2024-07-03-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.3.2...v5.3.3) - fix: lazily evaluate \__vite\_\_mapDeps files ([#​17602](https://togithub.com/vitejs/vite/issues/17602)) ([dafff4a](https://togithub.com/vitejs/vite/commit/dafff4a)), closes [#​17602](https://togithub.com/vitejs/vite/issues/17602) - fix(deps): update all non-major dependencies ([#​17590](https://togithub.com/vitejs/vite/issues/17590)) ([012490c](https://togithub.com/vitejs/vite/commit/012490c)), closes [#​17590](https://togithub.com/vitejs/vite/issues/17590) - fix(lib): remove pure CSS dynamic import ([#​17601](https://togithub.com/vitejs/vite/issues/17601)) ([055f1c1](https://togithub.com/vitejs/vite/commit/055f1c1)), closes [#​17601](https://togithub.com/vitejs/vite/issues/17601) - fix(proxy): replace changeOrigin changes in 5.3.0 with new rewriteWsOrigin option ([#​17563](https://togithub.com/vitejs/vite/issues/17563)) ([14c3d49](https://togithub.com/vitejs/vite/commit/14c3d49)), closes [#​17563](https://togithub.com/vitejs/vite/issues/17563) ### [`v5.3.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small532-2024-06-27-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.3.1...v5.3.2) - fix(client): uniform variable `location` ([#​17528](https://togithub.com/vitejs/vite/issues/17528)) ([a8e2f6f](https://togithub.com/vitejs/vite/commit/a8e2f6f)), closes [#​17528](https://togithub.com/vitejs/vite/issues/17528) - fix(deps): update all non-major dependencies ([#​17494](https://togithub.com/vitejs/vite/issues/17494)) ([bf123f2](https://togithub.com/vitejs/vite/commit/bf123f2)), closes [#​17494](https://togithub.com/vitejs/vite/issues/17494) - fix(typescript): correctly expand ${configDir} in tsconfig.json ([#​17576](https://togithub.com/vitejs/vite/issues/17576)) ([24c799b](https://togithub.com/vitejs/vite/commit/24c799b)), closes [#​17576](https://togithub.com/vitejs/vite/issues/17576) - chore: fix some comments ([#​17495](https://togithub.com/vitejs/vite/issues/17495)) ([ec16a5e](https://togithub.com/vitejs/vite/commit/ec16a5e)), closes [#​17495](https://togithub.com/vitejs/vite/issues/17495) - chore(deps): update all non-major dependencies ([#​17553](https://togithub.com/vitejs/vite/issues/17553)) ([a33a97f](https://togithub.com/vitejs/vite/commit/a33a97f)), closes [#​17553](https://togithub.com/vitejs/vite/issues/17553) - chore(deps): update dependency eslint to v9 ([#​16661](https://togithub.com/vitejs/vite/issues/16661)) ([6c10662](https://togithub.com/vitejs/vite/commit/6c10662)), closes [#​16661](https://togithub.com/vitejs/vite/issues/16661) - chore(deps): update es-module-lexer to 1.5.4 ([#​17555](https://togithub.com/vitejs/vite/issues/17555)) ([2d6672f](https://togithub.com/vitejs/vite/commit/2d6672f)), closes [#​17555](https://togithub.com/vitejs/vite/issues/17555) - refactor(optimizer): use early continues ([#​17551](https://togithub.com/vitejs/vite/issues/17551)) ([7c06ef0](https://togithub.com/vitejs/vite/commit/7c06ef0)), closes [#​17551](https://togithub.com/vitejs/vite/issues/17551) ### [`v5.3.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small531-2024-06-14-small) - fix(build): handle preload treeshaking for braces ([#​17479](https://togithub.com/vitejs/vite/issues/17479)) ([d355568](https://togithub.com/vitejs/vite/commit/d355568)), closes [#​17479](https://togithub.com/vitejs/vite/issues/17479) - fix(build): handle preload treeshaking for commas ([#​17472](https://togithub.com/vitejs/vite/issues/17472)) ([3e27071](https://togithub.com/vitejs/vite/commit/3e27071)), closes [#​17472](https://togithub.com/vitejs/vite/issues/17472) - fix(build): preload treeshaking ignore equal ([#​17480](https://togithub.com/vitejs/vite/issues/17480)) ([6ced135](https://togithub.com/vitejs/vite/commit/6ced135)), closes [#​17480](https://togithub.com/vitejs/vite/issues/17480) - chore: consolidate changelog for 5.3 ([#​17476](https://togithub.com/vitejs/vite/issues/17476)) ([1f09344](https://togithub.com/vitejs/vite/commit/1f09344)), closes [#​17476](https://togithub.com/vitejs/vite/issues/17476) ### [`v5.3.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#530-2024-06-13) - fix: typo in client log ([#​17363](https://togithub.com/vitejs/vite/issues/17363)) ([68aa9f8](https://togithub.com/vitejs/vite/commit/68aa9f8)), closes [#​17363](https://togithub.com/vitejs/vite/issues/17363) - fix(ssrTransform): handle arbitrary module namespace identifiers ([#​17446](https://togithub.com/vitejs/vite/issues/17446)) ([0a76652](https://togithub.com/vitejs/vite/commit/0a76652)), closes [#​17446](https://togithub.com/vitejs/vite/issues/17446) - test: disable isolate for unit test ([#​17448](https://togithub.com/vitejs/vite/issues/17448)) ([f16fae5](https://togithub.com/vitejs/vite/commit/f16fae5)), closes [#​17448](https://togithub.com/vitejs/vite/issues/17448) - feat: asset type add bmp ([#​17439](https://togithub.com/vitejs/vite/issues/17439)) ([ec287f8](https://togithub.com/vitejs/vite/commit/ec287f8)), closes [#​17439](https://togithub.com/vitejs/vite/issues/17439) ### [`v5.2.13`](https://togithub.com/vitejs/vite/releases/tag/v5.2.13) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.2.12...v5.2.13) Please refer to [CHANGELOG.md](https://togithub.com/vitejs/vite/blob/v5.2.13/packages/vite/CHANGELOG.md) for details. ### [`v5.2.12`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small5212-2024-05-28-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.2.11...v5.2.12) - chore: move to eslint flat config ([#​16743](https://togithub.com/vitejs/vite/issues/16743)) ([8f16765](https://togithub.com/vitejs/vite/commit/8f16765)), closes [#​16743](https://togithub.com/vitejs/vite/issues/16743) - chore(deps): remove unused deps ([#​17329](https://togithub.com/vitejs/vite/issues/17329)) ([5a45745](https://togithub.com/vitejs/vite/commit/5a45745)), closes [#​17329](https://togithub.com/vitejs/vite/issues/17329) - chore(deps): update all non-major dependencies ([#​16722](https://togithub.com/vitejs/vite/issues/16722)) ([b45922a](https://togithub.com/vitejs/vite/commit/b45922a)), closes [#​16722](https://togithub.com/vitejs/vite/issues/16722) - fix: mention `build.rollupOptions.output.manualChunks` instead of `build.rollupOutput.manualChunks` ([89378c0](https://togithub.com/vitejs/vite/commit/89378c0)), closes [#​16721](https://togithub.com/vitejs/vite/issues/16721) - fix(build): make SystemJSWrapRE match lazy ([#​16633](https://togithub.com/vitejs/vite/issues/16633)) ([6583ad2](https://togithub.com/vitejs/vite/commit/6583ad2)), closes [#​16633](https://togithub.com/vitejs/vite/issues/16633) - fix(css): avoid generating empty JS files when JS files becomes empty but has CSS files imported ([#​1](https://togithub.com/vitejs/vite/issues/1) ([95fe5a7](https://togithub.com/vitejs/vite/commit/95fe5a7)), closes [#​16078](https://togithub.com/vitejs/vite/issues/16078) - fix(css): handle lightningcss compiled css in Deno ([#​17301](https://togithub.com/vitejs/vite/issues/17301)) ([8e4e932](https://togithub.com/vitejs/vite/commit/8e4e932)), closes [#​17301](https://togithub.com/vitejs/vite/issues/17301) - fix(css): only use files the current bundle contains ([#​16684](https://togithub.com/vitejs/vite/issues/16684)) ([15a6ebb](https://togithub.com/vitejs/vite/commit/15a6ebb)), closes [#​16684](https://togithub.com/vitejs/vite/issues/16684) - fix(css): page reload was not happening with .css?raw ([#​16455](https://togithub.com/vitejs/vite/issues/16455)) ([8041846](https://togithub.com/vitejs/vite/co

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.