Commit Graph

1300 Commits

Author SHA1 Message Date
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
dependabot[bot]
ca7b331e3b Bump @typescript-eslint/experimental-utils from 4.20.0 to 4.21.0 in /desktop (#2187)
Summary:
Bumps [typescript-eslint/experimental-utils](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/experimental-utils) from 4.20.0 to 4.21.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/experimental-utils</code>'s releases</a>.</em></p>
<blockquote>
<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>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/experimental-utils/CHANGELOG.md"><code>@​typescript-eslint/experimental-utils</code>'s changelog</a>.</em></p>
<blockquote>
<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>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/experimental-utils</code></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3181b32d57"><code>3181b32</code></a> chore: publish v4.21.0</li>
<li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v4.21.0/packages/experimental-utils">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@typescript-eslint/experimental-utils&package-manager=npm_and_yarn&previous-version=4.20.0&new-version=4.21.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/2187

Reviewed By: passy

Differential Revision: D27763542

Pulled By: nikoant

fbshipit-source-id: 80d14f82b55ff12c37345d4f64eabccb7c6d9c1a
2021-04-15 07:40:28 -07:00
dependabot[bot]
582a31fb41 Bump @testing-library/dom from 7.30.1 to 7.30.3 in /desktop (#2188)
Summary:
Bumps [testing-library/dom](https://github.com/testing-library/dom-testing-library) from 7.30.1 to 7.30.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/testing-library/dom-testing-library/releases"><code>@​testing-library/dom</code>'s releases</a>.</em></p>
<blockquote>
<h2>v7.30.3</h2>
<h2><a href="https://github.com/testing-library/dom-testing-library/compare/v7.30.2...v7.30.3">7.30.3</a> (2021-03-31)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>types:</strong> missing ignore parameter for SelectorMatcherOptions (<a href="7edd2bd734">7edd2bd</a>)</li>
</ul>
<h2>v7.30.2</h2>
<h2><a href="https://github.com/testing-library/dom-testing-library/compare/v7.30.1...v7.30.2">7.30.2</a> (2021-03-30)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>types:</strong> exclude tsconfig from types folder in publish flow (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/923">https://github.com/facebook/flipper/issues/923</a>) (<a href="bb83d8c540">bb83d8c</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="2c9e2c1323"><code>2c9e2c1</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/924">https://github.com/facebook/flipper/issues/924</a> from MatanBobi/pr/fix-missing-parameter-for-matcher</li>
<li><a href="5ecc89034e"><code>5ecc890</code></a> Merge branch 'master' into pr/fix-missing-parameter-for-matcher</li>
<li><a href="7edd2bd734"><code>7edd2bd</code></a> fix(types): missing ignore parameter for SelectorMatcherOptions</li>
<li><a href="bb83d8c540"><code>bb83d8c</code></a> fix(types): exclude tsconfig from types folder in publish flow (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/923">https://github.com/facebook/flipper/issues/923</a>)</li>
<li>See full diff in <a href="https://github.com/testing-library/dom-testing-library/compare/v7.30.1...v7.30.3">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@testing-library/dom&package-manager=npm_and_yarn&previous-version=7.30.1&new-version=7.30.3)](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/2188

Reviewed By: passy

Differential Revision: D27763535

Pulled By: nikoant

fbshipit-source-id: 55ca9838521a482177d0032eddea7ceb53b13f01
2021-04-15 07:32:06 -07:00
dependabot[bot]
ef986ccb9a Bump @types/ws from 7.4.0 to 7.4.1 in /desktop (#2185)
Summary:
Bumps [types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws) from 7.4.0 to 7.4.1.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ws">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D27763543

Pulled By: nikoant

fbshipit-source-id: 88afd08d594b3219396c571a7144689e93a99cb5
2021-04-15 07:29:16 -07:00
Brian Vaughn
7bd4f80c25 Update React DevTools deps from 4.6 -> 4.12
Summary:
Update `react-devtools-core` and `react-devtools` dependencies for RN, VSCode, Sonar, etc.

# Changelog:

[General][Changed] - Upgraded react-devtools-core dependency to 4.12.0

Reviewed By: gaearon

Differential Revision: D27764688

fbshipit-source-id: faa179cf4be3b49b14244d47ee0b91ae63138b8b
2021-04-14 13:37:24 -07:00
Flipper Bot
a792c146d6 Flipper Release: v0.85.0
Summary: Releasing version 0.85.0

Reviewed By: jknoxville

Differential Revision: D27766005

fbshipit-source-id: 25bdd6d0ad831e087e51529adc5e6c2b4fa43d57
2021-04-14 09:49:45 -07:00
dependabot[bot]
c2ab19360f Bump eslint from 7.23.0 to 7.24.0 in /desktop (#2183)
Summary:
Bumps [eslint](https://github.com/eslint/eslint) from 7.23.0 to 7.24.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/eslint/eslint/releases">eslint's releases</a>.</em></p>
<blockquote>
<h2>v7.24.0</h2>
<ul>
<li><a href="0c346c87fa"><code>0c346c8</code></a> Chore: ignore <code>pnpm-lock.yaml</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14303">#14303</a>) (Nitin Kumar)</li>
<li><a href="f06ecdf78b"><code>f06ecdf</code></a> Update: Add disallowTemplateShorthand option in no-implicit-coercion (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13579">#13579</a>) (Remco Haszing)</li>
<li><a href="71a80e38aa"><code>71a80e3</code></a> Docs: fix broken links in Node.js API docs toc (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14296">#14296</a>) (u-sho (Shouhei Uechi))</li>
<li><a href="bd46dc4647"><code>bd46dc4</code></a> Docs: Fix incorrect reference to &quot;braces&quot; in arrow-parens (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14300">#14300</a>) (emclain)</li>
<li><a href="0d6235ea20"><code>0d6235e</code></a> Docs: update header in max-lines (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14273">#14273</a>) (Shinigami)</li>
<li><a href="70c9216401"><code>70c9216</code></a> Docs: Update issue triage to include blocked column (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14275">#14275</a>) (Nicholas C. Zakas)</li>
<li><a href="abca186a84"><code>abca186</code></a> Docs: Fix typo in suggestions section (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14293">#14293</a>) (Kevin Partington)</li>
<li><a href="c4d8b0db62"><code>c4d8b0d</code></a> Fix: no-unused-vars ignoreRestSiblings check assignments (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14163">#14163</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14264">#14264</a>) (YeonJuan)</li>
<li><a href="b51d0778d7"><code>b51d077</code></a> Update: add ignoreNonDeclaration to no-multi-assign rule (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/12545">#12545</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14185">#14185</a>) (t-mangoe)</li>
<li><a href="c981fb1994"><code>c981fb1</code></a> Chore: Upgrade mocha to 8.3.2 (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14278">#14278</a>) (Stephen Wade)</li>
<li><a href="147fc045e6"><code>147fc04</code></a> Docs: Fix <code>repro:needed</code> label in bug report template (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14285">#14285</a>) (Milos Djermanovic)</li>
<li><a href="e1cfde93ee"><code>e1cfde9</code></a> Docs: Update bug report template (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14276">#14276</a>) (Nicholas C. Zakas)</li>
<li><a href="c85c2f1138"><code>c85c2f1</code></a> Docs: Add fatal to Node.js API LintMessage type (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14251">#14251</a>) (Brandon Mills)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/eslint/eslint/blob/master/CHANGELOG.md">eslint's changelog</a>.</em></p>
<blockquote>
<p>v7.24.0 - April 9, 2021</p>
<ul>
<li><a href="0c346c87fa"><code>0c346c8</code></a> Chore: ignore <code>pnpm-lock.yaml</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14303">#14303</a>) (Nitin Kumar)</li>
<li><a href="f06ecdf78b"><code>f06ecdf</code></a> Update: Add disallowTemplateShorthand option in no-implicit-coercion (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13579">#13579</a>) (Remco Haszing)</li>
<li><a href="71a80e38aa"><code>71a80e3</code></a> Docs: fix broken links in Node.js API docs toc (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14296">#14296</a>) (u-sho (Shouhei Uechi))</li>
<li><a href="bd46dc4647"><code>bd46dc4</code></a> Docs: Fix incorrect reference to &quot;braces&quot; in arrow-parens (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14300">#14300</a>) (emclain)</li>
<li><a href="0d6235ea20"><code>0d6235e</code></a> Docs: update header in max-lines (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14273">#14273</a>) (Shinigami)</li>
<li><a href="70c9216401"><code>70c9216</code></a> Docs: Update issue triage to include blocked column (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14275">#14275</a>) (Nicholas C. Zakas)</li>
<li><a href="abca186a84"><code>abca186</code></a> Docs: Fix typo in suggestions section (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14293">#14293</a>) (Kevin Partington)</li>
<li><a href="c4d8b0db62"><code>c4d8b0d</code></a> Fix: no-unused-vars ignoreRestSiblings check assignments (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14163">#14163</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14264">#14264</a>) (YeonJuan)</li>
<li><a href="b51d0778d7"><code>b51d077</code></a> Update: add ignoreNonDeclaration to no-multi-assign rule (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/12545">#12545</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14185">#14185</a>) (t-mangoe)</li>
<li><a href="c981fb1994"><code>c981fb1</code></a> Chore: Upgrade mocha to 8.3.2 (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14278">#14278</a>) (Stephen Wade)</li>
<li><a href="147fc045e6"><code>147fc04</code></a> Docs: Fix <code>repro:needed</code> label in bug report template (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14285">#14285</a>) (Milos Djermanovic)</li>
<li><a href="e1cfde93ee"><code>e1cfde9</code></a> Docs: Update bug report template (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14276">#14276</a>) (Nicholas C. Zakas)</li>
<li><a href="c85c2f1138"><code>c85c2f1</code></a> Docs: Add fatal to Node.js API LintMessage type (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14251">#14251</a>) (Brandon Mills)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="555cbf37f6"><code>555cbf3</code></a> 7.24.0</li>
<li><a href="10b31ffe07"><code>10b31ff</code></a> Build: changelog update for 7.24.0</li>
<li><a href="0c346c87fa"><code>0c346c8</code></a> Chore: ignore <code>pnpm-lock.yaml</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14303">#14303</a>)</li>
<li><a href="f06ecdf78b"><code>f06ecdf</code></a> Update: Add disallowTemplateShorthand option in no-implicit-coercion (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/13579">#13579</a>)</li>
<li><a href="71a80e38aa"><code>71a80e3</code></a> Docs: fix broken links in Node.js API docs toc (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14296">#14296</a>)</li>
<li><a href="bd46dc4647"><code>bd46dc4</code></a> Docs: Fix incorrect reference to &quot;braces&quot; in arrow-parens (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14300">#14300</a>)</li>
<li><a href="0d6235ea20"><code>0d6235e</code></a> Docs: update header in max-lines (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14273">#14273</a>)</li>
<li><a href="70c9216401"><code>70c9216</code></a> Docs: Update issue triage to include blocked column (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14275">#14275</a>)</li>
<li><a href="abca186a84"><code>abca186</code></a> Docs: Fix typo in suggestions section (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14293">#14293</a>)</li>
<li><a href="c4d8b0db62"><code>c4d8b0d</code></a> Fix: no-unused-vars ignoreRestSiblings check assignments (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14163">#14163</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14264">#14264</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/eslint/eslint/compare/v7.23.0...v7.24.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D27762251

Pulled By: nikoant

fbshipit-source-id: b843b1d888d9f125521d463d24d043fff2e6c209
2021-04-14 05:10:33 -07:00
dependabot[bot]
3ba9cf4233 Bump react-refresh from 0.9.0 to 0.10.0 in /desktop (#2186)
Summary:
Bumps [react-refresh](https://github.com/facebook/react/tree/HEAD/packages/react) from 0.9.0 to 0.10.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react/releases">react-refresh's releases</a>.</em></p>
<blockquote>
<h2>v0.10.0</h2>
<h3>React Core</h3>
<h4>New Features</h4>
<ul>
<li>Added warnings to help migrate towards descriptors</li>
<li>Made it possible to server render without React-related markup (<code>data-reactid</code>, <code>data-react-checksum</code>). This DOM will not be mountable by React. <a href="http://facebook.github.io/react/docs/top-level-api.html#react.rendercomponenttostaticmarkup">Read the docs for <code>React.renderComponentToStaticMarkup</code></a></li>
<li>Added support for more attributes:
<ul>
<li><code>srcSet</code> for <code>&lt;img&gt;</code> to specify images at different pixel ratios</li>
<li><code>textAnchor</code> for SVG</li>
</ul>
</li>
</ul>
<h4>Bug Fixes</h4>
<ul>
<li>Ensure all void elements don’t insert a closing tag into the markup.</li>
<li>Ensure <code>className={false}</code> behaves consistently</li>
<li>Ensure <code>this.refs</code> is defined, even if no refs are specified.</li>
</ul>
<h3>Addons</h3>
<ul>
<li><code>update</code> function to deal with immutable data. <a href="http://facebook.github.io/react/docs/update.html">Read the docs</a></li>
</ul>
<h3>react-tools</h3>
<ul>
<li>Added an option argument to <code>transform</code> function. The only option supported is <code>harmony</code>, which behaves the same as <code>jsx --harmony</code> on the command line. This uses the ES6 transforms from <a href="https://github.com/facebook/jstransform">jstransform</a>.</li>
</ul>
<h2>v0.10.0-rc1</h2>
<p>No release notes provided.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react/blob/master/CHANGELOG.md">react-refresh's changelog</a>.</em></p>
<blockquote>
<h2>0.10.0 (March 21, 2014)</h2>
<h3>React Core</h3>
<h4>New Features</h4>
<ul>
<li>Added warnings to help migrate towards descriptors</li>
<li>Made it possible to server render without React-related markup (<code>data-reactid</code>, <code>data-react-checksum</code>). This DOM will not be mountable by React. <a href="https://reactjs.org/docs/top-level-api.html#react.rendercomponenttostaticmarkup">Read the docs for <code>React.renderComponentToStaticMarkup</code></a></li>
<li>Added support for more attributes:
<ul>
<li><code>srcSet</code> for <code>&lt;img&gt;</code> to specify images at different pixel ratios</li>
<li><code>textAnchor</code> for SVG</li>
</ul>
</li>
</ul>
<h4>Bug Fixes</h4>
<ul>
<li>Ensure all void elements don’t insert a closing tag into the markup.</li>
<li>Ensure <code>className={false}</code> behaves consistently</li>
<li>Ensure <code>this.refs</code> is defined, even if no refs are specified.</li>
</ul>
<h3>Addons</h3>
<ul>
<li><code>update</code> function to deal with immutable data. <a href="https://reactjs.org/docs/update.html">Read the docs</a></li>
</ul>
<h3>react-tools</h3>
<ul>
<li>Added an option argument to <code>transform</code> function. The only option supported is <code>harmony</code>, which behaves the same as <code>jsx --harmony</code> on the command line. This uses the ES6 transforms from <a href="https://github.com/facebook/jstransform">jstransform</a>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/facebook/react/commits/v0.10.0/packages/react">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D27760972

Pulled By: nikoant

fbshipit-source-id: a998232901ee6c02686069d119ef7818be4d7404
2021-04-14 05:05:01 -07:00
dependabot[bot]
296ee9c69c Bump tslib from 2.1.0 to 2.2.0 in /desktop (#2191)
Summary:
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.1.0 to 2.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/Microsoft/tslib/releases">tslib's releases</a>.</em></p>
<blockquote>
<h2>tslib 2.2.0</h2>
<p>This release supports TypeScript 4.3's new functionality for ECMAScript private methods and accessors, and private static class members.</p>
<p>It does so by expanding the scope of <code>__classPrivateFieldGet</code> and <code>__classPrivateFieldSet</code>. See <a href="https://github-redirect.dependabot.com/microsoft/tslib/pull/146">microsoft/tslib#146</a> for more details.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f7eea49789"><code>f7eea49</code></a> Bump  version to  2.2.0.</li>
<li><a href="145fdc06d9"><code>145fdc0</code></a> update private class element helpers (<a href="https://github-redirect.dependabot.com/Microsoft/tslib/issues/2">https://github.com/facebook/flipper/issues/2</a>) (<a href="https://github-redirect.dependabot.com/Microsoft/tslib/issues/146">https://github.com/facebook/flipper/issues/146</a>)</li>
<li>See full diff in <a href="https://github.com/Microsoft/tslib/compare/2.1.0...2.2.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D27760966

Pulled By: nikoant

fbshipit-source-id: 4b83837bd256156b418db024fdfd0e0e933d0d3f
2021-04-14 04:34:05 -07:00
Anton Nikolaev
576afd36a1 Downgrade electron to 11.2.3
Summary:
Downgrade electron to 11.2.3 to work-around performance problems described in https://github.com/facebook/flipper/issues/2173.

Changelog: Electron downgraded to v11.2.3 to work-around performance issues on MacOS Big Sur

Reviewed By: passy

Differential Revision: D27732746

fbshipit-source-id: cec187f47ac5b734c33f3e6eecc5cf0b03d76c1a
2021-04-13 09:35:35 -07:00
Anton Nikolaev
dc7226b7dc Script for plugin type-checking (#2172)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/2172

New script which runs "tsc" for all plugins, receives list of errors and then checks which plugins are affected. It works for shared libs too, e.g. if there is an error in a shared library, then all plugins dependant on it will be counted as affected. For convenience, script saves list of errors affecting each plugin to "tsc-errors.log" in plugin folder.

This script will be used for automatic type-checking plugins against current "stable" and "insiders" versions of Flipper.

An alternative to this implementation would be to simply run "tsc" for each plugin individually, but such implementation takes a lot of time (5+ sec per plugin) and so cannot be effectively used on diffs.

Reviewed By: mweststrate

Differential Revision: D27499765

fbshipit-source-id: fcbbfc94a13e6c7c5beff0c889a929f84c41b2dd
2021-04-09 05:22:01 -07:00
Anton Nikolaev
e7c5a5cc93 Check that all dependencies provided by Flipper core are specified as peers in plugins
Summary: This is a guard to ensure all Flipper built-in packages are declared as peer dependencies. It also removes all of them from nested node_modules after installation to be 100% sure they always loaded from the root folder, because e.g. react can be still installed as a transitive dependency even it is not declared as dependency directly.

Reviewed By: passy

Differential Revision: D27040267

fbshipit-source-id: 1e315a6b280b36ab20778ee261aa386b51d9f964
2021-04-09 05:22:00 -07:00
Anton Nikolaev
4d3e631ce6 Transform fb-internal code within plugins
Summary: This diff changes flipper-pkg to allow using fb-internal code in plugins when they are packaged as standalone packages. It basically transforms fb-stubs/fb folders in plugins in the same way as for Flipper app.

Reviewed By: passy

Differential Revision: D27173406

fbshipit-source-id: 8ba97d5f57b5e276c19d13270a0d810873504add
2021-04-09 05:22:00 -07:00
Anton Nikolaev
b45b5f854a Move layout plugin sidebar extensions to the plugin package
Summary: Moved layout plugin sidebar extensions to the plugin package.

Reviewed By: passy

Differential Revision: D27036489

fbshipit-source-id: 5b3406e5c50ba61709d925a3c0cb07a6fd7552db
2021-04-09 05:22:00 -07:00
Anton Nikolaev
e5261967cb Link shared libs to allow re-using them in both in public and fb-internal plugins
Summary:
Link plugin shared libraries to the "plugins/node_modules" dir so they can be used as peer dependencies by both public and fb-internal plugins.

```
plugins
- node_modules
-- fb_shared_lib (symlink pointing to "plugins/fb/fb_shared_lib")
-- public_shared_lib (symlink pointing to "plugins/public/public_shared_lib")
- fb
-- fb_shared_lib
-- fb_plugin (can now use both fb_shared_lib and public_shared_lib as peer dependencies)
- public
-- public_shared_lib
-- public_plugin (can now use both public_shared_lib and fb_shared_lib (optionally if it's an fb-internal repo) as peer dependencies)
```

Reviewed By: passy

Differential Revision: D27034936

fbshipit-source-id: 68ee5312060ff57649ae061dd7dd14f8beb6d4a1
2021-04-09 05:22:00 -07:00
Anton Nikolaev
4997cb9847 Show file path and position when babel transformation failed
Summary: Currently when babel transformation is failed, only stack is shown. It's better to log the whole error object because it also contains path and line number of the code failing to transpile.

Reviewed By: passy

Differential Revision: D27034942

fbshipit-source-id: 76e03871c924489e2698a26622e6bc6fdd305560
2021-04-09 05:22:00 -07:00
Anton Nikolaev
b3274a8450 Plugin folders re-structuring
Summary:
Here I'm changing plugin repository structure to allow re-using of shared packages between both public and fb-internal plugins, and to ensure that public plugins has their own yarn.lock as this will be required to implement reproducible jobs checking plugin compatibility with released flipper versions.

Please note that there are a lot of moved files in this diff, make sure to click "Expand all" to see all that actually changed (there are not much of them actually).

New proposed structure for plugin packages:
```
- root
- node_modules - modules included into Flipper: flipper, flipper-plugin, react, antd, emotion
-- plugins
 --- node_modules - modules used by both public and fb-internal plugins (shared libs will be linked here, see D27034936)
 --- public
---- node_modules - modules used by public plugins
---- pluginA
----- node_modules - modules used by plugin A exclusively
---- pluginB
----- node_modules - modules used by plugin B exclusively
 --- fb
---- node_modules - modules used by fb-internal plugins
---- pluginC
----- node_modules - modules used by plugin C exclusively
---- pluginD
----- node_modules - modules used by plugin D exclusively
```
I've moved all public plugins under dir "plugins/public" and excluded them from root yarn workspaces. Instead, they will have their own yarn workspaces config and yarn.lock and they will use flipper modules as peer dependencies.

Reviewed By: mweststrate

Differential Revision: D27034108

fbshipit-source-id: c2310e3c5bfe7526033f51b46c0ae40199fd7586
2021-04-09 05:22:00 -07:00
Michel Weststrate
32bf4c32c2 Remove Console feature
Reviewed By: fabiomassimo

Differential Revision: D27622952

fbshipit-source-id: 45ce5188a55f50b8ca28f28f354d9402902a5df8
2021-04-09 05:03:28 -07:00
Flipper Bot
ac70d35671 Flipper Release: v0.84.0
Summary: Releasing version 0.84.0

Reviewed By: nikoant

Differential Revision: D27617439

fbshipit-source-id: 8e4ca47eeddca8a8b46d051a7f70133dab04c3ac
2021-04-07 08:50:41 -07:00
Anton Nikolaev
04c5fb61f4 Rollback removing paths from tsconfig.json
Summary: Returning back paths config in tsconfig.json which I removed recently. Without them typescript compilation is required when exported APIs changed in dependency packages, e.g. in "flipper-plugin", otherwise lint/tests fails. So it's better to keep them for convenience.

Reviewed By: mweststrate

Differential Revision: D27619748

fbshipit-source-id: bb5929526ee2bf6bd06a5f15dbf898b7ca6deea7
2021-04-07 08:31:04 -07:00
Michel Weststrate
49c4e2f56d Remove Interaction tracker
Reviewed By: passy

Differential Revision: D27619537

fbshipit-source-id: 970a1661e2b4cafe5fb6a79082d04aa1f9644439
2021-04-07 07:55:13 -07:00
Michel Weststrate
53c557f923 Move DataInspector to flipper-plugin
Summary:
This diff moves the rest of the DataInspector jungle to flipper-plugin. No actual improvements are made yet, but the code is decoupled from Electron and the legacy theming. For example by using Antd based context menus.

Note that `ManagedDataInspector` is now rebranded `DataInspector`, as that is the only variation that should (and is) used publicly.

For the interactionTracker removal, see next diff.

SearchableDataInspector will be addressed in a next diff

Reviewed By: passy

Differential Revision: D27603125

fbshipit-source-id: 188bd000260e4e4704202ce02c7fc98319f0bc22
2021-04-07 07:55:13 -07:00
Michel Weststrate
9030a98c6e Move DataDescription utility to flipper-plugin
Summary:
Another utility component used by DataInspector.

Colors have been hardcoded for now, to decouple from the classic Flipper color palette. Will organize this better later in this stack, and when addressing / adding support for dark mode.

Buttons, checkboxes, selects have been replaced by Antd's counterpart.

Unlike ManagedDataTable, the DataInspector is primarily moved rather than copied & adapted, as the underlying abstraction / API won't change significantly. So the changes here will immediately affect all plugins in Flipper using this component.

Reviewed By: passy

Differential Revision: D27603126

fbshipit-source-id: bacd48c9af2b591033e7f2352627f11acb4df589
2021-04-07 07:55:13 -07:00
Michel Weststrate
b6674bf96b Move highlighter to flipper-plugin
Summary: This stack moves the DataInspector component to flipper-plugin. The first diffs will move some utility abstractions to turn this into smaller steps

Reviewed By: passy

Differential Revision: D27591890

fbshipit-source-id: d0285ca31b6c9b334000dd15c722b9bda7638d73
2021-04-07 07:55:12 -07:00
Michel Weststrate
cd27e4c010 Folder rename datatable -> data-table
Summary: just a rename, as we will have `data-inspector` folder as well in next diffs.

Reviewed By: passy

Differential Revision: D27591891

fbshipit-source-id: b1fe92cbf4be1633e623e59b694efc3f687c3413
2021-04-07 07:55:12 -07:00
Michel Weststrate
07c4470ab9 Stricter types for DataDescription
Summary: Made datatypes used by DataInspector more strictly typed (in the hope to be able to drop some, but all are still in use, although the distinction between different elements isn't always clear).

Reviewed By: passy

Differential Revision: D27266825

fbshipit-source-id: 6a1c74b0ae3daff6299ca598b18a205d17c42e22
2021-04-07 07:55:12 -07:00
Anton Nikolaev
eabf0fc340 Fix native window objects leak after refreshes
Summary:
It looks like electron creates new native window object after each window refresh, but we hold previous objects because of listeners attached to them. In dev mode, Electron signalises about that in console log each time when window is focused / blured after refresh:
```
Attempting to call a function in a renderer window that has been closed or released.
Function provided here: init-fast-refresh.bundle?platform=web&dev=true&minify=false:800356:19
```

Reviewed By: passy

Differential Revision: D27619305

fbshipit-source-id: 51d1590903a37dba721fb7a711fdebb9f0034b98
2021-04-07 05:52:27 -07:00
Mykyta Sikriier
c9b6f6c7d9 ANDROID_SDK_ROOT support (#2106)
Summary:
According to Google, ANDROID_HOME is deprecated.
This means, that having only ANDROID_SDK_ROOT as environment variable leading to Android SDK is enough.
Flipper supports only ANDROID_HOME, so I would like to add ANDROID_SDK_ROOT support.
However, there is a set of rules of ANDROID_HOME and ANDROID_SDK_ROOT priority.
Everything is mentioned on a this page: https://developer.android.com/studio/command-line/variables

## Changelog
Added ANDROID_SDK_ROOT environment variable support

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

Test Plan: Probably I would need a help with this

Reviewed By: mweststrate

Differential Revision: D27505024

Pulled By: passy

fbshipit-source-id: 8bdc66a9652c673fd44944d87af1efc9e93d0f1b
2021-04-07 03:19:34 -07:00
dependabot[bot]
9ce16354f6 Bump rsocket-types from 0.0.16 to 0.0.25 in /desktop (#2159)
Summary:
Bumps [rsocket-types](https://github.com/rsocket/rsocket-js) from 0.0.16 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.16...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-types since your current version.</p>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rsocket-types&package-manager=npm_and_yarn&previous-version=0.0.16&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/2159

Reviewed By: nikoant

Differential Revision: D27589269

Pulled By: mweststrate

fbshipit-source-id: 11b728374a2ab39faf7cbaba9f27dfeb23ef9a5e
2021-04-06 06:30:35 -07:00
dependabot[bot]
9583da37e7 Bump socket.io from 4.0.0 to 4.0.1 in /desktop (#2161)
Summary:
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.0.0 to 4.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/socketio/socket.io/releases">socket.io's releases</a>.</em></p>
<blockquote>
<h2>4.0.1</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>typings:</strong> add fallback to untyped event listener (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/3834">#3834</a>) (<a href="a11152f42b">a11152f</a>)</li>
<li><strong>typings:</strong> update return type from emit (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/3843">#3843</a>) (<a href="1a72ae4fe2">1a72ae4</a>)</li>
</ul>
<h4>Links:</h4>
<ul>
<li>Diff: <a href="https://github.com/socketio/socket.io/compare/4.0.0...4.0.1">https://github.com/socketio/socket.io/compare/4.0.0...4.0.1</a></li>
<li>Client release: <a href="https://github.com/socketio/socket.io-client/releases/tag/4.0.1">4.0.1</a></li>
<li>engine.io version:  <code>~5.0.0</code></li>
<li>ws version: <code>~7.4.2</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/socketio/socket.io/blob/master/CHANGELOG.md">socket.io's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/socketio/socket.io/compare/4.0.0...4.0.1">4.0.1</a> (2021-03-31)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>typings:</strong> add fallback to untyped event listener (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/3834">#3834</a>) (<a href="a11152f42b">a11152f</a>)</li>
<li><strong>typings:</strong> update return type from emit (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/3843">#3843</a>) (<a href="1a72ae4fe2">1a72ae4</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="1faa7e3aea"><code>1faa7e3</code></a> chore(release): 4.0.1</li>
<li><a href="a11152f42b"><code>a11152f</code></a> fix(typings): add fallback to untyped event listener (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/3834">#3834</a>)</li>
<li><a href="259f29720b"><code>259f297</code></a> docs(examples): remove unnecessary type annotations (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/3855">#3855</a>)</li>
<li><a href="b4ae8d2e19"><code>b4ae8d2</code></a> docs(examples): update all examples to Socket.IO v4</li>
<li><a href="64be1c9985"><code>64be1c9</code></a> docs(examples): fix chat example (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/3787">#3787</a>)</li>
<li><a href="1a72ae4fe2"><code>1a72ae4</code></a> fix(typings): update return type from emit (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/3843">#3843</a>)</li>
<li>See full diff in <a href="https://github.com/socketio/socket.io/compare/4.0.0...4.0.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=socket.io&package-manager=npm_and_yarn&previous-version=4.0.0&new-version=4.0.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/2161

Reviewed By: nikoant

Differential Revision: D27589260

Pulled By: mweststrate

fbshipit-source-id: 381b38b0ad790737bc56d2cbc5dbd7b93a134acc
2021-04-06 06:30:35 -07:00
dependabot[bot]
c26963de41 Bump query-string from 6.13.5 to 7.0.0 in /desktop (#2160)
Summary:
Bumps [query-string](https://github.com/sindresorhus/query-string) from 6.13.5 to 7.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/sindresorhus/query-string/releases">query-string's releases</a>.</em></p>
<blockquote>
<h2>v7.0.0</h2>
<h3>Breaking</h3>
<ul>
<li>Implement skips for stringify array format comma (<a href="https://github-redirect.dependabot.com/sindresorhus/query-string/issues/304">https://github.com/facebook/flipper/issues/304</a>)  828f032
<ul>
<li>This is a breaking change to the default functionality of <code>.stringify()</code> for <code>comma</code> and <code>separator</code> array modes given that <code>skipNull</code> and <code>skipEmptyString</code> are default false but the original functionality of <code>.stringify()</code> for these 2 modes behaved as though <code>skipNull</code> and <code>skipEmptyString</code> were true.</li>
</ul>
</li>
</ul>
<h3>Improvements</h3>
<ul>
<li>Add support for <code>arrayFormat: &amp;[https://github.com/facebook/flipper/issues/39](https://github.com/sindresorhus/query-string/issues/39);bracket-separator&amp;[https://github.com/facebook/flipper/issues/39](https://github.com/sindresorhus/query-string/issues/39);</code> (<a href="https://github-redirect.dependabot.com/sindresorhus/query-string/issues/276">https://github.com/facebook/flipper/issues/276</a>)  b10bc19</li>
</ul>
<p><a href="https://github.com/sindresorhus/query-string/compare/v6.14.1...v7.0.0">https://github.com/sindresorhus/query-string/compare/v6.14.1...v7.0.0</a></p>
<h2>v6.14.1</h2>
<ul>
<li>Fix TypeScript type for <code>stringifyUrl()</code>  a6d4a3f</li>
</ul>
<p><a href="https://github.com/sindresorhus/query-string/compare/v6.14.0...v6.14.1">https://github.com/sindresorhus/query-string/compare/v6.14.0...v6.14.1</a></p>
<h2>v6.14.0</h2>
<ul>
<li>Add <a href="https://github.com/sindresorhus/query-string#pickurl-keys-options"><code>.pick()</code></a> and <a href="https://github.com/sindresorhus/query-string#excludeurl-keys-options"><code>.exclude()</code></a> (<a href="https://github-redirect.dependabot.com/sindresorhus/query-string/issues/282">https://github.com/facebook/flipper/issues/282</a>)  6ed5cb3</li>
<li>Ignore ending ampersand when parsing (<a href="https://github-redirect.dependabot.com/sindresorhus/query-string/issues/306">#306</a>)  667c9e9</li>
</ul>
<p><a href="https://github.com/sindresorhus/query-string/compare/v6.13.8...v6.14.0">https://github.com/sindresorhus/query-string/compare/v6.13.8...v6.14.0</a></p>
<h2>v6.13.8</h2>
<ul>
<li>Work around TypeScript bug  94ebcd4</li>
</ul>
<p><a href="https://github.com/sindresorhus/query-string/compare/v6.13.7...v6.13.8">https://github.com/sindresorhus/query-string/compare/v6.13.7...v6.13.8</a></p>
<h2>v6.13.7</h2>
<ul>
<li>Allow readonly <code>Stringifiable[]</code> in <code>StringifiableRecord</code> (<a href="https://github-redirect.dependabot.com/sindresorhus/query-string/issues/291">https://github.com/facebook/flipper/issues/291</a>)  71d84b7</li>
</ul>
<p><a href="https://github.com/sindresorhus/query-string/compare/v6.13.6...v6.13.7">https://github.com/sindresorhus/query-string/compare/v6.13.6...v6.13.7</a></p>
<h2>v6.13.6</h2>
<ul>
<li>When only receiving values with encoded array value, decode values (<a href="https://github-redirect.dependabot.com/sindresorhus/query-string/issues/287">https://github.com/facebook/flipper/issues/287</a>)  b38f06c</li>
</ul>
<p><a href="https://github.com/sindresorhus/query-string/compare/v6.13.5...v6.13.6">https://github.com/sindresorhus/query-string/compare/v6.13.5...v6.13.6</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="2099277275"><code>2099277</code></a> 7.0.0</li>
<li><a href="b10bc19699"><code>b10bc19</code></a> Add support for <code>arrayFormat: 'bracket-separator'</code> (<a href="https://github-redirect.dependabot.com/sindresorhus/query-string/issues/276">https://github.com/facebook/flipper/issues/276</a>)</li>
<li><a href="828f032306"><code>828f032</code></a> Implement skips for stringify array format comma (<a href="https://github-redirect.dependabot.com/sindresorhus/query-string/issues/304">https://github.com/facebook/flipper/issues/304</a>)</li>
<li><a href="44abc66628"><code>44abc66</code></a> Meta tweaks</li>
<li><a href="0090a34182"><code>0090a34</code></a> 6.14.1</li>
<li><a href="a6d4a3f480"><code>a6d4a3f</code></a> Fix TypeScript type for <code>stringifyUrl()</code></li>
<li><a href="2a178815cf"><code>2a17881</code></a> 6.14.0</li>
<li><a href="6ed5cb3d36"><code>6ed5cb3</code></a> Add <code>.pick()</code> and <code>.exclude()</code> (<a href="https://github-redirect.dependabot.com/sindresorhus/query-string/issues/282">https://github.com/facebook/flipper/issues/282</a>)</li>
<li><a href="667c9e9d29"><code>667c9e9</code></a> Ignore ending ampersand when parsing (<a href="https://github-redirect.dependabot.com/sindresorhus/query-string/issues/306">#306</a>)</li>
<li><a href="39aef91646"><code>39aef91</code></a> Update a link</li>
<li>Additional commits viewable in <a href="https://github.com/sindresorhus/query-string/compare/v6.13.5...v7.0.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: nikoant

Differential Revision: D27589266

Pulled By: mweststrate

fbshipit-source-id: efc5be91d19b8555a50b2bbb414ded6da10751b4
2021-04-06 06:30:34 -07:00
dependabot[bot]
3265faddc3 Bump eslint-import-resolver-typescript from 2.3.0 to 2.4.0 in /desktop (#2164)
Summary:
Bumps [eslint-import-resolver-typescript](https://github.com/alexgorbatchev/eslint-import-resolver-typescript) from 2.3.0 to 2.4.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/alexgorbatchev/eslint-import-resolver-typescript/releases">eslint-import-resolver-typescript's releases</a>.</em></p>
<blockquote>
<h2>v2.4.0</h2>
<h2><a href="https://github.com/alexgorbatchev/eslint-import-resolver-typescript/compare/v2.3.0...v2.4.0">2.4.0</a> (2021-02-16)</h2>
<h3>Features</h3>
<ul>
<li>remove any querystring from imports (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/67">https://github.com/facebook/flipper/issues/67</a>) (<a href="82ef3573fa">82ef357</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>remove .tsbuildinfo and d.ts.map files from package (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/57">https://github.com/facebook/flipper/issues/57</a>) (<a href="15f2849c49">15f2849</a>)</li>
<li>remove redundant condition (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/69">https://github.com/facebook/flipper/issues/69</a>) (<a href="ba62e65e7c">ba62e65</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/alexgorbatchev/eslint-import-resolver-typescript/blob/master/CHANGELOG.md">eslint-import-resolver-typescript's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/alexgorbatchev/eslint-import-resolver-typescript/compare/v2.3.0...v2.4.0">2.4.0</a> (2021-02-16)</h2>
<h3>Features</h3>
<ul>
<li>remove any querystring from imports (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/67">https://github.com/facebook/flipper/issues/67</a>) (<a href="82ef3573fa">82ef357</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>remove .tsbuildinfo and d.ts.map files from package (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/57">https://github.com/facebook/flipper/issues/57</a>) (<a href="15f2849c49">15f2849</a>)</li>
<li>remove redundant condition (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/69">https://github.com/facebook/flipper/issues/69</a>) (<a href="ba62e65e7c">ba62e65</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="9b34271d16"><code>9b34271</code></a> chore(release): 2.4.0</li>
<li><a href="ba62e65e7c"><code>ba62e65</code></a> fix: remove redundant condition (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/69">https://github.com/facebook/flipper/issues/69</a>)</li>
<li><a href="82ef3573fa"><code>82ef357</code></a> feat: remove any querystring from imports (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/67">https://github.com/facebook/flipper/issues/67</a>)</li>
<li><a href="2029caed4a"><code>2029cae</code></a> docs: clarify example in README (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/63">https://github.com/facebook/flipper/issues/63</a>)</li>
<li><a href="15f2849c49"><code>15f2849</code></a> fix: remove .tsbuildinfo and d.ts.map files from package (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/57">https://github.com/facebook/flipper/issues/57</a>)</li>
<li>See full diff in <a href="https://github.com/alexgorbatchev/eslint-import-resolver-typescript/compare/v2.3.0...v2.4.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: nikoant

Differential Revision: D27589249

Pulled By: mweststrate

fbshipit-source-id: 80ecbf32b2fdf62d9b94c48bc46be263cd40c54c
2021-04-06 06:30:34 -07:00
Michel Weststrate
7a45941973 Fixed null pointer handling in login / QPL flow
Summary: Found an NPE during testing a prod build that I encountered a few times before, which occurs when the user isn't logged in. Maked types stricter and this probably fixes an old bug where login status icon could be out of sync as well.

Reviewed By: nikoant

Differential Revision: D27589740

fbshipit-source-id: 419aaca77a997e01e8d9b0067e604a8dad019551
2021-04-06 04:37:12 -07:00
dependabot[bot]
9f8b6e149a Bump eslint-plugin-prettier from 3.1.4 to 3.3.1 in /desktop (#2163)
Summary:
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.1.4 to 3.3.1.
<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.3.1 (2021-01-04)</h2>
<ul>
<li>fix: add eslint-config-prettier as an optional peer dependency (<a href="https://github.com/prettier/eslint-plugin-prettier/blob/master/git@github.com:prettier/eslint-plugin-prettier/issues/374">https://github.com/facebook/flipper/issues/374</a>) (<a href="d59df27890">d59df27</a>)</li>
<li>build(deps-dev): bump eslint from 7.16.0 to 7.17.0 (<a href="b87985d8b1">b87985d</a>)</li>
<li>build(deps-dev): bump eslint from 7.15.0 to 7.16.0 (<a href="11e427e5d6">11e427e</a>)</li>
</ul>
<h2>v3.3.0 (2020-12-13)</h2>
<ul>
<li>Minor: Perf improvement: Do not clear the config cache on each run (<a href="https://github.com/prettier/eslint-plugin-prettier/blob/master/git@github.com:prettier/eslint-plugin-prettier/issues/368">https://github.com/facebook/flipper/issues/368</a>) (<a href="1b90ea7526">1b90ea7</a>)</li>
<li>Add peerDependenciesMeta block (<a href="https://github.com/prettier/eslint-plugin-prettier/blob/master/git@github.com:prettier/eslint-plugin-prettier/issues/367">https://github.com/facebook/flipper/issues/367</a>) (<a href="86608d5084">86608d5</a>)</li>
<li>build(deps-dev): bump eslint from 7.14.0 to 7.15.0 (<a href="885f48405e">885f484</a>)</li>
<li>build(deps-dev): bump eslint from 7.3.1 to 7.14.0 (<a href="cebc80b39d">cebc80b</a>)</li>
</ul>
<h2>v3.2.0 (2020-12-03)</h2>
<ul>
<li>Skip CI for eslint 6 + node 8 (<a href="https://github.com/prettier/eslint-plugin-prettier/blob/master/git@github.com:prettier/eslint-plugin-prettier/issues/364">https://github.com/facebook/flipper/issues/364</a>) (<a href="f8f08e4835">f8f08e4</a>)</li>
<li>Turn off problematic rules in recommended config (prepare for next eslint-config-prettier version) (<a href="https://github.com/prettier/eslint-plugin-prettier/blob/master/git@github.com:prettier/eslint-plugin-prettier/issues/360">https://github.com/facebook/flipper/issues/360</a>) (<a href="a1e5591120">a1e5591</a>)</li>
<li>Create dependabot.yml (<a href="f58b6c7c35">f58b6c7</a>)</li>
<li>docs(README): fix prettier getFileInfo link (<a href="https://github.com/prettier/eslint-plugin-prettier/blob/master/git@github.com:prettier/eslint-plugin-prettier/issues/335">https://github.com/facebook/flipper/issues/335</a>) (<a href="5a690f14d7">5a690f1</a>)</li>
<li>build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.2 to 2.3.0 (<a href="8614c458ed">8614c45</a>)</li>
<li>build(deps-dev): bump eslint from 7.3.0 to 7.3.1 (<a href="12d9ed877a">12d9ed8</a>)</li>
<li>build(deps-dev): bump eslint from 7.2.0 to 7.3.0 (<a href="5a6f42e4ed">5a6f42e</a>)</li>
<li>chore: update CI badge in readme (<a href="5012b665f9">5012b66</a>)</li>
<li>Use Github Actions for CI (<a href="https://github.com/prettier/eslint-plugin-prettier/blob/master/git@github.com:prettier/eslint-plugin-prettier/issues/305">#305</a>) (<a href="41eb64fda3">41eb64f</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b0ddb107cc"><code>b0ddb10</code></a> Build: update package.json and changelog for v3.3.1</li>
<li><a href="d59df27890"><code>d59df27</code></a> fix: add eslint-config-prettier as an optional peer dependency (<a href="https://github-redirect.dependabot.com/prettier/eslint-plugin-prettier/issues/374">https://github.com/facebook/flipper/issues/374</a>)</li>
<li><a href="b87985d8b1"><code>b87985d</code></a> build(deps-dev): bump eslint from 7.16.0 to 7.17.0</li>
<li><a href="11e427e5d6"><code>11e427e</code></a> build(deps-dev): bump eslint from 7.15.0 to 7.16.0</li>
<li><a href="0ecf183ec2"><code>0ecf183</code></a> Build: update package.json and changelog for v3.3.0</li>
<li><a href="1b90ea7526"><code>1b90ea7</code></a> Minor: Do not clear the config cache on each run (<a href="https://github-redirect.dependabot.com/prettier/eslint-plugin-prettier/issues/368">https://github.com/facebook/flipper/issues/368</a>)</li>
<li><a href="86608d5084"><code>86608d5</code></a> Add peerDependenciesMeta block (<a href="https://github-redirect.dependabot.com/prettier/eslint-plugin-prettier/issues/367">https://github.com/facebook/flipper/issues/367</a>)</li>
<li><a href="885f48405e"><code>885f484</code></a> build(deps-dev): bump eslint from 7.14.0 to 7.15.0</li>
<li><a href="cebc80b39d"><code>cebc80b</code></a> build(deps-dev): bump eslint from 7.3.1 to 7.14.0</li>
<li><a href="bd0ac3bcbf"><code>bd0ac3b</code></a> Build: update package.json and changelog for v3.2.0</li>
<li>Additional commits viewable in <a href="https://github.com/prettier/eslint-plugin-prettier/compare/v3.1.4...v3.3.1">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.1.4&new-version=3.3.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/2163

Reviewed By: nikoant

Differential Revision: D27589253

Pulled By: mweststrate

fbshipit-source-id: 448d7e0f75338e964ea54187425f37c4e9a26809
2021-04-06 04:16:45 -07:00