444.md (11696B)
1 # PR #444 Bump @vitejs/plugin-react-swc from 3.0.1 to 3.3.2 2 3 - **Status:** open 4 - **Author:** @dependabot[bot] 5 - **Created:** 2023-06-07T09:05:09Z 6 - **Branch:** dependabot/npm_and_yarn/vitejs/plugin-react-swc-3.3.2 → main 7 - **Labels:** dependencies, javascript 8 - **Assignees:** @MTRNord 9 - **Reviewers:** @MTRNord 10 - **Diff:** [444.diff](./444.diff) 11 12 --- 13 14 Bumps [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) from 3.0.1 to 3.3.2. 15 <details> 16 <summary>Release notes</summary> 17 <p><em>Sourced from <a href="https://github.com/vitejs/vite-plugin-react-swc/releases"><code>@vitejs/plugin-react-swc</code>'s releases</a>.</em></p> 18 <blockquote> 19 <h2>v3.3.2</h2> 20 <ul> 21 <li>Support <a href="https://vitest.dev/config/#deps-experimentaloptimizer">Vitest deps.experimentalOptimizer</a> (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/pull/115">#115</a>)</li> 22 </ul> 23 <h2>v3.3.1</h2> 24 <ul> 25 <li>Add <code>type: module</code> to package.json (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/pull/101">#101</a>). Because the library already publish <code>.cjs</code> & <code>.mjs</code> files, the only change is for typing when using the node16 module resolution (fixes <a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/95">#95</a>)</li> 26 <li>Throw an error when the MDX plugin is after this one (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/pull/100">#100</a>). This is an expected breaking change added in <code>3.2.0</code> and this should people that were using both plugins before this version to migrate.</li> 27 </ul> 28 <h2>v3.3.0</h2> 29 <ul> 30 <li>Support TS/JSX in node_modules to help the community experiment with it. Note that for now this not supported by TS and errors from these files cannot be silenced if the user is using a stricter configuration than the library author: <a href="https://redirect.github.com/microsoft/TypeScript/issues/30511">microsoft/TypeScript#30511</a>. I advise to use it only for internal libraries for now (fixes <a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/53">#53</a>)</li> 31 <li>Silence <code>"use client"</code> warning when building library like <code>@tanstack/react-query</code></li> 32 <li>Fix fast refresh issue when exporting a component with a name that shadow another local component</li> 33 </ul> 34 <p>This release goes in hand with the upcoming Vite 4.3 release focusing on performances:</p> 35 <ul> 36 <li>Move resolve of runtime code into a "pre" plugin (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/pull/79">#79</a>)</li> 37 <li>Wrap dynamic import to speedup analysis (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/pull/80">#80</a>)</li> 38 </ul> 39 <h2>v3.2.0</h2> 40 <ul> 41 <li>Support HMR for MDX (fixes <a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/52">#52</a>)</li> 42 <li>Fix: when using plugins, apply SWC before esbuild so that automatic runtime is respected for JSX (fixes <a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/56">#56</a>)</li> 43 <li>Fix: use jsxImportSource in optimizeDeps</li> 44 </ul> 45 <h2>v3.1.0</h2> 46 <ul> 47 <li>Support plugins via the new <code>plugins</code> options</li> 48 <li>Support TypeScript decorators via the new <code>tsDecorators</code> option. This requires <code>experimentalDecorators</code> in tsconfig.</li> 49 <li>Fix HMR for styled components exported alongside other components</li> 50 <li>Update embedded refresh runtime to 0.14 (fixes <a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/46">#46</a>)</li> 51 </ul> 52 <h2>v3.1.0-beta.2</h2> 53 <ul> 54 <li>Fix HMR for styled components exported alongside other components</li> 55 <li>Support TypeScript decorators via the new <code>tsDecorators</code> option. This requires <code>experimentalDecorators</code> in tsconfig.</li> 56 <li>Support plugins via the new <code>plugins</code> options</li> 57 </ul> 58 </blockquote> 59 </details> 60 <details> 61 <summary>Changelog</summary> 62 <p><em>Sourced from <a href="https://github.com/vitejs/vite-plugin-react-swc/blob/main/CHANGELOG.md"><code>@vitejs/plugin-react-swc</code>'s changelog</a>.</em></p> 63 <blockquote> 64 <h2>3.3.2</h2> 65 <ul> 66 <li>Support <a href="https://vitest.dev/config/#deps-experimentaloptimizer">Vitest deps.experimentalOptimizer</a> (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/pull/115">#115</a>)</li> 67 </ul> 68 <h2>3.3.1</h2> 69 <ul> 70 <li>Add <code>type: module</code> to package.json (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/pull/101">#101</a>). Because the library already publish <code>.cjs</code> & <code>.mjs</code> files, the only change is for typing when using the node16 module resolution (fixes <a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/95">#95</a>)</li> 71 <li>Throw an error when the MDX plugin is after this one (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/pull/100">#100</a>). This is an expected breaking change added in <code>3.2.0</code> and this should people that were using both plugins before this version to migrate.</li> 72 </ul> 73 <h2>3.3.0</h2> 74 <ul> 75 <li>Support TS/JSX in node_modules to help the community experiment with it. Note that for now this not supported by TS and errors from these files cannot be silenced if the user is using a stricter configuration than the library author: <a href="https://redirect.github.com/microsoft/TypeScript/issues/30511">microsoft/TypeScript#30511</a>. I advise to use it only for internal libraries for now (fixes <a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/53">#53</a>)</li> 76 <li>Silence <code>"use client"</code> warning when building library like <code>@tanstack/react-query</code></li> 77 <li>Fix fast refresh issue when exporting a component with a name that shadow another local component</li> 78 </ul> 79 <p>This release goes in hand with the upcoming Vite 4.3 release focusing on performances:</p> 80 <ul> 81 <li>Move resolve of runtime code into a "pre" plugin (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/pull/79">#79</a>)</li> 82 <li>Wrap dynamic import to speedup analysis (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/pull/80">#80</a>)</li> 83 </ul> 84 <h2>3.2.0</h2> 85 <ul> 86 <li>Support HMR for MDX (fixes <a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/52">#52</a>)</li> 87 <li>Fix: when using plugins, apply SWC before esbuild so that automatic runtime is respected for JSX (fixes <a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/56">#56</a>)</li> 88 <li>Fix: use jsxImportSource in optimizeDeps</li> 89 </ul> 90 <h2>3.1.0</h2> 91 <ul> 92 <li>Support plugins via the new <code>plugins</code> options</li> 93 <li>Support TypeScript decorators via the new <code>tsDecorators</code> option. This requires <code>experimentalDecorators</code> in tsconfig.</li> 94 <li>Fix HMR for styled components exported alongside other components</li> 95 <li>Update embedded refresh runtime to 0.14 (fixes <a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/46">#46</a>)</li> 96 </ul> 97 </blockquote> 98 </details> 99 <details> 100 <summary>Commits</summary> 101 <ul> 102 <li><a href="https://github.com/vitejs/vite-plugin-react-swc/commit/a12dd7565245756a4148ceb9a1c82ab4a0d92067"><code>a12dd75</code></a> release: v3.3.2</li> 103 <li><a href="https://github.com/vitejs/vite-plugin-react-swc/commit/10db2d5170770104627c163a718e5bdc76aff498"><code>10db2d5</code></a> feat: vitest deps.experimentalOptimizer (fixes <a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/111">#111</a>) (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/115">#115</a>)</li> 104 <li><a href="https://github.com/vitejs/vite-plugin-react-swc/commit/8e311c07fec8a6de006c908951ec130ff6ea0e26"><code>8e311c0</code></a> chore: tsx -> tnode</li> 105 <li><a href="https://github.com/vitejs/vite-plugin-react-swc/commit/44113d0b71f07ed8205527f02a109a02be5ffb0d"><code>44113d0</code></a> fix(deps): update all non-major dependencies (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/110">#110</a>)</li> 106 <li><a href="https://github.com/vitejs/vite-plugin-react-swc/commit/08b41e98f5526d8bd8203c90c79de22b815ab15a"><code>08b41e9</code></a> fix(deps): update all non-major dependencies (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/108">#108</a>)</li> 107 <li><a href="https://github.com/vitejs/vite-plugin-react-swc/commit/eee32ef64ad8e6d326737323a1f0025c2073af3f"><code>eee32ef</code></a> release: fix: add id-token permission</li> 108 <li><a href="https://github.com/vitejs/vite-plugin-react-swc/commit/378147050c32d13c19f399c4c9b1a9767b15087c"><code>3781470</code></a> release: v3.3.1</li> 109 <li><a href="https://github.com/vitejs/vite-plugin-react-swc/commit/d59c343753b778bc45b1ab5f4af37b0e89d4f59d"><code>d59c343</code></a> fix: change warn to throw error</li> 110 <li><a href="https://github.com/vitejs/vite-plugin-react-swc/commit/810de09b295f7a89815aacb8a4727aa303956c2c"><code>810de09</code></a> feat: switch to ESM (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/101">#101</a>)</li> 111 <li><a href="https://github.com/vitejs/vite-plugin-react-swc/commit/6897cd38285bf1d8093fc3acd138699bb825787f"><code>6897cd3</code></a> fix(deps): update all non-major dependencies (<a href="https://redirect.github.com/vitejs/vite-plugin-react-swc/issues/102">#102</a>)</li> 112 <li>Additional commits viewable in <a href="https://github.com/vitejs/vite-plugin-react-swc/compare/v3.0.1...v3.3.2">compare view</a></li> 113 </ul> 114 </details> 115 <details> 116 <summary>Maintainer changes</summary> 117 <p>This version was pushed to npm by <a href="https://www.npmjs.com/~vitebot">vitebot</a>, a new releaser for <code>@vitejs/plugin-react-swc</code> since your current version.</p> 118 </details> 119 <br /> 120 121 122 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 123 124 Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. 125 126 [//]: # (dependabot-automerge-start) 127 [//]: # (dependabot-automerge-end) 128 129 --- 130 131 <details> 132 <summary>Dependabot commands and options</summary> 133 <br /> 134 135 You can trigger Dependabot actions by commenting on this PR: 136 - `@dependabot rebase` will rebase this PR 137 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 138 - `@dependabot merge` will merge this PR after your CI passes on it 139 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 140 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 141 - `@dependabot reopen` will reopen this PR if it is closed 142 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 143 - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) 144 - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) 145 - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) 146 147 148 </details> 149