mirror of
https://github.com/evroon/bracket.git
synced 2026-03-09 02:27:41 -04:00
Bump eslint-plugin-import from 2.30.0 to 2.31.0 in /frontend (#932)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.30.0 to 2.31.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/import-js/eslint-plugin-import/releases">eslint-plugin-import's releases</a>.</em></p> <blockquote> <h2>v2.31.0</h2> <h3>Added</h3> <ul> <li>support eslint v9 (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/2996">#2996</a>, thanks [<a href="https://github.com/G-Rath"><code>@G-Rath</code></a>] [<a href="https://github.com/michaelfaith"><code>@michaelfaith</code></a>])</li> <li><a href="./docs/rules/order.md"><code>order</code></a>: allow validating named imports (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3043">#3043</a>, thanks [<a href="https://github.com/manuth"><code>@manuth</code></a>])</li> <li><a href="./docs/rules/extensions.md"><code>extensions</code></a>: add the <code>checkTypeImports</code> option (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/2817">#2817</a>, thanks [<a href="https://github.com/phryneas"><code>@phryneas</code></a>])</li> </ul> <h3>Fixed</h3> <ul> <li><code>ExportMap</code> / flat config: include <code>languageOptions</code> in context (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3052">#3052</a>, thanks [<a href="https://github.com/michaelfaith"><code>@michaelfaith</code></a>])</li> <li><a href="./docs/rules/no-named-as-default.md"><code>no-named-as-default</code></a>: Allow using an identifier if the export is both a named and a default export (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3032">#3032</a>, thanks [<a href="https://github.com/akwodkiewicz"><code>@akwodkiewicz</code></a>])</li> <li><a href="./docs/rules/export.md"><code>export</code></a>: False positive for exported overloaded functions in TS (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3065">#3065</a>, thanks [<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>])</li> <li><code>exportMap</code>: export map cache is tainted by unreliable parse results (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3062">#3062</a>, thanks [<a href="https://github.com/michaelfaith"><code>@michaelfaith</code></a>])</li> <li><code>exportMap</code>: improve cacheKey when using flat config (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3072">#3072</a>, thanks [<a href="https://github.com/michaelfaith"><code>@michaelfaith</code></a>])</li> <li>adjust "is source type module" checks for flat config (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/2996">#2996</a>, thanks [<a href="https://github.com/G-Rath"><code>@G-Rath</code></a>])</li> </ul> <h3>Changed</h3> <ul> <li>[Docs] <a href="./docs/rules/no-relative-packages.md"><code>no-relative-packages</code></a>: fix typo (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3066">#3066</a>, thanks [<a href="https://github.com/joshuaobrien"><code>@joshuaobrien</code></a>])</li> <li>[Performance] <a href="./docs/rules/no-cycle.md"><code>no-cycle</code></a>: dont scc for each linted file (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3068">#3068</a>, thanks [<a href="https://github.com/soryy708"><code>@soryy708</code></a>])</li> <li>[Docs] <a href="./docs/rules/no-cycle.md"><code>no-cycle</code></a>: add <code>disableScc</code> to docs (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3070">#3070</a>, thanks [<a href="https://github.com/soryy708"><code>@soryy708</code></a>])</li> <li>[Tests] use re-exported <code>RuleTester</code> (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3071">#3071</a>, thanks [<a href="https://github.com/G-Rath"><code>@G-Rath</code></a>])</li> <li>[Docs] <a href="./docs/rules/no-restricted-paths.md"><code>no-restricted-paths</code></a>: fix grammar (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3073">#3073</a>, thanks [<a href="https://github.com/unbeauvoyage"><code>@unbeauvoyage</code></a>])</li> <li>[Tests] <a href="./docs/rules/no-default-export.md"><code>no-default-export</code></a>, <a href="./docs/rules/no-named-export.md"><code>no-named-export</code></a>: add test case (thanks [<a href="https://github.com/G-Rath"><code>@G-Rath</code></a>])</li> </ul> <p><a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3073">#3073</a>: <a href="https://redirect.github.com/import-js/eslint-plugin-import/pull/3073">import-js/eslint-plugin-import#3073</a> <a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3072">#3072</a>: <a href="https://redirect.github.com/import-js/eslint-plugin-import/pull/3072">import-js/eslint-plugin-import#3072</a> <a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3071">#3071</a>: <a href="https://redirect.github.com/import-js/eslint-plugin-import/pull/3071">import-js/eslint-plugin-import#3071</a> <a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3070">#3070</a>: <a href="https://redirect.github.com/import-js/eslint-plugin-import/pull/3070">import-js/eslint-plugin-import#3070</a> <a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3068">#3068</a>: <a href="https://redirect.github.com/import-js/eslint-plugin-import/pull/3068">import-js/eslint-plugin-import#3068</a> <a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3066">#3066</a>: <a href="https://redirect.github.com/import-js/eslint-plugin-import/pull/3066">import-js/eslint-plugin-import#3066</a> <a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3065">#3065</a>: <a href="https://redirect.github.com/import-js/eslint-plugin-import/pull/3065">import-js/eslint-plugin-import#3065</a> <a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3062">#3062</a>: <a href="https://redirect.github.com/import-js/eslint-plugin-import/pull/3062">import-js/eslint-plugin-import#3062</a> <a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3052">#3052</a>: <a href="https://redirect.github.com/import-js/eslint-plugin-import/pull/3052">import-js/eslint-plugin-import#3052</a> <a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3043">#3043</a>: <a href="https://redirect.github.com/import-js/eslint-plugin-import/pull/3043">import-js/eslint-plugin-import#3043</a> <a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3032">#3032</a>: <a href="https://redirect.github.com/import-js/eslint-plugin-import/pull/3032">import-js/eslint-plugin-import#3032</a> <a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/2996">#2996</a>: <a href="https://redirect.github.com/import-js/eslint-plugin-import/pull/2996">import-js/eslint-plugin-import#2996</a> <a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/2817">#2817</a>: <a href="https://redirect.github.com/import-js/eslint-plugin-import/pull/2817">import-js/eslint-plugin-import#2817</a> [<a href="https://github.com/akwodkiewicz"><code>@akwodkiewicz</code></a>]: <a href="https://github.com/akwodkiewicz">https://github.com/akwodkiewicz</a> [<a href="https://github.com/joshuaobrien"><code>@joshuaobrien</code></a>]: <a href="https://github.com/joshuaobrien">https://github.com/joshuaobrien</a> [<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>]: <a href="https://github.com/liuxingbaoyu">https://github.com/liuxingbaoyu</a> [<a href="https://github.com/manuth"><code>@manuth</code></a>]: <a href="https://github.com/manuth">https://github.com/manuth</a> [<a href="https://github.com/michaelfaith"><code>@michaelfaith</code></a>]: <a href="https://github.com/michaelfaith">https://github.com/michaelfaith</a> [<a href="https://github.com/phryneas"><code>@phryneas</code></a>]: <a href="https://github.com/phryneas">https://github.com/phryneas</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md">eslint-plugin-import's changelog</a>.</em></p> <blockquote> <h2>[2.31.0] - 2024-10-03</h2> <h3>Added</h3> <ul> <li>support eslint v9 (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/2996">#2996</a>, thanks [<a href="https://github.com/G-Rath"><code>@G-Rath</code></a>] [<a href="https://github.com/michaelfaith"><code>@michaelfaith</code></a>])</li> <li>[<code>order</code>]: allow validating named imports (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3043">#3043</a>, thanks [<a href="https://github.com/manuth"><code>@manuth</code></a>])</li> <li>[<code>extensions</code>]: add the <code>checkTypeImports</code> option (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/2817">#2817</a>, thanks [<a href="https://github.com/phryneas"><code>@phryneas</code></a>])</li> </ul> <h3>Fixed</h3> <ul> <li><code>ExportMap</code> / flat config: include <code>languageOptions</code> in context (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3052">#3052</a>, thanks [<a href="https://github.com/michaelfaith"><code>@michaelfaith</code></a>])</li> <li>[<code>no-named-as-default</code>]: Allow using an identifier if the export is both a named and a default export (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3032">#3032</a>, thanks [<a href="https://github.com/akwodkiewicz"><code>@akwodkiewicz</code></a>])</li> <li>[<code>export</code>]: False positive for exported overloaded functions in TS (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3065">#3065</a>, thanks [<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>])</li> <li><code>exportMap</code>: export map cache is tainted by unreliable parse results (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3062">#3062</a>, thanks [<a href="https://github.com/michaelfaith"><code>@michaelfaith</code></a>])</li> <li><code>exportMap</code>: improve cacheKey when using flat config (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3072">#3072</a>, thanks [<a href="https://github.com/michaelfaith"><code>@michaelfaith</code></a>])</li> <li>adjust "is source type module" checks for flat config (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/2996">#2996</a>, thanks [<a href="https://github.com/G-Rath"><code>@G-Rath</code></a>])</li> </ul> <h3>Changed</h3> <ul> <li>[Docs] [<code>no-relative-packages</code>]: fix typo (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3066">#3066</a>, thanks [<a href="https://github.com/joshuaobrien"><code>@joshuaobrien</code></a>])</li> <li>[Performance] [<code>no-cycle</code>]: dont scc for each linted file (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3068">#3068</a>, thanks [<a href="https://github.com/soryy708"><code>@soryy708</code></a>])</li> <li>[Docs] [<code>no-cycle</code>]: add <code>disableScc</code> to docs (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3070">#3070</a>, thanks [<a href="https://github.com/soryy708"><code>@soryy708</code></a>])</li> <li>[Tests] use re-exported <code>RuleTester</code> (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3071">#3071</a>, thanks [<a href="https://github.com/G-Rath"><code>@G-Rath</code></a>])</li> <li>[Docs] [<code>no-restricted-paths</code>]: fix grammar (<a href="https://redirect.github.com/import-js/eslint-plugin-import/issues/3073">#3073</a>, thanks [<a href="https://github.com/unbeauvoyage"><code>@unbeauvoyage</code></a>])</li> <li>[Tests] [<code>no-default-export</code>], [<code>no-named-export</code>]: add test case (thanks [<a href="https://github.com/G-Rath"><code>@G-Rath</code></a>])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="91f809b283"><code>91f809b</code></a> v2.31.0</li> <li><a href="3f1ac24927"><code>3f1ac24</code></a> [utils] [refactor] <code>parse</code>: avoid using a regex here</li> <li><a href="d225176343"><code>d225176</code></a> [New] <code>extensions</code>: add the <code>checkTypeImports</code> option</li> <li><a href="5a51b9a4ca"><code>5a51b9a</code></a> [Tests] <code>rule-tester</code>: try this babel class workaround</li> <li><a href="d66cde00ee"><code>d66cde0</code></a> [New] support eslint v9</li> <li><a href="d27a639f33"><code>d27a639</code></a> [Fix] adjust "is source type module" checks for flat config</li> <li><a href="1fa8a07a79"><code>1fa8a07</code></a> [Refactor] create <code>sourceType</code> helper</li> <li><a href="0bc13553d4"><code>0bc1355</code></a> [Tests] <code>no-default-export</code>, <code>no-named-export</code>: add test cases with non-modu...</li> <li><a href="55fa203518"><code>55fa203</code></a> [Tests] <code>no-default-export</code>, <code>no-named-export</code>: add test case</li> <li><a href="6be20dfa11"><code>6be20df</code></a> [Docs] <code>no-restricted-paths</code>: fix grammar</li> <li>Additional commits viewable in <a href="https://github.com/import-js/eslint-plugin-import/compare/v2.30.0...v2.31.0">compare view</a></li> </ul> </details> <br /> [](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>
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
"eslint-config-airbnb": "^19.0.4",
|
||||
"eslint-config-airbnb-typescript": "^18.0.0",
|
||||
"eslint-config-mantine": "^3.2.0",
|
||||
"eslint-plugin-import": "^2.30.0",
|
||||
"eslint-plugin-import": "^2.31.0",
|
||||
"eslint-plugin-jest": "^28.8.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.10.0",
|
||||
"eslint-plugin-react": "^7.37.0",
|
||||
|
||||
@@ -2819,17 +2819,17 @@ eslint-import-resolver-node@^0.3.9:
|
||||
is-core-module "^2.13.0"
|
||||
resolve "^1.22.4"
|
||||
|
||||
eslint-module-utils@^2.9.0:
|
||||
version "2.9.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.9.0.tgz#95d4ac038a68cd3f63482659dffe0883900eb342"
|
||||
integrity sha512-McVbYmwA3NEKwRQY5g4aWMdcZE5xZxV8i8l7CqJSrameuGSQJtSWaL/LxTEzSKKaCcOhlpDR8XEfYXWPrdo/ZQ==
|
||||
eslint-module-utils@^2.12.0:
|
||||
version "2.12.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.12.0.tgz#fe4cfb948d61f49203d7b08871982b65b9af0b0b"
|
||||
integrity sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg==
|
||||
dependencies:
|
||||
debug "^3.2.7"
|
||||
|
||||
eslint-plugin-import@^2.30.0:
|
||||
version "2.30.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.30.0.tgz#21ceea0fc462657195989dd780e50c92fe95f449"
|
||||
integrity sha512-/mHNE9jINJfiD2EKkg1BKyPyUk4zdnT54YgbOgfjSakWT5oyX/qQLVNTkehyfpcMxZXMy1zyonZ2v7hZTX43Yw==
|
||||
eslint-plugin-import@^2.31.0:
|
||||
version "2.31.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.31.0.tgz#310ce7e720ca1d9c0bb3f69adfd1c6bdd7d9e0e7"
|
||||
integrity sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==
|
||||
dependencies:
|
||||
"@rtsao/scc" "^1.1.0"
|
||||
array-includes "^3.1.8"
|
||||
@@ -2839,7 +2839,7 @@ eslint-plugin-import@^2.30.0:
|
||||
debug "^3.2.7"
|
||||
doctrine "^2.1.0"
|
||||
eslint-import-resolver-node "^0.3.9"
|
||||
eslint-module-utils "^2.9.0"
|
||||
eslint-module-utils "^2.12.0"
|
||||
hasown "^2.0.2"
|
||||
is-core-module "^2.15.1"
|
||||
is-glob "^4.0.3"
|
||||
@@ -2848,6 +2848,7 @@ eslint-plugin-import@^2.30.0:
|
||||
object.groupby "^1.0.3"
|
||||
object.values "^1.2.0"
|
||||
semver "^6.3.1"
|
||||
string.prototype.trimend "^1.0.8"
|
||||
tsconfig-paths "^3.15.0"
|
||||
|
||||
eslint-plugin-jest@^28.8.0:
|
||||
@@ -5761,16 +5762,7 @@ string.prototype.trim@^1.2.9:
|
||||
es-abstract "^1.23.0"
|
||||
es-object-atoms "^1.0.0"
|
||||
|
||||
string.prototype.trimend@^1.0.7:
|
||||
version "1.0.7"
|
||||
resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.7.tgz#1bb3afc5008661d73e2dc015cd4853732d6c471e"
|
||||
integrity sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==
|
||||
dependencies:
|
||||
call-bind "^1.0.2"
|
||||
define-properties "^1.2.0"
|
||||
es-abstract "^1.22.1"
|
||||
|
||||
string.prototype.trimend@^1.0.8:
|
||||
string.prototype.trimend@^1.0.7, string.prototype.trimend@^1.0.8:
|
||||
version "1.0.8"
|
||||
resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz#3651b8513719e8a9f48de7f2f77640b26652b229"
|
||||
integrity sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==
|
||||
|
||||
Reference in New Issue
Block a user