Skip to content

Commit

Permalink
Bump @vitejs/plugin-react from 4.2.0 to 4.2.1 in /frontend (#260)
Browse files Browse the repository at this point in the history
Bumps
[@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react)
from 4.2.0 to 4.2.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite-plugin-react/releases"><code>@​vitejs/plugin-react</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v4.2.1</h2>
<p>Remove generic parameter on <code>Plugin</code> to avoid type error
with Rollup 4/Vite 5 and <code>skipLibCheck: false</code>.</p>
<p>I expect very few people to currently use this feature, but if you
are extending the React plugin via <code>api</code> object, you can get
back the typing of the hook by importing
<code>ViteReactPluginApi</code>:</p>
<pre lang="ts"><code>import type { Plugin } from 'vite'
import type { ViteReactPluginApi } from '@vitejs/plugin-react'
<p>export const somePlugin: Plugin = {
name: 'some-plugin',
api: {
reactBabel: (babelConfig) =&gt; {
babelConfig.plugins.push('some-babel-plugin')
},
} satisfies ViteReactPluginApi,
}
</code></pre></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md"><code>@​vitejs/plugin-react</code>'s
changelog</a>.</em></p>
<blockquote>
<h2>4.2.1 (2023-12-04)</h2>
<p>Remove generic parameter on <code>Plugin</code> to avoid type error
with Rollup 4/Vite 5 and <code>skipLibCheck: false</code>.</p>
<p>I expect very few people to currently use this feature, but if you
are extending the React plugin via <code>api</code> object, you can get
back the typing of the hook by importing
<code>ViteReactPluginApi</code>:</p>
<pre lang="ts"><code>import type { Plugin } from 'vite'
import type { ViteReactPluginApi } from '@vitejs/plugin-react'
<p>export const somePlugin: Plugin = {
name: 'some-plugin',
api: {
reactBabel: (babelConfig) =&gt; {
babelConfig.plugins.push('some-babel-plugin')
},
} satisfies ViteReactPluginApi,
}
</code></pre></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitejs/vite-plugin-react/commit/8b5354741a173ce02892ff021c8bdfba4c9f0d11"><code>8b53547</code></a>
release: plugin-react@4.2.1</li>
<li><a
href="https://github.com/vitejs/vite-plugin-react/commit/ec630663b59e2eaaab0360c0087ac23cbb0ee5bc"><code>ec63066</code></a>
chore(deps): update dependency vite to v5 (<a
href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/263">#263</a>)</li>
<li><a
href="https://github.com/vitejs/vite-plugin-react/commit/8512995c552a25e9c6f901c00874d63f7638a499"><code>8512995</code></a>
fix(deps): update all non-major dependencies (<a
href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/259">#259</a>)</li>
<li><a
href="https://github.com/vitejs/vite-plugin-react/commit/7f53c63fd2dc51d712426099645907aada6657ec"><code>7f53c63</code></a>
fix: remove plugin type extension (<a
href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react/issues/269">#269</a>)</li>
<li>See full diff in <a
href="https://github.com/vitejs/vite-plugin-react/commits/v4.2.1/packages/plugin-react">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@vitejs/plugin-react&package-manager=npm_and_yarn&previous-version=4.2.0&new-version=4.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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)
- `@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)
- `@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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Dec 11, 2023
1 parent 8ca56d8 commit 3dc6acc
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 73 deletions.
144 changes: 72 additions & 72 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@types/react-dom": "^18.2.14",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.62.0",
"@vitejs/plugin-react": "^4.2.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.16",
"eslint": "^8.48.0",
"eslint-plugin-react-hooks": "^4.6.0",
Expand Down

0 comments on commit 3dc6acc

Please sign in to comment.