Commit Graph

1383 Commits

Author SHA1 Message Date
Brian Vaughn
e423bc7959 Update react-devtools-core from ^4.10.1 to ~4.10.2 (#2243)
Summary:
Bumps [react-devtools-core](https://github.com/facebook/react/tree/master/packages/react-devtools-core) from 4.10.1 to 4.10.2.

This update has only one change: https://github.com/facebook/react/pull/21344

For more background information on this upgrade: https://github.com/facebook/react/issues/21326

cc mweststrate

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

Reviewed By: bvaughn

Differential Revision: D28040682

Pulled By: mweststrate

fbshipit-source-id: 82b1212f839719ff69b3b7735a8a24042b382085
2021-04-27 15:03:39 -07:00
Michel Weststrate
00e4d2440d Support providing records directly to DataTable
Summary: This diff allows using a DataTable without setting up a full datasource, which is simpler in case the dataset is small and/or fixed. For an continuously growing dataset a DataSource should still be set up.

Reviewed By: jknoxville

Differential Revision: D28037897

fbshipit-source-id: 2e56b1970e19f967c3752a78737b8f7a3f934b87
2021-04-27 14:53:40 -07:00
Michel Weststrate
9a6e84fedd Deprecate more standard components
Summary: Additional deprecation warnings for components that should be imported from flipper-plugin

Reviewed By: nikoant

Differential Revision: D28027382

fbshipit-source-id: e46a40a950adb615d206bc08334893263c56dd1f
2021-04-27 14:53:40 -07:00
Michel Weststrate
d8ecab6995 Deprecate imports from 'flipper'
Summary: It is quite easy to miss some flipper imports, this lint rule makes them more visible. In the future we can eventually turn this into an error.

Reviewed By: jknoxville

Differential Revision: D28027118

fbshipit-source-id: 817b356634cb78b11b9216ce45429ea7a22f0e4f
2021-04-27 14:53:40 -07:00
Michel Weststrate
d26ea5fa46 Allow onExport handler to return nothing
Summary:
In many cases, the onExport handler doesn't try to customise the format, but merely fetch some additional information before creating an export.

By allowing the `onExport` handler to also return nothing, and instead merely update existing state, this case will be easier to express now;

Reviewed By: nikoant

Differential Revision: D28026558

fbshipit-source-id: 2b90b3e1ced6a6a5b42938b6f6b74b0eb9ceafc0
2021-04-27 14:53:40 -07:00
Anton Nikolaev
c2a07e7638 Databases plugin migrated to Sandy functional API
Summary: Converted Databases plugin to Sandy functional API

Reviewed By: mweststrate

Differential Revision: D27999205

fbshipit-source-id: e9d2c7aa5858b9da3c1672efbb558fb6b1077b6b
2021-04-27 09:31:11 -07:00
Anton Nikolaev
140cf38ffd Expose subscribe / unsubscribe functions from Atom
Summary: Allow subscribing to Atom state changes

Reviewed By: mweststrate

Differential Revision: D28027692

fbshipit-source-id: 24fd7ea16b013c364bbb1d25b30c48bc698db014
2021-04-27 09:31:11 -07:00
Pascal Hartig
dcc7e06afc Add test for flipper-messages
Summary: Some non-UI tests. Couldn't quite figure out how to make the renderer aware of changes in the old ManagedTable. Given that I've got a task for migrating, I didn't think it was worth digging into it more.

Reviewed By: mweststrate

Differential Revision: D28001651

fbshipit-source-id: 034b3d71bff2513c946b9f84525f3344b7879df9
2021-04-27 09:06:10 -07:00
Pascal Hartig
15e4ae5c24 Convert flipper-messages to Sandy
Summary: No logic change or UI update, just 1-to-1 conversion.

Reviewed By: mweststrate

Differential Revision: D27997791

fbshipit-source-id: 4cde0ef7d749d3117ef95cf67e9ce66e9674f747
2021-04-27 09:06:10 -07:00
Michel Weststrate
37a7b16774 Introduce Tabs
Summary:
Ant'd tabs didn't allow for vertical fill out. Introduced our own tiny wrapper that has `grow` by default.

Also made sure the users last selection is remembered.

Reviewed By: cekkaewnumchai

Differential Revision: D28026345

fbshipit-source-id: 7703bc241cd1427336b7c917bdb5be9f56bba9b9
2021-04-27 08:13:16 -07:00
Michel Weststrate
34e5e3a11a Fine tuning and docs for Panel
Summary: Better documentation for Panel. Fixes styling issue for uncollapsible panels

Reviewed By: passy

Differential Revision: D28025557

fbshipit-source-id: db0f9fd44f501fa36be3fc31ebbe7917d7c0a88c
2021-04-27 08:13:16 -07:00
Pascal Hartig
2b6e585fd2 Improve plugin loading error message
Summary:
I was a dummy and ran into this. Tried to make it easier
for the next person to figure out what this means.

Reviewed By: mweststrate

Differential Revision: D28026376

fbshipit-source-id: ad3455938ef30b448b475cb990f86351e76628bf
2021-04-27 04:39:20 -07:00
dependabot[bot]
1cda8883af Bump envinfo from 7.7.4 to 7.8.1 in /desktop (#2236)
Summary:
Bumps [envinfo](https://github.com/tabrindle/envinfo) from 7.7.4 to 7.8.1.
<details>
<summary>Commits</summary>
<ul>
<li><a href="613d99dc7e"><code>613d99d</code></a> 7.8.0</li>
<li><a href="443ddb945a"><code>443ddb9</code></a> fix: default to empty string if distro is null (<a href="https://github-redirect.dependabot.com/tabrindle/envinfo/issues/200">https://github.com/facebook/flipper/issues/200</a>)</li>
<li><a href="1dd1c15464"><code>1dd1c15</code></a> feat: update brave command line and add chromium (<a href="https://github-redirect.dependabot.com/tabrindle/envinfo/issues/191">https://github.com/facebook/flipper/issues/191</a>)</li>
<li><a href="a8ae59c357"><code>a8ae59c</code></a> feat: add ninja (<a href="https://github-redirect.dependabot.com/tabrindle/envinfo/issues/196">https://github.com/facebook/flipper/issues/196</a>)</li>
<li><a href="be2ce597b5"><code>be2ce59</code></a> fix: improve clang version detect (<a href="https://github-redirect.dependabot.com/tabrindle/envinfo/issues/198">https://github.com/facebook/flipper/issues/198</a>)</li>
<li><a href="42d3ca7ee7"><code>42d3ca7</code></a> fix: improve clang version detect (<a href="https://github-redirect.dependabot.com/tabrindle/envinfo/issues/198">https://github.com/facebook/flipper/issues/198</a>)</li>
<li><a href="76f2520048"><code>76f2520</code></a> switch to Node.js 10 as minimal in CircleCI (<a href="https://github-redirect.dependabot.com/tabrindle/envinfo/issues/192">https://github.com/facebook/flipper/issues/192</a>)</li>
<li>See full diff in <a href="https://github.com/tabrindle/envinfo/compare/7.7.4...7.8.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=envinfo&package-manager=npm_and_yarn&previous-version=7.7.4&new-version=7.8.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 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/2236

Reviewed By: passy

Differential Revision: D27999972

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 5f808862a214cc7bf13a35f9f96a80d252b89880
2021-04-27 03:51:35 -07:00
dependabot[bot]
1842674d00 Bump react-virtual from 2.6.1 to 2.7.1 in /desktop (#2235)
Summary:
Bumps [react-virtual](https://github.com/tannerlinsley/react-virtual) from 2.6.1 to 2.7.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tannerlinsley/react-virtual/releases">react-virtual's releases</a>.</em></p>
<blockquote>
<h2>v2.7.1</h2>
<h2><a href="https://github.com/tannerlinsley/react-virtual/compare/v2.7.0...v2.7.1">2.7.1</a> (2021-04-16)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>replace Object.assign with property assignment (<a href="https://github-redirect.dependabot.com/tannerlinsley/react-virtual/issues/117">https://github.com/facebook/flipper/issues/117</a>) (<a href="6b241fddef">6b241fd</a>)</li>
</ul>
<h2>v2.7.0</h2>
<h1><a href="https://github.com/tannerlinsley/react-virtual/compare/v2.6.2...v2.7.0">2.7.0</a> (2021-04-15)</h1>
<h3>Features</h3>
<ul>
<li>use binary search to calculate range (<a href="https://github-redirect.dependabot.com/tannerlinsley/react-virtual/issues/114">https://github.com/facebook/flipper/issues/114</a>) (<a href="55356390d9">5535639</a>)</li>
</ul>
<h2>v2.6.2</h2>
<h2><a href="https://github.com/tannerlinsley/react-virtual/compare/v2.6.1...v2.6.2">2.6.2</a> (2021-04-13)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>measureRef type in VirtualItem, add missing onScrollElement, scrollOffsetFn (<a href="https://github-redirect.dependabot.com/tannerlinsley/react-virtual/issues/110">https://github.com/facebook/flipper/issues/110</a>) (<a href="08920a8f36">08920a8</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="80dba579dc"><code>80dba57</code></a> chore: remove ts-toolbelt (<a href="https://github-redirect.dependabot.com/tannerlinsley/react-virtual/issues/118">https://github.com/facebook/flipper/issues/118</a>)</li>
<li><a href="6b241fddef"><code>6b241fd</code></a> fix: replace Object.assign with property assignment (<a href="https://github-redirect.dependabot.com/tannerlinsley/react-virtual/issues/117">https://github.com/facebook/flipper/issues/117</a>)</li>
<li><a href="55356390d9"><code>5535639</code></a> feat: use binary search to calculate range (<a href="https://github-redirect.dependabot.com/tannerlinsley/react-virtual/issues/114">https://github.com/facebook/flipper/issues/114</a>)</li>
<li><a href="4e08b8018c"><code>4e08b80</code></a> fix:scrollOffsetFn not included in effect dependency list (<a href="https://github-redirect.dependabot.com/tannerlinsley/react-virtual/issues/111">https://github.com/facebook/flipper/issues/111</a>)</li>
<li><a href="08920a8f36"><code>08920a8</code></a> fix: measureRef type in VirtualItem, add missing onScrollElement, scrollOffse...</li>
<li>See full diff in <a href="https://github.com/tannerlinsley/react-virtual/compare/v2.6.1...v2.7.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-virtual&package-manager=npm_and_yarn&previous-version=2.6.1&new-version=2.7.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 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/2235

Reviewed By: passy

Differential Revision: D27999982

Pulled By: priteshrnandgaonkar

fbshipit-source-id: abff7d19fa682f5f3d00bbc5009d2446a4fa26b7
2021-04-27 03:51:35 -07:00
Michel Weststrate
844abca78c Expose logger from client
Summary: The `logger` was currently only available in a React context, and not directly exposed from the `client` API as well. This diff fixes it. The infrastructure including test stubs were present already, so the change is minimal.

Reviewed By: nikoant

Differential Revision: D28010120

fbshipit-source-id: cdd09ed236f5d92d07005d4e5a699360596281e4
2021-04-27 01:43:42 -07:00
Michel Weststrate
c89d18fd68 Introduce DataList
Summary: Introduce the DataList component. Not feature complete yet, but core functionality is present so that people can use it during the convertathon. It is used to implement the route list in the network mock dialog

Reviewed By: priteshrnandgaonkar

Differential Revision: D27046716

fbshipit-source-id: a247ce7032b350b31bf55962ca4268e30f43471a
2021-04-27 01:43:42 -07:00
dependabot[bot]
f95cddd5ef Bump @types/react from 17.0.3 to 17.0.4 in /desktop (#2238)
Summary:
Bumps [types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.3 to 17.0.4.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/react&package-manager=npm_and_yarn&previous-version=17.0.3&new-version=17.0.4)](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/2238

Reviewed By: passy

Differential Revision: D27999965

Pulled By: priteshrnandgaonkar

fbshipit-source-id: ab790bc642b2f0f01fcd0801bda7c2c8e045eede
2021-04-26 14:32:58 -07:00
dependabot[bot]
490e3cdffd Bump @types/algoliasearch from 3.34.11 to 4.0.0 in /desktop (#2239)
Summary:
Bumps [types/algoliasearch](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/algoliasearch) from 3.34.11 to 4.0.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/algoliasearch">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/algoliasearch&package-manager=npm_and_yarn&previous-version=3.34.11&new-version=4.0.0)](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/2239

Reviewed By: passy

Differential Revision: D27999943

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 51204b9c6e339e89d4ceae8f52bc82f81418bcf6
2021-04-26 13:28:10 -07:00
dependabot[bot]
dc33b3f627 Bump mock-fs from 4.13.0 to 4.14.0 in /desktop (#2240)
Summary:
Bumps [mock-fs](https://github.com/tschaub/mock-fs) from 4.13.0 to 4.14.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tschaub/mock-fs/releases">mock-fs's releases</a>.</em></p>
<blockquote>
<h2>v4.14.0</h2>
<ul>
<li>Attempt to fix logging when using <code>mock-fs</code> with <code>tape</code> (see <a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/322">https://github.com/facebook/flipper/issues/322</a>)</li>
<li>Minor fix for <code>bypass()</code> (thanks <a href="https://github.com/3cp"><code>@​3cp</code></a>, see <a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/320">https://github.com/facebook/flipper/issues/320</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/tschaub/mock-fs/blob/main/changelog.md">mock-fs's changelog</a>.</em></p>
<blockquote>
<h2>4.14.0</h2>
<ul>
<li>Attempt to fix logging when using <code>mock-fs</code> with <code>tape</code> (see <a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/322">https://github.com/facebook/flipper/issues/322</a><a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/322">https://github.com/facebook/flipper/issues/322</a>)</li>
<li>Minor fix for <code>bypass()</code> (thanks <a href="https://github.com/3cp"><code>@​3cp</code></a>, see <a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/320">https://github.com/facebook/flipper/issues/320</a><a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/320">https://github.com/facebook/flipper/issues/320</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="74e36f68ff"><code>74e36f6</code></a> 4.14.0</li>
<li><a href="af65aa6f6d"><code>af65aa6</code></a> Log changes</li>
<li><a href="d530fd46b7"><code>d530fd4</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/323">https://github.com/facebook/flipper/issues/323</a> from tschaub/updates</li>
<li><a href="3a21f5eacd"><code>3a21f5e</code></a> Transitive dependency updates</li>
<li><a href="cb3ad219b2"><code>cb3ad21</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/322">https://github.com/facebook/flipper/issues/322</a> from tschaub/std</li>
<li><a href="648d2997da"><code>648d299</code></a> test: nodejs v12 and v14 is still not patched</li>
<li><a href="0078d4c81f"><code>0078d4c</code></a> test: nodejs v14+ silently ignores closing closed file descriptor</li>
<li><a href="fb70713318"><code>fb70713</code></a> fix: support old nodejs without Promise.prototype.finally</li>
<li><a href="3327f80738"><code>3327f80</code></a> test: fix wrong usage of assert.fail</li>
<li><a href="1731bff3da"><code>1731bff</code></a> test: try nodejs v12 and v14</li>
<li>Additional commits viewable in <a href="https://github.com/tschaub/mock-fs/compare/v4.13.0...v4.14.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mock-fs&package-manager=npm_and_yarn&previous-version=4.13.0&new-version=4.14.0)](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/2240

Reviewed By: passy

Differential Revision: D27999681

Pulled By: priteshrnandgaonkar

fbshipit-source-id: e81a62d21c2aabb2b4688420014d1e4495585f51
2021-04-26 12:13:44 -07:00
Anton Nikolaev
8eee8e5a0d Added missing icon
Summary: Added missing icon

Reviewed By: passy

Differential Revision: D27999112

fbshipit-source-id: b7ad9967c10f8333848583c648ad04ff5429d714
2021-04-26 10:14:06 -07:00
Michel Weststrate
ae752f785e Remove Sandy welcome screen
Summary: Dropped the welcome-to-the-Sandy-redesign screen, should be pretty well established by now :)

Reviewed By: nikoant

Differential Revision: D27966658

fbshipit-source-id: 8f8943cbb242ef5625f0c19ffe4aed28e320377f
2021-04-23 13:12:32 -07:00
Michel Weststrate
c005753018 Expose Panel and useLocalStorageState
Summary: Expose a Panel api from Sandy, which is quite similar to the old one, except that it uses Antd, and it will remember the users closed / open preference through sessions, a much requested feature.

Reviewed By: nikoant

Differential Revision: D27966607

fbshipit-source-id: 9b18df377215c1e6c5844d0bf972058c8c574cbb
2021-04-23 09:29:59 -07:00
Michel Weststrate
faf8588097 Minor improvements
Summary:
Some styling fixes and minor improvements in DataTable, used by network plugin:

- be able to customise the context menu
- be able to customise how entire rows are copied and presented on the clipboard to be able to deviate from the standard JSON
- deeplink handling was made async, this gives the plugin the opportunity to first handle initial setup and rendering before trying to jump somewhere which is a typical use case for deeplinking

Reviewed By: passy

Differential Revision: D27947186

fbshipit-source-id: a56f081d60520c4bc2ad3c547a8ca5b9357e71a1
2021-04-23 09:29:59 -07:00
dependabot[bot]
a19b470efe Bump algoliasearch from 4.8.6 to 4.9.0 in /desktop (#2212)
Summary:
Bumps [algoliasearch](https://github.com/algolia/algoliasearch-client-javascript) from 4.8.6 to 4.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/algolia/algoliasearch-client-javascript/releases">algoliasearch's releases</a>.</em></p>
<blockquote>
<h2>4.9.0</h2>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.8.6...4.9.0">v4.9.0</a></h2>
<ul>
<li>feat(dictionaries): adds methods and tests (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1253">https://github.com/facebook/flipper/issues/1253</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/aed6554">aed6554</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1253">https://github.com/facebook/flipper/issues/1253</a></li>
<li>feat(types): support <code>type</code> and <code>facet</code> in search methods (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1263">https://github.com/facebook/flipper/issues/1263</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/54c1cb7">54c1cb7</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1263">https://github.com/facebook/flipper/issues/1263</a></li>
<li>fix(findAnswers): omit removeWordsIfNoResults correctly (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/3aec216">3aec216</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/algolia/algoliasearch-client-javascript/blob/master/CHANGELOG.md">algoliasearch's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.8.6...4.9.0">v4.9.0</a></h2>
<ul>
<li>feat(dictionaries): adds methods and tests (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1253">https://github.com/facebook/flipper/issues/1253</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/aed6554">aed6554</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1253">https://github.com/facebook/flipper/issues/1253</a></li>
<li>feat(types): support <code>type</code> and <code>facet</code> in search methods (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1263">https://github.com/facebook/flipper/issues/1263</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/54c1cb7">54c1cb7</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1263">https://github.com/facebook/flipper/issues/1263</a></li>
<li>fix(findAnswers): omit removeWordsIfNoResults correctly (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/3aec216">3aec216</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="cd39284a20"><code>cd39284</code></a> chore: release v4.9.0 (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1264">https://github.com/facebook/flipper/issues/1264</a>)</li>
<li><a href="832cad8304"><code>832cad8</code></a> fix(dictionary): generates random objectID (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1265">https://github.com/facebook/flipper/issues/1265</a>)</li>
<li><a href="aed6554f79"><code>aed6554</code></a> feat(dictionaries): adds methods and tests (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1253">https://github.com/facebook/flipper/issues/1253</a>)</li>
<li><a href="54c1cb7e83"><code>54c1cb7</code></a> feat(types): support <code>type</code> and <code>facet</code> in search methods (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1263">https://github.com/facebook/flipper/issues/1263</a>)</li>
<li><a href="3aec216a97"><code>3aec216</code></a> fix(findAnswers): omit removeWordsIfNoResults correctly</li>
<li>See full diff in <a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.8.6...4.9.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D27945525

Pulled By: passy

fbshipit-source-id: be5bd5991017a9f9dd5ff5e7d92946758cb2fec1
2021-04-23 06:35:58 -07:00
dependabot[bot]
2457ae6883 Bump @babel/core from 7.13.14 to 7.13.16 in /desktop (#2216)
Summary:
Bumps [babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.14 to 7.13.16.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/releases"><code>@​babel/core</code>'s releases</a>.</em></p>
<blockquote>
<h2>v7.13.16 (2021-04-20)</h2>
<p>Thanks <a href="https://github.com/codyatwork"><code>@​codyatwork</code></a> and <a href="https://github.com/nwalters512"><code>@​nwalters512</code></a> for your first PRs!</p>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13143">#13143</a> fix: raise <code>SyntaxError</code> for <code>declare</code> before getter/setter (<a href="https://github.com/fedeci"><code>@​fedeci</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-helpers</code>, <code>babel-plugin-transform-modules-commonjs</code>, <code>babel-plugin-transform-regenerator</code>, <code>babel-plugin-transform-spread</code>, <code>babel-preset-env</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13129">#13129</a> Support iterating generators in browsers without <code>Symbol</code> (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-compilation-targets</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13159">#13159</a> fix: add default value for browserslist config path (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-generator</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13136">#13136</a> Fix printing of single-param async arrow function with comments (<a href="https://github.com/nwalters512"><code>@​nwalters512</code></a>)</li>
</ul>
</li>
</ul>
<h4>📝 Documentation</h4>
<ul>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13155">#13155</a> Update links in eslint-parser README (<a href="https://github.com/codyatwork"><code>@​codyatwork</code></a>)</li>
</ul>
</li>
<li><code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13148">#13148</a> docs: refine babel-types docs generator (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-compilation-targets</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13131">#13131</a> docs: add README to helper-compilation-targets (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-helper-bindify-decorators</code>, <code>babel-helper-explode-class</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13160">#13160</a> Archive helper-explode-class and helper-bindify-decorators (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13158">#13158</a> codecov: token not required (<a href="https://github.com/hzoo"><code>@​hzoo</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-call-delegate</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13153">#13153</a> Archive <code>babel/helper-call-delegate</code> (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-hoist-variables</code>, <code>babel-plugin-transform-block-scoping</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13152">#13152</a> refactor: use FunctionParent on visiting var scope (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-cli</code>, <code>babel-core</code>, <code>babel-generator</code>, <code>babel-plugin-transform-function-name</code>, <code>babel-register</code>, <code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13139">#13139</a> Remove remaining <code>lodash</code> dependencies (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 7</h4>
<ul>
<li>Babel Bot (<a href="https://github.com/babel-bot"><code>@​babel-bot</code></a>)</li>
<li>Cody Mims (<a href="https://github.com/codyatwork"><code>@​codyatwork</code></a>)</li>
<li>Federico Ciardi (<a href="https://github.com/fedeci"><code>@​fedeci</code></a>)</li>
<li>Henry Zhu (<a href="https://github.com/hzoo"><code>@​hzoo</code></a>)</li>
<li>Huáng Jùnliàng (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
<li>Nathan Walters (<a href="https://github.com/nwalters512"><code>@​nwalters512</code></a>)</li>
<li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
<h2>v7.13.15 (2021-04-08)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13099">#13099</a> fix: raise <code>SyntaxError</code> for unparenthesized assert and assign (<a href="https://github.com/fedeci"><code>@​fedeci</code></a>)</li>
</ul>
</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/blob/main/CHANGELOG.md"><code>@​babel/core</code>'s changelog</a>.</em></p>
<blockquote>
<h2>v7.13.16 (2021-04-20)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13143">#13143</a> fix: raise <code>SyntaxError</code> for <code>declare</code> before getter/setter (<a href="https://github.com/fedeci"><code>@​fedeci</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-helpers</code>, <code>babel-plugin-transform-modules-commonjs</code>, <code>babel-plugin-transform-regenerator</code>, <code>babel-plugin-transform-spread</code>, <code>babel-preset-env</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13129">#13129</a> Support iterating generators in browsers without <code>Symbol</code> (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-compilation-targets</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13159">#13159</a> fix: add default value for browserslist config path (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-generator</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13136">#13136</a> Fix printing of single-param async arrow function with comments (<a href="https://github.com/nwalters512"><code>@​nwalters512</code></a>)</li>
</ul>
</li>
</ul>
<h4>📝 Documentation</h4>
<ul>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13155">#13155</a> Update links in eslint-parser README (<a href="https://github.com/codyatwork"><code>@​codyatwork</code></a>)</li>
</ul>
</li>
<li><code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13148">#13148</a> docs: refine babel-types docs generator (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-compilation-targets</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13131">#13131</a> docs: add README to helper-compilation-targets (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-helper-bindify-decorators</code>, <code>babel-helper-explode-class</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13160">#13160</a> Archive helper-explode-class and helper-bindify-decorators (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13158">#13158</a> codecov: token not required (<a href="https://github.com/hzoo"><code>@​hzoo</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-call-delegate</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13153">#13153</a> Archive <code>babel/helper-call-delegate</code> (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-hoist-variables</code>, <code>babel-plugin-transform-block-scoping</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13152">#13152</a> refactor: use FunctionParent on visiting var scope (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-cli</code>, <code>babel-core</code>, <code>babel-generator</code>, <code>babel-plugin-transform-function-name</code>, <code>babel-register</code>, <code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13139">#13139</a> Remove remaining <code>lodash</code> dependencies (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.13.15 (2021-04-08)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13099">#13099</a> fix: raise <code>SyntaxError</code> for unparenthesized assert and assign (<a href="https://github.com/fedeci"><code>@​fedeci</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13049">#13049</a> fix: the LHS in for-of loop should not start with let (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13101">#13101</a> fix(ts): allow trailing comma after rest parameter in <code>TSDeclareFunction</code> (<a href="https://github.com/fedeci"><code>@​fedeci</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-proposal-do-expressions</code>, <code>babel-traverse</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/10101">#10101</a> yield for do expression (<a href="https://github.com/tanhauhau"><code>@​tanhauhau</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13030">#13030</a> Refactor switch support in <code>NodePath#getCompletionRecords</code> (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13106">#13106</a> fix: do not filter report from functions within class elements (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-compat-data</code>, <code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13075">#13075</a> Compile classes when spread is unsupported (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d94a8e50ed"><code>d94a8e5</code></a> v7.13.16</li>
<li><a href="d24bd7ce5c"><code>d24bd7c</code></a> Remove remaining <code>lodash</code> dependencies (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/13139">#13139</a>)</li>
<li><a href="e50f6f7eef"><code>e50f6f7</code></a> v7.13.15</li>
<li><a href="a647b9ea6b"><code>a647b9e</code></a> Convert <code>babel/core</code> to TypeScript (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/12929">#12929</a>)</li>
<li><a href="c8a91d9eef"><code>c8a91d9</code></a> Rename <code>babel/core</code> files to <code>.ts</code> (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/12929">#12929</a>)</li>
<li>See full diff in <a href="https://github.com/babel/babel/commits/v7.13.16/packages/babel-core">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@babel/core&package-manager=npm_and_yarn&previous-version=7.13.14&new-version=7.13.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 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/2216

Reviewed By: mweststrate

Differential Revision: D27945407

Pulled By: passy

fbshipit-source-id: d4d0e9221ea473904648f7dbbb3afd330d552b17
2021-04-23 06:35:58 -07:00
dependabot[bot]
299c35310e Bump eslint-plugin-prettier from 3.3.1 to 3.4.0 in /desktop (#2209)
Summary:
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.3.1 to 3.4.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md">eslint-plugin-prettier's changelog</a>.</em></p>
<blockquote>
<h2>v3.4.0 (2021-04-15)</h2>
<ul>
<li>feat: support processor virtual filename (<a href="https://github.com/prettier/eslint-plugin-prettier/blob/master/git@github.com:prettier/eslint-plugin-prettier/issues/401">https://github.com/facebook/flipper/issues/401</a>) (<a href="ee0ccc6ac0">ee0ccc6</a>)</li>
<li>Simplify report logic (<a href="https://github.com/prettier/eslint-plugin-prettier/blob/master/git@github.com:prettier/eslint-plugin-prettier/issues/380">https://github.com/facebook/flipper/issues/380</a>) (<a href="d993f247b5">d993f24</a>)</li>
<li>Update: README.md (<a href="https://github.com/prettier/eslint-plugin-prettier/blob/master/git@github.com:prettier/eslint-plugin-prettier/issues/375">https://github.com/facebook/flipper/issues/375</a>) (<a href="3ea4242a8d">3ea4242</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/prettier/eslint-plugin-prettier/commits">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D27945701

Pulled By: passy

fbshipit-source-id: 5c0e01437fd6f872caa3e531af32adfbc072fd11
2021-04-23 06:35:58 -07:00
dependabot[bot]
8165cd48a6 Bump @typescript-eslint/eslint-plugin from 4.15.2 to 4.22.0 in /desktop (#2208)
Summary:
Bumps [typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.15.2 to 4.22.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/eslint-plugin</code>'s releases</a>.</em></p>
<blockquote>
<h2>v4.22.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.21.0...v4.22.0">4.22.0</a> (2021-04-12)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-unsafe-argument] handle tuple types on rest arguments (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3269">#3269</a>) (<a href="6f8cfe6f83">6f8cfe6</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [prefer-regexp-exec] add autofix (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3207">#3207</a>) (<a href="e2cbeefb3d">e2cbeef</a>)</li>
</ul>
<h2>v4.21.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.20.0...v4.21.0">4.21.0</a> (2021-04-05)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-type-alias] consider <code>keyof</code> as an alias (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3242">#3242</a>) (<a href="329ef02309">329ef02</a>)</li>
<li><strong>eslint-plugin:</strong> [no-unnecessary-type-assertion] correct bad fix for angle bracket assertion (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3244">#3244</a>) (<a href="265a039c7e">265a039</a>)</li>
<li><strong>eslint-plugin:</strong> [restrict-plus-operands] consider template literal types as strings (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3234">#3234</a>) (<a href="ccfd68e365">ccfd68e</a>)</li>
<li><strong>eslint-plugin:</strong> [strict-boolean-expressions] account for truthy literals (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3236">#3236</a>) (<a href="0913f40c87">0913f40</a>)</li>
<li><strong>eslint-plugin:</strong> always ignore assignments in no-unnecessary-type-assertion (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3235">#3235</a>) (<a href="02214768a3">0221476</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-unsafe-argument] add rule (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3256">#3256</a>) (<a href="b1aa7dc697">b1aa7dc</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/791">https://github.com/facebook/flipper/issues/791</a></li>
<li><strong>eslint-plugin:</strong> [no-unsafe-call][no-unsafe-member-access] improve report messages for <code>this</code> for <code>noImplicitThis</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3199">#3199</a>) (<a href="b1b26c4843">b1b26c4</a>)</li>
</ul>
<h2>v4.20.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.19.0...v4.20.0">4.20.0</a> (2021-03-29)</h1>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [space-infix-ops] support for class properties and type aliases (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3231">#3231</a>) (<a href="5414bf27a8">5414bf2</a>)</li>
<li><strong>eslint-plugin:</strong> [type-annotation-spacing] handle space between ? and : (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3138">#3138</a>) (<a href="40bdb0b27b">40bdb0b</a>)</li>
</ul>
<h2>v4.19.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.18.0...v4.19.0">4.19.0</a> (2021-03-22)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [member-delimiter-style] correct invalid fix for multiline with params on the same line (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3177">#3177</a>) (<a href="7ad343b067">7ad343b</a>)</li>
<li><strong>eslint-plugin:</strong> [promise-function-async] bad fixer with computed and literal methods (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3163">#3163</a>) (<a href="e3a3ea0475">e3a3ea0</a>)</li>
<li><strong>typescript-estree:</strong> [ts 4.2] add support for import type equal declaration (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3189">#3189</a>) (<a href="6a25faf5cf">6a25faf</a>)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md"><code>@​typescript-eslint/eslint-plugin</code>'s changelog</a>.</em></p>
<blockquote>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.21.0...v4.22.0">4.22.0</a> (2021-04-12)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-unsafe-argument] handle tuple types on rest arguments (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3269">#3269</a>) (<a href="6f8cfe6f83">6f8cfe6</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [prefer-regexp-exec] add autofix (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3207">#3207</a>) (<a href="e2cbeefb3d">e2cbeef</a>)</li>
</ul>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.20.0...v4.21.0">4.21.0</a> (2021-04-05)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-type-alias] consider <code>keyof</code> as an alias (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3242">#3242</a>) (<a href="329ef02309">329ef02</a>)</li>
<li><strong>eslint-plugin:</strong> [no-unnecessary-type-assertion] correct bad fix for angle bracket assertion (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3244">#3244</a>) (<a href="265a039c7e">265a039</a>)</li>
<li><strong>eslint-plugin:</strong> [restrict-plus-operands] consider template literal types as strings (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3234">#3234</a>) (<a href="ccfd68e365">ccfd68e</a>)</li>
<li><strong>eslint-plugin:</strong> [strict-boolean-expressions] account for truthy literals (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3236">#3236</a>) (<a href="0913f40c87">0913f40</a>)</li>
<li><strong>eslint-plugin:</strong> always ignore assignments in no-unnecessary-type-assertion (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3235">#3235</a>) (<a href="02214768a3">0221476</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-unsafe-argument] add rule (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3256">#3256</a>) (<a href="b1aa7dc697">b1aa7dc</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/791">https://github.com/facebook/flipper/issues/791</a></li>
<li><strong>eslint-plugin:</strong> [no-unsafe-call][no-unsafe-member-access] improve report messages for <code>this</code> for <code>noImplicitThis</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3199">#3199</a>) (<a href="b1b26c4843">b1b26c4</a>)</li>
</ul>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.19.0...v4.20.0">4.20.0</a> (2021-03-29)</h1>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [space-infix-ops] support for class properties and type aliases (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3231">#3231</a>) (<a href="5414bf27a8">5414bf2</a>)</li>
<li><strong>eslint-plugin:</strong> [type-annotation-spacing] handle space between ? and : (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3138">#3138</a>) (<a href="40bdb0b27b">40bdb0b</a>)</li>
</ul>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.18.0...v4.19.0">4.19.0</a> (2021-03-22)</h1>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="45d2c3efc2"><code>45d2c3e</code></a> chore: publish v4.22.0</li>
<li><a href="e2cbeefb3d"><code>e2cbeef</code></a> feat(eslint-plugin): [prefer-regexp-exec] add autofix (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3207">#3207</a>)</li>
<li><a href="a5836be07a"><code>a5836be</code></a> docs(eslint-plugin): switch check marks to <code></code> for visibilit...</li>
<li><a href="6f8cfe6f83"><code>6f8cfe6</code></a> fix(eslint-plugin): [no-unsafe-argument] handle tuple types on rest arguments...</li>
<li><a href="3181b32d57"><code>3181b32</code></a> chore: publish v4.21.0</li>
<li><a href="ccfd68e365"><code>ccfd68e</code></a> fix(eslint-plugin): [restrict-plus-operands] consider template literal types ...</li>
<li><a href="0913f40c87"><code>0913f40</code></a> fix(eslint-plugin): [strict-boolean-expressions] account for truthy literals ...</li>
<li><a href="02214768a3"><code>0221476</code></a> fix(eslint-plugin): always ignore assignments in no-unnecessary-type-assertio...</li>
<li><a href="b1b26c4843"><code>b1b26c4</code></a> feat(eslint-plugin): [no-unsafe-call][no-unsafe-member-access] improve report...</li>
<li><a href="b1aa7dc697"><code>b1aa7dc</code></a> feat(eslint-plugin): [no-unsafe-argument] add rule (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3256">#3256</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v4.22.0/packages/eslint-plugin">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D27945706

Pulled By: passy

fbshipit-source-id: d9d7c4b5d9981e853fe9b7aba02fed22c8f2a00c
2021-04-23 06:35:58 -07:00
dependabot[bot]
686060c434 Bump inquirer from 7.3.3 to 8.0.0 in /desktop (#2211)
Summary:
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 7.3.3 to 8.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/SBoudrias/Inquirer.js/releases">inquirer's releases</a>.</em></p>
<blockquote>
<h2>inquirer@8.0.0</h2>
<ul>
<li>Drop support for Node 10 (through dependencies)</li>
<li>Add <code>postfix</code> option to the editor prompt to allow easily turning on proper syntax highlighting</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6bc00c0ff2"><code>6bc00c0</code></a> Publish</li>
<li><a href="cca6b8180d"><code>cca6b81</code></a> Bump ini from 1.3.5 to 1.3.8 (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1001">https://github.com/facebook/flipper/issues/1001</a>)</li>
<li><a href="bbe2ad8b41"><code>bbe2ad8</code></a> Bump node-fetch from 2.6.0 to 2.6.1 (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1000">https://github.com/facebook/flipper/issues/1000</a>)</li>
<li><a href="db6d66bd1a"><code>db6d66b</code></a> Update travis matrix</li>
<li><a href="ff4e89bd62"><code>ff4e89b</code></a> Bump dependencies</li>
<li><a href="809f3f9851"><code>809f3f9</code></a> Add possiblity to specify extension in editor (fixes <a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/914">https://github.com/facebook/flipper/issues/914</a>) (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/998">https://github.com/facebook/flipper/issues/998</a>)</li>
<li><a href="eae985ff7d"><code>eae985f</code></a> [docs] clarification about prompt method. (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/995">https://github.com/facebook/flipper/issues/995</a>)</li>
<li><a href="eb6e7d0418"><code>eb6e7d0</code></a> [Snyk] Security upgrade lodash from 4.17.19 to 4.17.21 (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/997">https://github.com/facebook/flipper/issues/997</a>)</li>
<li><a href="1fcc05ba7b"><code>1fcc05b</code></a> [Snyk] Security upgrade lodash from 4.17.19 to 4.17.21 (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/996">https://github.com/facebook/flipper/issues/996</a>)</li>
<li><a href="a3ddaa0c8e"><code>a3ddaa0</code></a> fix: passes answers to list's filter callback (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/988">https://github.com/facebook/flipper/issues/988</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.3.3...inquirer@8.0.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D27945606

Pulled By: passy

fbshipit-source-id: f3a2dbefea3ec8400dca9f4ed97f7179e52a47b8
2021-04-23 05:48:58 -07:00
dependabot[bot]
49a5842c7b Bump @types/node from 14.14.37 to 14.14.41 in /desktop (#2207)
Summary:
Bumps [types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.37 to 14.14.41.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/node&package-manager=npm_and_yarn&previous-version=14.14.37&new-version=14.14.41)](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/2207

Reviewed By: mweststrate

Differential Revision: D27945782

Pulled By: passy

fbshipit-source-id: a54055baefc11614cc0f546c53a0b7c418468b4e
2021-04-23 05:48:58 -07:00
dependabot[bot]
32117f264b Bump rsocket-tcp-server from 0.0.19 to 0.0.25 in /desktop (#2210)
Summary:
Bumps [rsocket-tcp-server](https://github.com/rsocket/rsocket-js) from 0.0.19 to 0.0.25.
<details>
<summary>Commits</summary>
<ul>
<li><a href="a85a4db041"><code>a85a4db</code></a> v0.0.25</li>
<li><a href="b279d67569"><code>b279d67</code></a> ammend versions</li>
<li><a href="1e15f3c975"><code>1e15f3c</code></a> v0.0.24</li>
<li><a href="a4b7a93dc0"><code>a4b7a93</code></a> provides a temporary fix for <a href="https://github-redirect.dependabot.com/rsocket/rsocket-js/issues/110">https://github.com/facebook/flipper/issues/110</a></li>
<li><a href="c271a37128"><code>c271a37</code></a> exports missing TlsClient</li>
<li><a href="844b10b35b"><code>844b10b</code></a> updates docs</li>
<li><a href="39a86dfa5f"><code>39a86df</code></a> updates docs</li>
<li><a href="97e1e9f922"><code>97e1e9f</code></a> updates versions</li>
<li><a href="90e70580d1"><code>90e7058</code></a> fixes RSocketMachine leak on the server-side (<a href="https://github-redirect.dependabot.com/rsocket/rsocket-js/issues/120">https://github.com/facebook/flipper/issues/120</a>)</li>
<li><a href="f665cd1038"><code>f665cd1</code></a> adds METADATA_PUSH support (<a href="https://github-redirect.dependabot.com/rsocket/rsocket-js/issues/119">https://github.com/facebook/flipper/issues/119</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/rsocket/rsocket-js/compare/v0.0.19...v0.0.25">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~shadowgun">shadowgun</a>, a new releaser for rsocket-tcp-server since your current version.</p>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rsocket-tcp-server&package-manager=npm_and_yarn&previous-version=0.0.19&new-version=0.0.25)](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/2210

Reviewed By: mweststrate

Differential Revision: D27945698

Pulled By: passy

fbshipit-source-id: c8fd54082b6ab2996cf339ba1dc20a2289e9bd64
2021-04-23 04:30:35 -07:00
dependabot[bot]
bea6794867 Bump @algolia/client-search from 4.8.6 to 4.9.0 in /desktop (#2206)
Summary:
Bumps [algolia/client-search](https://github.com/algolia/algoliasearch-client-javascript) from 4.8.6 to 4.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/algolia/algoliasearch-client-javascript/releases"><code>@​algolia/client-search</code>'s releases</a>.</em></p>
<blockquote>
<h2>4.9.0</h2>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.8.6...4.9.0">v4.9.0</a></h2>
<ul>
<li>feat(dictionaries): adds methods and tests (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1253">https://github.com/facebook/flipper/issues/1253</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/aed6554">aed6554</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1253">https://github.com/facebook/flipper/issues/1253</a></li>
<li>feat(types): support <code>type</code> and <code>facet</code> in search methods (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1263">https://github.com/facebook/flipper/issues/1263</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/54c1cb7">54c1cb7</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1263">https://github.com/facebook/flipper/issues/1263</a></li>
<li>fix(findAnswers): omit removeWordsIfNoResults correctly (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/3aec216">3aec216</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/algolia/algoliasearch-client-javascript/blob/master/CHANGELOG.md"><code>@​algolia/client-search</code>'s changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.8.6...4.9.0">v4.9.0</a></h2>
<ul>
<li>feat(dictionaries): adds methods and tests (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1253">https://github.com/facebook/flipper/issues/1253</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/aed6554">aed6554</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1253">https://github.com/facebook/flipper/issues/1253</a></li>
<li>feat(types): support <code>type</code> and <code>facet</code> in search methods (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1263">https://github.com/facebook/flipper/issues/1263</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/54c1cb7">54c1cb7</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1263">https://github.com/facebook/flipper/issues/1263</a></li>
<li>fix(findAnswers): omit removeWordsIfNoResults correctly (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/3aec216">3aec216</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="cd39284a20"><code>cd39284</code></a> chore: release v4.9.0 (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1264">https://github.com/facebook/flipper/issues/1264</a>)</li>
<li><a href="832cad8304"><code>832cad8</code></a> fix(dictionary): generates random objectID (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1265">https://github.com/facebook/flipper/issues/1265</a>)</li>
<li><a href="aed6554f79"><code>aed6554</code></a> feat(dictionaries): adds methods and tests (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1253">https://github.com/facebook/flipper/issues/1253</a>)</li>
<li><a href="54c1cb7e83"><code>54c1cb7</code></a> feat(types): support <code>type</code> and <code>facet</code> in search methods (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1263">https://github.com/facebook/flipper/issues/1263</a>)</li>
<li><a href="3aec216a97"><code>3aec216</code></a> fix(findAnswers): omit removeWordsIfNoResults correctly</li>
<li>See full diff in <a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.8.6...4.9.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@algolia/client-search&package-manager=npm_and_yarn&previous-version=4.8.6&new-version=4.9.0)](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/2206

Reviewed By: mweststrate

Differential Revision: D27945840

Pulled By: passy

fbshipit-source-id: d132e364abf329ba1823915b2432a22f7832c40a
2021-04-23 04:30:35 -07:00
dependabot[bot]
97ace78cac Bump @babel/preset-env from 7.13.12 to 7.13.15 in /desktop (#2184)
Summary:
Bumps [babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.12 to 7.13.15.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/releases"><code>@​babel/preset-env</code>'s releases</a>.</em></p>
<blockquote>
<h2>v7.13.15 (2021-04-08)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13099">#13099</a> fix: raise <code>SyntaxError</code> for unparenthesized assert and assign (<a href="https://github.com/fedeci"><code>@​fedeci</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13049">#13049</a> fix: the LHS in for-of loop should not start with let (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13101">#13101</a> fix(ts): allow trailing comma after rest parameter in <code>TSDeclareFunction</code> (<a href="https://github.com/fedeci"><code>@​fedeci</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-proposal-do-expressions</code>, <code>babel-traverse</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/10101">#10101</a> yield for do expression (<a href="https://github.com/tanhauhau"><code>@​tanhauhau</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13030">#13030</a> Refactor switch support in <code>NodePath#getCompletionRecords</code> (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13106">#13106</a> fix: do not filter report from functions within class elements (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-compat-data</code>, <code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13075">#13075</a> Compile classes when spread is unsupported (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13115">#13115</a> [preset-env - debug] Print targets that need each plugin (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>📝 Documentation</h4>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13081">#13081</a> Update CoC contacts (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-plugin-transform-regenerator</code>, <code>babel-standalone</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13086">#13086</a> Align <code>regenerator-transform</code> import with native ESM (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-transform-fixture-test-runner</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13087">#13087</a> Do not load root <code>babel.config.js</code> in tests (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏃‍♀️ Performance</h4>
<ul>
<li><code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13076">#13076</a> perf: lazy load preset-env plugins (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 5</h4>
<ul>
<li>Bogdan Savluk (<a href="https://github.com/zxbodya"><code>@​zxbodya</code></a>)</li>
<li>Federico Ciardi (<a href="https://github.com/fedeci"><code>@​fedeci</code></a>)</li>
<li>Huáng Jùnliàng (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
<li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
<li>Tan Li Hau (<a href="https://github.com/tanhauhau"><code>@​tanhauhau</code></a>)</li>
</ul>
<h2>v7.13.14 (2021-03-29)</h2>
<p>Thanks <a href="https://github.com/charlessuh"><code>@​charlessuh</code></a> for your first PR to Babel!</p>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-core</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13068">#13068</a> fix(core): make sure &quot;clone-deep-browser&quot; code path is used on browsers (<a href="https://github.com/charlessuh"><code>@​charlessuh</code></a>)</li>
</ul>
</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/blob/main/CHANGELOG.md"><code>@​babel/preset-env</code>'s changelog</a>.</em></p>
<blockquote>
<h2>v7.13.15 (2021-04-08)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13099">#13099</a> fix: raise <code>SyntaxError</code> for unparenthesized assert and assign (<a href="https://github.com/fedeci"><code>@​fedeci</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13049">#13049</a> fix: the LHS in for-of loop should not start with let (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13101">#13101</a> fix(ts): allow trailing comma after rest parameter in <code>TSDeclareFunction</code> (<a href="https://github.com/fedeci"><code>@​fedeci</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-proposal-do-expressions</code>, <code>babel-traverse</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/10101">#10101</a> yield for do expression (<a href="https://github.com/tanhauhau"><code>@​tanhauhau</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13030">#13030</a> Refactor switch support in <code>NodePath#getCompletionRecords</code> (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13106">#13106</a> fix: do not filter report from functions within class elements (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-compat-data</code>, <code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13075">#13075</a> Compile classes when spread is unsupported (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13115">#13115</a> [preset-env - debug] Print targets that need each plugin (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>📝 Documentation</h4>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13081">#13081</a> Update CoC contacts (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-plugin-transform-regenerator</code>, <code>babel-standalone</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13086">#13086</a> Align <code>regenerator-transform</code> import with native ESM (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-transform-fixture-test-runner</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13087">#13087</a> Do not load root <code>babel.config.js</code> in tests (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏃‍♀️ Performance</h4>
<ul>
<li><code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13076">#13076</a> perf: lazy load preset-env plugins (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.13.14 (2021-03-29)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-core</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13068">#13068</a> fix(core): make sure &quot;clone-deep-browser&quot; code path is used on browsers (<a href="https://github.com/charlessuh"><code>@​charlessuh</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13066">#13066</a> add SHOW_CONFIG_FOR to template (<a href="https://github.com/hzoo"><code>@​hzoo</code></a>)</li>
</ul>
</li>
<li><code>babel-cli</code>, <code>babel-core</code>, <code>babel-helper-transform-fixture-test-runner</code>, <code>babel-register</code>, <code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13057">#13057</a> Remove lodash deps (<a href="https://github.com/hzoo"><code>@​hzoo</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏃‍♀️ Performance</h4>
<ul>
<li><code>babel-core</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13063">#13063</a> Only resolve <code>package.json</code> when relative configs are enabled (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.13.13 (2021-03-26)</h2>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="e50f6f7eef"><code>e50f6f7</code></a> v7.13.15</li>
<li><a href="be1003b837"><code>be1003b</code></a> [preset-env - debug] Print targets that need each plugin (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env/issues/13115">#13115</a>)</li>
<li><a href="8d4da69e9d"><code>8d4da69</code></a> Update polyfill plugins (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env/issues/13079">#13079</a>)</li>
<li><a href="d563773723"><code>d563773</code></a> Compile classes when spread is unsupported (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env/issues/13075">#13075</a>)</li>
<li><a href="3e174e9cbd"><code>3e174e9</code></a> perf: lazy load <code>preset-env</code> plugins (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env/issues/13076">#13076</a>)</li>
<li><a href="b0d83daceb"><code>b0d83da</code></a> Resolve .browserslistrc as a project-wide file (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env/issues/13028">#13028</a>)</li>
<li><a href="2ae19d01b1"><code>2ae19d0</code></a> Update fixtures (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env/issues/13045">#13045</a>)</li>
<li><a href="6ee87eea49"><code>6ee87ee</code></a> [babel 8] fallback targets to <code>&quot;defaults, not ie 11&quot;</code> (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env/issues/12989">#12989</a>)</li>
<li>See full diff in <a href="https://github.com/babel/babel/commits/v7.13.15/packages/babel-preset-env">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@babel/preset-env&package-manager=npm_and_yarn&previous-version=7.13.12&new-version=7.13.15)](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/2184

Reviewed By: mweststrate

Differential Revision: D27945996

Pulled By: passy

fbshipit-source-id: 3ac758bf2505fc74fe462ebf9d9e677a850e8d63
2021-04-23 04:30:35 -07:00
Anton Nikolaev
e1f6f770cd Collect information about connected device and app as a part of plugin usage analytics
Summary: We received questions several times from plugin authors on how to find usage for particular app/platform and I wanted to add that data on plugin usage dashboard, but right now it's impossible. We're only collecting plugin ID as a part of plugin usage analytics. That means it's impossible to filter some plugin usage (e.g. "Network") by particular platform or mobile app. This diff improves plugin usage analytics to collect enhanced data.

Reviewed By: passy

Differential Revision: D27935801

fbshipit-source-id: c2fc7d8cf84f9a28823ae56a1dda7158e0b12f1f
2021-04-22 16:47:43 -07:00
Pascal Hartig
c007d74af9 Handle RSocket disconnects gracefully
Summary:
Tiny change, hours of debugging. Big thanks to jknoxville for
answering all my stupid questions.

Our number one "error" right now by users affected is

```
Unhandled Promise Rejection:
Error: RSocketTcpClient:
Socket closed unexpectedly.
```

Of course no stacktrace, because JavaScript and Promises.

The underlying problem is that RSocket keeps track of recently used
"receivers" which is every method that has sent a request. When someone disconnects their device or closes an emulator/simulator, the socket's `end` event is treated the same way any other connection error would be: a85a4db041/packages/rsocket-tcp-client/src/RSocketTcpClient.js (L74)

This then causes "errors" like these to appear:
{F609810187}

This could previously be handled in plugin-code by wrapping all `client.call()` invocations in try/catch, which nobody did, meaning we'd get rejected promises everywhere. We can instead handle this centrally and properly disconnect the connection.

Changelog: Severed RSocket connections are no longer treated as an error in plugin code

Reviewed By: jknoxville

Differential Revision: D27910514

fbshipit-source-id: ea9c0726ab0e959b0eb4a5fca67ddaa04a6f1d14
2021-04-22 07:45:33 -07:00
Pascal Hartig
9e7a455910 Mute port forwarding errors
Summary: Mentioned in the comment, these aren't actionable errors.

Reviewed By: jknoxville

Differential Revision: D27910465

fbshipit-source-id: 6f5e9d9d25edbb02648f3118c074e9f1986e3a86
2021-04-22 07:45:33 -07:00
Pascal Hartig
3431206c0e Add linter for naked console.errors
Summary:
`console.error(err)` are hard to identify in the codebase especially
as we often don't have reliable stack trace information.

I've already cleaned up a bunch of them manually by going after the most
high-firing ones; this should make it easier to identify the remaining ones.

Reviewed By: jknoxville

Differential Revision: D27913964

fbshipit-source-id: 0ff6624a0c083829846550b40954945d655b7cf6
2021-04-22 05:23:09 -07:00
Flipper Bot
bde0791818 Flipper Release: v0.86.0
Summary: Releasing version 0.86.0

Reviewed By: priteshrnandgaonkar

Differential Revision: D27905837

fbshipit-source-id: 349b63a1f06d85b075d07b610179fd613da6bf52
2021-04-21 04:54:43 -07:00
Aaron Coplan
5a89776a05 Implement Diff selection flow in UIQR Flipper Plugin
Summary: Allow the user to manually select a diff from a list of diffs they have authored to send a screen to. This is particularly useful for NT users.

Reviewed By: nscoding

Differential Revision: D27804191

fbshipit-source-id: 805923399f2ced8d9c3b3ca0c80d5cdfd63af4f8
2021-04-20 18:53:31 -07:00
Pascal Hartig
f1b8aeffd7 Disable mangling and compression
Summary:
This is not doing much in terms of size. We're talking 780 bytes after
PACK compression but we're losing a lot of information in our errors
(before have symbolication).

We may reenable this at some point but I think it might be safe to leave it to this.

Reviewed By: nikoant

Differential Revision: D27887636

fbshipit-source-id: 15affeac588db667914320cbd098f7041b8b9c09
2021-04-20 11:34:43 -07:00
Harold Martin
4d262c0da4 Add protobuf support to network inspector (#2080)
Summary:
Protobuf based APIs are becoming more common (i.e. gRPC) but are difficult to inspect. Unlike plain text data formats (JSON), Protobuf calls transmit binary data requiring the format to be known ahead of time, making ad-hoc inspection impossible. This PR allows for those format definitions (messages in protobuf terminology) to be transmitted from the client to the network inspector plugin. These definitions are then imported into ProtobufJS which enables the binary data transmitted to be inspected as easily as JSON data.

See Retrofit PR in https://github.com/facebook/flipper/pull/2084

## Changelog

* Add ProtobufJS library to network plugin
* New `ProtobufFormatter` UI in `RequestDetails`
* `ProtobufDefinitionsRepository` to cache and load protobuf defintions
* `addProtobufDefinitions` call in the Android network plugin

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

Test Plan: ![screenshot](https://user-images.githubusercontent.com/745166/111652068-001a5e80-87c4-11eb-8c94-e19b46dd074c.png)

Reviewed By: mweststrate

Differential Revision: D27507451

Pulled By: passy

fbshipit-source-id: 586d891b74f2b17d28fe7a2a99074da755851f38
2021-04-20 05:10:39 -07:00
Tim Yung
451c332260 Back out "Update React DevTools deps from 4.6 -> 4.12"
Summary:
Reverts D27764688 (7bd4f80c25) due to a bug with "Invalid hook call." being erroneously reported. We will upgrade again after that bug is resolved.

Changelog:
[Internal]

Reviewed By: fkgozali

Differential Revision: D27813660

fbshipit-source-id: 84a12f19cf1bb7e8aebef0da3ff6f7022c391d3e
2021-04-15 21:15:50 -07:00
dependabot[bot]
bfc9ba0e68 Bump open from 8.0.4 to 8.0.5 in /desktop (#2189)
Summary:
Bumps [open](https://github.com/sindresorhus/open) from 8.0.4 to 8.0.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/sindresorhus/open/releases">open's releases</a>.</em></p>
<blockquote>
<h2>v8.0.5</h2>
<ul>
<li>Fix <code>chrome</code> app on macOS (<a href="https://github-redirect.dependabot.com/sindresorhus/open/issues/240">https://github.com/facebook/flipper/issues/240</a>)  87f3d7a</li>
</ul>
<p><a href="https://github.com/sindresorhus/open/compare/v8.0.4...v8.0.5">https://github.com/sindresorhus/open/compare/v8.0.4...v8.0.5</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="45a3551a32"><code>45a3551</code></a> 8.0.5</li>
<li><a href="87f3d7a16b"><code>87f3d7a</code></a> Fix <code>chrome</code> app on macOS (<a href="https://github-redirect.dependabot.com/sindresorhus/open/issues/240">https://github.com/facebook/flipper/issues/240</a>)</li>
<li>See full diff in <a href="https://github.com/sindresorhus/open/compare/v8.0.4...v8.0.5">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D27763534

Pulled By: nikoant

fbshipit-source-id: 3a2f68cf7f8b8477858e0a840e30b126512e4c54
2021-04-15 10:17:58 -07:00
dependabot[bot]
587e288bbf Bump cli-ux from 5.4.6 to 5.5.1 in /desktop (#2190)
Summary:
Bumps [cli-ux](https://github.com/oclif/cli-ux) from 5.4.6 to 5.5.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/oclif/cli-ux/releases">cli-ux's releases</a>.</em></p>
<blockquote>
<h2>v5.5.1</h2>
<h2><a href="https://github.com/oclif/cli-ux/compare/v5.5.0...v5.5.1">5.5.1</a> (2020-11-12)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Downgrade fs-extra to support Node.js 8 (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/275">https://github.com/facebook/flipper/issues/275</a>) (<a href="5b92e86f9e">5b92e86</a>)</li>
</ul>
<h2>v5.5.0</h2>
<h1><a href="https://github.com/oclif/cli-ux/compare/v5.4.10...v5.5.0">5.5.0</a> (2020-08-28)</h1>
<h3>Features</h3>
<ul>
<li>support multiple filter flags for table (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/156">https://github.com/facebook/flipper/issues/156</a>) (<a href="057c8520f0">057c852</a>)</li>
</ul>
<h3>Reverts</h3>
<ul>
<li>Revert &quot;feat: support multiple filter flags for table (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/156">https://github.com/facebook/flipper/issues/156</a>)&quot; (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/231">https://github.com/facebook/flipper/issues/231</a>) (<a href="c008a4216a">c008a42</a>), closes <a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/156">https://github.com/facebook/flipper/issues/156</a> <a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/231">https://github.com/facebook/flipper/issues/231</a></li>
</ul>
<h2>v5.4.10</h2>
<h2><a href="https://github.com/oclif/cli-ux/compare/v5.4.9...v5.4.10">5.4.10</a> (2020-08-07)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>do not cache require, require is already cached in NodeJS by design (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/194">https://github.com/facebook/flipper/issues/194</a>) (<a href="99b9466d8e">99b9466</a>)</li>
</ul>
<h2>v5.4.9</h2>
<h2><a href="https://github.com/oclif/cli-ux/compare/v5.4.8...v5.4.9">5.4.9</a> (2020-07-02)</h2>
<h3>Reverts</h3>
<ul>
<li>Revert &quot;build: downgrade to semantic-release@15&quot; (<a href="dfeab27ff9">dfeab27</a>)</li>
</ul>
<h2>v5.4.8</h2>
<ul>
<li>build: downgrade to semantic-release@15  2d94314</li>
<li>chore(release): 5.4.7 [skip ci]  92a047f</li>
<li>chore(deps-dev): bump <code>@​types/clean-stack</code> from 1.3.0 to 2.1.1 (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/184">https://github.com/facebook/flipper/issues/184</a>)  ba2f71d</li>
<li>chore(deps): bump <code>@​oclif/command</code> from 1.6.1 to 1.7.0 (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/183">https://github.com/facebook/flipper/issues/183</a>)  41026e8</li>
<li>chore(release): 5.4.7 [skip ci]  00dcc32</li>
<li>chore(deps-dev): bump <code>@​types/lodash</code> from 4.14.136 to 4.14.157 (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/186">https://github.com/facebook/flipper/issues/186</a>)  ae2ff85</li>
<li>chore(release): 5.4.7 [skip ci]  17538cf</li>
<li>fix: use inclusive terms (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/178">https://github.com/facebook/flipper/issues/178</a>)  b151545</li>
<li>chore(release): 5.4.7 [skip ci]  1840fca</li>
<li>chore(deps): bump clean-stack from 2.2.0 to 3.0.0 (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/179">https://github.com/facebook/flipper/issues/179</a>)  709b75a</li>
<li>chore(deps): bump tslib from 1.10.0 to 2.0.0 (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/181">https://github.com/facebook/flipper/issues/181</a>)  6f43f57</li>
<li>chore(deps): bump supports-color from 5.5.0 to 7.1.0 (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/180">https://github.com/facebook/flipper/issues/180</a>)  06b3b99</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/oclif/cli-ux/blob/master/CHANGELOG.md">cli-ux's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/oclif/cli-ux/compare/v5.5.0...v5.5.1">5.5.1</a> (2020-11-12)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Downgrade fs-extra to support Node.js 8 (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/275">https://github.com/facebook/flipper/issues/275</a>) (<a href="5b92e86f9e">5b92e86</a>)</li>
</ul>
<h1><a href="https://github.com/oclif/cli-ux/compare/v5.4.10...v5.5.0">5.5.0</a> (2020-08-28)</h1>
<h3>Features</h3>
<ul>
<li>support multiple filter flags for table (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/156">https://github.com/facebook/flipper/issues/156</a>) (<a href="057c8520f0">057c852</a>)</li>
</ul>
<h3>Reverts</h3>
<ul>
<li>Revert &quot;feat: support multiple filter flags for table (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/156">https://github.com/facebook/flipper/issues/156</a>)&quot; (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/231">https://github.com/facebook/flipper/issues/231</a>) (<a href="c008a4216a">c008a42</a>), closes <a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/156">https://github.com/facebook/flipper/issues/156</a> <a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/231">https://github.com/facebook/flipper/issues/231</a></li>
</ul>
<h2><a href="https://github.com/oclif/cli-ux/compare/v5.4.9...v5.4.10">5.4.10</a> (2020-08-07)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>do not cache require, require is already cached in NodeJS by design (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/194">https://github.com/facebook/flipper/issues/194</a>) (<a href="99b9466d8e">99b9466</a>)</li>
</ul>
<h2><a href="https://github.com/oclif/cli-ux/compare/v5.4.8...v5.4.9">5.4.9</a> (2020-07-02)</h2>
<h3>Reverts</h3>
<ul>
<li>Revert &quot;build: downgrade to semantic-release@15&quot; (<a href="dfeab27ff9">dfeab27</a>)</li>
</ul>
<h2><a href="https://github.com/oclif/cli-ux/compare/v5.4.6...v5.4.7">5.4.7</a> (2020-07-02)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>smaller bundle size, cut lodash imports (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/107">https://github.com/facebook/flipper/issues/107</a>) (<a href="41cdbc7839">41cdbc7</a>)</li>
<li>use inclusive terms (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/178">https://github.com/facebook/flipper/issues/178</a>) (<a href="b151545b0a">b151545</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>clear prompt timeout (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/60">https://github.com/facebook/flipper/issues/60</a>) (<a href="https://github.com/oclif/cli-ux/commit/5cc36aa">5cc36aa</a>)</li>
</ul>
<h2><a href="https://github.com/oclif/cli-ux/compare/v4.9.1...v4.9.2">4.9.2</a> (2018-10-29)</h2>
<h3>Bug Fixes</h3>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="fc2ec9937d"><code>fc2ec99</code></a> chore(release): 5.5.1 [skip ci]</li>
<li><a href="5b92e86f9e"><code>5b92e86</code></a> fix: Downgrade fs-extra to support Node.js 8 (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/275">https://github.com/facebook/flipper/issues/275</a>)</li>
<li><a href="515570bbeb"><code>515570b</code></a> chore(release): 5.5.0 [skip ci]</li>
<li><a href="c008a4216a"><code>c008a42</code></a> Revert &quot;feat: support multiple filter flags for table (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/156">https://github.com/facebook/flipper/issues/156</a>)&quot; (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/231">https://github.com/facebook/flipper/issues/231</a>)</li>
<li><a href="057c8520f0"><code>057c852</code></a> feat: support multiple filter flags for table (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/156">https://github.com/facebook/flipper/issues/156</a>)</li>
<li><a href="9656592dd8"><code>9656592</code></a> chore(deps-dev): bump <code>@​types/lodash</code> from 4.14.158 to 4.14.159 (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/216">https://github.com/facebook/flipper/issues/216</a>)</li>
<li><a href="8676fd442a"><code>8676fd4</code></a> chore(deps): bump <code>@​oclif/command</code> from 1.7.0 to 1.8.0 (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/217">https://github.com/facebook/flipper/issues/217</a>)</li>
<li><a href="68d652d4e1"><code>68d652d</code></a> chore(deps): bump lodash from 4.17.19 to 4.17.20 (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/220">https://github.com/facebook/flipper/issues/220</a>)</li>
<li><a href="a0cb5e97ca"><code>a0cb5e9</code></a> chore(deps-dev): bump eslint from 7.6.0 to 7.7.0 (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/223">https://github.com/facebook/flipper/issues/223</a>)</li>
<li><a href="f78460f09e"><code>f78460f</code></a> chore: sync dependabot.yml (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/224">https://github.com/facebook/flipper/issues/224</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/oclif/cli-ux/compare/v5.4.6...v5.5.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cli-ux&package-manager=npm_and_yarn&previous-version=5.4.6&new-version=5.5.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 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/2190

Reviewed By: passy

Differential Revision: D27763530

Pulled By: nikoant

fbshipit-source-id: cef7d81fa7ff712d6558ffd02b2e0435c0a3b05b
2021-04-15 07:55:55 -07:00
Michel Weststrate
18491dac11 Fixed issue where split container with null elems woudn't use remaining size
Summary:
This fixes an issue where `Layout.Top/Right/Left/Bottom` would not render its secondary child in the remaining size, if the primary child is empty (`null`). This is caused by React not rendering anything for null children, and as a result the CSS rules for the primary child would then match the second child.

In the example below making the component tree invisible if there are no bundles in the NT/Bloks plugin. Fixed by rendering a zero sized element instead.

Reviewed By: jknoxville

Differential Revision: D27793382

fbshipit-source-id: 1e76b51986c30a6a0d98e9356fcad4dd8d5d5f91
2021-04-15 07:48:33 -07:00
Michel Weststrate
0fe879c838 Improve multiple element selector UI
Summary:
Layer selection is pretty easy to miss, as reported in for example: https://fb.workplace.com/groups/flippersupport/permalink/1098169193997071/

Moved the layer selection to the top of the view and gave it some highlighting + dynamic height. The section is no longer collapsible.

Changelog: [Layout] Make the layer selection more prominent

Reviewed By: priteshrnandgaonkar

Differential Revision: D27708650

fbshipit-source-id: c86a55c3a20794aee86e64b6766b2ca4dd6b563f
2021-04-15 07:48:33 -07:00
Michel Weststrate
5db2ef1275 Perf fixes
Summary:
This diff fixes some more perf bottlenecks in the layout inspector (see the diffs earlier in the stack for the total picture). Mostly:

1. Pass down stable refs from the root for callbacks and configuration
2. Remove the deep-equality check in the sidebar section rendering, which has a pretty significant constant overhead, especially if the selection didn't change
3. If the selection changes, the correct semantics is to reset the sidebar rather than trying to reconcile the elements. (A consequence of this is that Panel collapse state isn't preserved atm after changing selection, will address that in a later diff)

This reduces average render time for sidebar from ~20 to ~2 ms.

Reviewed By: priteshrnandgaonkar

Differential Revision: D27677353

fbshipit-source-id: ba183b7e3d778c0b3c8e7ca0d51535ce99a097ca
2021-04-15 07:48:33 -07:00
Michel Weststrate
4f75247213 Make Sidebar Extensions more idiomatic
Summary: Sidebar extensions were unkeyed, which make them render inefficiently. I cleaned the api a bit here by making the extensions more idiomatic; they are now components rather then functions, so that they have their own render cycle, state, etc. They are memo-ed now as well, so that they don't have to re-render if the selected item doesn't change.

Reviewed By: nikoant

Differential Revision: D27685980

fbshipit-source-id: b133bc42061b3b8cf971792f5818810ecb80e3ea
2021-04-15 07:48:33 -07:00
Michel Weststrate
7d9495027b Fix layout inspector re-rendering all elements on all changes
Summary:
Changelog: [Layout] Addressed several performance issues in the layout plugin

This diff and a few of the next stuff fix some performance issues in the Layout plugin. This diff fixes an issue where computing the context menu will cause all rows to render at all times, make the responiveness of the plugin quite slugish.

The fix in this case is to build up the context menu lazily, and pass a stable ref to the function through the tree, rather than a new menu every time the root component renders.

The changes in this diff and the next ones in total reduces the time (in prod builds) to draw a frame from ~200ms to ~5ms.

Reviewed By: cekkaewnumchai

Differential Revision: D27685983

fbshipit-source-id: a48b2ce2cdd1db31bb13122924617cbc3b6c198a
2021-04-15 07:48:33 -07:00
Michel Weststrate
e29222fba7 Update and patch loading React DevTools
Summary:
When trying to run some React component performance profiles, the updates registered made absolutely no sense (components rerendering without any parent or other cause causing them to render etc). That turned out to be caused by having an outdated version of the React devTools in Flipper.

Sadly the newer version of the React DevTools didn't work with our current Electron version anymore. Some horrible hacking is needed to work around that.

To help with updating the tools in the future (they are by default cached forever on the local machine), I've introduced the `FLIPPER_UPDATE_DEV_TOOLS` variable.

The plugin loading work around is inspired by https://github.com/electron/electron/issues/23662#issuecomment-787420799

Reviewed By: passy

Differential Revision: D27685981

fbshipit-source-id: c35e49aff9b2457b63122eeee0d5c042ddd3b08b
2021-04-15 07:48:33 -07:00
Michel Weststrate
69de9bc92d Initial move to flipper-plugin
Summary:
This diff moves the core of ElementsInspector to flipper-plugin and decouples it from legacy design system and Electron, without any significant improvements or API changes yet, which will follow later.

Colors and docs will be added later in this stack.

Reviewed By: passy

Differential Revision: D27660300

fbshipit-source-id: 96abfa3b3174fa852cf04ae119c23c3d629fee74
2021-04-15 07:48:33 -07:00