Bump eslint-plugin-import from 2.19.1 to 2.22.0 in /desktop (#1336)

Summary:
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.19.1 to 2.22.0.
<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.22.0] - 2020-06-26</h2>
<h3>Added</h3>
<ul>
<li>[<code>no-unused-modules</code>]: consider exported TypeScript interfaces, types and enums (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1819">#1819</a>, thanks [<a href="https://github.com/nicolashenry">nicolashenry</a>])</li>
<li>[<code>no-cycle</code>]: allow <code>maxDepth</code> option to be <code>&quot;∞&quot;</code> (thanks [<a href="https://github.com/ljharb">ljharb</a>])</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[<code>order</code>]/TypeScript: properly support <code>import = object</code> expressions (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1823">#1823</a>, thanks [<a href="https://github.com/manuth">manuth</a>])</li>
<li>[<code>no-extraneous-dependencies</code>]/TypeScript: do not error when importing type from dev dependencies (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1820">#1820</a>, thanks [<a href="https://github.com/fernandopasik">fernandopasik</a>])</li>
<li>[<code>default</code>]: avoid crash with <code>export =</code> (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1822">#1822</a>, thanks [<a href="https://github.com/AndrewLeedham">AndrewLeedham</a>])</li>
<li>[<code>order</code>]/[<code>newline-after-import</code>]: ignore TypeScript's &quot;export import object&quot; (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1830">#1830</a>, thanks [<a href="https://github.com/be5invis">be5invis</a>])</li>
<li>[<code>dynamic-import-chunkname</code>]/TypeScript: supports <code>typescript-eslint/parser</code> (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1833">#1833</a>, thanks [<a href="https://github.com/noelebrun">noelebrun</a>])</li>
<li>[<code>order</code>]/TypeScript: ignore ordering of object imports (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1831">#1831</a>, thanks [<a href="https://github.com/manuth">manuth</a>])</li>
<li>[<code>namespace</code>]: do not report on shadowed import names (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/518">https://github.com/facebook/flipper/issues/518</a>, thanks [<a href="https://github.com/ljharb">ljharb</a>])</li>
<li>[<code>export</code>]: avoid warning on <code>export * as</code> non-conflicts (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1834">#1834</a>, thanks [<a href="https://github.com/ljharb">ljharb</a>])</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[<code>no-extraneous-dependencies</code>]: add tests for importing types (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1824">#1824</a>, thanks [<a href="https://github.com/taye">taye</a>])</li>
<li>[docs] [<code>no-default-export</code>]: Fix docs url (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1836">#1836</a>, thanks [<a href="https://github.com/beatrizrezener">beatrizrezener</a>])</li>
<li>[docs] [<code>imports-first</code>]: deprecation info and link to <code>first</code> docs (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1835">#1835</a>, thanks [<a href="https://github.com/beatrizrezener">beatrizrezener</a>])</li>
</ul>
<h2>[2.21.2] - 2020-06-09</h2>
<h3>Fixed</h3>
<ul>
<li>[<code>order</code>]: avoid a crash on TypeScript’s <code>export import</code> syntax (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1808">#1808</a>, thanks [<a href="https://github.com/ljharb">ljharb</a>])</li>
<li>[<code>newline-after-import</code>]: consider TypeScript <code>import =</code> syntax' (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1811">#1811</a>, thanks [<a href="https://github.com/ljharb">ljharb</a>])</li>
<li>[<code>no-internal-modules</code>]: avoid a crash on a named export declaration (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1814">#1814</a>, thanks [<a href="https://github.com/ljharb">ljharb</a>])</li>
</ul>
<h2>[2.21.1] - 2020-06-07</h2>
<h3>Fixed</h3>
<ul>
<li>TypeScript: [<code>import/named</code>]: avoid requiring <code>typescript</code> when not using TS (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1805">#1805</a>, thanks [<a href="https://github.com/ljharb">ljharb</a>])</li>
</ul>
<h2>[2.21.0] - 2020-06-07</h2>
<h3>Added</h3>
<ul>
<li>[<code>import/default</code>]: support default export in TSExportAssignment (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1528">#1528</a>, thanks [<a href="https://github.com/joaovieira">joaovieira</a>])</li>
<li>[<code>no-cycle</code>]: add <code>ignoreExternal</code> option (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1681">#1681</a>, thanks [<a href="https://github.com/sveyret">sveyret</a>])</li>
<li>[<code>order</code>]: Add support for TypeScript's &quot;import equals&quot;-expressions (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1785">#1785</a>, thanks [<a href="https://github.com/manuth">manuth</a>])</li>
<li>[<code>import/default</code>]: support default export in TSExportAssignment (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1689">#1689</a>, thanks [<a href="https://github.com/Maxim-Mazurok">Maxim-Mazurok</a>])</li>
<li>[<code>no-restricted-paths</code>]: add custom message support (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1802">#1802</a>, thanks [<a href="https://github.com/malykhinvi">malykhinvi</a>])</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[<code>group-exports</code>]: Flow type export awareness (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1702">#1702</a>, thanks [<a href="https://github.com/ernestostifano">ernestostifano</a>])</li>
<li>[<code>order</code>]: Recognize pathGroup config for first group (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1719">#1719</a>, <a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1724">#1724</a>, thanks [<a href="https://github.com/forivall">forivall</a>], [<a href="https://github.com/xpl">xpl</a>])</li>
<li>[<code>no-unused-modules</code>]: Fix re-export not counting as usage when used in combination with import (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1722">#1722</a>, thanks [<a href="https://github.com/Ephem">Ephem</a>])</li>
<li>[<code>no-duplicates</code>]: Handle TS import type (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1676">#1676</a>, thanks [<a href="https://github.com/kmui2">kmui2</a>])</li>
<li>[<code>newline-after-import</code>]: recognize decorators (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1139">https://github.com/facebook/flipper/issues/1139</a>, thanks [<a href="https://github.com/atos1990">atos1990</a>])</li>
<li>[<code>no-unused-modules</code>]: Revert &quot;[flow] <code>no-unused-modules</code>: add flow type support&quot; (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1770">#1770</a>, thanks [<a href="https://github.com/Hypnosphi">Hypnosphi</a>])</li>
<li>TypeScript: Add nested namespace handling (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1763">#1763</a>, thanks [<a href="https://github.com/julien1619">julien1619</a>])</li>
<li>[<code>namespace</code>]/<code>ExportMap</code>: Fix interface declarations for TypeScript (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1764">#1764</a>, thanks [<a href="https://github.com/julien1619">julien1619</a>])</li>
<li>[<code>no-unused-modules</code>]: avoid order-dependence (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1744">#1744</a>, thanks [<a href="https://github.com/darkartur">darkartur</a>])</li>
<li>[<code>no-internal-modules</code>]: also check <code>export from</code> syntax (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1691">#1691</a>, thanks [<a href="https://github.com/adjerbetian">adjerbetian</a>])</li>
<li>TypeScript: [<code>export</code>]: avoid a crash with <code>export =</code> (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1801">#1801</a>, thanks [<a href="https://github.com/ljharb">ljharb</a>])</li>
</ul>

</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="878ce6efd0"><code>878ce6e</code></a> Bump to v2.22.0</li>
<li><a href="36a535b6a6"><code>36a535b</code></a> fixup: [Tests] <code>export</code>: skip <code>export * as</code> tests in eslint &lt; 6</li>
<li><a href="7ceae48d31"><code>7ceae48</code></a> [Tests] <code>export</code>: skip <code>export * as</code> tests in eslint &lt; 6</li>
<li><a href="07dc92a223"><code>07dc92a</code></a> [Fix] <code>export</code>: avoid warning on <code>export * as</code> non-conflicts</li>
<li><a href="b944e941b5"><code>b944e94</code></a> [Fix] <code>namespace</code>: do not report on shadowed import names</li>
<li><a href="a963e8de03"><code>a963e8d</code></a> [Refactor] <code>namespace</code>: clean up the code a bit</li>
<li><a href="a6cd6bdc11"><code>a6cd6bd</code></a> [docs] <code>imports-first</code>: deprecation info and link to <code>first</code> docs</li>
<li><a href="2468f101da"><code>2468f10</code></a> [docs] <code>no-default-export</code>: Fix docs url</li>
<li><a href="c38b1699f8"><code>c38b169</code></a> [patch] <code>order</code>/TypeScript: ignore ordering of object imports</li>
<li><a href="bfc50b72d4"><code>bfc50b7</code></a> [New] <code>no-cycle</code>: allow <code>maxDepth</code> option to be <code>&quot;∞&quot;</code></li>
<li>Additional commits viewable in <a href="https://github.com/benmosher/eslint-plugin-import/compare/v2.19.1...v2.22.0">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.19.1&new-version=2.22.0)](https://help.github.com/articles/configuring-automated-security-fixes)

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/1336

Reviewed By: nikoant

Differential Revision: D22409668

Pulled By: passy

fbshipit-source-id: c546ae843ffe0f695e2c9b2facd0aa6a43823837
This commit is contained in:
dependabot[bot]
2020-07-07 06:14:51 -07:00
committed by Facebook GitHub Bot
parent a923c87ec9
commit 8c33c17bbc
2 changed files with 29 additions and 29 deletions

View File

@@ -171,7 +171,7 @@
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-flowtype": "^4.7.0",
"eslint-plugin-header": "^3.0.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.2",

View File

@@ -2945,14 +2945,13 @@ array-unique@^0.3.2:
resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428"
integrity sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=
array.prototype.flat@^1.2.1:
version "1.2.2"
resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.2.2.tgz#8f3c71d245ba349b6b64b4078f76f5576f1fd723"
integrity sha512-VXjh7lAL4KXKF2hY4FnEW9eRW6IhdvFW1sN/JwLbmECbCgACCnBHNyP3lFiYuttr0jxRN9Bsc5+G27dMseSWqQ==
array.prototype.flat@^1.2.3:
version "1.2.3"
resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.2.3.tgz#0de82b426b0318dbfdb940089e38b043d37f6c7b"
integrity sha512-gBlRZV0VSmfPIeWfuuy56XZMvbVfbEUnOXUvt3F/eUUUSyzlgLxhEX4YAEpxNAogRGehPSnfXyPtYyKAhkzQhQ==
dependencies:
define-properties "^1.1.3"
es-abstract "^1.15.0"
function-bind "^1.1.1"
es-abstract "^1.17.0-next.1"
arraybuffer.slice@~0.0.7:
version "0.0.7"
@@ -4968,7 +4967,7 @@ error-stack-parser@^2.0.6:
dependencies:
stackframe "^1.1.1"
es-abstract@^1.15.0, es-abstract@^1.17.0, es-abstract@^1.17.0-next.1, es-abstract@^1.17.4, es-abstract@^1.17.5:
es-abstract@^1.17.0, es-abstract@^1.17.0-next.1, es-abstract@^1.17.4, es-abstract@^1.17.5:
version "1.17.5"
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.17.5.tgz#d8c9d1d66c8981fb9200e2251d799eee92774ae9"
integrity sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==
@@ -5056,13 +5055,13 @@ eslint-config-prettier@^6.10.1:
dependencies:
get-stdin "^6.0.0"
eslint-import-resolver-node@^0.3.2:
version "0.3.2"
resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz#58f15fb839b8d0576ca980413476aab2472db66a"
integrity sha512-sfmTqJfPSizWu4aymbPr4Iidp5yKm8yDkHp+Ir3YiTHiiDfxh69mOUsmiqW6RZ9zRXFaF64GtYmN7e+8GHBv6Q==
eslint-import-resolver-node@^0.3.3:
version "0.3.4"
resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.4.tgz#85ffa81942c25012d8231096ddf679c03042c717"
integrity sha512-ogtf+5AB/O+nM6DIeBUNr2fuT7ot9Qg/1harBfBtaP13ekEWFQEEMP94BCB7zaNW3gyY+8SHYF00rnqYwXKWOA==
dependencies:
debug "^2.6.9"
resolve "^1.5.0"
resolve "^1.13.1"
eslint-import-resolver-typescript@^2.0.0:
version "2.0.0"
@@ -5075,10 +5074,10 @@ eslint-import-resolver-typescript@^2.0.0:
tiny-glob "^0.2.6"
tsconfig-paths "^3.9.0"
eslint-module-utils@^2.4.1:
version "2.5.0"
resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.5.0.tgz#cdf0b40d623032274ccd2abd7e64c4e524d6e19c"
integrity sha512-kCo8pZaNz2dsAW7nCUjuVoI11EBXXpIzfNxmaoLhXoRDOnqXLC4iSGVRdZPhOitfbdEfMEfKOiENaK6wDPZEGw==
eslint-module-utils@^2.6.0:
version "2.6.0"
resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.6.0.tgz#579ebd094f56af7797d19c9866c9c9486629bfa6"
integrity sha512-6j9xxegbqe8/kZY8cYpcp0xhbK0EgJlg3g9mib3/miLaExuuwc3n5UEfSnU6hWMbT0FAYVvDbL9RrRgpUeQIvA==
dependencies:
debug "^2.6.9"
pkg-dir "^2.0.0"
@@ -5110,23 +5109,24 @@ eslint-plugin-header@^3.0.0:
resolved "https://registry.yarnpkg.com/eslint-plugin-header/-/eslint-plugin-header-3.0.0.tgz#0e048b5f0adfdd9754142d59d551ae6bfdaf90ad"
integrity sha512-OIu2ciVW8jK4Ove4JHm1I7X0C98PZuLCyCsoUhAm2HpyGS+zr34qLM6iV06unnDvssvvEh5BkOfaLRF+N7cGoQ==
eslint-plugin-import@^2.19.1:
version "2.19.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.19.1.tgz#5654e10b7839d064dd0d46cd1b88ec2133a11448"
integrity sha512-x68131aKoCZlCae7rDXKSAQmbT5DQuManyXo2sK6fJJ0aK5CWAkv6A6HJZGgqC8IhjQxYPgo6/IY4Oz8AFsbBw==
eslint-plugin-import@^2.22.0:
version "2.22.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.22.0.tgz#92f7736fe1fde3e2de77623c838dd992ff5ffb7e"
integrity sha512-66Fpf1Ln6aIS5Gr/55ts19eUuoDhAbZgnr6UxK5hbDx6l/QgQgx61AePq+BV4PP2uXQFClgMVzep5zZ94qqsxg==
dependencies:
array-includes "^3.0.3"
array.prototype.flat "^1.2.1"
array-includes "^3.1.1"
array.prototype.flat "^1.2.3"
contains-path "^0.1.0"
debug "^2.6.9"
doctrine "1.5.0"
eslint-import-resolver-node "^0.3.2"
eslint-module-utils "^2.4.1"
eslint-import-resolver-node "^0.3.3"
eslint-module-utils "^2.6.0"
has "^1.0.3"
minimatch "^3.0.4"
object.values "^1.1.0"
object.values "^1.1.1"
read-pkg-up "^2.0.0"
resolve "^1.12.0"
resolve "^1.17.0"
tsconfig-paths "^3.9.0"
eslint-plugin-jsx-a11y@^6.0.3, eslint-plugin-jsx-a11y@^6.2.3:
version "6.2.3"
@@ -9240,7 +9240,7 @@ object.pick@^1.3.0:
dependencies:
isobject "^3.0.1"
object.values@^1.1.0, object.values@^1.1.1:
object.values@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.1.tgz#68a99ecde356b7e9295a3c5e0ce31dc8c953de5e"
integrity sha512-WTa54g2K8iu0kmS/us18jEmdv1a4Wi//BZ/DTVYEcH0XhLM5NYdpDHja3gt57VrZLcNAO2WGA+KpWsDBaHt6eA==
@@ -10597,7 +10597,7 @@ resolve@1.1.7:
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"
integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=
resolve@^1.10.0, resolve@^1.10.1, resolve@^1.12.0, resolve@^1.15.1, resolve@^1.17.0, resolve@^1.3.2, resolve@^1.5.0, resolve@^1.8.1:
resolve@^1.10.0, resolve@^1.10.1, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.15.1, resolve@^1.17.0, resolve@^1.3.2, resolve@^1.5.0, resolve@^1.8.1:
version "1.17.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444"
integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==