vitejs / vite-plugin-react-swc

Speed up your Vite dev server with SWC
MIT License
834 stars 54 forks source link

Update all non-major dependencies #19

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@swc/core (source) ^1.3.21 -> ^1.3.22 age adoption passing confidence
@types/node (source) ^18.11.10 -> ^18.11.13 age adoption passing confidence
esbuild ^0.16.3 -> ^0.16.4 age adoption passing confidence
prettier (source) ^2.8.0 -> ^2.8.1 age adoption passing confidence
typescript (source) ^4.9.3 -> ^4.9.4 age adoption passing confidence

Release Notes

swc-project/swc ### [`v1.3.22`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#​1322---2022-12-09) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.21...v1.3.22) ##### Bug Fixes - **(common)** Fix handling of input source maps ([#​6561](https://togithub.com/swc-project/swc/issues/6561)) ([4af52c7](https://togithub.com/swc-project/swc/commit/4af52c79aea73f2e916bd11ce089bb4a4317179c)) - **(common)** Fix `BytePos` -> `CharPos` calculations ([#​6574](https://togithub.com/swc-project/swc/issues/6574)) ([a203fdb](https://togithub.com/swc-project/swc/commit/a203fdb1b62ce2df855421d46905f8b821eeabbd)) - **(css/parser)** Fix recovery more for invalid component values in declaration value ([#​6560](https://togithub.com/swc-project/swc/issues/6560)) ([db1eb48](https://togithub.com/swc-project/swc/commit/db1eb483fda71ca5f88342d8c53cb795707c6221)) - **(css/parser)** Fix parsing of nested rules ([#​6563](https://togithub.com/swc-project/swc/issues/6563)) ([a1fe907](https://togithub.com/swc-project/swc/commit/a1fe9076c231ca1eef05c558f43803ec006559c3)) - **(css/parser)** Fix a small bug ([#​6591](https://togithub.com/swc-project/swc/issues/6591)) ([4de378c](https://togithub.com/swc-project/swc/commit/4de378cb1e170df496b277bc141dacaa1c21738f)) - **(css/parser)** Avoid skipping extra whitespaces ([#​6592](https://togithub.com/swc-project/swc/issues/6592)) ([d8936ad](https://togithub.com/swc-project/swc/commit/d8936ade5b34f682af08e01833d629a67c54f888)) - **(es/compat)** Prepend generated `_loop` to the correct scope ([#​6604](https://togithub.com/swc-project/swc/issues/6604)) ([4c2d422](https://togithub.com/swc-project/swc/commit/4c2d42261ed0382c49e8a564b574362a5ab182a3)) - **(es/parser)** Fix `typeof` in `TSCallSignatureDeclaration` ([#​6553](https://togithub.com/swc-project/swc/issues/6553)) ([aa28aa0](https://togithub.com/swc-project/swc/commit/aa28aa0c7fefcaea063340c711a5ea8a3ba60e7b)) - **(es/parser)** Fix parsing of JSX with ASI ([#​6577](https://togithub.com/swc-project/swc/issues/6577)) ([ad95ead](https://togithub.com/swc-project/swc/commit/ad95ead291640b1ada65860af1adf5e8185c80a4)) - **(es/resolver)** Reset `in_type` flag correctly ([#​6597](https://togithub.com/swc-project/swc/issues/6597)) ([29ba05d](https://togithub.com/swc-project/swc/commit/29ba05d137c606f9e67fec9db8bd2377671900e1)) - **(es/typescript)** Strip inline type declarations ([#​6600](https://togithub.com/swc-project/swc/issues/6600)) ([fe0c651](https://togithub.com/swc-project/swc/commit/fe0c65195d2308b1475e958a7051b5f529bf4580)) - **(node-swc)** Sync types for `jsc.optimizer.globals` ([#​6603](https://togithub.com/swc-project/swc/issues/6603)) ([b97aa45](https://togithub.com/swc-project/swc/commit/b97aa45c5c0ef5cfccc15294767c2bc8f0a7307d)) - **(xml/parser)** Fix parsing of legacy document types ([#​6555](https://togithub.com/swc-project/swc/issues/6555)) ([cdf0d8a](https://togithub.com/swc-project/swc/commit/cdf0d8a8b59a05498b6ca609d8a2ecf3c2f35f28)) - **(xml/parser)** Fix various bugs ([#​6566](https://togithub.com/swc-project/swc/issues/6566)) ([01232f0](https://togithub.com/swc-project/swc/commit/01232f09883de34eb3eb94d364f9bd2a3b985703)) ##### Features - **(css/ast)** Make AST intuitive ([#​6606](https://togithub.com/swc-project/swc/issues/6606)) ([b4eef53](https://togithub.com/swc-project/swc/commit/b4eef53680b0e553f14404f641b521a346e55f1f)) - **(css/plugin)** Prepare Wasm plugins ([#​6567](https://togithub.com/swc-project/swc/issues/6567)) ([8cdc28c](https://togithub.com/swc-project/swc/commit/8cdc28cdfa17f1773bdd30c2187c79e1db0a3ffe)) - **(css/plugin)** Support Wasm plugin ([#​6568](https://togithub.com/swc-project/swc/issues/6568)) ([fa8f7b0](https://togithub.com/swc-project/swc/commit/fa8f7b00fc458c4ee2a74b431fb9004f67e54dde)) - **(es/analyzer)** Extract the analyzer from the minifier to a separate crate ([#​6586](https://togithub.com/swc-project/swc/issues/6586)) ([e1d01d8](https://togithub.com/swc-project/swc/commit/e1d01d8b7aa23d1bf3f3894546691c0b249ab647)) - **(html/parser)** Improve lexer ([#​6543](https://togithub.com/swc-project/swc/issues/6543)) ([49b7e9e](https://togithub.com/swc-project/swc/commit/49b7e9e224c36346a8fe5ccbec623ae76f0cc79d)) ##### Miscellaneous Tasks - **(ci)** Add debug logs for cli binaries ([#​6556](https://togithub.com/swc-project/swc/issues/6556)) ([8083484](https://togithub.com/swc-project/swc/commit/80834843f4180bc292f8b2959b1390a07bec0a77)) - **(ci)** Fix CI ([#​6558](https://togithub.com/swc-project/swc/issues/6558)) ([8587589](https://togithub.com/swc-project/swc/commit/85875897f1fd3e71fe5e5d1877bb0e80458835d9)) - **(ci)** Fix benchmark action ([#​6582](https://togithub.com/swc-project/swc/issues/6582)) ([d8adc58](https://togithub.com/swc-project/swc/commit/d8adc580110e0764686f5aea848425905605daa0)) - **(ci)** Fix benchmark action ([#​6596](https://togithub.com/swc-project/swc/issues/6596)) ([154c315](https://togithub.com/swc-project/swc/commit/154c315d91f20466ae90b83f5300017e57e4a078)) - **(css/lexer)** Fix typo ([#​6588](https://togithub.com/swc-project/swc/issues/6588)) ([f383836](https://togithub.com/swc-project/swc/commit/f383836bad48a791c93d1f6bd5670a2d19a545d8)) ##### Performance - **(css/ast)** Reduce token size ([#​6569](https://togithub.com/swc-project/swc/issues/6569)) ([8633d27](https://togithub.com/swc-project/swc/commit/8633d27df0f429cd024c3b36f686c136b2bb945f)) - **(css/codegen)** Reduce allocations ([#​6599](https://togithub.com/swc-project/swc/issues/6599)) ([538d63e](https://togithub.com/swc-project/swc/commit/538d63eb800506fd8ff44d238d0cb02a1d3cf478)) - **(css/minifier)** Remove redundant clone ([#​6579](https://togithub.com/swc-project/swc/issues/6579)) ([70ac028](https://togithub.com/swc-project/swc/commit/70ac0286e50d8117e918e11131ffb15d77d9ed18)) - **(css/minifier)** Remove more redundant clones ([#​6580](https://togithub.com/swc-project/swc/issues/6580)) ([4171ee7](https://togithub.com/swc-project/swc/commit/4171ee7fb353966c5a11e4701b2bdf28bc895ad1)) - **(css/minifier)** Improve performance ([#​6583](https://togithub.com/swc-project/swc/issues/6583)) ([7895599](https://togithub.com/swc-project/swc/commit/78955995a2fd381a9d56a325e368aa29dcc3c7be)) - **(css/parser)** Reduce clones and allocations ([#​6585](https://togithub.com/swc-project/swc/issues/6585)) ([6479670](https://togithub.com/swc-project/swc/commit/64796701e45a59a9d9ba439064d012b5ad3ce144)) - **(css/parser)** Reduce number of function calls ([#​6587](https://togithub.com/swc-project/swc/issues/6587)) ([252edb5](https://togithub.com/swc-project/swc/commit/252edb550be2464d34c1ccce668d1666f3799878)) - **(css/parser)** Don't allocate for comparisons ([#​6593](https://togithub.com/swc-project/swc/issues/6593)) ([08b6eab](https://togithub.com/swc-project/swc/commit/08b6eab0103ed7b42b6053392161ea8bd4fd597a)) - **(html/parser)** Optimize usage of buffers ([#​6590](https://togithub.com/swc-project/swc/issues/6590)) ([d6e9613](https://togithub.com/swc-project/swc/commit/d6e961368bb231dfa842b7cd37f77e2f0fb9c8c2)) ##### Refactor - **(common)** Cleanup source_map.rs ([#​6570](https://togithub.com/swc-project/swc/issues/6570)) ([b3ea52f](https://togithub.com/swc-project/swc/commit/b3ea52f8637998721f6762f93f486892f7676993)) - **(es/minifier)** Remove unnecessary code ([#​6575](https://togithub.com/swc-project/swc/issues/6575)) ([586bfd5](https://togithub.com/swc-project/swc/commit/586bfd5480aa6e0d37cc50505efa61a6343b1bc8)) - **(xml/parser)** Simplify logic for parsing elements ([#​6557](https://togithub.com/swc-project/swc/issues/6557)) ([85a03e7](https://togithub.com/swc-project/swc/commit/85a03e71b7fe98d6f4f7c3fd0e49ce862130dfcc)) ##### Testing - **(css/parser)** Move vendor tests ([#​6564](https://togithub.com/swc-project/swc/issues/6564)) ([4d422b6](https://togithub.com/swc-project/swc/commit/4d422b6228c0a29e3e540697e805be5ae33f4cf2))
evanw/esbuild ### [`v0.16.4`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#​0164) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.16.3...v0.16.4) - Fix binary downloads from the `@esbuild/` scope for Deno ([#​2729](https://togithub.com/evanw/esbuild/issues/2729)) Version 0.16.0 of esbuild moved esbuild's binary executables into npm packages under the `@esbuild/` scope, which accidentally broke the binary downloader script for Deno. This release fixes this script so it should now be possible to use esbuild version 0.16.4+ with Deno.
prettier/prettier ### [`v2.8.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#​281) [Compare Source](https://togithub.com/prettier/prettier/compare/2.8.0...2.8.1) [diff](https://togithub.com/prettier/prettier/compare/2.8.0...2.8.1) ##### Fix SCSS map in arguments ([#​9184](https://togithub.com/prettier/prettier/pull/9184) by [@​agamkrbit](https://togithub.com/agamkrbit)) ```scss // Input $display-breakpoints: map-deep-merge( ( "print-only": "only print", "screen-only": "only screen", "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})", ), $display-breakpoints ); // Prettier 2.8.0 $display-breakpoints: map-deep-merge( ( "print-only": "only print", "screen-only": "only screen", "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, " sm ")-1})", ), $display-breakpoints ); // Prettier 2.8.1 $display-breakpoints: map-deep-merge( ( "print-only": "only print", "screen-only": "only screen", "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})", ), $display-breakpoints ); ``` ##### Support auto accessors syntax ([#​13919](https://togithub.com/prettier/prettier/pull/13919) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) Support for [Auto Accessors Syntax](https://devblogs.microsoft.com/typescript/announcing-typescript-4-9/#auto-accessors-in-classes) landed in TypeScript 4.9. (Doesn't work well with `babel-ts` parser) ```tsx class Foo { accessor foo: number = 3; } ```
Microsoft/TypeScript ### [`v4.9.4`](https://togithub.com/microsoft/TypeScript/releases/tag/v4.9.4): TypeScript 4.9.4 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v4.9.3...v4.9.4) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-4-9). For the complete list of fixed issues, check out the - [fixed issues query for Typescript v4.9.4](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=is%3Aissue+milestone%3A%22TypeScript+4.9.4%22+is%3Aclosed+). Downloads are available on: - [npm](https://www.npmjs.com/package/typescript) - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) #### Changes: - [`e286821`](https://togithub.com/Microsoft/TypeScript/commit/e2868216f637e875a74c675845625eb15dcfe9a2) Bump version to 4.9.4 and LKG. - [`eb5419f`](https://togithub.com/Microsoft/TypeScript/commit/eb5419fc8d980859b98553586dfb5f40d811a745) Cherry-pick [#​51704](https://togithub.com/Microsoft/TypeScript/issues/51704) to release 4.9 ([#​51712](https://togithub.com/Microsoft/TypeScript/issues/51712)) - [`b4d382b`](https://togithub.com/Microsoft/TypeScript/commit/b4d382b9b12460adf2da4cc0d1429cf19f8dc8be) Cherry-pick changes for narrowing to tagged literal types. - [`e7a02f4`](https://togithub.com/Microsoft/TypeScript/commit/e7a02f43fce47e1a39259ada5460bcc33c8e98b5) Port of [#​51626](https://togithub.com/Microsoft/TypeScript/issues/51626) and [#​51689](https://togithub.com/Microsoft/TypeScript/issues/51689) to release-4.9 ([#​51627](https://togithub.com/Microsoft/TypeScript/issues/51627)) - [`1727912`](https://togithub.com/Microsoft/TypeScript/commit/1727912f0437a7f367d90040fc4b0b4f3efd017a) Cherry-pick fix around `visitEachChild` to release-4.9. ([#​51544](https://togithub.com/Microsoft/TypeScript/issues/51544)) This list of changes was [auto generated](https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/\_release?releaseId=117&\_a=release-summary).

Configuration

📅 Schedule: Branch creation - "before 3am 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.