[PR #2852] [CLOSED] Bump eslint-plugin-react-refresh from 0.4.6 to 0.4.16 in /server #4150

Closed
opened 2026-02-22 18:35:14 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/2852
Author: @dependabot[bot]
Created: 12/16/2024
Status: Closed

Base: masterHead: dependabot/npm_and_yarn/server/eslint-plugin-react-refresh-0.4.16


📝 Commits (1)

  • e69afc4 Bump eslint-plugin-react-refresh from 0.4.6 to 0.4.16 in /server

📊 Changes

2 files changed (+5 additions, -5 deletions)

View changed files

📝 server/package.json (+1 -1)
📝 server/yarn.lock (+4 -4)

📄 Description

Bumps eslint-plugin-react-refresh from 0.4.6 to 0.4.16.

Release notes

Sourced from eslint-plugin-react-refresh's releases.

v0.4.16

Fix CJS/ESM interop issue. Sorry everyone for the trouble.

v0.4.15

Add support for custom HOCs (#60)

By default, the rule only knows that memo & forwardRef function calls with return a React component. With this option, you can also allow extra function names like Mobx observer to make this code valid:

const Foo = () => <></>;
export default observer(Foo);
{
  "react-refresh/only-export-components": [
    "error",
    { "customHOCs": ["observer"] }
  ]
}

Thanks @​HorusGoul!

Add recommended config and simple types (#67)

You can now add the recommended config to your ESLint config like this:

import reactRefresh from "eslint-plugin-react-refresh";

export default [ /* Main config */ reactRefresh.configs.recommended, // Or reactRefresh.configs.vite for Vite users ];

To follow ESLint recommandations, the rule is added with the error severity.

Some simple types ensure that people typecheking their config won't need @ts-expect-error anymore.

Bump ESLint peer dependency to 8.40

This was actually done by mistake in the previous release when moving from a deprecated API to a new one.

Given that ESLint 8 is officialy end-of-life and the only report (#56) didn't get likes, I'm going forward and documenting the expected minimum version from ESLin in the package JSON so that people can get warning from their package manager.

v0.4.14

... (truncated)

Changelog

Sourced from eslint-plugin-react-refresh's changelog.

0.4.16

Fix CJS/ESM interop issue. Sorry everyone for the trouble.

0.4.15

Add support for custom HOCs (#60)

By default, the rule only knows that memo & forwardRef function calls with return a React component. With this option, you can also allow extra function names like Mobx observer to make this code valid:

const Foo = () => <></>;
export default observer(Foo);
{
  "react-refresh/only-export-components": [
    "error",
    { "customHOCs": ["observer"] }
  ]
}

Thanks @​HorusGoul!

Add recommended config and simple types (#67)

You can now add the recommended config to your ESLint config like this:

import reactRefresh from "eslint-plugin-react-refresh";

export default [ /* Main config */ reactRefresh.configs.recommended, // Or reactRefresh.configs.vite for Vite users ];

To follow ESLint recommandations, the rule is added with the error severity.

Some simple types ensure that people typecheking their config won't need @ts-expect-error anymore.

Bump ESLint peer dependency to 8.40

This was actually done by mistake in the previous release when moving from a deprecated API to a new one.

Given that ESLint 8 is officialy end-of-life and the only report (#56) didn't get likes, I'm going forward and documenting the expected minimum version from ESLin in the package JSON so that people can get warning from their package manager.

0.4.14

... (truncated)

Commits
  • d939cc4 Fix exports [publish]
  • 7d1709b 0.4.15 [publish]
  • ec747c2 Add configs and simple types (#67)
  • 359ae21 Bump ESLint peer dependency (fixes #56)
  • 86bddb3 Add changelog entry & simplify legacy name based only check
  • 478e778 Add basic support for custom HOCs (#60)
  • 94c9d7d docs: switch suggested severity from 'warn' to 'error' (#66)
  • 599b0fd docs: refresh README.md with explainer and options types (#63)
  • ba9bb7b Handle React.createContext [publish]
  • 97bdd56 Report React context exports (#54)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/2852 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 12/16/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/npm_and_yarn/server/eslint-plugin-react-refresh-0.4.16` --- ### 📝 Commits (1) - [`e69afc4`](https://github.com/Mintplex-Labs/anything-llm/commit/e69afc4b22eda2f4f706b2979d63fb5580be73f5) Bump eslint-plugin-react-refresh from 0.4.6 to 0.4.16 in /server ### 📊 Changes **2 files changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `server/package.json` (+1 -1) 📝 `server/yarn.lock` (+4 -4) </details> ### 📄 Description Bumps [eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh) from 0.4.6 to 0.4.16. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases">eslint-plugin-react-refresh's releases</a>.</em></p> <blockquote> <h2>v0.4.16</h2> <p>Fix CJS/ESM interop issue. Sorry everyone for the trouble.</p> <h2>v0.4.15</h2> <h3>Add support for custom HOCs (<a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/60">#60</a>)</h3> <p>By default, the rule only knows that <code>memo</code> &amp; <code>forwardRef</code> function calls with return a React component. With this option, you can also allow extra function names like Mobx observer to make this code valid:</p> <pre lang="tsx"><code>const Foo = () =&gt; &lt;&gt;&lt;/&gt;; export default observer(Foo); </code></pre> <pre lang="json"><code>{ &quot;react-refresh/only-export-components&quot;: [ &quot;error&quot;, { &quot;customHOCs&quot;: [&quot;observer&quot;] } ] } </code></pre> <p>Thanks <a href="https://github.com/HorusGoul"><code>@​HorusGoul</code></a>!</p> <h3>Add recommended config and simple types (<a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/67">#67</a>)</h3> <p>You can now add the recommended config to your ESLint config like this:</p> <pre lang="js"><code>import reactRefresh from &quot;eslint-plugin-react-refresh&quot;; <p>export default [ /* Main config */ reactRefresh.configs.recommended, // Or reactRefresh.configs.vite for Vite users ]; </code></pre></p> <p>To follow ESLint recommandations, the rule is added with the <code>error</code> severity.</p> <p>Some simple types ensure that people typecheking their config won't need <code>@ts-expect-error</code> anymore.</p> <h3>Bump ESLint peer dependency to 8.40</h3> <p>This was actually done by mistake in the previous release when moving from a deprecated API to a new one.</p> <p>Given that ESLint 8 is officialy end-of-life and the only report (<a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/56">#56</a>) didn't get likes, I'm going forward and documenting the expected minimum version from ESLin in the package JSON so that people can get warning from their package manager.</p> <h2>v0.4.14</h2> <ul> <li>Warn if a context is exported alongside a component (fixes <a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/53">#53</a>). Thanks <a href="https://github.com/IgorAufricht"><code>@​IgorAufricht</code></a>!</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/main/CHANGELOG.md">eslint-plugin-react-refresh's changelog</a>.</em></p> <blockquote> <h2>0.4.16</h2> <p>Fix CJS/ESM interop issue. Sorry everyone for the trouble.</p> <h2>0.4.15</h2> <h3>Add support for custom HOCs (<a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/60">#60</a>)</h3> <p>By default, the rule only knows that <code>memo</code> &amp; <code>forwardRef</code> function calls with return a React component. With this option, you can also allow extra function names like Mobx observer to make this code valid:</p> <pre lang="tsx"><code>const Foo = () =&gt; &lt;&gt;&lt;/&gt;; export default observer(Foo); </code></pre> <pre lang="json"><code>{ &quot;react-refresh/only-export-components&quot;: [ &quot;error&quot;, { &quot;customHOCs&quot;: [&quot;observer&quot;] } ] } </code></pre> <p>Thanks <a href="https://github.com/HorusGoul"><code>@​HorusGoul</code></a>!</p> <h3>Add recommended config and simple types (<a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/67">#67</a>)</h3> <p>You can now add the recommended config to your ESLint config like this:</p> <pre lang="js"><code>import reactRefresh from &quot;eslint-plugin-react-refresh&quot;; <p>export default [ /* Main config */ reactRefresh.configs.recommended, // Or reactRefresh.configs.vite for Vite users ]; </code></pre></p> <p>To follow ESLint recommandations, the rule is added with the <code>error</code> severity.</p> <p>Some simple types ensure that people typecheking their config won't need <code>@ts-expect-error</code> anymore.</p> <h3>Bump ESLint peer dependency to 8.40</h3> <p>This was actually done by mistake in the previous release when moving from a deprecated API to a new one.</p> <p>Given that ESLint 8 is officialy end-of-life and the only report (<a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/56">#56</a>) didn't get likes, I'm going forward and documenting the expected minimum version from ESLin in the package JSON so that people can get warning from their package manager.</p> <h2>0.4.14</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/d939cc4bd483850c791c74d99b1b4962fa7f4275"><code>d939cc4</code></a> Fix exports [publish]</li> <li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/7d1709b06591dab298ca8dce57a4f9254959b826"><code>7d1709b</code></a> 0.4.15 [publish]</li> <li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/ec747c2a25106bca12002007832217916bf2f36c"><code>ec747c2</code></a> Add configs and simple types (<a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/67">#67</a>)</li> <li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/359ae21a40308ee638e4a980a489c8a80d50ed19"><code>359ae21</code></a> Bump ESLint peer dependency (fixes <a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/56">#56</a>)</li> <li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/86bddb3b9ac4c04a80a7d11e2bec33f638603169"><code>86bddb3</code></a> Add changelog entry &amp; simplify legacy name based only check</li> <li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/478e7788bd39f8b860983ca4d9275afdeb1f292f"><code>478e778</code></a> Add basic support for custom HOCs (<a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/60">#60</a>)</li> <li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/94c9d7d98cd5f855de95fdcdc1fc414c393fb31e"><code>94c9d7d</code></a> docs: switch suggested severity from 'warn' to 'error' (<a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/66">#66</a>)</li> <li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/599b0fdf2271ee0f199bfda75f53a5fd3bea8bbb"><code>599b0fd</code></a> docs: refresh README.md with explainer and options types (<a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/63">#63</a>)</li> <li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/ba9bb7b8915e338749a68f3676f8d37defe4f87c"><code>ba9bb7b</code></a> Handle React.createContext [publish]</li> <li><a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/commit/97bdd56dc47f3273577832ee9294c5ad7e972873"><code>97bdd56</code></a> Report React context exports (<a href="https://redirect.github.com/ArnaudBarre/eslint-plugin-react-refresh/issues/54">#54</a>)</li> <li>Additional commits viewable in <a href="https://github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.4.6...v0.4.16">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-react-refresh&package-manager=npm_and_yarn&previous-version=0.4.6&new-version=0.4.16)](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> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:35:14 -05:00
yindo closed this issue 2026-02-22 18:35:14 -05:00
yindo changed title from [PR #2852] Bump eslint-plugin-react-refresh from 0.4.6 to 0.4.16 in /server to [PR #2852] [CLOSED] Bump eslint-plugin-react-refresh from 0.4.6 to 0.4.16 in /server 2026-06-05 15:17:05 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4150