vitejs / vite-plugin-react-swc

Speed up your Vite dev server with SWC
MIT License
778 stars 50 forks source link

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

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
@generouted/react-router ^1.13.6 -> ^1.15.0 age adoption passing confidence
@swc/core (source) ^1.3.66 -> ^1.3.67 age adoption passing confidence
@types/node (source) ^18.16.18 -> ^18.16.19 age adoption passing confidence
esbuild ^0.18.9 -> ^0.18.11 age adoption passing confidence
pnpm (source) 8.6.4 -> 8.6.5 age adoption passing confidence
react-router-dom ^6.14.0 -> ^6.14.1 age adoption passing confidence
typescript (source) ^5.1.3 -> ^5.1.6 age adoption passing confidence

Release Notes

oedotme/generouted (@​generouted/react-router) ### [`v1.15.0`](https://togithub.com/oedotme/generouted/releases/tag/v1.15.0) [Compare Source](https://togithub.com/oedotme/generouted/compare/v1.14.0...v1.15.0) #### Changes Introduce route-based and app-level `Pending` component as a `Suspense` fallback for both `@generouted/react-router` and `@generouted/solid-router` ```tsx export const Pending = () =>
Loading...
``` ##### Breaking change 🚨 For `@generouted/solid-router`, now the `routes` tree/object has the `src/pages/_app.tsx` as the root route and all the routes render as children like the current implement for `@generouted/react-router`. You need to make two changes only at `src/pages/_app.tsx` for this new update: - Render an `` component from `@solidjs/router` instead of `{props.children}` - Render the `` component explicitly, it was included previously at the exported `` component ```tsx // src/pages/_app.tsx import { Outlet } from '@​solidjs/router' import { Modals } from '@​generouted/solid-router' import { useModals } from '../router' export default function App() { const modals = useModals() return (
) } ``` #### Commits - feat!: support suspense-based pending component [`b758e9b`](https://togithub.com/oedotme/generouted/commit/b758e9b) by [@​oedotme](https://togithub.com/oedotme) **Changelog**: https://github.com/oedotme/generouted/compare/v1.14.0...v1.15.0 ### [`v1.14.0`](https://togithub.com/oedotme/generouted/releases/tag/v1.14.0) [Compare Source](https://togithub.com/oedotme/generouted/compare/v1.13.7...v1.14.0) #### Changes You can now export an app level error boundary `Catch` component from `src/pages/_app.tsx` with the following integrations: - `@generouted/react-router`, `@generouted/react-router/lazy` ```tsx // src/pages/_app.tsx export const Catch = () =>
...
``` - `@generouted/solid-router`, `@generouted/solid-router/lazy` ```tsx // src/pages/_app.tsx export const Catch = (props: { error: Error; reset: () => void }) =>
...
``` ##### Breaking changes 🚨 If you're using the `generatePreservedRoutes` directly from the core functions or through a custom integration you should now access the `default` export explicitly: ```diff const preservedRoutes = generatePreservedRoutes(PRESERVED) -const App = preservedRoutes?.['_app'] || Outlet -const NotFound = preservedRoutes?.['404'] || Fragment +const App = preservedRoutes?.['_app']?.default || Outlet +const NotFound = preservedRoutes?.['404']?.default || Fragment ``` #### Commits - feat!: support \_app level catch error boundary [`4785f91`](https://togithub.com/oedotme/generouted/commit/4785f91) by [@​oedotme](https://togithub.com/oedotme) **Changelog**: https://github.com/oedotme/generouted/compare/v1.13.7...v1.14.0 ### [`v1.13.7`](https://togithub.com/oedotme/generouted/releases/tag/v1.13.7) [Compare Source](https://togithub.com/oedotme/generouted/compare/v1.13.6...v1.13.7) #### Changes - Setup issue template - Updated docs structure, content and conventions example - Add file-based `Catch` component with error boundary for Solid integrations ```tsx export const Catch = (props: { error: Error; reset: () => void }) =>
...
``` #### Commits - chore: update packages [`d85724d`](https://togithub.com/oedotme/generouted/commit/d85724d) by [@​oedotme](https://togithub.com/oedotme) - docs: remove src/pages from conventions example table [`b374b0f`](https://togithub.com/oedotme/generouted/commit/b374b0f) by [@​oedotme](https://togithub.com/oedotme) - docs: update logo size [`19d01aa`](https://togithub.com/oedotme/generouted/commit/19d01aa) by [@​oedotme](https://togithub.com/oedotme) - docs: move experimental and deprecated integrations to the bottom [`8c034ff`](https://togithub.com/oedotme/generouted/commit/8c034ff) by [@​oedotme](https://togithub.com/oedotme) - docs: update readme structure and content [`e6e9d07`](https://togithub.com/oedotme/generouted/commit/e6e9d07) by [@​oedotme](https://togithub.com/oedotme) - feat: add catch component w/ error boundary for solid-router [`a1758bb`](https://togithub.com/oedotme/generouted/commit/a1758bb) by [@​oedotme](https://togithub.com/oedotme) - docs: add simple custom react-router example [`5c88344`](https://togithub.com/oedotme/generouted/commit/5c88344) by [@​oedotme](https://togithub.com/oedotme) - docs: update react-router custom example path [`2b55dc2`](https://togithub.com/oedotme/generouted/commit/2b55dc2) by [@​oedotme](https://togithub.com/oedotme) - chore: setup issue template [`6b31a97`](https://togithub.com/oedotme/generouted/commit/6b31a97) by [@​oedotme](https://togithub.com/oedotme) **Changelog**: https://github.com/oedotme/generouted/compare/v1.13.6...v1.13.7
swc-project/swc (@​swc/core) ### [`v1.3.67`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#​1367---2023-06-29) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.66...v1.3.67) ##### Bug Fixes - **(es/minifier)** Don't drop assignments to unused top-level variables ([#​7581](https://togithub.com/swc-project/swc/issues/7581)) ([a685c88](https://togithub.com/swc-project/swc/commit/a685c88c61248e5bff98fb339a71b40b8fd4e528)) - **(es/parser)** Adjust context while parsing type arguments of TypeScript type queries ([#​7582](https://togithub.com/swc-project/swc/issues/7582)) ([9d5dda1](https://togithub.com/swc-project/swc/commit/9d5dda12991dac031064b139eb61d2d03dcd8571)) - **(estree/compat)** Adjust `loc.col` ([#​7565](https://togithub.com/swc-project/swc/issues/7565)) ([d86f8f6](https://togithub.com/swc-project/swc/commit/d86f8f6a3c1f6ad5de3078ade5c8a905f7067f24)) ##### Features - **(es/minifier)** Support `__NO_SIDE_EFFECTS__` ([#​7532](https://togithub.com/swc-project/swc/issues/7532)) ([3ad07a7](https://togithub.com/swc-project/swc/commit/3ad07a7d2e5c9507a786dc338f0cf50191916aa3)) - **(es/minifier)** Enable `hoist_props` by default ([#​7535](https://togithub.com/swc-project/swc/issues/7535)) ([07a8580](https://togithub.com/swc-project/swc/commit/07a858030c1a368b3152bfdb57471a35c47c3b32)) - **(es/minifier)** Inline constants even if they are exported ([#​7583](https://togithub.com/swc-project/swc/issues/7583)) ([398e922](https://togithub.com/swc-project/swc/commit/398e922ca0214e03556bb84fe632e5e03badd533)) - **(plugin/runner)** Update `wasmer` to `v4` ([#​7576](https://togithub.com/swc-project/swc/issues/7576)) ([ab7b17c](https://togithub.com/swc-project/swc/commit/ab7b17cf106620caa1ba46adf23e6013cc4d6288)) - **(plugin/runner)** Share runtime `Engine` ([#​7590](https://togithub.com/swc-project/swc/issues/7590)) ([9512ea3](https://togithub.com/swc-project/swc/commit/9512ea31ff1bb0c70f4f96a620b429fa01f48e0c)) - **(testing)** Add `CARGO_TARGET_DIR` and use it from other crates ([#​7552](https://togithub.com/swc-project/swc/issues/7552)) ([46fb461](https://togithub.com/swc-project/swc/commit/46fb4619bafd56dfa3edd9064c1fe2ae4b6b78de)) ##### Miscellaneous Tasks - **(ci)** Make `cargo deny` happy ([#​7560](https://togithub.com/swc-project/swc/issues/7560)) ([c8d9338](https://togithub.com/swc-project/swc/commit/c8d933858333209ecf786b64948ac3c88e401be6)) - **(ci)** Change condition for `ci` testing ([#​7533](https://togithub.com/swc-project/swc/issues/7533)) ([724e75d](https://togithub.com/swc-project/swc/commit/724e75d2569d3c210d4e0d3c6861e17c906babed)) - **(ci)** Fix CI ([#​7589](https://togithub.com/swc-project/swc/issues/7589)) ([c51eac6](https://togithub.com/swc-project/swc/commit/c51eac6075c161bdf4e8211fd6f96df8bd902e7d)) ##### Refactor - **(common)** Remove `add_bitflags` and update `bitflags` ([#​7571](https://togithub.com/swc-project/swc/issues/7571)) ([95ac74e](https://togithub.com/swc-project/swc/commit/95ac74e6e494afc90f32c8fc9add2b1824f25db5)) ##### Build - **(cargo)** Update deps ([#​7564](https://togithub.com/swc-project/swc/issues/7564)) ([d12dc70](https://togithub.com/swc-project/swc/commit/d12dc70c9108d5863e0ca2e4f05f4aefcfb4380e)) - **(cargo)** Update deps ([#​7566](https://togithub.com/swc-project/swc/issues/7566)) ([d57d0d3](https://togithub.com/swc-project/swc/commit/d57d0d3ad3f8ce7ed449eec5896eb2f10b83a930)) - **(deps)** Update `syn` to `v2` ([#​7557](https://togithub.com/swc-project/swc/issues/7557)) ([5441004](https://togithub.com/swc-project/swc/commit/54410047fa7ccb1330fb2e9db27a3c0b2a24a02e))
evanw/esbuild (esbuild) ### [`v0.18.11`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#​01811) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.18.10...v0.18.11) - Fix a TypeScript code generation edge case ([#​3199](https://togithub.com/evanw/esbuild/issues/3199)) This release fixes a regression in version 0.18.4 where using a TypeScript `namespace` that exports a `class` declaration combined with `--keep-names` and a `--target` of `es2021` or earlier could cause esbuild to export the class from the namespace using an incorrect name (notice the assignment to `X2._Y` vs. `X2.Y`): ```ts // Original code // Old output (with --keep-names --target=es2021) var X; ((X2) => { const _Y = class _Y { }; __name(_Y, "Y"); let Y = _Y; X2._Y = _Y; })(X || (X = {})); // New output (with --keep-names --target=es2021) var X; ((X2) => { const _Y = class _Y { }; __name(_Y, "Y"); let Y = _Y; X2.Y = _Y; })(X || (X = {})); ``` ### [`v0.18.10`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#​01810) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.18.9...v0.18.10) - Fix a tree-shaking bug that removed side effects ([#​3195](https://togithub.com/evanw/esbuild/issues/3195)) This fixes a regression in version 0.18.4 where combining `--minify-syntax` with `--keep-names` could cause expressions with side effects after a function declaration to be considered side-effect free for tree shaking purposes. The reason was because `--keep-names` generates an expression statement containing a call to a helper function after the function declaration with a special flag that makes the function call able to be tree shaken, and then `--minify-syntax` could potentially merge that expression statement with following expressions without clearing the flag. This release fixes the bug by clearing the flag when merging expression statements together. - Fix an incorrect warning about CSS nesting ([#​3197](https://togithub.com/evanw/esbuild/issues/3197)) A warning is currently generated when transforming nested CSS to a browser that doesn't support `:is()` because transformed nested CSS may need to use that feature to represent nesting. This was previously always triggered when an at-rule was encountered in a declaration context. Typically the only case you would encounter this is when using CSS nesting within a selector rule. However, there is a case where that's not true: when using a margin at-rule such as `@top-left` within `@page`. This release avoids incorrectly generating a warning in this case by checking that the at-rule is within a selector rule before generating a warning.
pnpm/pnpm (pnpm) ### [`v8.6.5`](https://togithub.com/pnpm/pnpm/releases/tag/v8.6.5) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v8.6.4...v8.6.5) #### Patch Changes - Improve the performance of searching for auth tokens [#​6717](https://togithub.com/pnpm/pnpm/pull/6717). #### Our Gold Sponsors
#### Our Silver Sponsors
remix-run/react-router (react-router-dom) ### [`v6.14.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#​6141) [Compare Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.14.0...react-router-dom@6.14.1) ##### Patch Changes - Updated dependencies: - `react-router@6.14.1` - `@remix-run/router@1.7.1`
Microsoft/TypeScript (typescript) ### [`v5.1.5`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.1.5): TypeScript 5.1.5 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.1.3...v5.1.5) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-1/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript v5.1.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.0%22+is%3Aclosed+). - [fixed issues query for Typescript v5.1.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.1%22+is%3Aclosed+). - [fixed issues query for Typescript v5.1.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.2%22+is%3Aclosed+). - [fixed issues query for Typescript v5.1.3 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.3%22+is%3Aclosed+). - (5.1.4 [intentionally skipped](https://togithub.com/microsoft/TypeScript/issues/53031#issuecomment-1610038922)) - [fixed issues query for Typescript v5.1.5 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.1.5%22+is%3Aclosed+). Downloads are available on: - [npm](https://www.npmjs.com/package/typescript) - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)

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.