Commit Graph

6654 Commits

Author SHA1 Message Date
Allon Freedman
1db061e609 Added CMS tab to flipper plugin
Reviewed By: zaxy78

Differential Revision: D34033159

fbshipit-source-id: 41be3361b9b19c00c041979c0b9f142a312b7c94
2022-02-07 10:17:15 -08:00
Lorenzo Blasa
fd3d4d4efb Catch receiver errors
Summary:
This change adds a safety net for receivers that may throw an exception on invocation.

Without this change, the exception is logged but not shown in Flipper.

Reviewed By: nikoant

Differential Revision: D34001224

fbshipit-source-id: ca07d3dd006b277e306ecbc1c033845929a83f4c
2022-02-04 07:05:44 -08:00
Michel Weststrate
4f9cec718e Suppress recurring 'still connecting' errors
Summary:
https://fb.workplace.com/groups/flippersupport/permalink/1304868459993809/

Changelog: Don't show errors for clients that fail to connect in a timely fashion repeatedly.

I think this change is fine, as even once the error is supressed, the clients will show up as 'still connecting...' in the app selector dropdown, which gives the same signal, but a bit less in the face.

Reviewed By: lawrencelomax

Differential Revision: D33976460

fbshipit-source-id: 7c5a02f3cd645ed1cbda47d186798857a05906f1
2022-02-04 01:20:08 -08:00
Michel Weststrate
762267bccc Fix name casing to make plugin more easily findable
Summary:
Noticed in https://fb.workplace.com/groups/flippersupport/permalink/1305583723255616/ that always shows at the end of the plugin list.

Fixed this on two levels:
1. uppercase the title for consistency
2. Make sorting case insensitive

Differential Revision: D33985518

fbshipit-source-id: 70bed519e1ae5b3251b103931472844b2b55a512
2022-02-04 01:15:42 -08:00
Michel Weststrate
c97cf6eaf8 Add logging for "Attempted to build clientId with invalid app" event
Summary: The `Error: Attempted to build clientId with invalid app: "` event shows up in our monitoring regularly, but it is unclear which kind of app is trying to connect, so adding some more info to the error, to be able to pin point it better a next time

Reviewed By: lawrencelomax

Differential Revision: D33982871

fbshipit-source-id: 34c2612a9fe86a6815f1cc655f6def1f734e4b1e
2022-02-04 01:15:41 -08:00
Michel Weststrate
e4a3696fd5 Don't create always rejecting promises for timeout
Summary:
Our existing `timeout` implementation was always throwing an exception, due to sleeping and then throw an exception, which is than handled but ignored by `Promise.race`.

This implementation has a few problems

1. Because it always throws, having a debugger session with 'break on caught exceptions' will pause on every usage of timeout (rather than just the ones that actually timeout). This makes this way of debugging a bit useless.
2. Throwing exceptions is in principle an expensive process (due to the stack trace generation)
3. Not cancelling the timeout used by sleep is a bit of a waste as well

Reviewed By: lawrencelomax

Differential Revision: D33982717

fbshipit-source-id: d739c02112e1c1bc4cd691af852371d08a99abc6
2022-02-04 01:15:41 -08:00
Michel Weststrate
704e14a91a Fix watchman missing error spawning logs
Summary:
"Watchman not in PATH" shows up in our error monitoring, because the underlying implementation first logs an error, and then throw it (which we properly catch).

So patch-package once again to the rescue to make sure we don't error log an error we actually handle.

Reviewed By: antonk52

Differential Revision: D33982047

fbshipit-source-id: 64384b034b1991e30b2651b3ebf66cd26d519edc
2022-02-04 01:15:41 -08:00
Michel Weststrate
d0d0b68e0b Fixes NPE in page.columns
Summary: From stack trace seems that we don't always get columns from the plugin, in which case we can't display anything

Reviewed By: lawrencelomax

Differential Revision: D33981285

fbshipit-source-id: 0d6bf2d9364f7dac93e2179e372308da51699bd3
2022-02-04 01:15:41 -08:00
Alexander Oprisnik
6960196d8e Don't report an error when Fresco is not initialized yet and Flipper queries data
Summary:
We shouldn't report an error when Flipper is querying data before Fresco is initialized.
This will be especially useful when we move to lazy Fresco initialization later this year.

Reviewed By: passy

Differential Revision: D33978177

fbshipit-source-id: dfb6cb1b73737adbb557ecb141b043d088b5a574
2022-02-03 08:48:32 -08:00
Andres Orozco Gonzalez
4b6fcb6aaf new look up for adb path
Summary: Look up for the path of the adb may sometimes fail when looking for the folder platform-tools because the adb configuration wasn't done by android studio

Reviewed By: aigoncharov

Differential Revision: D33888687

fbshipit-source-id: 4d0cad2f6b19717e45422632f5d459813a7b7ee0
2022-02-03 07:14:22 -08:00
facebook-flipper-bot
f13f7529d3 Automated: Update Podfile.lock (#3393)
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/3393

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

**Static Docs Preview: flipper**
|[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D33975290/V2/flipper/)|

|**Modified Pages**|
|[docs/getting-started/ios-native](https://our.intern.facebook.com/intern/staticdocs/eph/D33975290/V2/flipper/docs/getting-started/ios-native/)|

Reviewed By: aigoncharov

Differential Revision: D33975290

Pulled By: mweststrate

fbshipit-source-id: fd5b2e06011f53f292b3124021b6d52dc4adc23e
2022-02-03 05:57:48 -08:00
Bartosz Kaszubowski
6639b547dd UI: fix hover effect of LeftRail icons with badge (#3372)
Summary:
This PR fixes the missing hover effect for the `LeftRail` component buttons, when they have included the badge.

To fix the issue, I had to wrap the whole `Button` with `Badge` component (instead wrapping only around icon). However, this solution required to added `offset` property to the `Badge` which moves the indicator to the position prior change (otherwise indicator was moved to the right corner of the button).

The file has been formatted after the changes with ESLint.

**Edit:** I have also spotted that this change fixes the icon placement inside the button, when badge is present. Earlier, as seen below, the log icon was moved towards the top of the button:
<img width="111" alt="Screenshot 2022-01-31 at 00 57 49" src="https://user-images.githubusercontent.com/719641/151723422-0ffb83ee-5806-412e-9191-f9953f78532e.png">

## Changelog

[desktop] UI: fix hover effect of LeftRail icons with badge

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

Test Plan:
The change has been testes by running the desktop Flipper app locally from source.

## Preview (before & after)

#### Before
<img width="1339" alt="Screenshot 2022-01-31 at 00 24 23" src="https://user-images.githubusercontent.com/719641/151722800-a2f3dd44-aa24-4858-b43e-0620b1f2ae65.png">

#### After

> I have used mocked indicator values locally to ensure that the Badges are displayed correctly.

<img width="1339" alt="Screenshot 2022-01-31 at 00 26 10" src="https://user-images.githubusercontent.com/719641/151722795-745b04ac-9ee4-49a8-8217-206d8d7456e6.png">

<img width="1339" alt="Screenshot 2022-01-31 at 00 45 08" src="https://user-images.githubusercontent.com/719641/151722940-aaaf0e9b-f2d1-4245-8b2b-cfc11052b39e.png">

Reviewed By: aigoncharov

Differential Revision: D33975324

Pulled By: mweststrate

fbshipit-source-id: fe4773b4825b9f22e01821e45259747d319233aa
2022-02-03 05:54:03 -08:00
Michel Weststrate
a31494f321 Fix unnecessary 'still authorizing' error
Summary:
When connection to Android, I always get an error popup with 'device still authorizing', which disappears itself and the device connects fine. It seems that this was a case we handled gracefully before, but the error message we check for has changed. Also updated the log message so that we get it in our monitoring I don't silently get stuck in this state.

Changelog: Fixed 'device still authorizing' errors showing up while connecting to an Android device

Reviewed By: aigoncharov

Differential Revision: D33976028

fbshipit-source-id: dbb055bbbd43bad129b10ffee4a8dbb50be8e87a
2022-02-03 04:20:54 -08:00
Michel Weststrate
ccea9058ef Fix build failure on OSS master (#3394)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/3394

This diff caused OSS builds failing due to a FB plugin that requires emotion, instead of using it as peer dep. This introduced a duplicate dep, which doesn't get installed in OSS, causing patch-package for that package to fail. Changed it to a peer dep and removed the patch.

Reviewed By: aigoncharov

Differential Revision: D33975202

fbshipit-source-id: 1e82964988e944a28ecb46a10127ad9e13f743f7
2022-02-03 04:20:54 -08:00
Andrey Goncharov
7376774a95 Add RSocket deprecation warning
Reviewed By: lblasa

Differential Revision: D33976369

fbshipit-source-id: c100c145d7c77369347200d32448015ad971d585
2022-02-03 03:52:22 -08:00
Harold Martin
cdb72db5a9 Fix LeakCanary plugin UI, Upgrade LC dependency and make it compile only (#3367)
Summary:
**Currently, the Leak Canary plugins is broken, see this screenshot (unable to expand):**
<img width="1359" alt="Screen Shot 2022-01-29 at 2 06 33 PM" src="https://user-images.githubusercontent.com/745166/151679662-9d8e8eb6-c19c-4008-9821-1c2c1af92351.png">

**This fix repairs and improves the UI:**
<img width="1350" alt="Screen Shot 2022-01-29 at 2 06 03 PM" src="https://user-images.githubusercontent.com/745166/151679677-7965604c-dd04-4ee5-bc8e-d53a82da1bd7.png">

## Changelog

- Fixes UI to enable showing leak trace
- Upgrades LackCanary dependency from 2.6 to 2.8.1
- Makes Kotlin and LC `compileOnly` dependencies in order to prevent conflict for the users
- Updates documentation

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

Test Plan:
See demo at https://github.com/hbmartin/leakcanary/tree/flipper-demo/leakcanary-android-sample

**Static Docs Preview: flipper**
|[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D33915179/V3/flipper/)|

|**Modified Pages**|

Reviewed By: passy

Differential Revision: D33915179

Pulled By: cekkaewnumchai

fbshipit-source-id: 9698dba23ab475c8cd84e4c222dfc41712b05a1e
2022-02-03 01:37:28 -08:00
dependabot[bot]
6bd134d624 Bump eslint from 8.7.0 to 8.8.0 in /js/js-flipper (#3385)
Summary:
Bumps [eslint](https://github.com/eslint/eslint) from 8.7.0 to 8.8.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>v8.8.0</h2>
<h2>Features</h2>
<ul>
<li><a href="5d60812d44"><code>5d60812</code></a> feat: implement rfc 2021-suppression-support (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15459">#15459</a>) (Yiwei Ding)</li>
</ul>
<h2>Documentation</h2>
<ul>
<li><a href="5769cc23ec"><code>5769cc2</code></a> docs: fix relative link (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15544">#15544</a>) (Nick Schonning)</li>
<li><a href="ccbc35ff3e"><code>ccbc35f</code></a> docs: trimmed rules h1s to just be rule names (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15514">#15514</a>) (Josh Goldberg)</li>
<li><a href="851f1f18bd"><code>851f1f1</code></a> docs: fixed typo in comment (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15531">#15531</a>) (Jiapei Liang)</li>
<li><a href="7d7af55759"><code>7d7af55</code></a> docs: address upcoming violation of markdownlint rule MD050/strong-style (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15529">#15529</a>) (David Anson)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/eslint/eslint/blob/main/CHANGELOG.md">eslint's changelog</a>.</em></p>
<blockquote>
<p>v8.8.0 - January 28, 2022</p>
<ul>
<li><a href="5d60812d44"><code>5d60812</code></a> feat: implement rfc 2021-suppression-support (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15459">#15459</a>) (Yiwei Ding)</li>
<li><a href="5769cc23ec"><code>5769cc2</code></a> docs: fix relative link (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15544">#15544</a>) (Nick Schonning)</li>
<li><a href="ccbc35ff3e"><code>ccbc35f</code></a> docs: trimmed rules h1s to just be rule names (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15514">#15514</a>) (Josh Goldberg)</li>
<li><a href="851f1f18bd"><code>851f1f1</code></a> docs: fixed typo in comment (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15531">#15531</a>) (Jiapei Liang)</li>
<li><a href="7d7af55759"><code>7d7af55</code></a> docs: address upcoming violation of markdownlint rule MD050/strong-style (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15529">#15529</a>) (David Anson)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b6f2bd8879"><code>b6f2bd8</code></a> 8.8.0</li>
<li><a href="7d1366ab63"><code>7d1366a</code></a> Build: changelog update for 8.8.0</li>
<li><a href="5d60812d44"><code>5d60812</code></a> feat: implement rfc 2021-suppression-support (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15459">#15459</a>)</li>
<li><a href="5769cc23ec"><code>5769cc2</code></a> docs: fix relative link (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15544">#15544</a>)</li>
<li><a href="ccbc35ff3e"><code>ccbc35f</code></a> docs: trimmed rules h1s to just be rule names (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15514">#15514</a>)</li>
<li><a href="851f1f18bd"><code>851f1f1</code></a> docs: fixed typo in comment (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15531">#15531</a>)</li>
<li><a href="7d7af55759"><code>7d7af55</code></a> docs: address upcoming violation of markdownlint rule MD050/strong-style (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15">https://github.com/facebook/flipper/issues/15</a>...</li>
<li>See full diff in <a href="https://github.com/eslint/eslint/compare/v8.7.0...v8.8.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=8.7.0&new-version=8.8.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/3385

Reviewed By: passy

Differential Revision: D33892121

Pulled By: cekkaewnumchai

fbshipit-source-id: 379aed88552cab213e1e19165499ffc4fa32feb8
2022-02-02 11:14:40 -08:00
dependabot[bot]
e8571f5a73 Bump @typescript-eslint/parser from 5.10.0 to 5.10.1 in /js/js-flipper (#3387)
Summary:
Bumps [typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.10.0 to 5.10.1.
<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>v5.10.1</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.10.0...v5.10.1">5.10.1</a> (2022-01-24)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/typescript-eslint</code></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md"><code>@​typescript-eslint/parser</code>'s changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.10.0...v5.10.1">5.10.1</a> (2022-01-24)</h2>
<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="3e1ebcad55"><code>3e1ebca</code></a> chore: publish v5.10.1</li>
<li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v5.10.1/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=5.10.0&new-version=5.10.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/3387

Reviewed By: passy

Differential Revision: D33892115

Pulled By: cekkaewnumchai

fbshipit-source-id: 6ba9ea0e6c3708cc8ed91fdffd869474f2228554
2022-02-02 11:14:40 -08:00
dependabot[bot]
9e41c7ff57 Bump @typescript-eslint/eslint-plugin from 5.10.0 to 5.10.1 in /js/js-flipper (#3386)
Summary:
Bumps [typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.10.0 to 5.10.1.
<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>v5.10.1</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.10.0...v5.10.1">5.10.1</a> (2022-01-24)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/typescript-eslint</code></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md"><code>@​typescript-eslint/eslint-plugin</code>'s changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.10.0...v5.10.1">5.10.1</a> (2022-01-24)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/eslint-plugin</code></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3e1ebcad55"><code>3e1ebca</code></a> chore: publish v5.10.1</li>
<li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v5.10.1/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=5.10.0&new-version=5.10.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/3386

Reviewed By: passy

Differential Revision: D33892111

Pulled By: cekkaewnumchai

fbshipit-source-id: aedc176c17d7a41951f2127cf60dd0197b9c2382
2022-02-02 11:14:40 -08:00
dependabot[bot]
eb4ececb9f Bump typescript from 4.5.4 to 4.5.5 in /desktop (#3375)
Summary:
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.4 to 4.5.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/Microsoft/TypeScript/releases">typescript's releases</a>.</em></p>
<blockquote>
<h2>TypeScript 4.5.5</h2>
<p>This <a href="https://github.com/microsoft/TypeScript/issues?q=is%3Aissue+milestone%3A%22TypeScript+4.5.5%22+is%3Aclosed">patch release</a> includes a number of fixes to language service crashes and assertion violations, along with improvements to JSX attribute snippets.</p>
<p>For the complete list of fixed issues, check out the</p>
<ul>
<li><a href="https://github.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.0%22+">fixed issues query for Typescript 4.5.0 (Beta)</a>.</li>
<li><a href="https://github.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.1%22+">fixed issues query for Typescript 4.5.1 (RC)</a>.</li>
<li><a href="https://github.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.2%22+">fixed issues query for Typescript 4.5.2 (Stable)</a>.</li>
<li><a href="https://github.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.3%22+">fixed issues query for Typescript 4.5.3 (Stable)</a>.</li>
<li><a href="https://github.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.4%22+">fixed issues query for Typescript 4.5.4 (Stable)</a>.</li>
<li><a href="https://github.com/microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+4.5.5%22+">fixed issues query for Typescript 4.5.5 (Stable)</a>.</li>
</ul>
<p>Downloads are available on:</p>
<ul>
<li><a href="https://www.npmjs.com/package/typescript">npm</a></li>
</ul>

</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="55e13e9115"><code>55e13e9</code></a> Bump version to 4.5.5 and LKG</li>
<li><a href="c5ce1706f4"><code>c5ce170</code></a> Cherry-pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/47500">#47500</a> into release-4.5 (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/47514">#47514</a>)</li>
<li><a href="84509012f3"><code>8450901</code></a> Cherry-pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/47433">#47433</a> into release-4.5 (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/47515">#47515</a>)</li>
<li><a href="8a8048fb62"><code>8a8048f</code></a> Rewrite logic for JSX attribute completion detection [4.5 cherry pick] (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/47413">#47413</a>)</li>
<li><a href="14016a7851"><code>14016a7</code></a> Cherry-pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/47395">#47395</a> into release-4.5 (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/47421">#47421</a>)</li>
<li><a href="0854a93040"><code>0854a93</code></a> Cherry-pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/47136">#47136</a> into release-4.5 (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/47379">#47379</a>)</li>
<li><a href="a5ebd5382b"><code>a5ebd53</code></a> Cherry-pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/47348">#47348</a> into release-4.5 (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/47349">#47349</a>)</li>
<li>See full diff in <a href="https://github.com/Microsoft/TypeScript/compare/v4.5.4...v4.5.5">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D33892195

Pulled By: cekkaewnumchai

fbshipit-source-id: 92055bc0579fbf48b74bd54ff7be5c491261452b
2022-02-02 11:14:40 -08:00
dependabot[bot]
5253d0750e Bump @typescript-eslint/experimental-utils from 5.9.1 to 5.10.1 in /desktop (#3380)
Summary:
Bumps [typescript-eslint/experimental-utils](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/experimental-utils) from 5.9.1 to 5.10.1.
<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>v5.10.1</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.10.0...v5.10.1">5.10.1</a> (2022-01-24)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/typescript-eslint</code></p>
<h2>v5.10.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.9.1...v5.10.0">5.10.0</a> (2022-01-17)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [explicit-function-return-type] support AllowTypedFunctionExpression within AllowHigherOrderFunction (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/4250">#4250</a>) (<a href="d053cde3e8">d053cde</a>)</li>
<li><strong>eslint-plugin:</strong> [no-extra-semi] false negatives when used with eslint 8.3.0 (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/4458">#4458</a>) (<a href="f4016c24f9">f4016c2</a>)</li>
<li><strong>eslint-plugin:</strong> [no-invalid-this] crash when used with eslint 8.7.0 (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/4448">#4448</a>) (<a href="e56f1e5d52">e56f1e5</a>)</li>
<li><strong>eslint-plugin:</strong> [no-magic-numbers] handle bigint in class props (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/4411">#4411</a>) (<a href="c8e650f0c1">c8e650f</a>)</li>
<li><strong>type-utils:</strong> check IndexSignature internals when checking isTypeReadonly (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/4417">#4417</a>) (<a href="ef3147cf73">ef3147c</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/4410">#4410</a> <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3714">#3714</a></li>
<li><strong>type-utils:</strong> intersection types involving readonly arrays are now handled in most cases (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/4429">#4429</a>) (<a href="5046882025">5046882</a>)</li>
<li><strong>type-utils:</strong> isTypeReadonly now handles conditional types (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/4421">#4421</a>) (<a href="39a6806c61">39a6806</a>)</li>
<li><strong>type-utils:</strong> union types always being marked as readonly (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/4419">#4419</a>) (<a href="99ab193bb0">99ab193</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li>rename <code>experimental-utils</code> to <code>utils</code> and make <code>experimental-utils</code> an alias to the new package (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/4172">#4172</a>) (<a href="1d55a7511b">1d55a75</a>)</li>
<li><strong>type-utils:</strong> make isTypeReadonly's options param optional (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/4415">#4415</a>) (<a href="3a07a563c9">3a07a56</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/experimental-utils/CHANGELOG.md"><code>@​typescript-eslint/experimental-utils</code>'s changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.10.0...v5.10.1">5.10.1</a> (2022-01-24)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/experimental-utils</code></p>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.9.1...v5.10.0">5.10.0</a> (2022-01-17)</h1>
<h3>Features</h3>
<ul>
<li>rename <code>experimental-utils</code> to <code>utils</code> and make <code>experimental-utils</code> an alias to the new package (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/4172">#4172</a>) (<a href="1d55a7511b">1d55a75</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3e1ebcad55"><code>3e1ebca</code></a> chore: publish v5.10.1</li>
<li><a href="8894106509"><code>8894106</code></a> chore: publish v5.10.0</li>
<li><a href="1d55a7511b"><code>1d55a75</code></a> feat: rename <code>experimental-utils</code> to <code>utils</code> and make <code>experimental-utils</code> an...</li>
<li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v5.10.1/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=5.9.1&new-version=5.10.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/3380

Reviewed By: passy

Differential Revision: D33892239

Pulled By: cekkaewnumchai

fbshipit-source-id: d0e0ab0ad6b2a456121d9bfbc66da979161a17f9
2022-02-02 11:14:40 -08:00
dependabot[bot]
1f41f1dc2d Bump @adobe/node-fetch-retry from 2.0.0 to 2.1.0 in /desktop (#3384)
Summary:
Bumps [adobe/node-fetch-retry](https://github.com/adobe/node-fetch-retry) from 2.0.0 to 2.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/adobe/node-fetch-retry/releases"><code>@​adobe/node-fetch-retry</code>'s releases</a>.</em></p>
<blockquote>
<h2>v2.1.0</h2>
<h1><a href="https://github.com/adobe/node-fetch-retry/compare/v2.0.0...v2.1.0">2.1.0</a> (2022-01-24)</h1>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="aaf1b7195d"><code>aaf1b71</code></a> [ci skip] no-release: version number update</li>
<li><a href="24d20a624b"><code>24d20a6</code></a> FEATURE-RELEASE: Add Typescript declarations (<a href="https://github-redirect.dependabot.com/adobe/node-fetch-retry/issues/42">https://github.com/facebook/flipper/issues/42</a>)</li>
<li>See full diff in <a href="https://github.com/adobe/node-fetch-retry/compare/v2.0.0...v2.1.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@adobe/node-fetch-retry&package-manager=npm_and_yarn&previous-version=2.0.0&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/3384

Reviewed By: passy

Differential Revision: D33892201

Pulled By: cekkaewnumchai

fbshipit-source-id: e318850d9bcad6908a92e41080fb64d8efafb183
2022-02-02 11:14:39 -08:00
dependabot[bot]
a0ec82c981 Bump @emotion/react from 11.6.0 to 11.7.1 in /desktop (#3388)
Summary:
Bumps [emotion/react](https://github.com/emotion-js/emotion) from 11.6.0 to 11.7.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/emotion-js/emotion/releases"><code>@​emotion/react</code>'s releases</a>.</em></p>
<blockquote>
<h2><code>@​emotion/react</code><a href="https://github.com/11"><code>@​11</code></a>.7.1</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/emotion-js/emotion/pull/2577">https://github.com/facebook/flipper/issues/2577</a> <a href="04681a5f52"><code>04681a5f</code></a> Thanks <a href="https://github.com/Methuselah96"><code>@​Methuselah96</code></a>! - Export <code>Keyframes</code> type to avoid TypeScript inserting <code>import(&quot;emotion/serialize&quot;).Keyframes</code> references into declaration files emitted based on a source files exporting <code>keyframes</code> result. This avoids issues with strict package managers that don't allow accessing undeclared dependencies.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/emotion-js/emotion/pull/2590">https://github.com/facebook/flipper/issues/2590</a> <a href="1554a7e264"><code>1554a7e2</code></a> Thanks <a href="https://github.com/Andarist"><code>@​Andarist</code></a>! - Upgraded and pinned the version of Stylis - the CSS parser that Emotion uses under the hood.</p>
</li>
<li>
<p>Updated dependencies [<a href="1554a7e264"><code>1554a7e2</code></a>]:</p>
<ul>
<li><code>@​emotion/cache</code><a href="https://github.com/11"><code>@​11</code></a>.7.1</li>
</ul>
</li>
</ul>
<h2><code>@​emotion/react</code><a href="https://github.com/11"><code>@​11</code></a>.7.0</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/emotion-js/emotion/pull/2534">https://github.com/facebook/flipper/issues/2534</a> <a href="57be9e8cb2"><code>57be9e8c</code></a> Thanks <a href="https://github.com/srmagura"><code>@​srmagura</code></a>! - Changed the implementation of the runtime label extraction in elements using the css prop (that only happens in development) to one that should yield more consistent results across browsers. This fixes some minor issues with React reporting hydration mismatches that wouldn't happen in production.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="01cca604ca"><code>01cca60</code></a> Version Packages (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2581">https://github.com/facebook/flipper/issues/2581</a>)</li>
<li><a href="1554a7e264"><code>1554a7e</code></a> Stylis upgrade (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2590">https://github.com/facebook/flipper/issues/2590</a>)</li>
<li><a href="04681a5f52"><code>04681a5</code></a> Export Keyframes type from <code>@​emotion/react</code> (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2577">https://github.com/facebook/flipper/issues/2577</a>)</li>
<li><a href="26ded6109f"><code>26ded61</code></a> Tweak grammar in the CHANGELOGs</li>
<li><a href="200bc6a56b"><code>200bc6a</code></a> Version Packages (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2564">https://github.com/facebook/flipper/issues/2564</a>)</li>
<li><a href="f046ae40bc"><code>f046ae4</code></a> Add ESLint 8 to the peer dependency range  (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2562">https://github.com/facebook/flipper/issues/2562</a>)</li>
<li><a href="57be9e8cb2"><code>57be9e8</code></a> Extract, unit test, and improve getLabelFromStackTrace (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2534">https://github.com/facebook/flipper/issues/2534</a>)</li>
<li>See full diff in <a href="https://github.com/emotion-js/emotion/compare/emotion/react@11.6.0...@emotion/react@11.7.1">compare view</a></li>
</ul>
</details>
<br />

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

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

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

 ---

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

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

</details>

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

Reviewed By: nikoant

Differential Revision: D33892154

Pulled By: cekkaewnumchai

fbshipit-source-id: 460e820c36c367a4174e7cc44bc4d23340db020a
2022-02-02 11:14:39 -08:00
dependabot[bot]
e26540ddd7 Bump axios from 0.24.0 to 0.25.0 in /desktop (#3383)
Summary:
Bumps [axios](https://github.com/axios/axios) from 0.24.0 to 0.25.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/axios/axios/releases">axios's releases</a>.</em></p>
<blockquote>
<h2>v0.25.0</h2>
<h3>0.25.0 (January 18, 2022)</h3>
<p>Breaking changes:</p>
<ul>
<li>Fixing maxBodyLength enforcement (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3786">#3786</a>)</li>
<li>Don't rely on strict mode behaviour for arguments (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3470">#3470</a>)</li>
<li>Adding error handling when missing url (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3791">#3791</a>)</li>
<li>Update isAbsoluteURL.js removing escaping of non-special characters (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3809">#3809</a>)</li>
<li>Use native Array.isArray() in utils.js (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3836">#3836</a>)</li>
<li>Adding error handling inside stream end callback (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3967">#3967</a>)</li>
</ul>
<p>Fixes and Functionality:</p>
<ul>
<li>Added aborted even handler (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3916">#3916</a>)</li>
<li>Header types expanded allowing <code>boolean</code> and <code>number</code> types (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4144">#4144</a>)</li>
<li>Fix cancel signature allowing cancel message to be <code>undefined</code> (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3153">https://github.com/facebook/flipper/issues/3153</a>)</li>
<li>Updated type checks to be formulated better (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3342">https://github.com/facebook/flipper/issues/3342</a>)</li>
<li>Avoid unnecessary buffer allocations (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3321">https://github.com/facebook/flipper/issues/3321</a>)</li>
<li>Adding a socket handler to keep TCP connection live when processing long living requests (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3422">#3422</a>)</li>
<li>Added toFormData helper function (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3757">#3757</a>)</li>
<li>Adding responseEncoding prop type in AxiosRequestConfig (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3918">#3918</a>)</li>
</ul>
<p>Internal and Tests:</p>
<ul>
<li>Adding axios-test-instance to ecosystem (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3786">#3786</a>)</li>
<li>Optimize the logic of isAxiosError (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3546">#3546</a>)</li>
<li>Add tests and documentation to display how multiple inceptors work (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3564">#3564</a>)</li>
<li>Updating follow-redirects to version 1.14.7 (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4379">#4379</a>)</li>
</ul>
<p>Documentation:</p>
<ul>
<li>Fixing changelog to show corrext pull request (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4219">#4219</a>)</li>
<li>Update upgrade guide for https proxy setting (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3604">#3604</a>)</li>
</ul>
<p>Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:</p>
<ul>
<li><a href="https://github.com/axios/axios/blob/HEAD/mailto:jasonsaayman@gmail.com">Jay</a></li>
<li><a href="https://github.com/rijkvanzanten">Rijk van Zanten</a></li>
<li><a href="https://github.com/koh110">Kohta Ito</a></li>
<li><a href="https://github.com/bfaulk96">Brandon Faulkner</a></li>
<li><a href="https://github.com/NoriSte">Stefano Magni</a></li>
<li><a href="https://github.com/fanguangyi">enofan</a></li>
<li><a href="https://github.com/puzpuzpuz">Andrey Pechkurov</a></li>
<li><a href="https://github.com/doowonee">Doowonee</a></li>
<li><a href="https://github.com/emilbroman-eqt">Emil Broman</a></li>
<li><a href="https://github.com/remcohaszing">Remco Haszing</a></li>
<li><a href="https://github.com/BlackHole1">Black-Hole</a></li>
<li><a href="https://github.com/wolframkriesing">Wolfram Kriesing</a></li>
<li><a href="https://github.com/repl-andrew-ovens">Andrew Ovens</a></li>
<li><a href="https://github.com/PauloRSF">Paulo Renato</a></li>
<li><a href="https://github.com/carpben">Ben Carp</a></li>
<li><a href="https://github.com/wafuwafu13">Hirotaka Tagawa</a></li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/axios/axios/blob/master/CHANGELOG.md">axios's changelog</a>.</em></p>
<blockquote>
<h3>0.25.0 (January 18, 2022)</h3>
<p>Breaking changes:</p>
<ul>
<li>Fixing maxBodyLength enforcement (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3786">#3786</a>)</li>
<li>Don't rely on strict mode behaviour for arguments (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3470">#3470</a>)</li>
<li>Adding error handling when missing url (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3791">#3791</a>)</li>
<li>Update isAbsoluteURL.js removing escaping of non-special characters (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3809">#3809</a>)</li>
<li>Use native Array.isArray() in utils.js (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3836">#3836</a>)</li>
<li>Adding error handling inside stream end callback (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3967">#3967</a>)</li>
</ul>
<p>Fixes and Functionality:</p>
<ul>
<li>Added aborted even handler (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3916">#3916</a>)</li>
<li>Header types expanded allowing <code>boolean</code> and <code>number</code> types (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4144">#4144</a>)</li>
<li>Fix cancel signature allowing cancel message to be <code>undefined</code> (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3153">https://github.com/facebook/flipper/issues/3153</a>)</li>
<li>Updated type checks to be formulated better (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3342">https://github.com/facebook/flipper/issues/3342</a>)</li>
<li>Avoid unnecessary buffer allocations (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3321">https://github.com/facebook/flipper/issues/3321</a>)</li>
<li>Adding a socket handler to keep TCP connection live when processing long living requests (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3422">#3422</a>)</li>
<li>Added toFormData helper function (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3757">#3757</a>)</li>
<li>Adding responseEncoding prop type in AxiosRequestConfig (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3918">#3918</a>)</li>
</ul>
<p>Internal and Tests:</p>
<ul>
<li>Adding axios-test-instance to ecosystem (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3786">#3786</a>)</li>
<li>Optimize the logic of isAxiosError (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3546">#3546</a>)</li>
<li>Add tests and documentation to display how multiple inceptors work (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3564">#3564</a>)</li>
<li>Updating follow-redirects to version 1.14.7 (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4379">#4379</a>)</li>
</ul>
<p>Documentation:</p>
<ul>
<li>Fixing changelog to show corrext pull request (<a href="https://github-redirect.dependabot.com/axios/axios/pull/4219">#4219</a>)</li>
<li>Update upgrade guide for https proxy setting (<a href="https://github-redirect.dependabot.com/axios/axios/pull/3604">#3604</a>)</li>
</ul>
<p>Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:</p>
<ul>
<li><a href="https://github.com/axios/axios/blob/master/mailto:jasonsaayman@gmail.com">Jay</a></li>
<li><a href="https://github.com/rijkvanzanten">Rijk van Zanten</a></li>
<li><a href="https://github.com/koh110">Kohta Ito</a></li>
<li><a href="https://github.com/bfaulk96">Brandon Faulkner</a></li>
<li><a href="https://github.com/NoriSte">Stefano Magni</a></li>
<li><a href="https://github.com/fanguangyi">enofan</a></li>
<li><a href="https://github.com/puzpuzpuz">Andrey Pechkurov</a></li>
<li><a href="https://github.com/doowonee">Doowonee</a></li>
<li><a href="https://github.com/emilbroman-eqt">Emil Broman</a></li>
<li><a href="https://github.com/remcohaszing">Remco Haszing</a></li>
<li><a href="https://github.com/BlackHole1">Black-Hole</a></li>
<li><a href="https://github.com/wolframkriesing">Wolfram Kriesing</a></li>
<li><a href="https://github.com/repl-andrew-ovens">Andrew Ovens</a></li>
<li><a href="https://github.com/PauloRSF">Paulo Renato</a></li>
<li><a href="https://github.com/carpben">Ben Carp</a></li>
<li><a href="https://github.com/wafuwafu13">Hirotaka Tagawa</a></li>
<li><a href="https://github.com/lzxb">狼族小狈</a></li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="5c5cbdf4ba"><code>5c5cbdf</code></a> Removed cancel token request test till debugging on FireFox can be done</li>
<li><a href="63dfce85ab"><code>63dfce8</code></a> Releasing v0.25</li>
<li><a href="dccaeb1b68"><code>dccaeb1</code></a> Updated changelog for release</li>
<li><a href="51f3ccb08e"><code>51f3ccb</code></a> Updating follow-redirects with security updates (<a href="https://github-redirect.dependabot.com/axios/axios/issues/4379">#4379</a>)</li>
<li><a href="ccc9516af8"><code>ccc9516</code></a> Fixing removing package-lock from gitignore (<a href="https://github-redirect.dependabot.com/axios/axios/issues/4346">#4346</a>)</li>
<li><a href="ea0d9c69f7"><code>ea0d9c6</code></a> Adding error handling inside stream end callback (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3967">#3967</a>)</li>
<li><a href="4fbf61dc75"><code>4fbf61d</code></a> Adding responseEncoding prop type in AxiosRequestConfig (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3918">#3918</a>)</li>
<li><a href="a76571abec"><code>a76571a</code></a> Use native <code>Array.isArray()</code> in <code>utils.js</code> (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3836">#3836</a>)</li>
<li><a href="a8cd75a081"><code>a8cd75a</code></a> Update isAbsoluteURL.js (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3809">#3809</a>)</li>
<li><a href="95792908f0"><code>9579290</code></a> Adding error handling when missing url (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3791">#3791</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/axios/axios/compare/v0.24.0...v0.25.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: nikoant

Differential Revision: D33892131

Pulled By: cekkaewnumchai

fbshipit-source-id: 50c82da299e0e8ca025e0a0868a3f5deb31f475c
2022-02-02 11:14:39 -08:00
dependabot[bot]
a63f3d9ee5 Bump @typescript-eslint/eslint-plugin from 5.10.0 to 5.10.1 in /desktop (#3382)
Summary:
Bumps [typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.10.0 to 5.10.1.
<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>v5.10.1</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.10.0...v5.10.1">5.10.1</a> (2022-01-24)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/typescript-eslint</code></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md"><code>@​typescript-eslint/eslint-plugin</code>'s changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.10.0...v5.10.1">5.10.1</a> (2022-01-24)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/eslint-plugin</code></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3e1ebcad55"><code>3e1ebca</code></a> chore: publish v5.10.1</li>
<li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v5.10.1/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=5.10.0&new-version=5.10.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/3382

Reviewed By: nikoant

Differential Revision: D33892140

Pulled By: cekkaewnumchai

fbshipit-source-id: 5185d0dbb9ad2b3db44b3cc8e32fa07e8192fa6a
2022-02-02 11:14:39 -08:00
Anton Kastritskiy
f2abbf63db ban interface usage for component props and state
Summary: another eslint rule for flipper codebase

Reviewed By: passy

Differential Revision: D33917213

fbshipit-source-id: e60b867d359ef5b94a481edf0eda318ecff17eee
2022-02-02 05:09:45 -08:00
Flipper Bot
59b11c5f12 Flipper Snapshot Bump: v0.132.1-SNAPSHOT
Summary: Releasing snapshot version 0.132.1-SNAPSHOT

Reviewed By: mweststrate

Differential Revision: D33939898

fbshipit-source-id: f7509f7f737a68da237e08816c63a56c32d2b04c
2022-02-02 04:10:35 -08:00
Flipper Bot
34d2a5fa59 Flipper Release: v0.132.0
Summary: Releasing version 0.132.0

Reviewed By: mweststrate

Differential Revision: D33939899

fbshipit-source-id: 54617c126600230b41e45bed6cea449b67b81503
2022-02-02 04:10:35 -08:00
Andrey Goncharov
c238cef5b0 Verify certificate provider medium
Reviewed By: antonk52

Differential Revision: D33917041

fbshipit-source-id: 91a9554397063d53a903a5b1406b46ddf07360b2
2022-02-02 03:07:00 -08:00
Andrey Goncharov
c7492a83c7 Remove global access to adb client and idb config
Summary: Idb and adb sholuld not really be accessed out side of Adnroid and iOS device managers

Reviewed By: lawrencelomax

Differential Revision: D33915162

fbshipit-source-id: 0d1bb028b9a53254cf5b0ce6289ae76339c5a254
2022-02-02 03:07:00 -08:00
Andrey Goncharov
51ef1810b2 Defer initialization of Android and iOS device managers
Summary: Remove hidden async initialization of adb and idb. Make it explicit. Remove nullable fields in Android and iOS device managers.

Reviewed By: lawrencelomax

Differential Revision: D33915177

fbshipit-source-id: 882f79310410e0dfde6169abf343ab808644e4a2
2022-02-02 03:07:00 -08:00
Andrey Goncharov
fd13399cb9 Extract WWW certificate provider
Summary: Extract WWW certificate provider from the iOS certificate provider. Hide its implementation from OSS since it is not relevant for OSS folks.

Reviewed By: mweststrate

Differential Revision: D33895378

fbshipit-source-id: 376afda3b5fa3857c0eb280b92555314eb1a0d1f
2022-02-02 03:07:00 -08:00
Andrey Goncharov
29f6d0e711 Add device-specific Certificate Providers
Reviewed By: mweststrate

Differential Revision: D33821880

fbshipit-source-id: c75c71db4d7dc680f75cf41ba2d5dad009a5fd03
2022-02-02 03:07:00 -08:00
Andrey Goncharov
b9aeaa9339 Enhance iOS device manager tests
Reviewed By: lawrencelomax

Differential Revision: D33915694

fbshipit-source-id: fc4bfd30b8f504f2f242f94e61967ee68cc83100
2022-02-02 03:07:00 -08:00
Andrey Goncharov
7bf89a840a Remove a circular dependency between KeytarManager and FlipperServerImpl
Reviewed By: passy

Differential Revision: D33846051

fbshipit-source-id: c83f5609308ad732a02b2ee55466f5ed0918d733
2022-02-02 03:07:00 -08:00
Andrey Goncharov
b1f19ecd68 Extract certificate utils
Summary: Extract utilities for certificate server-side certificate handling

Reviewed By: lawrencelomax

Differential Revision: D33820263

fbshipit-source-id: 21f1a9ed5f3b83b8350151bdf6d8862aa0b18e8f
2022-02-02 03:07:00 -08:00
Andrey Goncharov
e686766e5f Simplify CertificateProvider setup
Summary:
Currently, certificateSetup is called in two places:
- processCertificateSigningRequest
- loadSecureServerConfig

`loadSecureServerConfig` is a mandatory step of Flipper server initialization ([ServerController.init](https://www.internalfb.com/code/flipper/[24785758018a2ffbd4751ad2b9093b5ef97c611d]/src/fbsource/xplat/sonar/desktop/flipper-server-core/src/comms/ServerController.tsx?lines=118)). Flipper cannot start without executing it.

As a result, calling `certificateSetup` in `processCertificateSigningRequest` always results in the early return.

This diff removes executing `certificateSetup` from `processCertificateSigningRequest`. Since it's called only during server setup (so only once), it no longer makes sense to use `didCertificateSetup`.

Next steps:
- Extract Android and iOS certificate utils. Remove the dependency on accessing adb/idb dynamically. See D33711652 (da618fd3f3).

Reviewed By: jknoxville

Differential Revision: D33817119

fbshipit-source-id: 675d1e2fe468782da458832c2e88259c92951fdb
2022-02-02 03:06:59 -08:00
dependabot[bot]
cb66520d55 Bump mockito-core from 4.3.0 to 4.3.1 (#3378)
Summary:
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.3.0 to 4.3.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/mockito/mockito/releases">mockito-core's releases</a>.</em></p>
<blockquote>
<h2>v4.3.1</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h4>4.3.1</h4>
<ul>
<li>2022-01-25 - <a href="https://github.com/mockito/mockito/compare/v4.3.0...v4.3.1">1 commit(s)</a> by Stefano Cordio</li>
<li>Add <code>mockito-core</code> to the BOM [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2550">https://github.com/facebook/flipper/issues/2550</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2550">mockito/mockito#2550</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f8ffebe54f"><code>f8ffebe</code></a> Add <code>mockito-core</code> to <code>mockito-bom</code> (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2550">https://github.com/facebook/flipper/issues/2550</a>)</li>
<li>See full diff in <a href="https://github.com/mockito/mockito/compare/v4.3.0...v4.3.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.mockito:mockito-core&package-manager=gradle&previous-version=4.3.0&new-version=4.3.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

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

 ---

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

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

</details>

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

Reviewed By: passy

Differential Revision: D33892171

Pulled By: cekkaewnumchai

fbshipit-source-id: 796cf3501c26d11445bc47a9e97004b36891a60e
2022-02-02 01:46:24 -08:00
dependabot[bot]
9d3c93253f Bump gradle from 7.0.4 to 7.1.0 (#3376)
Summary:
Bumps gradle from 7.0.4 to 7.1.0.

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.android.tools.build:gradle&package-manager=gradle&previous-version=7.0.4&new-version=7.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/3376

Reviewed By: passy

Differential Revision: D33892189

Pulled By: cekkaewnumchai

fbshipit-source-id: 9f31be1128342175234b07436cf462fe58e76845
2022-02-02 01:46:24 -08:00
Chaiwat Ekkaewnumchai
ecd7269848 Upgrade Gradle Runner(?) (#3390)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/3390

In [D33892189 V3 Android OSS job](https://www.internalfb.com/intern/sandcastle/job/36028797581234803/artifact/runsandcastle), it failed saying that it needs version 7.2 or later. Hence, upgrading this

Reviewed By: antonk52

Differential Revision: D33917841

fbshipit-source-id: 3ccc912b6aa5aa611840e917646870b8bceb0843
2022-02-02 01:46:24 -08:00
Anton Kastritskiy
05a3bb69dc rename left ts files to tsx and ban ts file extension
Summary: mass files rename

Reviewed By: passy

Differential Revision: D33890304

fbshipit-source-id: c057ac9fe87dd7659597c85d640619b93e1ff0e6
2022-02-01 12:38:45 -08:00
dependabot[bot]
e98b34a407 Bump metro-react-native-babel-preset from 0.66.2 to 0.67.0 in /react-native/ReactNativeFlipperExample (#3374)
Summary:
Bumps [metro-react-native-babel-preset](https://github.com/facebook/metro) from 0.66.2 to 0.67.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/metro/releases">metro-react-native-babel-preset's releases</a>.</em></p>
<blockquote>
<h2>Release v0.67.0</h2>
<ul>
<li><strong>[Breaking]</strong> Use custom resolvers (<code>resolver.resolveRequest</code>) before checking the Haste map. (96fb6e904e1660b37f4d1f5353ca1e5477c4afbf)</li>
<li><strong>[Feature]</strong> Update React Native lazy imports list with the removal of <code>StatusBarIOS</code>. (2a0f77925e3299e01c2bfe82d0356145a643adc0)</li>
<li><strong>[Feature]</strong> Allow configuring the path of the canonical empty module, which now lives in <code>metro-runtime</code> by default. (bd5f9323337b03a77bc219636937bb75cd8c18ca, 6e3e789b685b95ea59a58364a751e8010d536e8b, 7723be545795c936cb81cad214ee202f72e169b3)</li>
<li><strong>[Feature]</strong> Add <code>initialize_done</code>, <code>transformer_loading</code>, and <code>transformer_loaded</code> events to the <code>Reporter</code> interface. (d19cf5d7e88207a8d46c17b570f14a239dae8926)</li>
<li><strong>[Feature]</strong> Add <code>waitForBundler</code> option to the <code>runServer()</code> and <code>runMetro()</code> APIs. (57d8a92583185a97dffcdc1c95fef7780be9104d)</li>
<li><strong>[Feature]</strong> Add <code>resolver.disableHierarchicalLookup</code> option. (01416f1bc41a3d557b24e4b508fed5f158990108)</li>
<li><strong>[Feature]</strong> Remove confusing troubleshooting steps from missing module errors. (1fa45c21f7508cc3a852071b775f592873700ad0)</li>
<li><strong>[Feature]</strong> Infer names for anonymous functions in optional calls. (4ced2a1be8a42a9c7df71b566918a457bad207c1)</li>
<li><strong>[Feature]</strong> Infer names for anonymous functions memoized with useCallback. (2611f618b245fd2bd2c3558d2536011269bb5a68)</li>
<li><strong>[Feature]</strong> Update terser to v5 in <code>metro-minify-terser</code>. (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/754">facebook/metro#754</a> by <a href="https://github.com/rockwotj"><code>@​rockwotj</code></a>, <a href="https://github-redirect.dependabot.com/facebook/metro/pull/606">facebook/metro#606</a> by <a href="https://github.com/janicduplessis"><code>@​janicduplessis</code></a>)</li>
<li><strong>[Fix]</strong> Fix a caching issue with custom resolvers. (793b1a03c1f0b5e63869b471adab3f1ad61b199b)</li>
<li><strong>[Fix]</strong> Specify UTF-8 encoding when serving bundles. (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/695">facebook/metro#695</a> by <a href="https://github.com/zhiqingchen"><code>@​zhiqingchen</code></a>)</li>
<li><strong>[Fix]</strong> Support <a href="https://github.com/defunctzombie/package-browser-field-spec#replace-specific-files---advanced">package.json module replacements</a> for requires with implicit extensions. (41522a25bec9325d1df5981b55d4672db7126895)</li>
<li><strong>[Fix]</strong> Resolve <a href="https://github.com/defunctzombie/package-browser-field-spec#replace-specific-files---advanced">package.json module replacements</a> when the replaced module isn't a physical file. (171393a6319e507935eeb3d40561e908c1a2abfe)</li>
<li><strong>[Fix]</strong> Fix stack trace symbolication when input files have non-Unix line endings. (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/691">facebook/metro#691</a> by <a href="https://github.com/danielsmc"><code>@​danielsmc</code></a>)</li>
<li><strong>[Fix]</strong> Decrease the precedence of <code>resolver.nodeModulesPaths</code> to respect transitive dependencies. (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/738">facebook/metro#738</a> by <a href="https://github.com/sharmilajesupaul"><code>@​sharmilajesupaul</code></a>)</li>
<li><strong>[Fix]</strong> Respect <code>mangle: false</code> &amp; <code>sourceMap: false</code> in <code>minifierConfig</code>. (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/749">facebook/metro#749</a> by <a href="https://github.com/mfbx9da4"><code>@​mfbx9da4</code></a>)</li>
<li><strong>[Fix]</strong> Update hash function from MD4 to MD5 for Node 17 compatibility. (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/752">facebook/metro#752</a> by <a href="https://github.com/tobua"><code>@​tobua</code></a>)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
<ul>
<li><strong>[Experimental]</strong> Add <code>server.unstable_serverRoot</code> option to allow serving bundles from folders outside the project root. (026a66cf40df1bd05da2afc1660efa1d9605c55a, ca86682012eb836e2b6aeb001f2b3112129e38c3, e061cf342505f3d07fb21f85f22925e3d05557c9, 70e98882ad24d7c25c9b73eaf347e60f2a74c8ca, baacea28635dae7fea3bd30dd485252ae59a937e)</li>
<li><strong>[Experimental]</strong> Update <code>metro-hermes-compiler</code>. (e80434cf329619e1a0c6c56ae7be6c88cb350c99)</li>
<li><strong>[Experimental]</strong> Provide safe access to assets outside the project root using <code>/assets?unstable_path=...</code>. (f3d1157bacc341dff82efea2f70b634141105fc0)</li>
<li><strong>[Experimental]</strong> Add <code>resolver.unstable_hasteMapModulePath</code> option. (e8c0de0411148bd31e3decb6a5c4c1dc1d645666)</li>
</ul>
<p>Thanks to all the contributors mentioned above for helping improve Metro! 🚇</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="ccfec1e846"><code>ccfec1e</code></a> Release 0.67.0</li>
<li><a href="b31f5a462d"><code>b31f5a4</code></a> Deploy v0.170.0 to xplat</li>
<li><a href="36e3ffe4bd"><code>36e3ffe</code></a> Bump node-fetch from 2.6.1 to 2.6.7 (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/762">https://github.com/facebook/flipper/issues/762</a>)</li>
<li><a href="3fb4da8fae"><code>3fb4da8</code></a> Bump trim-off-newlines from 1.0.1 to 1.0.3 (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/757">https://github.com/facebook/flipper/issues/757</a>)</li>
<li><a href="ed7d5d6f47"><code>ed7d5d6</code></a> Update terser to v5 in <code>metro-minify-terser</code> (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/606">https://github.com/facebook/flipper/issues/606</a>)</li>
<li><a href="216e0a2cfc"><code>216e0a2</code></a> Allow for async minifiers (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/754">https://github.com/facebook/flipper/issues/754</a>)</li>
<li><a href="0116ae9758"><code>0116ae9</code></a> Bump follow-redirects from 1.10.0 to 1.14.7 in /website (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/756">https://github.com/facebook/flipper/issues/756</a>)</li>
<li><a href="e3c83a8522"><code>e3c83a8</code></a> Respect <code>mangle: false</code> &amp; <code>sourceMap: false</code> in <code>minifierConfig</code> (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/749">https://github.com/facebook/flipper/issues/749</a>)</li>
<li><a href="1cfb483486"><code>1cfb483</code></a> Bump shelljs from 0.8.4 to 0.8.5 in /website (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/755">https://github.com/facebook/flipper/issues/755</a>)</li>
<li><a href="3dfe9f3107"><code>3dfe9f3</code></a> chore(docs): display last update time (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/753">https://github.com/facebook/flipper/issues/753</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/metro/compare/v0.66.2...v0.67.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=metro-react-native-babel-preset&package-manager=npm_and_yarn&previous-version=0.66.2&new-version=0.67.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/3374

Reviewed By: lawrencelomax

Differential Revision: D33916518

Pulled By: passy

fbshipit-source-id: 0f00137af38a7e120065e22cb15b1b8f681d9de0
2022-02-01 08:14:50 -08:00
Lawrence Lomax
ed03f1b107 Use idb to record devices
Summary:
`idb` has supported video recording on devices for quite some time now. We even have the implementation in `iOSDevice`, but it's currently unused.

As a result, we just need to remove the check within `iOSDevice` that the target is an "emulator" and it will use the `idb` implementation. Removing this check means that the button is now selectable within the UI.

Reviewed By: passy

Differential Revision: D33913383

fbshipit-source-id: b3d6b4c480c79b54f0d2c206c68092ab62bf71ed
2022-02-01 04:57:16 -08:00
Lawrence Lomax
3a9c875e03 Avoid double recording in iOSDevice
Summary: This should in theory never happen since the state of the recording is also managed within the UI. However, it's better to ensure that if `startRecording` is called twice, without calling `stopRecording` first it will error rather than leak a recording (the first process will still run but the object representing it is oprhaned)

Reviewed By: passy

Differential Revision: D33913298

fbshipit-source-id: f8fa6b0e4fdbdf4282633fa29a736d3e7dedf3bb
2022-02-01 04:57:16 -08:00
Lawrence Lomax
7d34c86f78 Remove recording invariants
Summary:
The state of the destination and the process are coupled together. As a result it makes sense to move these to an object type.

This prevents destination and process being independently settable. No change in behaviour, just a removal of invariants that need to be checked

Reviewed By: passy

Differential Revision: D33913213

fbshipit-source-id: ed18650cac4f72d40e82d20254674f7fa12cbb48
2022-02-01 04:57:16 -08:00
dependabot[bot]
d807183eb6 Bump serde from 1.0.135 to 1.0.136 in /packer (#3373)
Summary:
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.135 to 1.0.136.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/serde/releases">serde's releases</a>.</em></p>
<blockquote>
<h2>v1.0.136</h2>
<ul>
<li>Improve default error message when <code>Visitor</code> fails to deserialize a u128 or i128 (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2167">https://github.com/facebook/flipper/issues/2167</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="02bd79a0ba"><code>02bd79a</code></a> Release 1.0.136</li>
<li><a href="c3ce2c934a"><code>c3ce2c9</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2167">https://github.com/facebook/flipper/issues/2167</a> from serde-rs/error128</li>
<li><a href="0d71ac84b5"><code>0d71ac8</code></a> Render 128-bit integer value into Visitor errors</li>
<li><a href="82c3eb7ba4"><code>82c3eb7</code></a> Add test of visitor error messages</li>
<li>See full diff in <a href="https://github.com/serde-rs/serde/compare/v1.0.135...v1.0.136">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde&package-manager=cargo&previous-version=1.0.135&new-version=1.0.136)](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/3373

Reviewed By: passy

Differential Revision: D33892208

Pulled By: cekkaewnumchai

fbshipit-source-id: acafc3be1a90af8d7739d1bec7349553eaa39a01
2022-02-01 02:22:26 -08:00
Lawrence Lomax
a9b9a1bff4 Remove redundant xcodeCommandLineToolsDetected
Summary: This is public but never read, no need for it to exist

Reviewed By: passy

Differential Revision: D33893097

fbshipit-source-id: aa423464f9cc0c35768a549fd5cb481784d8bcd6
2022-02-01 00:44:34 -08:00
Lawrence Lomax
9cbdc3038f Remove mising iOS Bridge invariant in iOSDeviceManager
Summary:
There's no need for us to have a property that can be undefined, since we can use the magic of *passing arguments* to achieve the same end result.

The unit test a bit more precarious, but it's left here for posterity or until we decide to kill it otherwise.

Reviewed By: passy

Differential Revision: D33892407

fbshipit-source-id: 3b499511189862e2265d8d6d29f849a7b813050e
2022-02-01 00:44:34 -08:00
Lawrence Lomax
757b82757e Use polymorphic IOSBridge to perform iOS target listing
Summary:
Bulding on the work from prior diffs we can use the created bridge directly. No need to have if statements calling out to sub-functions, just use the base type itself which will use the appropriate implementation.

There's no behavioural change here. Either idb was queried for sims/devices or simctl was queried for just sims, they were always mutually exclusive.

Reviewed By: passy

Differential Revision: D33842604

fbshipit-source-id: 0bf63ffc34368c70df31c105ea0ba5df941e72cc
2022-02-01 00:44:34 -08:00
Lawrence Lomax
b0046c8ddb Check for xcode mismatch once and only once
Summary:
We perform this *repeatedly* (every 2s!!!). Which is clearly excessive.

Let's perform this check once to avoid noise and a waste of system resources

Reviewed By: passy

Differential Revision: D33844194

fbshipit-source-id: 226dc9d67bb83b167afa8e28ade8e1911470ef8a
2022-02-01 00:44:34 -08:00