Commit Graph

5203 Commits

Author SHA1 Message Date
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
Michel Weststrate
9e09091e14 Bump deps to Flipper 0.85
Summary: Bumped FlipperKit devs in example project

Reviewed By: passy

Differential Revision: D27878144

fbshipit-source-id: 74c7a7141f25702ad9f048cd45dfe000f8193072
2021-04-20 05:46:34 -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]
8b98a33bcf Bump eslint-plugin-react from 7.23.1 to 7.23.2 in /flipper-js-client-sdk (#2179)
Summary:
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.23.1 to 7.23.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md">eslint-plugin-react's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.23.1...v7.23.2">7.23.2</a> - 2021.04.08</h2>
<h3>Fixed</h3>
<ul>
<li>[<code>jsx-max-depth</code>]: Prevent getting stuck in circular references (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2957">#2957</a>[] <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a>)</li>
<li>[<code>jsx-no-target-blank</code>]: fix handling of <code>warnOnSpreadAttributes</code> being false (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2953">#2953</a>[] <a href="https://github.com/Nokel81"><code>@​Nokel81</code></a>)</li>
<li>[<code>forbid-dom-props</code>]: support <code>JSXNamespacedName</code> (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2961">#2961</a>[] <a href="https://github.com/mrtnzlml"><code>@​mrtnzlml</code></a>)</li>
<li>[<code>forbid-component-props</code>]: support <code>JSXNamespacedName</code> (<a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Fix CHANGELOG.md (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2950">#2950</a>[] <a href="https://github.com/JounQin"><code>@​JounQin</code></a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2961">#2961</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2961">yannickcr/eslint-plugin-react#2961</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2953">#2953</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2953">yannickcr/eslint-plugin-react#2953</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2957">#2957</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2957">yannickcr/eslint-plugin-react#2957</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2950">#2950</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2950">yannickcr/eslint-plugin-react#2950</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="0d999ef209"><code>0d999ef</code></a> Update CHANGELOG and bump version</li>
<li><a href="cbe99e019c"><code>cbe99e0</code></a> [Fix] <code>forbid-component-props</code>: support <code>JSXNamespacedName</code></li>
<li><a href="2f376e0f37"><code>2f376e0</code></a> [Fix] <code>forbid-dom-props</code>: support <code>JSXNamespacedName</code></li>
<li><a href="6b6a14a65a"><code>6b6a14a</code></a> [Fix] <code>jsx-no-target-blank</code>: fix handling of <code>warnOnSpreadAttributes</code> being f...</li>
<li><a href="7ce9106e48"><code>7ce9106</code></a> [Fix] <code>jsx-max-depth</code>: Prevent getting stuck in circular references</li>
<li><a href="106ccf4ffd"><code>106ccf4</code></a> [Tests] switch from coveralls to codecov</li>
<li><a href="b4cdf259dd"><code>b4cdf25</code></a> [Dev Deps] update <code>types/eslint</code>, <code>types/estree</code>, <code>types/node</code></li>
<li><a href="752dc96981"><code>752dc96</code></a> [actions] use <code>node/install</code> instead of <code>node/run</code></li>
<li><a href="c2a790a347"><code>c2a790a</code></a> Fix CHANGELOG.md</li>
<li>See full diff in <a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.23.1...v7.23.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-react&package-manager=npm_and_yarn&previous-version=7.23.1&new-version=7.23.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

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

Reviewed By: passy

Differential Revision: D27763561

Pulled By: nikoant

fbshipit-source-id: 7b03e77b581f2011fd35522732a1a0cf78856fb4
2021-04-15 07:38:08 -07:00
dependabot[bot]
010ef323a6 Bump @typescript-eslint/parser from 4.20.0 to 4.21.0 in /flipper-js-client-sdk (#2177)
Summary:
Bumps [typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) 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/parser</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/parser/CHANGELOG.md"><code>@​typescript-eslint/parser</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/parser</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/parser">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@typescript-eslint/parser&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/2177

Reviewed By: passy

Differential Revision: D27763553

Pulled By: nikoant

fbshipit-source-id: 52b216e9835800989b6763e50d9c2937054bb07b
2021-04-15 07:34:27 -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
dependabot[bot]
501a563149 Bump eslint from 7.23.0 to 7.24.0 in /flipper-js-client-sdk (#2175)
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/2175

Reviewed By: passy

Differential Revision: D27763548

Pulled By: nikoant

fbshipit-source-id: 5cd31588ca8465e02ca73234b07dc46ac1317a73
2021-04-15 05:40:33 -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
b2adb8c80d Flipper Snapshot Bump: v0.85.1-SNAPSHOT
Summary: Releasing snapshot version 0.85.1-SNAPSHOT

Reviewed By: jknoxville

Differential Revision: D27766004

fbshipit-source-id: 3187c2984cf778160b4176e373d1d036c6ac1c1a
2021-04-14 09:49:45 -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
Michel Weststrate
98c3913b62 Back out "Bump dependencies of ReactNativeFlipperExample"
Summary:
Original commit changeset: 7c72d541f9f2 / D26723361 (4a71a5abd1)

Pods are not released yet(?) and nor are our npm packages when our CI runs for the first time after pushing a release to GH, which would make the job always fail. Backing out of the process for now.

For the npm package, dependabot will automatically take care of it. The gradle properties / podfile will remain manually bumps for now.

Reviewed By: nikoant

Differential Revision: D27764997

fbshipit-source-id: db505c2d0882f74b2f5d4e0454463a5e08501a90
2021-04-14 08:19:25 -07:00
Michel Weststrate
39ae6bf6b0 Back out "Fix RN GH example jobs failing after release bump"
Summary:
As discussed, the npm packages haven't been released yet during this step of the process, so we can't update the `yarn.lock` yet.

Bumping itself is reverted in the next diff.

Original commit changeset: 84fa2d35b5f4 / D27591155 (ebcb535fd3)

Reviewed By: nikoant

Differential Revision: D27764974

fbshipit-source-id: 36d4e5b329e8d045f2d789e883c54a47eddf524a
2021-04-14 08:19:25 -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
5b0f7e8757 Docs on how to include fb-only parts into open-sourced plugins
Summary: Added docs on how to include fb-only parts into open-sourced plugins

Reviewed By: mweststrate

Differential Revision: D27678276

fbshipit-source-id: e0c3de8ed57a7d25f291e8e6ac15ed32812a0cbc
2021-04-09 08:57:15 -07:00
Pritesh Nandgaonkar
6bd3eee0ee Add troubleshooting guide for when user tries to connect through incompatible app
Summary: This diff adds documentation and matrix explaining the supported iOS builds. It also tells about the way to enable www cert exchange.

Reviewed By: mweststrate

Differential Revision: D27676056

fbshipit-source-id: 5c8b1d0e73dd95c3ebc534fb0df7505151a6e6be
2021-04-09 06:40:08 -07:00
Anton Nikolaev
830e380127 Update public plugins location in docs
Summary: Updated docs after moving public plugins to "desktop/plugins/public". Additionally edited the pages related to plugins which were a bit outdated.

Reviewed By: jknoxville

Differential Revision: D27646670

fbshipit-source-id: 26499aff492db817156fecf20fa8358efc70ae8f
2021-04-09 05:22:01 -07:00
Anton Nikolaev
cce9483c09 Script to download stable/insiders sources for type-checking plugins against them.
Summary:
New script which can download "stable" or "insider" sources and link current version of plugins there, so we could check whether they are backward compatible.

It extracts downloaded sources to "desktop-branch-stable" / "desktop-branch-insiders" and symlinks current plugins there as "plugins-current" subfolder. It makes it even possible to open these folders in VSCode and fix highlighted typing problems if author want to fix compatibility with older versions of Flipper.

Reviewed By: mweststrate

Differential Revision: D27501743

fbshipit-source-id: 7dd76928ec4ac0c42191f67e0abd214b5bec1495
2021-04-09 05:22:01 -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
Anton Nikolaev
ab255f0d13 Update yarn.lock for ReactNativeFlipperExample
Summary:
Recently our release script started to bump "react-native-flipper" dependency. The problem is that yarn.lock is not updated when the version bumped, so they lost sync with package.json and build on github are failing because of that: https://github.com/facebook/flipper/pull/2172/checks?check_run_id=2298828522.

In this diff I'm just updating yarn.lock to unblock builds, need to also address bumping script to avoid this issue in next release.

Reviewed By: mweststrate

Differential Revision: D27654577

fbshipit-source-id: 4ec0f6899460a92f06e215cf70df39e4bdbbfe03
2021-04-08 15:56:23 -07:00
GitHub
b0815835d4 Automated: Update Podfile.lock (#2170)
Summary:
This is an automated PR to update the Podfile.lock.
- Make sure that the Podfile.lock contains latest FlipperKit and Flipper pod versions.
- Also make sure that all the dependencies are updated to the latest one.
- This is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request)

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

Reviewed By: passy

Differential Revision: D27654278

Pulled By: nikoant

fbshipit-source-id: b5405196018d42d8e9d4d16fe3817955f46f8df1
2021-04-08 11:57:40 -07:00
dependabot[bot]
cc0cbf21c2 Bump @typescript-eslint/eslint-plugin from 4.19.0 to 4.21.0 in /flipper-js-client-sdk (#2166)
Summary:
Bumps [typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.19.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/eslint-plugin</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>
<h2>v4.20.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.19.0...v4.20.0">4.20.0</a> (2021-03-29)</h1>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [space-infix-ops] support for class properties and type aliases (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3231">#3231</a>) (<a href="5414bf27a8">5414bf2</a>)</li>
<li><strong>eslint-plugin:</strong> [type-annotation-spacing] handle space between ? and : (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3138">#3138</a>) (<a href="40bdb0b27b">40bdb0b</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md"><code>@​typescript-eslint/eslint-plugin</code>'s changelog</a>.</em></p>
<blockquote>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.20.0...v4.21.0">4.21.0</a> (2021-04-05)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-type-alias] consider <code>keyof</code> as an alias (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3242">#3242</a>) (<a href="329ef02309">329ef02</a>)</li>
<li><strong>eslint-plugin:</strong> [no-unnecessary-type-assertion] correct bad fix for angle bracket assertion (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3244">#3244</a>) (<a href="265a039c7e">265a039</a>)</li>
<li><strong>eslint-plugin:</strong> [restrict-plus-operands] consider template literal types as strings (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3234">#3234</a>) (<a href="ccfd68e365">ccfd68e</a>)</li>
<li><strong>eslint-plugin:</strong> [strict-boolean-expressions] account for truthy literals (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3236">#3236</a>) (<a href="0913f40c87">0913f40</a>)</li>
<li><strong>eslint-plugin:</strong> always ignore assignments in no-unnecessary-type-assertion (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3235">#3235</a>) (<a href="02214768a3">0221476</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-unsafe-argument] add rule (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3256">#3256</a>) (<a href="b1aa7dc697">b1aa7dc</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/791">https://github.com/facebook/flipper/issues/791</a></li>
<li><strong>eslint-plugin:</strong> [no-unsafe-call][no-unsafe-member-access] improve report messages for <code>this</code> for <code>noImplicitThis</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3199">#3199</a>) (<a href="b1b26c4843">b1b26c4</a>)</li>
</ul>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.19.0...v4.20.0">4.20.0</a> (2021-03-29)</h1>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [space-infix-ops] support for class properties and type aliases (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3231">#3231</a>) (<a href="5414bf27a8">5414bf2</a>)</li>
<li><strong>eslint-plugin:</strong> [type-annotation-spacing] handle space between ? and : (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3138">#3138</a>) (<a href="40bdb0b27b">40bdb0b</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3181b32d57"><code>3181b32</code></a> chore: publish v4.21.0</li>
<li><a href="ccfd68e365"><code>ccfd68e</code></a> fix(eslint-plugin): [restrict-plus-operands] consider template literal types ...</li>
<li><a href="0913f40c87"><code>0913f40</code></a> fix(eslint-plugin): [strict-boolean-expressions] account for truthy literals ...</li>
<li><a href="02214768a3"><code>0221476</code></a> fix(eslint-plugin): always ignore assignments in no-unnecessary-type-assertio...</li>
<li><a href="b1b26c4843"><code>b1b26c4</code></a> feat(eslint-plugin): [no-unsafe-call][no-unsafe-member-access] improve report...</li>
<li><a href="b1aa7dc697"><code>b1aa7dc</code></a> feat(eslint-plugin): [no-unsafe-argument] add rule (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3256">#3256</a>)</li>
<li><a href="62dfcc63f3"><code>62dfcc6</code></a> docs(eslint-plugin): [typedef] fix typo (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3243">#3243</a>)</li>
<li><a href="329ef02309"><code>329ef02</code></a> fix(eslint-plugin): [no-type-alias] consider <code>keyof</code> as an alias (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3242">#3242</a>)</li>
<li><a href="265a039c7e"><code>265a039</code></a> fix(eslint-plugin): [no-unnecessary-type-assertion] correct bad fix for angle...</li>
<li><a href="c16b42969e"><code>c16b429</code></a> chore: publish v4.20.0</li>
<li>Additional commits viewable in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v4.21.0/packages/eslint-plugin">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D27618347

Pulled By: passy

fbshipit-source-id: d5c454b1a4ffdb74856d40d0011123f590f7d34c
2021-04-07 13:58:34 -07:00
Harold Martin
b0cbf39a1a Export protobuf definitions from Retrofit (#2084)
Summary:
https://github.com/facebook/flipper/pull/2080 enables storing protobuf definitions and displaying payloads in the network inspector plugin. However, describing those definitions in ProtobufJS format can be time consuming and error prone. This PR enables sending definitions from an entire Retrofit service with a single line.

## Changelog
* Adds a retrofit2-protobuf plugin

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

Test Plan:
Used as a single line per service, ie:
`SendProtobufToFlipperFromRetrofit(baseUrl, PersonService::class.java)`

For more details see demo app in https://github.com/hbmartin/protobuf_java_to_protobufjs

Reviewed By: mweststrate

Differential Revision: D27507872

Pulled By: passy

fbshipit-source-id: 859d7636c9512de0abde0aa1dcb2e023851369cf
2021-04-07 13:31:23 -07:00
Flipper Bot
f28636b427 Flipper Snapshot Bump: v0.84.1-SNAPSHOT
Summary: Releasing snapshot version 0.84.1-SNAPSHOT

Reviewed By: nikoant

Differential Revision: D27617438

fbshipit-source-id: 552172630e8040b9ba737c2b5740ea7cbd0e9e2c
2021-04-07 08:50:42 -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