Commit Graph

5702 Commits

Author SHA1 Message Date
dependabot[bot]
1a4c26a42b Bump path-parse from 1.0.6 to 1.0.7 in /flipper-js-client-sdk (#2693)
Summary:
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/jbgutierrez/path-parse/commits/v1.0.7">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](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)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/facebook/flipper/network/alerts).

</details>

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

Reviewed By: timur-valiev

Differential Revision: D30305794

Pulled By: passy

fbshipit-source-id: dd6e08aaaad236de17f3b1a8f107265066f1d97c
2021-08-13 14:58:18 -07:00
Michel Weststrate
c0cd32564a Organise files per device
Summary:
Moved all logic per device type we support to its own dir, including tools and utilities around it, which makes it easier to consolidate logic and decouple in turn per device type.

Per type, all logic can be found in

`server/devices/(desktop|metro|android|ios|webapp)`

Reviewed By: timur-valiev

Differential Revision: D30277817

fbshipit-source-id: 2b5339c363d5d31ceeba07cec03826fc67cf3748
2021-08-13 04:02:32 -07:00
Michel Weststrate
6175424d16 separate action dispatch from server
Summary: This diff moves the first small pieces of getting device detection up and running to `server/`, and the wiring between FlipperServer and flipper core / redux is setting up specific events and dispatch actions from there.

Reviewed By: timur-valiev

Differential Revision: D30276776

fbshipit-source-id: b30b996d03c27459815bebeb97b05b5fe5d24bec
2021-08-13 04:02:32 -07:00
Pascal Hartig
4909296d86 Wrap yarn install with a retry (#2685)
Summary:
Often fails with things like "can't resolve github.com" ... I don't think there's a fix for that apart from trying again.

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

Test Plan: Waiting for things to turn green here.

Reviewed By: timur-valiev

Differential Revision: D30301456

Pulled By: passy

fbshipit-source-id: 585758284e18bd02ab2a905b6f110a32099b861e
2021-08-13 03:34:23 -07:00
Pascal Hartig
0de8a2eeb0 Support idb/physical devices for screen record
Summary: Another thing that's now supported by idb.

Reviewed By: mweststrate

Differential Revision: D30283450

fbshipit-source-id: fd973571c551b0823ba9c539c795d4dd526415b1
2021-08-13 03:29:30 -07:00
Adetomiwa Adesanya
5640a175af Update package version on Flipper site.
Summary: Update flipper to use latest docusaurus-plugin-internaldocs-fb package version.

Reviewed By: jknoxville

Differential Revision: D30280130

fbshipit-source-id: 93dc1a931cc4244ce7d95c6cd80506e17275c069
2021-08-13 02:45:59 -07:00
Pascal Hartig
87e5e18c46 Support idb/physical devices for navigation
Summary: idb has a command for doing the same now.

Reviewed By: timur-valiev

Differential Revision: D30277192

fbshipit-source-id: eb46cdc7a7218077a7da90f6182d5f17bfcc758a
2021-08-12 07:59:45 -07:00
Michel Weststrate
dd47d08444 move device dispatchers to server
Summary: move_complexity

Reviewed By: passy, timur-valiev

Differential Revision: D30250314

fbshipit-source-id: 92510b0ed2555d039b75b6de1c14fc92d94fbb19
2021-08-12 05:43:44 -07:00
Michel Weststrate
5e8c968222 Move devices to server folder
Summary:
This is the first of many diffs that extracts the connection, device, client detection out of the flipper core, to create a reusable flipper-server library that can be used in e.g. flipper-dump.

To keep diffs a little smaller, the current connection logic is first moved to the `server/` directory, and decoupled manually from the rest of the core, before moving it over to a separate package.

This first diffs moves the `comms/`, `devices/` and certificate utilities to the `server` directory.

Further untangling will follow in next diffs

Reviewed By: timur-valiev

Differential Revision: D30246551

fbshipit-source-id: c84259bfb1239119b3267a51b015e30c3c080866
2021-08-12 05:43:43 -07:00
Ananya Arun
5e350add4f Update desktop-plugin-structure.mdx to add supportedApps
Summary:
This diff has been automatically generated by the inpage editor

Addresses the comment https://www.internalfb.com/diff/D30193668?dst_version_fbid=579384449899538&transaction_fbid=938191196910073

Reviewed By: passy, mweststrate

Differential Revision: D30248046

fbshipit-source-id: 1ef1e5ad75cdabf716ab7b81314e77e2dd9de5ce
2021-08-12 03:51:18 -07:00
Pascal Hartig
6544e5a7a3 Fix large debugbutton numbers being cut off
Summary: One more.

Reviewed By: timur-valiev

Differential Revision: D30254356

fbshipit-source-id: 473532b1aeef00d95d1da0ca8f1ca047672bc432
2021-08-12 03:19:38 -07:00
Pascal Hartig
4d295fa261 Prevent NUX from being cut off in plugin bar
Summary: See test plan.

Reviewed By: timur-valiev

Differential Revision: D30253538

fbshipit-source-id: c98a9b3ddaa29d6ff11260ce5756fd85f120e749
2021-08-12 03:19:38 -07:00
Pascal Hartig
eb27796571 Fix Windows test (#2682)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/2682

Run path-specific tests only on Unix-like OSes. We could
easily change the path to Windows, but honestly it's enough
to confirm this on one platform.

Reviewed By: timur-valiev

Differential Revision: D30255014

fbshipit-source-id: 7db36bc1738d721625e3c86c210d46dfaf8f0ab8
2021-08-11 14:35:12 -07:00
Pascal Hartig
7df77e2620 Asyncify screenshot helper
Summary: Suggested by mweststrate. Much more readable now!

Reviewed By: mweststrate

Differential Revision: D30251322

fbshipit-source-id: 269fefce3f63fa4eababb4c541ff09a660cc5cc0
2021-08-11 11:03:45 -07:00
Pascal Hartig
757ba91bf6 Simplify bridge types
Summary: This turns the bridge type into a simpler struct with always-present methods so you don't need to add additional null check to the calling logic which are hard to deal with.

Reviewed By: mweststrate

Differential Revision: D30248628

fbshipit-source-id: cdaee44efcbb19dcbb301099b4a7d0eb0c350e67
2021-08-11 11:03:45 -07:00
Pascal Hartig
52b3edc5ad Move screenshot to iOSBridge
Summary:
In order to support IOS cloud devices, we need to abstract
over the direct uses of idb/xcrun so we can switch them
out based on more than the device type.

Note that there's a bit of a type weirdness in there. I'll
clean this up with the next diff.

Reviewed By: mweststrate

Differential Revision: D30248036

fbshipit-source-id: ec8571429e04abe059850ef334a6645ae4a5e034
2021-08-11 11:03:45 -07:00
Pascal Hartig
f515df1c01 Restructure iOS dispatcher initialization
Summary:
Avoid nested promises and log errors during initialization that were
previously thrown away.

Reviewed By: mweststrate

Differential Revision: D30247859

fbshipit-source-id: 1d9ef871d1861a25a64ed4e895978b04f5b51c7b
2021-08-11 11:03:45 -07:00
dependabot[bot]
cf3ab869f8 Bump path-parse from 1.0.6 to 1.0.7 in /react-native/react-native-flipper (#2679)
Summary:
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/jbgutierrez/path-parse/commits/v1.0.7">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](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)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/facebook/flipper/network/alerts).

</details>

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

Reviewed By: mweststrate

Differential Revision: D30246993

Pulled By: passy

fbshipit-source-id: 792799ef00a875d0e246f89df5e3d02d7f526197
2021-08-11 11:03:45 -07:00
dependabot[bot]
4ca1227522 Bump path-parse from 1.0.6 to 1.0.7 in /desktop (#2681)
Summary:
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/jbgutierrez/path-parse/commits/v1.0.7">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](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)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/facebook/flipper/network/alerts).

</details>

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

Reviewed By: mweststrate

Differential Revision: D30246996

Pulled By: passy

fbshipit-source-id: 00e1e3a0a6530e4ac7dbc198a7a4b80ded11c054
2021-08-11 11:03:45 -07:00
Pascal Hartig
a630020ea0 Remove promisify use
Summary:
The results are often unpredictable, poorly typed and we have
dependencies that do the wrapping for us.

Listen, I'll get to writing some real code soon, I promise,
but I need to clean up my workspace first, okay?

Reviewed By: mweststrate

Differential Revision: D30247484

fbshipit-source-id: f5326ff71ff43af2dc64ab85ca1368f95fe87083
2021-08-11 11:03:45 -07:00
Pascal Hartig
4e17fb9c48 Extract temp path util
Summary:
`electron.remote` access is slow so we can cache this
like we do in other places. Also means one fewer `electron`
import which is gonna add up for Flipper Decap.

Reviewed By: mweststrate

Differential Revision: D30247431

fbshipit-source-id: 90f0e8df99af8bed40fbebcfd445abaca2965b7c
2021-08-11 11:03:45 -07:00
Pascal Hartig
11c1c39bdc Improve screen recording logging
Summary:
Error is handled, doesn't need a task. Also, prefix is wrong here
as it's used.

Reviewed By: mweststrate

Differential Revision: D30247416

fbshipit-source-id: 049490cb7e45b7ce6f433bf7366eb94893947625
2021-08-11 11:03:45 -07:00
Pascal Hartig
8223051905 Mute eslint rule
Summary:
A few drive-by changes ahead of the sustainathon.
(More to come.)

Reviewed By: mweststrate

Differential Revision: D30247395

fbshipit-source-id: e707377a1169eb634a42f08c3d27fe3e065b63bb
2021-08-11 11:03:45 -07:00
dependabot[bot]
bc4a998ac2 Bump jszip from 3.3.0 to 3.7.1 in /desktop (#2680)
Summary:
Bumps [jszip](https://github.com/Stuk/jszip) from 3.3.0 to 3.7.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/Stuk/jszip/blob/master/CHANGES.md">jszip's changelog</a>.</em></p>
<blockquote>
<h3>v3.7.1 2021-08-05</h3>
<ul>
<li>Fix build of <code>dist</code> files.
<ul>
<li>Note: this version ensures the changes from 3.7.0 are actually included in the <code>dist</code> files. Thanks to Evan W for reporting.</li>
</ul>
</li>
</ul>
<h3>v3.7.0 2021-07-23</h3>
<ul>
<li>Fix: Use a null prototype object for this.files  (see <a href="https://github-redirect.dependabot.com/Stuk/jszip/pull/766">https://github.com/facebook/flipper/issues/766</a>)
<ul>
<li>This change might break existing code if it uses prototype methods on the <code>.files</code> property of a zip object, for example <code>zip.files.toString()</code>. This approach is taken to prevent files in the zip overriding object methods that would exist on a normal object.</li>
</ul>
</li>
</ul>
<h3>v3.6.0 2021-02-09</h3>
<ul>
<li>Fix: redirect main to dist on browsers (see <a href="https://github-redirect.dependabot.com/Stuk/jszip/pull/742">https://github.com/facebook/flipper/issues/742</a>)</li>
<li>Fix duplicate require DataLengthProbe, utils (see <a href="https://github-redirect.dependabot.com/Stuk/jszip/pull/734">https://github.com/facebook/flipper/issues/734</a>)</li>
<li>Fix small error in read_zip.md (see <a href="https://github-redirect.dependabot.com/Stuk/jszip/pull/703">https://github.com/facebook/flipper/issues/703</a>)</li>
</ul>
<h3>v3.5.0 2020-05-31</h3>
<ul>
<li>Fix 'End of data reached' error when file extra field is invalid (see <a href="https://github-redirect.dependabot.com/Stuk/jszip/pull/544">https://github.com/facebook/flipper/issues/544</a>).</li>
<li>Typescript definitions: Add null to return types of functions that may return null (see <a href="https://github-redirect.dependabot.com/Stuk/jszip/pull/669">https://github.com/facebook/flipper/issues/669</a>).</li>
<li>Typescript definitions: Correct nodeStream's type (see <a href="https://github-redirect.dependabot.com/Stuk/jszip/pull/682">https://github.com/facebook/flipper/issues/682</a>)</li>
<li>Typescript definitions: Add string output type (see <a href="https://github-redirect.dependabot.com/Stuk/jszip/pull/666">https://github.com/facebook/flipper/issues/666</a>)</li>
</ul>
<h3>v3.4.0 2020-04-19</h3>
<ul>
<li>Add Typescript type definitions (see <a href="https://github-redirect.dependabot.com/Stuk/jszip/pull/601">https://github.com/facebook/flipper/issues/601</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3f2f0da8b2"><code>3f2f0da</code></a> 3.7.1</li>
<li><a href="9f9c33b66b"><code>9f9c33b</code></a> Updates for 3.7.1</li>
<li><a href="5639745878"><code>5639745</code></a> Merge branch 'fix-build'</li>
<li><a href="e08003ec71"><code>e08003e</code></a> Fix lint</li>
<li><a href="79f7691e51"><code>79f7691</code></a> Revert &quot;Disable proto assert that fails in browsers&quot;</li>
<li><a href="89298b9f26"><code>89298b9</code></a> Update gitignore for Mac, and sort</li>
<li><a href="81cb5eb244"><code>81cb5eb</code></a> Temporarily update docs for building dist correctly</li>
<li><a href="e5b3f0ddaa"><code>e5b3f0d</code></a> 3.7.0</li>
<li><a href="e88ba4b367"><code>e88ba4b</code></a> Update for version 3.7.0</li>
<li><a href="90464873e3"><code>9046487</code></a> Disable proto assert that fails in browsers</li>
<li>Additional commits viewable in <a href="https://github.com/Stuk/jszip/compare/v3.3.0...v3.7.1">compare view</a></li>
</ul>
</details>
<br />

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

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

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

 ---

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

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/facebook/flipper/network/alerts).

</details>

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

Reviewed By: mweststrate

Differential Revision: D30246994

Pulled By: passy

fbshipit-source-id: b507ab24054ebfe905b092f0ca9da0c43ea37d16
2021-08-11 11:03:45 -07:00
dependabot[bot]
2633b4c8cb Bump react-native-flipper from 0.100.0 to 0.102.0 in /react-native/ReactNativeFlipperExample (#2670)
Summary:
Bumps [react-native-flipper](https://github.com/facebook/flipper) from 0.100.0 to 0.102.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/flipper/releases">react-native-flipper's releases</a>.</em></p>
<blockquote>
<h2>v0.102.0</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/master/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/master/desktop/static/CHANGELOG.md</a>
for full notes.</p>
<h2>v0.101.0</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/master/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/master/desktop/static/CHANGELOG.md</a>
for full notes.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="7b577f77c8"><code>7b577f7</code></a> Flipper Release: v0.102.0</li>
<li><a href="798239507a"><code>7982395</code></a> Automated: Update Podfile.lock (<a href="https://github-redirect.dependabot.com/facebook/flipper/issues/2662">https://github.com/facebook/flipper/issues/2662</a>)</li>
<li><a href="4f9408c8af"><code>4f9408c</code></a> Bump tar from 6.1.0 to 6.1.6 in /react-native/ReactNativeFlipperExample (<a href="https://github-redirect.dependabot.com/facebook/flipper/issues/2663">https://github.com/facebook/flipper/issues/2663</a>)</li>
<li><a href="cc4064ec9f"><code>cc4064e</code></a> Force Sec-Fetch-Site header to 'none'</li>
<li><a href="0df3a19e98"><code>0df3a19</code></a> Update package version on Flipper site.</li>
<li><a href="b280f75b06"><code>b280f75</code></a> Fix Vulnerability</li>
<li><a href="ab2988dd67"><code>ab2988d</code></a> Flipper Snapshot Bump: v0.101.1-SNAPSHOT</li>
<li><a href="5dbb0b7a24"><code>5dbb0b7</code></a> Flipper Release: v0.101.0</li>
<li><a href="43179a7ef4"><code>43179a7</code></a> ConnectionContext to expose client certificate in PKCS <a href="https://github-redirect.dependabot.com/facebook/flipper/issues/12">https://github.com/facebook/flipper/issues/12</a> format</li>
<li><a href="a5b83dc148"><code>a5b83dc</code></a> Add tracking for usage statistics</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/flipper/compare/v0.100.0...v0.102.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D30226365

Pulled By: passy

fbshipit-source-id: ab7640c42154f0469d6bcd97495861c50d768b32
2021-08-11 11:03:45 -07:00
dependabot[bot]
5cf86a8f6e Bump eslint-plugin-import from 2.23.4 to 2.24.0 in /desktop (#2671)
Summary:
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.23.4 to 2.24.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md">eslint-plugin-import's changelog</a>.</em></p>
<blockquote>
<h2>[2.24.0] - 2021-08-08</h2>
<h3>Added</h3>
<ul>
<li>[<code>no-dynamic-require</code>]: add option <code>esmodule</code> (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/1223">https://github.com/facebook/flipper/issues/1223</a>, thanks [<a href="https://github.com/vikr01"><code>@​vikr01</code></a>])</li>
<li>[<code>named</code>]: add <code>commonjs</code> option (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/1222">https://github.com/facebook/flipper/issues/1222</a>, thanks [<a href="https://github.com/vikr01"><code>@​vikr01</code></a>])</li>
<li>[<code>no-namespace</code>]: Add <code>ignore</code> option (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2112">https://github.com/facebook/flipper/issues/2112</a>, thanks [<a href="https://github.com/aberezkin"><code>@​aberezkin</code></a>])</li>
<li>[<code>max-dependencies</code>]: add option <code>ignoreTypeImports</code> (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/1847">https://github.com/facebook/flipper/issues/1847</a>, thanks [<a href="https://github.com/rfermann"><code>@​rfermann</code></a>])</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[<code>no-duplicates</code>]: ensure autofix avoids excessive newlines (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2028">https://github.com/facebook/flipper/issues/2028</a>, thanks [<a href="https://github.com/ertrzyiks"><code>@​ertrzyiks</code></a>])</li>
<li>[<code>extensions</code>]: avoid crashing on partially typed import/export statements (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2118">https://github.com/facebook/flipper/issues/2118</a>, thanks [<a href="https://github.com/ljharb"><code>@​ljharb</code></a>])</li>
<li>[<code>no-extraneous-dependencies</code>]: add ESM intermediate package.json support] (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2121">https://github.com/facebook/flipper/issues/2121</a>, thanks [<a href="https://github.com/paztis"><code>@​paztis</code></a>])</li>
<li>Use <code>context.getPhysicalFilename()</code> when available (ESLint 7.28+) (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2160">https://github.com/facebook/flipper/issues/2160</a>, thanks [<a href="https://github.com/pmcelhaney"><code>@​pmcelhaney</code></a>])</li>
<li>[<code>extensions</code>]/<code>importType</code>: fix isScoped treating @/abc as scoped module (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2146">https://github.com/facebook/flipper/issues/2146</a>, thanks [<a href="https://github.com/rperello"><code>@​rperello</code></a>])</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[Docs] [<code>extensions</code>]: removed incorrect cases (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2138">https://github.com/facebook/flipper/issues/2138</a>, thanks [<a href="https://github.com/wenfangdu"><code>@​wenfangdu</code></a>])</li>
<li>[Tests] [<code>order</code>]: add tests for <code>pathGroupsExcludedImportTypes: ['type']</code> (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2158">https://github.com/facebook/flipper/issues/2158</a>, thanks [<a href="https://github.com/atav32"><code>@​atav32</code></a>])</li>
<li>[Docs] [<code>order</code>]:  improve the documentation for the <code>pathGroupsExcludedImportTypes</code> option (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2156">https://github.com/facebook/flipper/issues/2156</a>, thanks [<a href="https://github.com/liby"><code>@​liby</code></a>])</li>
<li>[Tests] [<code>no-cycle</code>]: Restructure test files (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/1517">https://github.com/facebook/flipper/issues/1517</a>, thanks [<a href="https://github.com/soryy708"><code>@​soryy708</code></a>])</li>
<li>[Docs] add description how to use plugin with yarn berry (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2179">https://github.com/facebook/flipper/issues/2179</a>, thanks [<a href="https://github.com/KostyaZgara"><code>@​KostyaZgara</code></a>])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="202e5e02db"><code>202e5e0</code></a> Bump to v2.24.0</li>
<li><a href="546f87f6c7"><code>546f87f</code></a> utils: v2.6.2</li>
<li><a href="74fa6c99cc"><code>74fa6c9</code></a> [resolvers/node] v0.3.5</li>
<li><a href="32bf645563"><code>32bf645</code></a> [Docs] add description how to use plugin with yarn berry</li>
<li><a href="794e869757"><code>794e869</code></a> [meta] update repo URLs</li>
<li><a href="429f3f6023"><code>429f3f6</code></a> [Tests] <code>no-cycle</code>: Restructure test files</li>
<li><a href="b743a650e9"><code>b743a65</code></a> [New] <code>max-dependencies</code>: add option <code>ignoreTypeImports</code></li>
<li><a href="bba59c4848"><code>bba59c4</code></a> [New] <code>no-namespace</code>: Add <code>ignore</code> option</li>
<li><a href="54d86c8a64"><code>54d86c8</code></a> [New] <code>named</code>: add <code>commonjs</code> option</li>
<li><a href="7626a14851"><code>7626a14</code></a> [Refactor] <code>named</code>: clean up formatting</li>
<li>Additional commits viewable in <a href="https://github.com/import-js/eslint-plugin-import/compare/v2.23.4...v2.24.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D30226888

Pulled By: passy

fbshipit-source-id: 5245244f87de76a0d51acc90b0ff43a1cd98b085
2021-08-11 11:03:45 -07:00
Pascal Hartig
dd536b9d1a Gracefully handle socket closures
Summary:
Got my first auto-created crashbot task. {emoji:1f973}

We do have some pretty granular handling for errors during disconnects but this one has fallen through the cracks.

I'm not 100% sure if this is the right way to handle it which is why I added mweststrate. :)

Reviewed By: mweststrate

Differential Revision: D30218833

fbshipit-source-id: 2b4c9201ee7faf1c278b1cc5268ad2648dc4c820
2021-08-10 16:12:02 -07:00
Michel Weststrate
8d7caa9dd4 Introduce Dialog.alert
Summary: Introduce `Dialog.alert` to show users a FYI message, and be able to wait for it to be handled, as utility around several `Modal` utilities.

Reviewed By: jknoxville

Differential Revision: D29875484

fbshipit-source-id: 5d2ea83e486631ac18a81800b467f97dfaac6d34
2021-08-10 13:24:23 -07:00
Michel Weststrate
4b892e7373 Check Flipper version when handling deeplinks
Summary: Check if Flipper is up to date before handling deeplink.

Reviewed By: nikoant

Differential Revision: D29846236

fbshipit-source-id: 011d05958346c3d18c76cf0ae63c3cb087f5933c
2021-08-10 13:24:23 -07:00
Michel Weststrate
b757bff9f6 Document the new deeplink format [2/n]
Summary:
Added docs on how to use deeplink.

Note that not all features are implemented yet.

Reviewed By: fabiomassimo

Differential Revision: D29845044

fbshipit-source-id: 835fba8ce97c2106d160f347675e11d1ed749fba
2021-08-10 13:24:23 -07:00
Michel Weststrate
38473121ba Check connection & user login when entering deeplink [1/n]
Summary: First steps in smoother deeplink flow, where connection and login status is being checked before trying to handle the deeplink.

Reviewed By: lblasa

Differential Revision: D29790461

fbshipit-source-id: e1e42ceb5db59c695077f316e836f1f216c7204a
2021-08-10 13:24:23 -07:00
Pascal Hartig
47faeade61 Patch dep bump
Summary: Excluding `react-virtual` which seems to include a breaking change with the patch release.

Reviewed By: jknoxville

Differential Revision: D30189687

fbshipit-source-id: b40cb5edd407fd03009ee38c0af5202c8deaaa26
2021-08-10 11:08:22 -07:00
Pascal Hartig
fc73e0d4ec Revert "Improve protobuf support (#2513)" (#2665)
Summary:
This reverts commit efd75ea435.

Sorry hbmartin! We're running into Kotlin compatibility problems. Your latest library release isn't compatible with Kotlin 1.3 and we can't upgrade just yet because Litho hasn't been able to release in a while. :(

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

Test Plan: _eyes

Differential Revision: D30189360

Pulled By: passy

fbshipit-source-id: c1edbbc496742938579f4e2032a78debe08fcc26
2021-08-09 04:15:49 -07:00
dependabot[bot]
9e0a5484e7 Bump constraintlayout from 2.0.4 to 2.1.0 (#2656)
Summary:
Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.0.4 to 2.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/androidx/constraintlayout/releases">constraintlayout's releases</a>.</em></p>
<blockquote>
<h2>2.1.0</h2>
<p>No release notes provided.</p>
<h2>2.1.0-rc01</h2>
<p>No release notes provided.</p>
<h2>2.1.0-beta02</h2>
<p>MotionLayout</p>
<p>A few new features:</p>
<ul>
<li>OnSwipe enhancement including spring (stiffness, damping, mass etc) &amp; never complete</li>
<li>jumpToState function</li>
<li>ViewTransition downUp mode where on touch Down it plays to 100 and on up reverses to 0</li>
</ul>
<p>Various fixes, notably:</p>
<p>Fix problem in MotionLayout with vertical scroll (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/173">https://github.com/facebook/flipper/issues/173</a>)
Perf improvements on nested MotionLayout (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/189">https://github.com/facebook/flipper/issues/189</a>)
Fast transition with NestedScrollView in MotionLayout (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/189">https://github.com/facebook/flipper/issues/189</a>)
ConstraintSet gone in MotionLayout (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/189">https://github.com/facebook/flipper/issues/189</a>)
Support downUp ViewTransitions in MotionLayout (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/190">https://github.com/facebook/flipper/issues/190</a>)
Fix in ImageFilter when reusing drawables (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/192">https://github.com/facebook/flipper/issues/192</a>)
Add spring support in MotionLayout (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/199">https://github.com/facebook/flipper/issues/199</a>)
Performance improvement to CircularFlow (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/200">https://github.com/facebook/flipper/issues/200</a>)
Fixes in derived constraints / constraint override (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/212">https://github.com/facebook/flipper/issues/212</a>)</p>
<h2>2.1.0-beta01</h2>
<h1>ConstraintLayout</h1>
<ul>
<li>android:layout_width and android:layout_height are back being non-optional due to compatibility issues.</li>
</ul>
<h1>Helpers</h1>
<ul>
<li>added a way to animate or jump directly to a given item of a Carousel</li>
<li>new CircularFlow helper</li>
</ul>
<h1>MotionLayout</h1>
<ul>
<li>Programmatic support for inserting and removing onSwipe and onClick on Transitions</li>
<li>Experimental Support for Transitions through screen rotation</li>
<li>support duration argument to transitions</li>
<li>Better support for customAttributes that are boolean or References</li>
</ul>
<h2>2.1.0 alpha 2</h2>
<p>Many new features added in alpha 2, see the wiki</p>
<h2>2.1.0 alpha 1</h2>
<p>New features in MotionLayout (view transition etc) and new Carousel helper</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="343db8d806"><code>343db8d</code></a> bump constraintlayout-compose to 1.0 beta 2</li>
<li><a href="d10b5b3167"><code>d10b5b3</code></a> bump version number of compose to 1.0 \o/</li>
<li><a href="a60d9868c2"><code>a60d986</code></a> Update README.md</li>
<li><a href="115f9f6802"><code>115f9f6</code></a> Merge branch 'main' of <a href="https://github.com/androidx/constraintlayout">https://github.com/androidx/constraintlayout</a> into main</li>
<li><a href="a9af02fb2b"><code>a9af02f</code></a> bump to 2.1.0</li>
<li><a href="ad6cd328d4"><code>ad6cd32</code></a> Move basic transitions on single constraintset to ConstraintLayout instead of...</li>
<li><a href="d7e308ff75"><code>d7e308f</code></a> Add a MotionLayout that animates between changing constraint sets (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/359">https://github.com/facebook/flipper/issues/359</a>)</li>
<li><a href="4880da5605"><code>4880da5</code></a> Fix in json parser (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/358">https://github.com/facebook/flipper/issues/358</a>)</li>
<li><a href="85991a3c51"><code>85991a3</code></a> viewTransition Example (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/357">https://github.com/facebook/flipper/issues/357</a>)</li>
<li><a href="9fb9da89a6"><code>9fb9da8</code></a> Fix build of tools library (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/355">https://github.com/facebook/flipper/issues/355</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/androidx/constraintlayout/compare/2.0.4...2.1.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=androidx.constraintlayout:constraintlayout&package-manager=gradle&previous-version=2.0.4&new-version=2.1.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/2656

Reviewed By: mweststrate

Differential Revision: D30162301

Pulled By: passy

fbshipit-source-id: 5ca76c7e205f564973b55d1a1f2b1b27a4b4c3e1
2021-08-09 03:04:49 -07:00
Harold Martin
efd75ea435 Improve protobuf support (#2513)
Summary:
* Update protobuf library to support map types
* Improved usage messaging in UI
* Always attempt to decode requests with a protobuf definition
## Changelog
Improved protobuf support

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

Reviewed By: mweststrate

Differential Revision: D30162379

Pulled By: passy

fbshipit-source-id: 201fb06045822641be5840b121da180a201be974
2021-08-09 02:42:35 -07:00
dependabot[bot]
410445a1ed Bump runner from 1.3.0 to 1.4.0 (#2563)
Summary:
Bumps runner from 1.3.0 to 1.4.0.

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=androidx.test:runner&package-manager=gradle&previous-version=1.3.0&new-version=1.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

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

 ---

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

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

</details>

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

Reviewed By: muraziz

Differential Revision: D29992992

Pulled By: passy

fbshipit-source-id: 4e72fc3a21fead198b1842269116d0e1e8348359
2021-08-06 10:25:45 -07:00
Adam Ernst
91ca7557e8 Daily arc lint --take UNCRUSTIFY
Reviewed By: zertosh

Differential Revision: D30155603

fbshipit-source-id: ffbfc083952ad00eb22270507a694c9b5a800d27
2021-08-06 09:39:53 -07:00
Ananya Arun
025ca05d62 Enrich plugin metadata on what apps they support and add unit tests
Summary:
- This Diff is part 1 of 2 of milestone 1 of my internship project flipper self sufficiency. The task can be found here - https://www.internalfb.com/tasks?q=958574791613645&t=91334896

- I have extended the plugin package meta data format to support a "supportedApps" field that consists of appID (facebook, instagram, messenger etc) along with OS and type that were previously defined in supportedDevices as well.

- The diff also adds unit tests for this new format to ensure addition of the supportedApps field does not break anything.

Reviewed By: nikoant

Differential Revision: D30133225

fbshipit-source-id: 6ef0d1cadd61c0d69640cf61793322acb4cd65f4
2021-08-06 07:14:44 -07:00
facebook-flipper-bot
1a7e3b9b00 Automated: Update Podfile.lock (#2664)
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/2664

Test Plan:
Imported from GitHub, without a `Test Plan:` line.

|[Site Preview: flipper](https://our.intern.facebook.com/intern/staticdocs/eph/D30156476/V2/flipper/)

Reviewed By: passy

Differential Revision: D30156476

Pulled By: nikoant

fbshipit-source-id: 04d3ea60a59fc2fe0507319bd6261376388ec31a
2021-08-06 04:02:35 -07:00
Flipper Bot
57b340bf79 Flipper Snapshot Bump: v0.102.1-SNAPSHOT
Summary: Releasing snapshot version 0.102.1-SNAPSHOT

Reviewed By: nikoant

Differential Revision: D30131830

fbshipit-source-id: 543c9fdac0f166b008f8f626f61d4c593bfc4aba
2021-08-05 09:43:40 -07:00
Flipper Bot
7b577f77c8 Flipper Release: v0.102.0
Summary: Releasing version 0.102.0

Reviewed By: nikoant

Differential Revision: D30131831

fbshipit-source-id: 05ffa592f0ae9e123dffed6a3c8c5c0e22daacf4
2021-08-05 09:43:40 -07:00
facebook-flipper-bot
798239507a Automated: Update Podfile.lock (#2662)
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/2662

Test Plan:
Imported from GitHub, without a `Test Plan:` line.

|[Site Preview: flipper](https://our.intern.facebook.com/intern/staticdocs/eph/D30131497/V2/flipper/)

Reviewed By: nikoant

Differential Revision: D30131497

Pulled By: passy

fbshipit-source-id: f321dc0187da2660f585d5f3d47531d7aa19d818
2021-08-05 07:11:13 -07:00
dependabot[bot]
4f9408c8af Bump tar from 6.1.0 to 6.1.6 in /react-native/ReactNativeFlipperExample (#2663)
Summary:
Bumps [tar](https://github.com/npm/node-tar) from 6.1.0 to 6.1.6.
<details>
<summary>Commits</summary>
<ul>
<li><a href="9bc1729939"><code>9bc1729</code></a> 6.1.6</li>
<li><a href="bdf4f51713"><code>bdf4f51</code></a> fix: properly prefix hard links</li>
<li><a href="94b2a74011"><code>94b2a74</code></a> chore: remove benchmarks from git repo</li>
<li><a href="ecaafb4777"><code>ecaafb4</code></a> update deps</li>
<li><a href="bd4691c904"><code>bd4691c</code></a> 6.1.5</li>
<li><a href="d694c4f810"><code>d694c4f</code></a> ci: test on node 16</li>
<li><a href="84acbd3128"><code>84acbd3</code></a> fix(unpack): fix hang on large file on open() fail</li>
<li><a href="97c46fcee7"><code>97c46fc</code></a> fix(unpack): always resume parsing after an entry error</li>
<li><a href="488ab8c01d"><code>488ab8c</code></a> chore: WriteEntry cleaner write() handling</li>
<li><a href="be89aafd95"><code>be89aaf</code></a> WriteEntry backpressure</li>
<li>Additional commits viewable in <a href="https://github.com/npm/node-tar/compare/v6.1.0...v6.1.6">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tar&package-manager=npm_and_yarn&previous-version=6.1.0&new-version=6.1.6)](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)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/facebook/flipper/network/alerts).

</details>

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

Reviewed By: lblasa

Differential Revision: D30131500

Pulled By: passy

fbshipit-source-id: 0cd2145d6dd82feb63405e1fbbc72d3b0fa7fa7f
2021-08-05 07:03:18 -07:00
Anton Nikolaev
cc4064ec9f Force Sec-Fetch-Site header to 'none'
Reviewed By: bartoszniemczura

Differential Revision: D30047497

fbshipit-source-id: 0d9376c09d63176031291f19bfe82a56d5677641
2021-08-05 02:40:41 -07:00
Adetomiwa Adesanya
0df3a19e98 Update package version on Flipper site.
Summary: Update flipper to use latest docusaurus-plugin-internaldocs-fb package version.

Reviewed By: nikoant

Differential Revision: D30107938

fbshipit-source-id: 42ec4614d3e1292171b2d1a26378a1bd6ab1853c
2021-08-04 15:44:56 -07:00
Chaiwat Ekkaewnumchai
b280f75b06 Fix Vulnerability
Summary:
per title

For `xmldom`, npm can't push the update as mentioned in https://github.com/xmldom/xmldom/releases/tag/0.7.0

Reviewed By: lblasa

Differential Revision: D30101848

fbshipit-source-id: 0d84a302b845708787d5cae01643dba9963f0330
2021-08-04 09:36:14 -07:00
Flipper Bot
ab2988dd67 Flipper Snapshot Bump: v0.101.1-SNAPSHOT
Summary: Releasing snapshot version 0.101.1-SNAPSHOT

Reviewed By: lblasa

Differential Revision: D30098057

fbshipit-source-id: a01d34ef7926dac6f07fc0b00467135c4b0ecf55
2021-08-04 07:37:17 -07:00
Flipper Bot
5dbb0b7a24 Flipper Release: v0.101.0
Summary: Releasing version 0.101.0

Reviewed By: lblasa

Differential Revision: D30098058

fbshipit-source-id: f6e6ed1942a30e492e66ed42aec6dc35d1cddd24
2021-08-04 07:37:17 -07:00
Lorenzo Blasa
43179a7ef4 ConnectionContext to expose client certificate in PKCS #12 format
Summary:
RSocket plays nicely with Folly and OpenSSL.

Flipper WebSocket-client uses SocketRocket which instead relies on Apple's NSInputStream and NSOutputStream types.

SSL options can be set to secure the communication in both.

Unfortunately, Apple APIs are a bit limited on the supported cryptographic formats it can accept as arguments.

SSL options require the client certificate to be set in PKCS #12 format, contrary to the existing PEM format used by RSocket.

This change adds a method to the ConnectionContext which converts and saves the client certificate in PKCS #12 format.

The method is always expected to succeed as it will only be called once a valid client certificate is available. An unlikely failure will raise an exception.

Reviewed By: fabiomassimo

Differential Revision: D30074334

fbshipit-source-id: 91a475d080569cc339b649c7302b1f28793c7de7
2021-08-04 06:34:18 -07:00
Ananya Arun
a5b83dc148 Add tracking for usage statistics
Summary:
- This diff adds usage statistics for
    - How often was the troubleshooting button opened
    - What were its end states ( Problem solved or file a support request)

- I am using the tracked flipper plugin to obtain and analyse the stats on Infinity analytics events dev in Scuba backend.
(Since this is not yet productionized we are using the dev version now )

Reviewed By: nikoant

Differential Revision: D30098054

fbshipit-source-id: 871cc18872bccf70a829dc1dd173a337b02ec6e6
2021-08-04 04:16:52 -07:00