Commit Graph

4738 Commits

Author SHA1 Message Date
dependabot[bot]
3aa39b5207 Bump rules from 1.1.0 to 1.3.0 (#2033)
Summary:
Bumps rules from 1.1.0 to 1.3.0.

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

Reviewed By: mweststrate

Differential Revision: D26889135

Pulled By: passy

fbshipit-source-id: 9dd7cff0596ca4013ae3fb101e18ae57cb163cf2
2021-03-08 12:23:31 -08:00
bizzguy
d07b74eed0 Network Plugin - Disable routes (#1969)
Summary:
Mock routes may contain quite a bit of data for header values and response bodies.  Currently, to turn off a mock a user must delete the mock and then go through the process of creating it when needed again.  This change will allow a user to temporarily disable a mock without deleting it.

A checkbox on the Routes list is used to enable/disable mocks.  As shown in this screenshot:

![image](https://user-images.githubusercontent.com/337874/109360670-3a3fb280-784d-11eb-83fd-724f0bb067d3.png)

## Changelog

Network Plugin - disable/enable mock routes

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

Test Plan:
Create mocks using sample app
Verify that mocks are working as expected
Disable the mocks
Verify that the client has been updated with mocks (minus the disabled ones) user Flipper Messages plugin
Use the sample app to send the disabled requests again and verify that they are not mocked

Reviewed By: mweststrate

Differential Revision: D26888815

Pulled By: passy

fbshipit-source-id: cb8a05a27dd69ba4d2b60085a077efe795a99a7c
2021-03-08 11:52:36 -08:00
dependabot[bot]
c82313b161 Bump runner from 1.1.0 to 1.3.0 (#2002)
Summary:
Bumps runner from 1.1.0 to 1.3.0.

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

Reviewed By: fabiomassimo

Differential Revision: D26888790

Pulled By: passy

fbshipit-source-id: 96d063493c01ab93088bd3906100173333480d71
2021-03-08 11:37:54 -08:00
Pascal Hartig
c60c98df5d Remove jcenter plugin (#2001)
Summary:
Closes https://github.com/facebook/flipper/pull/2001

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

Test Plan:
- ./gradle :android:assembleDebug
- CI

Reviewed By: fabiomassimo

Differential Revision: D26888718

Pulled By: passy

fbshipit-source-id: ea59c6e51bda176f479d420b9955c994fea770bc
2021-03-08 11:31:11 -08:00
dependabot[bot]
adb31a093a Bump constraintlayout from 1.1.2 to 2.0.4 (#2005)
Summary:
Bumps constraintlayout from 1.1.2 to 2.0.4.

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

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

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

 ---

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

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

</details>

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

Reviewed By: fabiomassimo

Differential Revision: D26888882

Pulled By: passy

fbshipit-source-id: 8c2f87193b72a965cd629aeaa88536376ca6e4d2
2021-03-08 11:27:00 -08:00
Bartosz Kaszubowski
b38474b73a use splash gradient in footer, switch to GitHub icon (#1998)
Summary:
This small PR aims to tweak a bit website appearance and fix small UI issue:
* footer background has been changed to reversed splash gradient
  <img width="1104" alt="Screenshot 2021-03-04 131823" src="https://user-images.githubusercontent.com/719641/109964907-8cba1c80-7cee-11eb-8905-2fa82533cfd7.png">
* GitHub link in the Navbar has been moved to the tight and text was replaced with icon (like on few other Docusaurus sites)
  <img width="557" alt="Screenshot 2021-03-04 133112" src="https://user-images.githubusercontent.com/719641/109965233-f9351b80-7cee-11eb-84d6-30788f662fbf.png">
* Navbar brand title ("Flipper") hover color issues has been fixed, now hover effect is the same as other navbar links

## Changelog

N/A

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

Test Plan: Flipper website run on `localhost`.

Reviewed By: mweststrate

Differential Revision: D26888499

Pulled By: passy

fbshipit-source-id: e8abeace8c1d6ae8dcc46c2381009c2bd2500005
2021-03-08 11:24:03 -08:00
Pritesh Nandgaonkar
226e042e1d Fix the broken xcode detection due to space
Summary: Due to the space in the path, `fs.pathExists` returned false even if the path was existent. Thus added `.trim()` to fix it.

Reviewed By: passy

Differential Revision: D26869404

fbshipit-source-id: 146a96262353177e786f5100a1dad9af7c7d398b
2021-03-08 04:59:42 -08:00
dependabot[bot]
7e884cba26 Bump stetho from 2.2.0 to 2.4.0 (#2008)
Summary:
Bumps [stetho](https://github.com/facebook/fresco) from 2.2.0 to 2.4.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/fresco/releases">stetho's releases</a>.</em></p>
<blockquote>
<h2>Version 2.4.0</h2>
<p>No release notes provided.</p>
<h2>Version 2.3.0</h2>
<h1>Highlights</h1>
<ul>
<li>
<p><strong>Bumped Fresco's minSdk to 14.</strong> We did not remove any Gingerbread-specific code yet, but will do so soon. 091e8b7c4cd11a6cc5b535dd84d8e21a1e243ac0</p>
</li>
<li>
<p>Proper nullability annotations for some classes by using new Infer annotations - this improves Kotlin support and null-safety.</p>
</li>
<li>
<p>Improved Java-only Fresco setup. 4a9961559c8240cbb88eeecf2303f956d0185120</p>
</li>
<li>
<p>Lots of debug logging improvements: More reliable image origin, new MEMORY_BITMAP_SHORTCUT origin, more debug information available. These are available via <code>ImagePerfData#getExtraData()</code></p>
</li>
<li>
<p>Added experimental option to recover from OOMs: f43d5990600c9ac6c3a18e14e4d3c260cf78b462</p>
</li>
<li>
<p>Added option to force a single image pipeline instance: 5f5c076fe26b17a849498c27c7541550c3ef3984</p>
</li>
<li>
<p>Disk cache support for the Fresco Flipper images plugin.</p>
</li>
<li>
<p>Bumped SoLoader version to 0.9.0.</p>
</li>
<li>
<p>Use <code>buildSrc</code> for Fresco's internal dependency management.</p>
</li>
<li>
<p>WIP: Lots of improvements for our new Fresco Vito UI components.</p>
</li>
</ul>
<p>Pull requests:</p>
<ul>
<li>Fixed resource leak problem while using BlurPostProcessor. Thanks <a href="https://github.com/FrancescoJo"><code>@​FrancescoJo</code></a> for the PR.</li>
<li>Make sure there is at least one overlay in GenericDraweeHierarchy. Thanks <a href="https://github.com/dengweichao"><code>@​dengweichao</code></a> for the PR.</li>
<li>Removed unused padding value. Thanks <a href="https://github.com/erenulas"><code>@​erenulas</code></a> for the PR.</li>
</ul>
<h1>Cleanup</h1>
<ul>
<li>Removed Drawee-Volley module. If you're using Drawee-Volley, you can still continue using it by just copying the files removed with 7c2517edee7d4080fab0daf54fd4ac4eca6a8497 into your project. We did not significantly change these in a long time, so this has been stable.</li>
<li>Removed OkHttp2 image pipeline artifact. See deba7d1c3c218377a5b67e58f269914d8f8a88be</li>
</ul>
<p>Full changelog: <a href="https://github.com/facebook/fresco/compare/v2.2.0...v2.3.0">https://github.com/facebook/fresco/compare/v2.2.0...v2.3.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="be9cb64a97"><code>be9cb64</code></a> Bump version to 2.4.0</li>
<li><a href="3364e6e8aa"><code>3364e6e</code></a> Annotate public APIs as <a href="https://github.com/Nullable"><code>@​Nullable</code></a></li>
<li><a href="21e43cfc22"><code>21e43cf</code></a> report the number of inflight requests when the request was created</li>
<li><a href="0aa2f094f3"><code>0aa2f09</code></a> Fix issues caused by use of FB internal things (<a href="https://github-redirect.dependabot.com/facebook/fresco/issues/2574">#2574</a>)</li>
<li><a href="0dcdfc5642"><code>0dcdfc5</code></a> Update giflib to address stack buffer overflow issue. (<a href="https://github-redirect.dependabot.com/facebook/fresco/issues/2571">#2571</a>)</li>
<li><a href="4178929873"><code>4178929</code></a> Add nullable annotations and mark classes nullsafe</li>
<li><a href="b49891bdb4"><code>b49891b</code></a> narrow fbcore proguard rule (<a href="https://github-redirect.dependabot.com/facebook/fresco/issues/2519">#2519</a>)</li>
<li><a href="0ec9738d8d"><code>0ec9738</code></a> Update gradle wrapper to 6.7.1 so it's compatible with AGP 4.1.1 (<a href="https://github-redirect.dependabot.com/facebook/fresco/issues/2572">#2572</a>)</li>
<li><a href="1c1feaa181"><code>1c1feaa</code></a> Add Infer Annotations to testCompileOnly (<a href="https://github-redirect.dependabot.com/facebook/fresco/issues/2573">#2573</a>)</li>
<li><a href="d7ef94ad97"><code>d7ef94a</code></a> Update libpng to address CVE-2019-7317 (<a href="https://github-redirect.dependabot.com/facebook/fresco/issues/2570">#2570</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/fresco/compare/v2.2.0...v2.4.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.facebook.fresco:stetho&package-manager=gradle&previous-version=2.2.0&new-version=2.4.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

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

 ---

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

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

</details>

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

Reviewed By: priteshrnandgaonkar

Differential Revision: D26843914

Pulled By: passy

fbshipit-source-id: 891f1ba93e88ea21d0c751aacde959866333649d
2021-03-08 03:50:26 -08:00
Pritesh Nandgaonkar
a2d559c8c0 Detect Physical iOS device without Xcode
Summary:
This diff adds the support of detecting physical device in Flipper even if the xcode is not installed and there is no cli tool installed.

See the demo.

Reviewed By: timur-valiev

Differential Revision: D26816588

fbshipit-source-id: 5f052998fcbe5c51385222d16df0e1855177b552
2021-03-05 11:36:20 -08:00
John Knox
11879c127b Add portal troubleshooting instructions
Summary: Adds an internal section for portal troubleshooting

Reviewed By: passy

Differential Revision: D26847795

fbshipit-source-id: b12bef20b2f832c4264cfd5cafcced414575b82b
2021-03-05 10:32:35 -08:00
Ostap Manastyrski
b26ca1502d Remove time display on android screen recordings
Summary:
Changelog: Creating an Android screen recording no longer includes meta information like frame rate.

Context: https://fb.workplace.com/groups/flippersupport/permalink/1088379648309359/

Before:
{F454408806}

Reviewed By: mweststrate

Differential Revision: D26765408

fbshipit-source-id: 560d7ba4ff4ccff1b4a17f1c1073efe7638e397a
2021-03-05 10:28:36 -08:00
dependabot[bot]
dd76279caf Bump fresco from 2.2.0 to 2.4.0 (#2009)
Summary:
Bumps [fresco](https://github.com/facebook/fresco) from 2.2.0 to 2.4.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/fresco/releases">fresco's releases</a>.</em></p>
<blockquote>
<h2>Version 2.4.0</h2>
<p>No release notes provided.</p>
<h2>Version 2.3.0</h2>
<h1>Highlights</h1>
<ul>
<li>
<p><strong>Bumped Fresco's minSdk to 14.</strong> We did not remove any Gingerbread-specific code yet, but will do so soon. 091e8b7c4cd11a6cc5b535dd84d8e21a1e243ac0</p>
</li>
<li>
<p>Proper nullability annotations for some classes by using new Infer annotations - this improves Kotlin support and null-safety.</p>
</li>
<li>
<p>Improved Java-only Fresco setup. 4a9961559c8240cbb88eeecf2303f956d0185120</p>
</li>
<li>
<p>Lots of debug logging improvements: More reliable image origin, new MEMORY_BITMAP_SHORTCUT origin, more debug information available. These are available via <code>ImagePerfData#getExtraData()</code></p>
</li>
<li>
<p>Added experimental option to recover from OOMs: f43d5990600c9ac6c3a18e14e4d3c260cf78b462</p>
</li>
<li>
<p>Added option to force a single image pipeline instance: 5f5c076fe26b17a849498c27c7541550c3ef3984</p>
</li>
<li>
<p>Disk cache support for the Fresco Flipper images plugin.</p>
</li>
<li>
<p>Bumped SoLoader version to 0.9.0.</p>
</li>
<li>
<p>Use <code>buildSrc</code> for Fresco's internal dependency management.</p>
</li>
<li>
<p>WIP: Lots of improvements for our new Fresco Vito UI components.</p>
</li>
</ul>
<p>Pull requests:</p>
<ul>
<li>Fixed resource leak problem while using BlurPostProcessor. Thanks <a href="https://github.com/FrancescoJo"><code>@​FrancescoJo</code></a> for the PR.</li>
<li>Make sure there is at least one overlay in GenericDraweeHierarchy. Thanks <a href="https://github.com/dengweichao"><code>@​dengweichao</code></a> for the PR.</li>
<li>Removed unused padding value. Thanks <a href="https://github.com/erenulas"><code>@​erenulas</code></a> for the PR.</li>
</ul>
<h1>Cleanup</h1>
<ul>
<li>Removed Drawee-Volley module. If you're using Drawee-Volley, you can still continue using it by just copying the files removed with 7c2517edee7d4080fab0daf54fd4ac4eca6a8497 into your project. We did not significantly change these in a long time, so this has been stable.</li>
<li>Removed OkHttp2 image pipeline artifact. See deba7d1c3c218377a5b67e58f269914d8f8a88be</li>
</ul>
<p>Full changelog: <a href="https://github.com/facebook/fresco/compare/v2.2.0...v2.3.0">https://github.com/facebook/fresco/compare/v2.2.0...v2.3.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="be9cb64a97"><code>be9cb64</code></a> Bump version to 2.4.0</li>
<li><a href="3364e6e8aa"><code>3364e6e</code></a> Annotate public APIs as <a href="https://github.com/Nullable"><code>@​Nullable</code></a></li>
<li><a href="21e43cfc22"><code>21e43cf</code></a> report the number of inflight requests when the request was created</li>
<li><a href="0aa2f094f3"><code>0aa2f09</code></a> Fix issues caused by use of FB internal things (<a href="https://github-redirect.dependabot.com/facebook/fresco/issues/2574">#2574</a>)</li>
<li><a href="0dcdfc5642"><code>0dcdfc5</code></a> Update giflib to address stack buffer overflow issue. (<a href="https://github-redirect.dependabot.com/facebook/fresco/issues/2571">#2571</a>)</li>
<li><a href="4178929873"><code>4178929</code></a> Add nullable annotations and mark classes nullsafe</li>
<li><a href="b49891bdb4"><code>b49891b</code></a> narrow fbcore proguard rule (<a href="https://github-redirect.dependabot.com/facebook/fresco/issues/2519">#2519</a>)</li>
<li><a href="0ec9738d8d"><code>0ec9738</code></a> Update gradle wrapper to 6.7.1 so it's compatible with AGP 4.1.1 (<a href="https://github-redirect.dependabot.com/facebook/fresco/issues/2572">#2572</a>)</li>
<li><a href="1c1feaa181"><code>1c1feaa</code></a> Add Infer Annotations to testCompileOnly (<a href="https://github-redirect.dependabot.com/facebook/fresco/issues/2573">#2573</a>)</li>
<li><a href="d7ef94ad97"><code>d7ef94a</code></a> Update libpng to address CVE-2019-7317 (<a href="https://github-redirect.dependabot.com/facebook/fresco/issues/2570">#2570</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/fresco/compare/v2.2.0...v2.4.0">compare view</a></li>
</ul>
</details>
<br />

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

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

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

 ---

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

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

</details>

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

Reviewed By: mweststrate

Differential Revision: D26843912

Pulled By: passy

fbshipit-source-id: f8a240e8f228746dab95c11d85c0c68d754a3bc0
2021-03-05 09:17:50 -08:00
Pascal Hartig
ac68cc7026 More aggressively cache native builds (#2025)
Summary:
Got really annoyed with Boost *always* downloading the tar ball on every
build. We had some methods annotated to only run whenever our cache
is out of date and for others we relied on a catch-all at the end which
actually didn't do anything.

If anyone knows Gradle better, please give it a shot.

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

Test Plan:
Changed the URL to something that doesn't exist and it still didn't
re-fetch. Haha, got you!

Reviewed By: mweststrate

Differential Revision: D26843903

Pulled By: passy

fbshipit-source-id: 8c8cf60440d6bf6d7a93eebb7871858b1e6c6509
2021-03-05 09:13:00 -08:00
Pascal Hartig
26335e30a0 Bump Kotlin (#2026)
Summary:
Only a minor bump, but the IDE was pretty insistent I do this.

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

Test Plan: IDE

Reviewed By: mweststrate

Differential Revision: D26843904

Pulled By: passy

fbshipit-source-id: 53a18e75dc9230421e8f9318885af29e8c8a4bdd
2021-03-05 09:09:48 -08:00
dependabot[bot]
96d4e8f0f2 Bump junit from 4.12 to 4.13.2 (#2007)
Summary:
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/junit-team/junit4/releases">junit's releases</a>.</em></p>
<blockquote>
<h2>JUnit 4.13.2</h2>
<p>Please refer to the <a href="https://github.com/junit-team/junit/blob/HEAD/doc/ReleaseNotes4.13.2.md">release notes</a> for details.</p>
<h2>JUnit 4.13.1</h2>
<p>Please refer to the <a href="https://github.com/junit-team/junit/blob/HEAD/doc/ReleaseNotes4.13.1.md">release notes</a> for details.</p>
<h2>JUnit 4.13</h2>
<p>Please refer to the <a href="https://github.com/junit-team/junit/blob/HEAD/doc/ReleaseNotes4.13.md">release notes</a> for details.</p>
<h2>JUnit 4.13 RC 2</h2>
<p>Please refer to the <a href="https://github.com/junit-team/junit4/wiki/4.13-Release-Notes">release notes</a> for details.</p>
<h2>JUnit 4.13 RC 1</h2>
<p>Please refer to the <a href="https://github.com/junit-team/junit4/wiki/4.13-Release-Notes">release notes</a> for details.</p>
<h2>JUnit 4.13 Beta 3</h2>
<p>Please refer to the <a href="https://github.com/junit-team/junit4/wiki/4.13-Release-Notes">release notes</a> for details.</p>
<h2>JUnit 4.13 Beta 2</h2>
<p>Please refer to the <a href="https://github.com/junit-team/junit4/wiki/4.13-Release-Notes">release notes</a> for details.</p>
<h2>JUnit 4.13 Beta 1</h2>
<p>Please refer to the <a href="https://github.com/junit-team/junit4/wiki/4.13-Release-Notes">release notes</a> for details.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="05fe2a64f5"><code>05fe2a6</code></a> [maven-release-plugin] prepare release r4.13.2</li>
<li><a href="ff57344f71"><code>ff57344</code></a> Add build for JDK 17-ea</li>
<li><a href="02aaa01b8f"><code>02aaa01</code></a> Improve check that thread is stopped</li>
<li><a href="e9a75f4be7"><code>e9a75f4</code></a> Merge test for exception type and message</li>
<li><a href="d27ad52592"><code>d27ad52</code></a> Rename DelegateStatement to DelegatingStatement</li>
<li><a href="b83dc2e8c4"><code>b83dc2e</code></a> Better name for test that stops statement</li>
<li><a href="527f3a3d0d"><code>527f3a3</code></a> Replace InfiniteLoop with RunForASecond</li>
<li><a href="2db6394288"><code>2db6394</code></a> Tidy up FailOnTimeoutTest</li>
<li><a href="64634e1c3e"><code>64634e1</code></a> Update 4.13.2 release notes to document pull 1654</li>
<li><a href="f8ee412316"><code>f8ee412</code></a> Fix serialization of AssumptionViolatedException (<a href="https://github-redirect.dependabot.com/junit-team/junit4/issues/1654">https://github.com/facebook/flipper/issues/1654</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/junit-team/junit4/compare/r4.12...r4.13.2">compare view</a></li>
</ul>
</details>
<br />

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

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

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

 ---

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

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

</details>

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

Reviewed By: mweststrate

Differential Revision: D26843915

Pulled By: passy

fbshipit-source-id: 94f52da0efdd601382bc85a8ad5f4d9d60bd517c
2021-03-05 09:03:24 -08:00
Anton Nikolaev
095667b742 Fix "failed to find appMatchPatterns" error
Summary: Fixed an error which happens on second and subsequent device connection to Flipper

Reviewed By: passy

Differential Revision: D26829255

fbshipit-source-id: 17eb603647626a2168e330ec67f4a89783219356
2021-03-05 03:50:24 -08:00
generatedunixname89002005306973
b95058421d Flipper Snapshot Bump: v0.79.2-SNAPSHOT
Summary: Releasing snapshot version 0.79.2-SNAPSHOT

Reviewed By: passy

Differential Revision: D26820463

fbshipit-source-id: 9edf2e986fb69db4448a3edad7740b6daf3630b7
2021-03-04 12:03:50 -08:00
generatedunixname89002005306973
85e5c33265 Flipper Release: v0.79.1
Summary: Releasing version 0.79.1

Reviewed By: passy

Differential Revision: D26820464

fbshipit-source-id: 8ca29bca6b011159e158c43806760f2a2056fc0b
2021-03-04 12:03:50 -08:00
Pascal Hartig
6af041454a Upgrade to FBJNI 0.2 (#1999)
Summary:
This should fix https://github.com/facebook/flipper/issues/1968

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

Test Plan:
Built our sample app; built the sample app provided in the repo as part
of the issue; locally released the Flipper artifacts and built the RN
app against it.

Reviewed By: fabiomassimo

Differential Revision: D26817589

Pulled By: passy

fbshipit-source-id: c6db5f947c08e4236442b08306791e45b4d15ec3
2021-03-04 08:45:09 -08:00
Pascal Hartig
7c22fe8acb Add more gradle sub projects (#1997)
Summary:
I don't fully understand how dependabot works with Android but it seems to only look at the literal fbjni version number based on the logs and we're actually outdated on a bunch of dependencies which Gradle doesn't handle very well.

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

Test Plan: Tested on my fork and I've got a ton of PRs because of this. Brace yourselves.

Reviewed By: mweststrate

Differential Revision: D26784112

Pulled By: passy

fbshipit-source-id: 98ebd0b899a0603868d4b6bc0866e557c87fecd5
2021-03-04 08:36:58 -08:00
Michel Weststrate
f8faeb2690 Fix incorrect assumption on device id's
Summary: In dev mode a (further harmless) error will be triggered if the self inspection plugin is loaded, since the device_id is empty. empty device id's however are fine; the represent the host device (Mac / Win devices)

Reviewed By: passy

Differential Revision: D26814269

fbshipit-source-id: 281fc591c1df47092011b4140099fc7138718b43
2021-03-04 06:01:48 -08:00
Michel Weststrate
163799cf89 Fix exception that happens on focus change
Summary:
Fixing the previous resulted in a next exception, where blur / focus might be triggered directly as side effect of some running logic. I think this happens when entering a debugger statement causing the window to loose focus in favor of the devtools.

Wrapped the logic in setImmediate to make sure that it runs on its own stack, since this will prevent any potential future issues with programmatically focussing / blurring as well.

Reviewed By: jknoxville

Differential Revision: D26814270

fbshipit-source-id: 5ca430653a219d3c98d8bf925277de67d8a9eb20
2021-03-04 06:01:48 -08:00
Michel Weststrate
67e87c2fa5 Fix gray screen crash that might happen when gathering usage stats
Reviewed By: jknoxville

Differential Revision: D26814271

fbshipit-source-id: bd857a42ae6b2528e42c96d0865ae2c532ea345f
2021-03-04 06:01:48 -08:00
Michel Weststrate
05a7451173 Killed pluginStateRecorder
Summary: The state recorder was never updated for Sandy, nor is that really needed since Sandy offers better testing abstractions, and this was a stop gap with potential privacy concerns (due to recording real data). The feature didn't result in any actual test cases, so it seems we won't be missing out with this :)

Reviewed By: passy

Differential Revision: D26813798

fbshipit-source-id: 48ec11516fbc1a47a349a5799713ad05a7e1c73a
2021-03-04 06:01:48 -08:00
Michel Weststrate
7b8054f31c Fixed grayed out body text
Summary: As reported a few times in the internal chat

Reviewed By: passy

Differential Revision: D26813161

fbshipit-source-id: 8b834c7807a7634f23c3ab922bb43e288ea4bd68
2021-03-04 03:18:56 -08:00
Michel Weststrate
6b8eea8011 Bump example project deps to 0.79
Summary: This should have been automated, but I think the diff that landed the script and the actual release missed each other, so next time this should be automated

Reviewed By: passy

Differential Revision: D26782442

fbshipit-source-id: 205ab2e63bdff33f1ecea0a041d88a0a6ec6ae2d
2021-03-03 16:17:48 -08:00
Pritesh Nandgaonkar
cd02bb7fcb Add a doc explaining how to connect to flipper
Summary: This diff adds documentation for using physical devices to connect to Flipper. It also talks about simulators and emulators

Reviewed By: jknoxville

Differential Revision: D26780077

fbshipit-source-id: 47a08cec55c510abd36c2fc776f4ce05ff0ea4d0
2021-03-03 12:53:18 -08:00
Pascal Hartig
a4e457306c Add note about duplicate FBJNI classes
Summary:
Not sure if I made this clearer or even more confusing,
but it's a try.

Reviewed By: mweststrate

Differential Revision: D26781610

fbshipit-source-id: d68b30ffe6b24d537473c2d85b2b74f425068a96
2021-03-03 10:33:01 -08:00
Michel Weststrate
3c60798352 Set up CI for ReactNativeFlipperExample (#1995)
Summary:
Added CI to build the Android and iOS debug ReactNativeFlipperExample app

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

Test Plan:
The relevant jobs succedeed in:
https://github.com/facebook/flipper/pull/1995/checks?check_run_id=2023075981

Reviewed By: passy

Differential Revision: D26778297

Pulled By: mweststrate

fbshipit-source-id: 61f953739e1fa7dc7467af2fa5134798cce8b928
2021-03-03 09:43:32 -08:00
Pascal Hartig
39f0fa86cc Fix idb test (#1996)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/1996

Erm, I'm a bit of a dummy. I didn't mock the access check, so it would actually
rely on idb being installed to run the tests correctly. Without, we'd fail like here
on GitHub: https://github.com/facebook/flipper/runs/2021551466

I couldn't quite figure out how to mock `fs.promises.access`, so I made the constructor
configurable, which doesn't seem that bad, actually.

Reviewed By: mweststrate

Differential Revision: D26778428

fbshipit-source-id: 120b8060ad3ccb1cecd8ce2b208733d5e1090a72
2021-03-03 08:06:42 -08:00
Pola Abram
d7fc17c12e Move list of valid origin prefixes for incoming WebSocket requests to a constant
Summary: Create a constant to hold all valid origin prefixes, for incoming WebSocket requests. This is to make it easier to add additional origins.

Reviewed By: mweststrate

Differential Revision: D26778708

fbshipit-source-id: b89bd8c8d8925b2863f12c319c6ecbeeb265fc42
2021-03-03 07:54:50 -08:00
Michel Weststrate
4799ea4f09 Documented how to opt out from flipper on iOS
Summary: More docs. Addresses https://github.com/facebook/flipper/issues/1326, https://github.com/facebook/flipper/issues/1215 and probably more

Reviewed By: jknoxville

Differential Revision: D26778514

fbshipit-source-id: dcadbad8f53f483d14e7fc54199756a697095309
2021-03-03 07:23:12 -08:00
Pascal Hartig
6bac95be5a Fix MSC link
Summary: Not allowed within an iframe.

Reviewed By: jknoxville

Differential Revision: D26779338

fbshipit-source-id: e201002cb705ca890d6a8fa8470a391e71d8d46c
2021-03-03 06:45:45 -08:00
generatedunixname89002005306973
ae59333c0e Flipper Snapshot Bump: v0.79.1-SNAPSHOT
Summary: Releasing snapshot version 0.79.1-SNAPSHOT

Reviewed By: nikoant

Differential Revision: D26776797

fbshipit-source-id: 15e1312c28a5a62264088217947fe88413cad4f0
2021-03-03 06:12:35 -08:00
generatedunixname89002005306973
47ff03fb96 Flipper Release: v0.79.0
Summary: Releasing version 0.79.0

Reviewed By: nikoant

Differential Revision: D26776798

fbshipit-source-id: 0e85fbad5024c7a794af71098a6b7d4953f4de34
2021-03-03 06:12:35 -08:00
Pascal Hartig
7202fb2abb Fix prismjs security vuln (take II)
Summary:
The previous attempt kept the vulnerable dependency around in `yarn.lock`. Now
it's being resolved to the "fixed" version.

Reviewed By: mweststrate

Differential Revision: D26778354

fbshipit-source-id: 17d8e2f1bbcd28939d85e5a976da0bd074ea25e2
2021-03-03 05:41:28 -08:00
Michel Weststrate
effd334f98 Improve iOS troubleshooting guide
Summary: Added some pointers for everyone who is as iOS noobish as me.

Reviewed By: priteshrnandgaonkar

Differential Revision: D26777687

fbshipit-source-id: 1ba3bb08b5a7b3a3ba937176d4c4c9b5e765a977
2021-03-03 05:05:05 -08:00
Michel Weststrate
c1ce2fad90 Fix ReactNativeFlipperExample build
Summary: The React Native example project was broken for iOS. Fixed this by upgrading cocoapods locally, and bumping the Flipper version.

Reviewed By: passy, priteshrnandgaonkar

Differential Revision: D26777641

fbshipit-source-id: 889ff4f9de7c44240fe0a1b5d7d3c7c0b688d8ad
2021-03-03 05:05:05 -08:00
Anton Nikolaev
fce723eaca Metro and Babel upgraded
Summary:
Upgraded Metro to 0.65.2 which contains the fix for regression which blocked us previously (https://github.com/facebook/metro/issues/641).
Also upgraded Babel to the latest available versions as anyway most of its packages were upgraded together with Metro.

Reviewed By: passy

Differential Revision: D26777168

fbshipit-source-id: f325e0ba46a95e15605a7b15a793d714b1027061
2021-03-03 04:42:43 -08:00
Michel Weststrate
90ac5f55a2 Add version number to error message
Summary: Minimal tweak to the soft crash error reporting: include the version number

Reviewed By: passy

Differential Revision: D26754416

fbshipit-source-id: d517d0bdb6bcf5c58b492c60b5bb8cc5f6b288f6
2021-03-03 03:17:34 -08:00
Pascal Hartig
3d3724ac8b Fix copyright headers
Summary: OSS violation: P242776146

Reviewed By: jknoxville

Differential Revision: D26756475

fbshipit-source-id: bc36fe083101af89f80da293ebafa8a02fd4a052
2021-03-02 12:15:00 -08:00
Anton Nikolaev
769b4d68bf Fix issue with migration producing undefined state for enabled plugins
Summary: I've modified migration to ensure it never produces "undefined" state. Before that this happened when migration is performed from version 0.75- to 0.77+ without 0.76 in between.

Reviewed By: mweststrate

Differential Revision: D26749830

fbshipit-source-id: 3a6599e80935060e8784103363abd617a7f1b7bd
2021-03-02 12:09:48 -08:00
Pascal Hartig
390f27a137 Start bridge abstraction
Summary: This is just an early start of centralising some ad-hoc logic we've got all over the place right now. Memoised do-we-have-idb calls with concatenated shell invocations. This gives us the opportunity to do a bit of testing, too.

Reviewed By: mweststrate

Differential Revision: D26694863

fbshipit-source-id: cd2b9883f90397802bbaae6030f7cb3881c565c2
2021-03-02 09:53:19 -08:00
Pascal Hartig
43242557aa Remove listDevices
Summary: Appears to be unused.

Reviewed By: mweststrate

Differential Revision: D26753922

fbshipit-source-id: 7a21b8242e4c8d2428a286bc6ef63adafe74a78c
2021-03-02 09:53:18 -08:00
Pascal Hartig
847f4d0151 Delete redundant gradle code (once more)
Reviewed By: fabiomassimo

Differential Revision: D26751726

fbshipit-source-id: 03b8601cdb0910f2ec7508d9bb1c09bcd6bcd301
2021-03-02 08:46:13 -08:00
Pola Abram
05bfaef75c Allow KaiOS apps (origin "app://") to connnect to the WebSocket server
Summary:
Packaged KaiOS apps have "app://" as their origin prefix (see the "origin" section in the documentation - https://developer.kaiostech.com/getting-started/main-concepts/manifest).

Accept WebSocket connections from any "app://" origin, so can connect to Flipper from apps running on KaiOS devices.

Reviewed By: priteshrnandgaonkar

Differential Revision: D26728925

fbshipit-source-id: 05f15fe464bf0dc977665fba1dd2b8d61a399fa6
2021-03-02 07:29:18 -08:00
Michel Weststrate
961a24f72e Upgraded prismjs in website/ to address security vulnerability
Summary: See task

Reviewed By: passy

Differential Revision: D26733333

fbshipit-source-id: d9057f39a38303ea404c378208cee4c28c8d5f72
2021-03-02 04:02:02 -08:00
Michel Weststrate
224ec4d5d6 Fix device cleanup
Summary:
Fixes https://github.com/facebook/flipper/issues/1989

We had some self healing side effect that would destroy devices when registering a new device with the same serial, if they weren't yet. Redux isn't too happy about that, causing the attached crash.

Instead introduced a utility to destroy devices, and log an error if the device life cycle isn't respected by the device implementations, rather than crashing we will now just waste some memory.

Changelog: Fix a crash when disconnecting metro devices

Reviewed By: passy

Differential Revision: D26749214

fbshipit-source-id: 4c185ac521d44c1337fac8a9145440123b8b784c
2021-03-02 03:58:55 -08:00
Michel Weststrate
4a71a5abd1 Bump dependencies of ReactNativeFlipperExample
Summary: Make sure that ReactNativeFlipper example is bumped automatically, so that testing becomes easier

Reviewed By: priteshrnandgaonkar

Differential Revision: D26723361

fbshipit-source-id: 7c72d541f9f210f4932b325c9d83ffa686e22bda
2021-03-02 01:28:14 -08:00
dependabot[bot]
2f3e671dca Bump @typescript-eslint/eslint-plugin from 4.14.2 to 4.15.2 in /desktop (#1983)
Summary:
Bumps [typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.14.2 to 4.15.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/eslint-plugin's releases</code></a>.</em></p>
<blockquote>
<h2>v4.15.2</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.15.1...v4.15.2">4.15.2</a> (2021-02-22)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>typescript-estree:</strong> correct issues in AST definition (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3083">#3083</a>) (<a href="509a11749f">509a117</a>)</li>
<li>add missing intrinsic keyword node to AST (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3081">#3081</a>) (<a href="409bf0bb3e">409bf0b</a>)</li>
<li><strong>eslint-plugin:</strong> [no-var-requires] report when used in type assertion (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3074">#3074</a>) (<a href="763a2520bf">763a252</a>)</li>
<li>correct test names on windows for semantic-diagnostics-enabled (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3060">#3060</a>) (<a href="885780d4a2">885780d</a>)</li>
</ul>
<h2>v4.15.1</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.15.0...v4.15.1">4.15.1</a> (2021-02-15)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [explicit-module-boundary-types] check allowNames on function declarations and property methods (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3051">#3051</a>) (<a href="0ade469dc1">0ade469</a>)</li>
</ul>
<h2>v4.15.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.14.2...v4.15.0">4.15.0</a> (2021-02-08)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-extra-parens] handle ESLint 7.19.0 (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2993">#2993</a>) (<a href="4615048d24">4615048</a>)</li>
<li><strong>eslint-plugin:</strong> [prefer-function-type] correct fixer when signature ends with a semi (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3002">#3002</a>) (<a href="898dd39619">898dd39</a>)</li>
<li><strong>scope-manager:</strong> fix visiting of TSImportType (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3008">#3008</a>) (<a href="ce4fcbf440">ce4fcbf</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3006">#3006</a></li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>typescript-estree:</strong> improve logic used to escape string literals in jsx (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2995">#2995</a>) (<a href="3cb3aade28">3cb3aad</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md"><code>@​typescript-eslint/eslint-plugin's changelog</code></a>.</em></p>
<blockquote>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.15.1...v4.15.2">4.15.2</a> (2021-02-22)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>typescript-estree:</strong> correct issues in AST definition (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3083">#3083</a>) (<a href="509a11749f">509a117</a>)</li>
<li>add missing intrinsic keyword node to AST (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3081">#3081</a>) (<a href="409bf0bb3e">409bf0b</a>)</li>
<li><strong>eslint-plugin:</strong> [no-var-requires] report when used in type assertion (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3074">#3074</a>) (<a href="763a2520bf">763a252</a>)</li>
</ul>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.15.0...v4.15.1">4.15.1</a> (2021-02-15)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [explicit-module-boundary-types] check allowNames on function declarations and property methods (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3051">#3051</a>) (<a href="0ade469dc1">0ade469</a>)</li>
</ul>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.14.2...v4.15.0">4.15.0</a> (2021-02-08)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-extra-parens] handle ESLint 7.19.0 (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2993">#2993</a>) (<a href="4615048d24">4615048</a>)</li>
<li><strong>eslint-plugin:</strong> [prefer-function-type] correct fixer when signature ends with a semi (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3002">#3002</a>) (<a href="898dd39619">898dd39</a>)</li>
<li><strong>scope-manager:</strong> fix visiting of TSImportType (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3008">#3008</a>) (<a href="ce4fcbf440">ce4fcbf</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3006">#3006</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="fc774f6377"><code>fc774f6</code></a> chore: publish v4.15.2</li>
<li><a href="509a11749f"><code>509a117</code></a> fix(typescript-estree): correct issues in AST definition (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3083">#3083</a>)</li>
<li><a href="409bf0bb3e"><code>409bf0b</code></a> fix: add missing intrinsic keyword node to AST (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3081">#3081</a>)</li>
<li><a href="763a2520bf"><code>763a252</code></a> fix(eslint-plugin): [no-var-requires] report when used in type assertion (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3074">#3074</a>)</li>
<li><a href="e9bdd07da2"><code>e9bdd07</code></a> test(eslint-plugin): [no-unsafe-assignment] add missing test cases (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3070">#3070</a>)</li>
<li><a href="f9980c25fa"><code>f9980c2</code></a> chore: publish v4.15.1</li>
<li><a href="d94c6c93eb"><code>d94c6c9</code></a> docs(eslint-plugin): [explicit-module-boundary-types] fix doc &amp; code examples...</li>
<li><a href="3dcedb81eb"><code>3dcedb8</code></a> chore: update remaining dependencies (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3057">#3057</a>)</li>
<li><a href="0ade469dc1"><code>0ade469</code></a> fix(eslint-plugin): [explicit-module-boundary-types] check allowNames on func...</li>
<li><a href="5e5d9b9dc4"><code>5e5d9b9</code></a> chore(eslint-plugin): remove no longer needed tools module (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3052">#3052</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.2/packages/eslint-plugin">compare view</a></li>
</ul>
</details>
<br />

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

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

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

 ---

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

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

</details>

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

Reviewed By: passy

Differential Revision: D26724094

Pulled By: mweststrate

fbshipit-source-id: 506e04e4cc9cc78b3cfce5b4ae196ce3437f0eed
2021-03-02 01:23:06 -08:00