Bump eslint-plugin-import from 2.22.1 to 2.23.2 in /flipper-js-client-sdk (#2319)

Summary:
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.22.1 to 2.23.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/benmosher/eslint-plugin-import/releases">eslint-plugin-import's releases</a>.</em></p>
<blockquote>
<h2>v2.23.0</h2>
<p><a href="https://github.com/benmosher/eslint-plugin-import/blob/v2.23.0/CHANGELOG.md#2230---2021-05-13">https://github.com/benmosher/eslint-plugin-import/blob/v2.23.0/CHANGELOG.md#2230---2021-05-13</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md">eslint-plugin-import's changelog</a>.</em></p>
<blockquote>
<h2>[2.23.2] - 2021-05-15</h2>
<h3>Changed</h3>
<ul>
<li>[meta] add <code>safe-publish-latest</code>; use <code>prepublishOnly</code> script for npm 7+</li>
</ul>
<h2>[2.23.1] - 2021-05-14</h2>
<h3>Fixed</h3>
<ul>
<li>[<code>newline-after-import</code>]: fix crash with <code>export {}</code> syntax (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2063">https://github.com/facebook/flipper/issues/2063</a>, <a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2056">https://github.com/facebook/flipper/issues/2056</a>, thanks [<a href="https://github.com/ljharb"><code>@​ljharb</code></a>])</li>
<li><code>ExportMap</code>: do not crash when tsconfig lacks <code>.compilerOptions</code> (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2067">https://github.com/facebook/flipper/issues/2067</a>, thanks [<a href="https://github.com/ljharb"><code>@​ljharb</code></a>])</li>
<li>[<code>order</code>]: fix alphabetical sorting (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2071">https://github.com/facebook/flipper/issues/2071</a>, thanks [<a href="https://github.com/grit96"><code>@​grit96</code></a>])</li>
</ul>
<h2>[2.23.0] - 2021-05-13</h2>
<h3>Added</h3>
<ul>
<li>[<code>no-commonjs</code>]: Also detect require calls with expressionless template literals: <code>require(`x`)</code> (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1958">https://github.com/facebook/flipper/issues/1958</a>, thanks [<a href="https://github.com/FloEdelmann"><code>@​FloEdelmann</code></a>])</li>
<li>[<code>no-internal-modules</code>]: Add <code>forbid</code> option (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1846">https://github.com/facebook/flipper/issues/1846</a>, thanks [<a href="https://github.com/guillaumewuip"><code>@​guillaumewuip</code></a>])</li>
<li>add [<code>no-relative-packages</code>] (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1860">https://github.com/facebook/flipper/issues/1860</a>, <a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/966">https://github.com/facebook/flipper/issues/966</a>, thanks [<a href="https://github.com/tapayne88"><code>@​tapayne88</code></a>] [<a href="https://github.com/panrafal"><code>@​panrafal</code></a>])</li>
<li>add [<code>no-import-module-exports</code>] rule: report import declarations with CommonJS exports (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/804">https://github.com/facebook/flipper/issues/804</a>, thanks [<a href="https://github.com/kentcdodds"><code>@​kentcdodds</code></a>] and [<a href="https://github.com/ttmarek"><code>@​ttmarek</code></a>])</li>
<li>[<code>no-unused-modules</code>]: Support destructuring assignment for <code>export</code>. (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1997">https://github.com/facebook/flipper/issues/1997</a>, thanks [<a href="https://github.com/s-h-a-d-o-w"><code>@​s-h-a-d-o-w</code></a>])</li>
<li>[<code>order</code>]: support type imports (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2021">https://github.com/facebook/flipper/issues/2021</a>, thanks [<a href="https://github.com/grit96"><code>@​grit96</code></a>])</li>
<li>[<code>order</code>]: Add <code>warnOnUnassignedImports</code> option to enable warnings for out of order unassigned imports (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1990">https://github.com/facebook/flipper/issues/1990</a>, thanks [<a href="https://github.com/hayes"><code>@​hayes</code></a>])</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[<code>export</code>]/TypeScript: properly detect export specifiers as children of a TS module block (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1889">https://github.com/facebook/flipper/issues/1889</a>, thanks [<a href="https://github.com/andreubotella"><code>@​andreubotella</code></a>])</li>
<li>[<code>order</code>]: ignore non-module-level requires (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1940">https://github.com/facebook/flipper/issues/1940</a>, thanks [<a href="https://github.com/golopot"><code>@​golopot</code></a>])</li>
<li>[<code>no-webpack-loader-syntax</code>]/TypeScript: avoid crash on missing name (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1947">https://github.com/facebook/flipper/issues/1947</a>, thanks [<a href="https://github.com/leonardodino"><code>@​leonardodino</code></a>])</li>
<li>[<code>no-extraneous-dependencies</code>]: Add package.json cache (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1948">https://github.com/facebook/flipper/issues/1948</a>, thanks [<a href="https://github.com/fa93hws"><code>@​fa93hws</code></a>])</li>
<li>[<code>prefer-default-export</code>]: handle empty array destructuring (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1965">https://github.com/facebook/flipper/issues/1965</a>, thanks [<a href="https://github.com/ljharb"><code>@​ljharb</code></a>])</li>
<li>[<code>no-unused-modules</code>]: make type imports mark a module as used (fixes <a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1924">https://github.com/facebook/flipper/issues/1924</a>) (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1974">https://github.com/facebook/flipper/issues/1974</a>, thanks [<a href="https://github.com/cherryblossom000"><code>@​cherryblossom000</code></a>])</li>
<li>[<code>no-cycle</code>]: fix perf regression (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1944">https://github.com/facebook/flipper/issues/1944</a>, thanks [<a href="https://github.com/Blasz"><code>@​Blasz</code></a>])</li>
<li>[<code>first</code>]: fix handling of <code>import = require</code> (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1963">https://github.com/facebook/flipper/issues/1963</a>, thanks [<a href="https://github.com/MatthiasKunnen"><code>@​MatthiasKunnen</code></a>])</li>
<li>[<code>no-cycle</code>]/[<code>extensions</code>]: fix isExternalModule usage (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1696">https://github.com/facebook/flipper/issues/1696</a>, thanks [<a href="https://github.com/paztis"><code>@​paztis</code></a>])</li>
<li>[<code>extensions</code>]/[<code>no-cycle</code>]/[<code>no-extraneous-dependencies</code>]: Correct module real path resolution (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1696">https://github.com/facebook/flipper/issues/1696</a>, thanks [<a href="https://github.com/paztis"><code>@​paztis</code></a>])</li>
<li>[<code>no-named-default</code>]: ignore Flow import type and typeof (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1983">https://github.com/facebook/flipper/issues/1983</a>, thanks [<a href="https://github.com/christianvuerings"><code>@​christianvuerings</code></a>])</li>
<li>[<code>no-extraneous-dependencies</code>]: Exclude flow <code>typeof</code> imports (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1534">https://github.com/facebook/flipper/issues/1534</a>, thanks [<a href="https://github.com/devongovett"><code>@​devongovett</code></a>])</li>
<li>[<code>newline-after-import</code>]: respect decorator annotations (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1985">https://github.com/facebook/flipper/issues/1985</a>, thanks [<a href="https://github.com/lilling"><code>@​lilling</code></a>])</li>
<li>[<code>no-restricted-paths</code>]: enhance performance for zones with <code>except</code> paths (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2022">https://github.com/facebook/flipper/issues/2022</a>, thanks [<a href="https://github.com/malykhinvi"><code>@​malykhinvi</code></a>])</li>
<li>[<code>no-unresolved</code>]: check import() (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2026">https://github.com/facebook/flipper/issues/2026</a>, thanks [<a href="https://github.com/aladdin-add"><code>@​aladdin-add</code></a>])</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[Generic Import Callback] Make callback for all imports once in rules (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1237">https://github.com/facebook/flipper/issues/1237</a>, thanks [<a href="https://github.com/ljqx"><code>@​ljqx</code></a>])</li>
<li>[Docs] [<code>no-named-as-default</code>]: add semicolon (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1897">https://github.com/facebook/flipper/issues/1897</a>, thanks [<a href="https://github.com/bicstone"><code>@​bicstone</code></a>])</li>
<li>[Docs] <code>no-extraneous-dependencies</code>: correct peerDependencies option default to <code>true</code> (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1993">https://github.com/facebook/flipper/issues/1993</a>, thanks [<a href="https://github.com/dwardu"><code>@​dwardu</code></a>])</li>
<li>[Docs] <code>order</code>: Document options required to match ordering example (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1992">https://github.com/facebook/flipper/issues/1992</a>, thanks [<a href="https://github.com/silviogutierrez"><code>@​silviogutierrez</code></a>])</li>
<li>[Tests] <code>no-unresolved</code>: add tests for <code>import()</code> (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2012">https://github.com/facebook/flipper/issues/2012</a>, thanks [<a href="https://github.com/davidbonnet"><code>@​davidbonnet</code></a>])</li>
<li>[Docs] Add import/recommended ruleset to README (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2034">https://github.com/facebook/flipper/issues/2034</a>, thanks [<a href="https://github.com/edemaine"><code>@​edemaine</code></a>])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a332f20fa2"><code>a332f20</code></a> Bump to v2.23.2</li>
<li><a href="5af181f13f"><code>5af181f</code></a> [meta] add <code>safe-publish-latest</code>; use <code>prepublishOnly</code> script for npm 7+</li>
<li><a href="8431b46a8b"><code>8431b46</code></a> Bump to v2.23.1</li>
<li><a href="83f3c3eca6"><code>83f3c3e</code></a> [Fix] <code>order</code>: fix alphabetical sorting</li>
<li><a href="821354381f"><code>8213543</code></a> [Tests] add missing fixture from d903477f4e31be71e016f8af56cbe2a8d4f11c9c</li>
<li><a href="d903477f4e"><code>d903477</code></a> [Fix] ExportMap: do not crash when tsconfig lacks <code>.compilerOptions</code></li>
<li><a href="dd0e8cbcb4"><code>dd0e8cb</code></a> [meta] correct <a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2065">https://github.com/facebook/flipper/issues/2065</a> -&gt; <a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2056">https://github.com/facebook/flipper/issues/2056</a></li>
<li><a href="8d7ec179c2"><code>8d7ec17</code></a> [Fix] <code>newline-after-import</code>: fix crash with <code>export {}</code> syntax</li>
<li><a href="e9e755d085"><code>e9e755d</code></a> Bump to v2.23.0</li>
<li><a href="7b264c0547"><code>7b264c0</code></a> [resolvers/webpack] v0.13.1</li>
<li>Additional commits viewable in <a href="https://github.com/benmosher/eslint-plugin-import/compare/v2.22.1...v2.23.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-import&package-manager=npm_and_yarn&previous-version=2.22.1&new-version=2.23.2)](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 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>

Pull Request resolved: https://github.com/facebook/flipper/pull/2319

Reviewed By: priteshrnandgaonkar

Differential Revision: D28474726

Pulled By: mweststrate

fbshipit-source-id: 804e1128063002e1fdd058b7d7cb036156425f0e
This commit is contained in:
dependabot[bot]
2021-05-18 06:40:24 -07:00
committed by Facebook GitHub Bot
parent 25df99fe84
commit e22ef757d5
2 changed files with 111 additions and 74 deletions

View File

@@ -38,7 +38,7 @@
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-flowtype": "^5.7.2",
"eslint-plugin-header": "^3.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-import": "^2.23.2",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",