Commit Graph

6639 Commits

Author SHA1 Message Date
Michel Weststrate
3e7a6b1b4b Move metrics / tracking / error analysis to flipper-common package
Summary:
what else can I say

move_complexity

Reviewed By: passy

Differential Revision: D31483414

fbshipit-source-id: 1692c792121a3aae0843eb238040cae0445cdf54
2021-10-12 16:00:52 -07:00
Michel Weststrate
51bfc8f05d Cleanup logger
Summary: Some cleanup around Logger, like renaming `getInstance` -> `getLogger`

Reviewed By: aigoncharov

Differential Revision: D31480828

fbshipit-source-id: d2fa9dc2b45bc34d846d45e396a74b80906d3ad5
2021-10-12 16:00:52 -07:00
Michel Weststrate
91d96774f6 Move files to flipper-common
Summary: Moved Logger, sleep, timeout and server contract types to flipper-common packages.

Reviewed By: passy

Differential Revision: D31475790

fbshipit-source-id: 42d2147698875f9e919ad5250f9953f3bff3ec2d
2021-10-12 16:00:52 -07:00
Michel Weststrate
cfd44b592a Further decouple server from UI
Summary: Further decoupling of `server/` from the rest of the code base. Also fixed a problem with promise chaining causing promises to create unhandled rejection errors.

Reviewed By: passy

Differential Revision: D31474919

fbshipit-source-id: 027cccbe9b57d856c94d63c093d39b6cb3e53312
2021-10-12 16:00:52 -07:00
Artem Kholodnyi
11e7bbf9cf Fix the observer effect in Images Flipper plugin
Reviewed By: oprisnik, wizh

Differential Revision: D31379424

fbshipit-source-id: 96040dd0d37442d80a660814bd356571d075aa2c
2021-10-12 09:15:53 -07:00
Anton Nikolaev
1fae3a24c9 Convert all connectivity logs from "log" to "info"
Summary: In a diff down the stack I introduced sending of info/warn/error logs to Scuba. Here I'm just changing level of all connectivity-related logging to "info" as they often required for investigations.

Reviewed By: mweststrate

Differential Revision: D31532770

fbshipit-source-id: 956d6712918291579b3beb12cb91ab69ce1e3859
2021-10-12 07:19:41 -07:00
Anton Nikolaev
64ce2e6f69 Show all plugins in the list even if there is no selected device / app
Summary: Just a small fix to ensure all plugins are shown in the list even if no device / app is connected to Flipper. We show them under "Unavailable plugins" with  explanation why they not available. This allows user to check plugin documentation even without connecting anything to Flipper.

Reviewed By: passy

Differential Revision: D31532732

fbshipit-source-id: 4e481b3d6923bb073a1478b2bd283db25a374c72
2021-10-12 07:19:41 -07:00
Anton Nikolaev
5e3bddc08e Fold warnings about plugins in legacy mode into a single message
Summary: As we now send warn logs to server - it better to reduce their count. This diff folds all the warnings for plugins using the legacy API into one warning.

Reviewed By: passy

Differential Revision: D31532559

fbshipit-source-id: 0621a170e11e9d9645964dd8ecf2f9e753273225
2021-10-12 07:19:41 -07:00
Artem Kholodnyi
72666e4205 Bump fresco from 2.5.0 to 2.6.0
Reviewed By: oprisnik

Differential Revision: D31544447

fbshipit-source-id: f94dd52bddc87bf13035686f1713efaca4cd6521
2021-10-12 04:28:17 -07:00
dependabot[bot]
9463518365 Bump ansi-to-html from 0.7.1 to 0.7.2 in /flipper-js-client-sdk (#2962)
Summary:
Bumps [ansi-to-html](https://github.com/rburns/ansi-to-html) from 0.7.1 to 0.7.2.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/rburns/ansi-to-html/commits">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ansi-to-html&package-manager=npm_and_yarn&previous-version=0.7.1&new-version=0.7.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/2962

Reviewed By: nikoant

Differential Revision: D31545947

Pulled By: passy

fbshipit-source-id: 48457ea23946ac946347137e50ee30bea943c93e
2021-10-11 12:00:38 -07:00
dependabot[bot]
6362299f9c Bump mockito-core from 3.12.4 to 4.0.0 (#2965)
Summary:
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.12.4 to 4.0.0.
<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.0.0</h2>
<h1>Mockito 4: Removing deprecated APIs.</h1>
<p>All of these APIs have been marked as deprecated and have been present
in Mockito for quite a while.</p>
<p>An overview of now-deleted classes/methods:</p>
<ul>
<li><code>org.mockito.Matchers</code> which was an alias for
<code>org.mockito.ArgumentMatchers</code></li>
<li><code>org.mockito.ArgumentMatchers#{anyObject,anyVararg}</code> both which were
aliases for <code>org.mockito.ArgumentMatchers#any</code></li>
<li><code>org.mockito.ArgumentMatchers#any*Of</code>, which were aliases for the same
method name without the Of and the generic parameters (which were
ignored)</li>
<li><code>org.mockito.ArgumentMatchers#{is}{Not}Null(Class)</code> which took a class
which was ignored. Aliases for the same methods without the parameter</li>
<li><code>org.mockito.MockedStatic#verify</code> which had the parameter types reversed</li>
<li><code>org.mockito.Mockito#verifyZeroInteractions</code> an alias of
<code>verifyNoMoreInteractions</code></li>
<li><code>org.mockito.Mockito#debug</code> framework integration API that we later
refactored</li>
<li><code>org.mockito.configuration.AnnotationEngine</code> which was leaking internal
APIs and instead users should use <code>org.mockito.plugins.AnnotationEngine</code></li>
<li><code>org.mockito.exceptions.verification.TooLittleActualInvocations</code> fixed
the grammar from &quot;Little&quot; to &quot;Few&quot;</li>
<li>Numerous internal APIs that we never officially supported and can now
remove</li>
<li><code>org.mockito.plugins.InstantiatorProvider</code> which was leaking internal
APIs and instead users should use InstantiatorProvider2 (we should
probably rename back to remove the number in a future major release)</li>
<li><code>org.mockito.runners</code> a package that hosted several old JUnit runners
which were no longer supported. Users should instead use
<code>org.mockito.junit.MockitoJUnitRunner</code> which is our official JUnit4
runner.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="e8f26b3785"><code>e8f26b3</code></a> Fixes <a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2281">https://github.com/facebook/flipper/issues/2281</a>: Make MockedConstruction stubs close on demand (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2442">https://github.com/facebook/flipper/issues/2442</a>)</li>
<li><a href="bf480c3ec4"><code>bf480c3</code></a> Bump versions.bytebuddy from 1.11.18 to 1.11.19 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2441">https://github.com/facebook/flipper/issues/2441</a>)</li>
<li><a href="d4180a2715"><code>d4180a2</code></a> Update BND plugin to 6.0.0 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2440">https://github.com/facebook/flipper/issues/2440</a>)</li>
<li><a href="7032574ce1"><code>7032574</code></a> Remove all Incubating annotations (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2437">https://github.com/facebook/flipper/issues/2437</a>)</li>
<li><a href="c8dbc10d20"><code>c8dbc10</code></a> Fix spelling in old release notes (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2439">https://github.com/facebook/flipper/issues/2439</a>)</li>
<li><a href="40d6f6840e"><code>40d6f68</code></a> Add test for enum mocking using inline mock maker.</li>
<li><a href="6a50cc458b"><code>6a50cc4</code></a> Run CI on Java 17 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2417">https://github.com/facebook/flipper/issues/2417</a>)</li>
<li><a href="99f8a62536"><code>99f8a62</code></a> Add monospace font fallback for JavaDoc (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2434">https://github.com/facebook/flipper/issues/2434</a>)</li>
<li><a href="651feb3007"><code>651feb3</code></a> Bump versions.junitJupiter from 5.8.0 to 5.8.1 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2430">https://github.com/facebook/flipper/issues/2430</a>)</li>
<li><a href="6db7a02587"><code>6db7a02</code></a> Bump junit-platform-launcher from 1.8.0 to 1.8.1 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2432">https://github.com/facebook/flipper/issues/2432</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/mockito/mockito/compare/v3.12.4...v4.0.0">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=3.12.4&new-version=4.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

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

 ---

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

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

</details>

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

Reviewed By: nikoant

Differential Revision: D31545927

Pulled By: passy

fbshipit-source-id: 8fb2447e3903ad213379e0ba0e270ad08e2598c9
2021-10-11 11:57:25 -07:00
dependabot[bot]
47be3f36c1 Bump react-native-flipper from 0.114.0 to 0.114.1 in /react-native/ReactNativeFlipperExample (#2964)
Summary:
Bumps [react-native-flipper](https://github.com/facebook/flipper) from 0.114.0 to 0.114.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/flipper/releases">react-native-flipper's releases</a>.</em></p>
<blockquote>
<h2>v0.114.1</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md</a>
for full notes.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="e7b3ea9344"><code>e7b3ea9</code></a> Flipper Release: v0.114.1</li>
<li><a href="4736abc29c"><code>4736abc</code></a> Upgrade publish action</li>
<li><a href="c3ff0ff355"><code>c3ff0ff</code></a> Set up Flipper decapitated packages</li>
<li><a href="99acd766b9"><code>99acd76</code></a> Upgrade example project to 0.66</li>
<li><a href="d56375970d"><code>d563759</code></a> Cleaning up sheet abstraction to use Ant/flipper-plugin dialogs instead</li>
<li><a href="9e5575cf69"><code>9e5575c</code></a> Dialog management cleanup</li>
<li><a href="89b193b438"><code>89b193b</code></a> Clean up Sheet abstraction</li>
<li><a href="740093d0d9"><code>740093d</code></a> Separate Client in server and client part</li>
<li><a href="eab4804792"><code>eab4804</code></a> Update React DevTools from 4.13.0 -&gt; 4.19.1</li>
<li><a href="a7e02f234a"><code>a7e02f2</code></a> Set license to MIT</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/flipper/compare/v0.114.0...v0.114.1">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: nikoant

Differential Revision: D31545930

Pulled By: passy

fbshipit-source-id: 3308bed8c54bc2a5986b6943554085bd78a03b72
2021-10-11 11:54:57 -07:00
dependabot[bot]
c129eff18e Bump protobuf-java from 3.18.0 to 3.18.1 (#2966)
Summary:
Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.18.0 to 3.18.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/protocolbuffers/protobuf/releases">protobuf-java's releases</a>.</em></p>
<blockquote>
<h2>Protocol Buffers v3.18.1</h2>
<h1>Python</h1>
<ul>
<li>Update setup.py to reflect that we now require at least Python 3.5 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8989">#8989</a>)</li>
<li>Performance fix for DynamicMessage: force GetRaw() to be inlined (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9023">#9023</a>)</li>
</ul>
<h1>Ruby</h1>
<ul>
<li>Update ruby_generator.cc to allow proto2 imports in proto3 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9003">#9003</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="0dab03ba7b"><code>0dab03b</code></a> Update protobuf version to 3.18.1 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9051">#9051</a>)</li>
<li><a href="40f6669c46"><code>40f6669</code></a> Update changelog for 3.18.1 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9050">#9050</a>)</li>
<li><a href="aeb624d3b4"><code>aeb624d</code></a> Avoid installing anything from Homebrew in test runs (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9043">#9043</a>)</li>
<li><a href="bfc4c3472d"><code>bfc4c34</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9021">#9021</a> from acozzette/cherry-pick-fixes</li>
<li><a href="5378c9a710"><code>5378c9a</code></a> Use the stable version of rvm</li>
<li><a href="55b0e11f52"><code>55b0e11</code></a> Fix Ruby tests on Mac</li>
<li><a href="0333cb77de"><code>0333cb7</code></a> Update ruby/travis-test.sh to print commands</li>
<li><a href="0e7a35f24b"><code>0e7a35f</code></a> Update dist_install test to work around Python issue</li>
<li><a href="bf8d7f0b72"><code>bf8d7f0</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9023">#9023</a> from haberman/dyn-msg-perf-fix</li>
<li><a href="5e8396fd27"><code>5e8396f</code></a> Performance fix for DynamicMessage: force GetRaw() to be inlined.</li>
<li>Additional commits viewable in <a href="https://github.com/protocolbuffers/protobuf/compare/v3.18.0...v3.18.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.protobuf:protobuf-java&package-manager=gradle&previous-version=3.18.0&new-version=3.18.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/2966

Reviewed By: nikoant

Differential Revision: D31545922

Pulled By: passy

fbshipit-source-id: 38ad870fcaf1165fd8ed9787f63e9a01948eab83
2021-10-11 11:52:29 -07:00
dependabot[bot]
5c3c668275 Bump babel-jest from 27.2.4 to 27.2.5 in /react-native/ReactNativeFlipperExample (#2963)
Summary:
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 27.2.4 to 27.2.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/releases">babel-jest's releases</a>.</em></p>
<blockquote>
<h2>v27.2.5</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-config]</code> Warn when multiple Jest configs are located (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11922">#11922</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[expect]</code> Pass matcher context to asymmetric matchers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11926">#11926</a> &amp; <a href="https://github-redirect.dependabot.com/facebook/jest/pull/11930">#11930</a>)</li>
<li><code>[expect]</code> Improve TypeScript types (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11931">#11931</a>)</li>
<li><code>[expect]</code> Improve typings of <code>toThrow()</code> and <code>toThrowError()</code> matchers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11929">#11929</a>)</li>
<li><code>[jest-cli]</code> Improve <code>--help</code> printout by removing defunct <code>--browser</code> option (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11914">#11914</a>)</li>
<li><code>[jest-haste-map]</code> Use distinct cache paths for different values of <code>computeDependencies</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11916">#11916</a>)</li>
<li><code>[jest/reporters]</code> Do not buffer <code>console.log</code>s when using verbose reporter (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11054">#11054</a>)</li>
</ul>
<h3>Chore &amp; Maintenance</h3>
<ul>
<li><code>[expect]</code> Export default matchers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11932">#11932</a>)</li>
<li><code>[jest/types]</code> Mark deprecated configuration options as <code>deprecated</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11913">#11913</a>)</li>
</ul>
<h3>New Contributors</h3>
<ul>
<li><a href="https://github.com/motiz88"><code>@​motiz88</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/11916">facebook/jest#11916</a></li>
<li><a href="https://github.com/mxschmitt"><code>@​mxschmitt</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/11932">facebook/jest#11932</a></li>
<li><a href="https://github.com/JanKaifer"><code>@​JanKaifer</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/11922">facebook/jest#11922</a></li>
<li><a href="https://github.com/conartist6"><code>@​conartist6</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/11054">facebook/jest#11054</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/jest/compare/v27.2.4...v27.2.5">https://github.com/facebook/jest/compare/v27.2.4...v27.2.5</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/blob/main/CHANGELOG.md">babel-jest's changelog</a>.</em></p>
<blockquote>
<h2>27.2.5</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-config]</code> Warn when multiple Jest configs are located (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11922">#11922</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[expect]</code> Pass matcher context to asymmetric matchers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11926">#11926</a> &amp; <a href="https://github-redirect.dependabot.com/facebook/jest/pull/11930">#11930</a>)</li>
<li><code>[expect]</code> Improve TypeScript types (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11931">#11931</a>)</li>
<li><code>[expect]</code> Improve typings of <code>toThrow()</code> and <code>toThrowError()</code> matchers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11929">#11929</a>)</li>
<li><code>[jest-cli]</code> Improve <code>--help</code> printout by removing defunct <code>--browser</code> option (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11914">#11914</a>)</li>
<li><code>[jest-haste-map]</code> Use distinct cache paths for different values of <code>computeDependencies</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11916">#11916</a>)</li>
<li><code>[jest/reporters]</code> Do not buffer <code>console.log</code>s when using verbose reporter (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11054">#11054</a>)</li>
</ul>
<h3>Chore &amp; Maintenance</h3>
<ul>
<li><code>[expect]</code> Export default matchers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11932">#11932</a>)</li>
<li><code>[jest/types]</code> Mark deprecated configuration options as <code>deprecated</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11913">#11913</a>)</li>
</ul>
<h3>Performance</h3>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="251b8014e8"><code>251b801</code></a> v27.2.5</li>
<li>See full diff in <a href="https://github.com/facebook/jest/commits/v27.2.5/packages/babel-jest">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=babel-jest&package-manager=npm_and_yarn&previous-version=27.2.4&new-version=27.2.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/2963

Reviewed By: nikoant

Differential Revision: D31545944

Pulled By: passy

fbshipit-source-id: 6cd4aefd222ab6b0f1be5f71c99809e68d34f557
2021-10-11 11:49:21 -07:00
Pascal Hartig
dd190ef2e0 Big dep bump
Summary: Conservatively bumping only patch versions (except the ones we know break stuff).

Reviewed By: nikoant

Differential Revision: D31511737

fbshipit-source-id: 5b55b4689e71975824577f0ac43d806ca37ea232
2021-10-11 02:32:44 -07:00
dependabot[bot]
f5983b64a9 Bump react-native-flipper from 0.112.0 to 0.114.0 in /react-native/ReactNativeFlipperExample (#2949)
Summary:
Bumps [react-native-flipper](https://github.com/facebook/flipper) from 0.112.0 to 0.114.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/flipper/releases">react-native-flipper's releases</a>.</em></p>
<blockquote>
<h2>v0.114.0</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md</a>
for full notes.</p>
<h2>v0.113.0</h2>
<p>See <a href="https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md">https://github.com/facebook/flipper/blob/main/desktop/static/CHANGELOG.md</a>
for full notes.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="49d41f15e3"><code>49d41f1</code></a> Flipper Release: v0.114.0</li>
<li><a href="37529af074"><code>37529af</code></a> Track plugin selection steps</li>
<li><a href="bce2cdc316"><code>bce2cdc</code></a> Reduce logging verbosity for flipper socket provider switches</li>
<li><a href="026f8fc308"><code>026f8fc</code></a> Store clients as Map rather than array</li>
<li><a href="c9a34d3cc2"><code>c9a34d3</code></a> Fix inconsistent handling of app id and name</li>
<li><a href="ba89daf12c"><code>ba89daf</code></a> Bump RN example pod files</li>
<li><a href="799d88275e"><code>799d882</code></a> Remove WebSocket delegate before closing</li>
<li><a href="20185f37ab"><code>20185f3</code></a> Init and error logging</li>
<li><a href="d6cc115a90"><code>d6cc115</code></a> Flipper Snapshot Bump: v0.113.1-SNAPSHOT</li>
<li><a href="672cfad7d6"><code>672cfad</code></a> Flipper Release: v0.113.0</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/flipper/compare/v0.112.0...v0.114.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: muraziz

Differential Revision: D31502057

Pulled By: passy

fbshipit-source-id: f2a290b07c569982e7de3c9d1b28c9b60b73159c
2021-10-10 08:40:47 -07:00
Pascal Hartig
26ed0875cb Change adb path resolution
Summary:
Quick drive-by change.

`path.resolve` accepts var-args so we don't resolve
to the wrong path on non-Unix systems.

Reviewed By: mweststrate

Differential Revision: D31502481

fbshipit-source-id: a963cd37d13eb8ef68bccf375f3e074fa8961a9e
2021-10-08 09:45:27 -07:00
Pascal Hartig
92ec974040 Update adb failure logging
Summary:
This is not actionable on our end because this will get
triggered for anyone setting a wrong ANDROID_HOME path.

Reviewed By: mweststrate

Differential Revision: D31502390

fbshipit-source-id: 529f1ba940cf6e38363933f706d167196116231a
2021-10-08 09:45:27 -07:00
Pascal Hartig
0ae986758e Fix android build (#2956)
Summary:
Following mweststrate's advice on how to fix this.

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

Test Plan: Watch the Action.

Reviewed By: lblasa

Differential Revision: D31502115

Pulled By: passy

fbshipit-source-id: 0f6dc73bcfde30fe7e2ee78e58d1c8e6fc16ec29
2021-10-08 06:55:05 -07:00
dependabot[bot]
0f04b2f651 Bump dokka-gradle-plugin from 1.5.30 to 1.5.31 (#2938)
Summary:
Bumps [dokka-gradle-plugin](https://github.com/Kotlin/dokka) from 1.5.30 to 1.5.31.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/Kotlin/dokka/releases">dokka-gradle-plugin's releases</a>.</em></p>
<blockquote>
<h2>1.5.31 Alpha</h2>
<p>Changes:</p>
<ul>
<li>Support Kotlin 1.5.31</li>
<li>Support JS KLib</li>
<li>Fix link to a javadoc enum entry</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="eb43d787d5"><code>eb43d78</code></a> Regenerate api dump</li>
<li><a href="f91c6fe0af"><code>f91c6fe</code></a> Bump dokka version to 1.5.31</li>
<li><a href="bd53dcd2dc"><code>bd53dcd</code></a> Bump gradle to 7.2 (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2144">https://github.com/facebook/flipper/issues/2144</a>)</li>
<li><a href="16423a00b8"><code>16423a0</code></a> Bump to Kotlin 1.5.31</li>
<li><a href="755c0dfa52"><code>755c0df</code></a> Support JS KLib (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2159">https://github.com/facebook/flipper/issues/2159</a>)</li>
<li><a href="7bea7d1834"><code>7bea7d1</code></a> Fix whitespaces inside <code>link</code> tag (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2156">https://github.com/facebook/flipper/issues/2156</a>)</li>
<li><a href="c4205226ab"><code>c420522</code></a> Fix link to javadoc enum entry (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2131">https://github.com/facebook/flipper/issues/2131</a>)</li>
<li>See full diff in <a href="https://github.com/Kotlin/dokka/compare/v1.5.30...v1.5.31">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.jetbrains.dokka:dokka-gradle-plugin&package-manager=gradle&previous-version=1.5.30&new-version=1.5.31)](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/2938

Reviewed By: muraziz

Differential Revision: D31502056

Pulled By: passy

fbshipit-source-id: 12c1aa6ea7f930a769cc2f0233b56c9aa7990a1f
2021-10-08 05:40:01 -07:00
dependabot[bot]
1e841b7e6d Bump okhttp from 4.9.1 to 4.9.2 (#2937)
Summary:
Bumps [okhttp](https://github.com/square/okhttp) from 4.9.1 to 4.9.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/square/okhttp/blob/master/CHANGELOG.md">okhttp's changelog</a>.</em></p>
<blockquote>
<h2>Version 4.9.2</h2>
<p><em>2021-09-30</em></p>
<ul>
<li>Fix: Don't include potentially-sensitive header values in <code>Headers.toString()</code> or exceptions.
This applies to <code>Authorization</code>, <code>Cookie</code>, <code>Proxy-Authorization</code>, and <code>Set-Cookie</code> headers.</li>
<li>Fix: Don't crash with an <code>InaccessibleObjectException</code> when running on JDK17+ with strong
encapsulation enabled.</li>
<li>Fix: Strictly verify hostnames used with OkHttp's <code>HostnameVerifier</code>. Programs that make direct
manual calls to <code>HostnameVerifier</code> could be defeated if the hostnames they pass in are not
strictly ASCII. This issue is tracked as [CVE-2021-0341].</li>
</ul>
<h2>Version 5.0.0-alpha.2</h2>
<p><em>2021-01-30</em></p>
<p><strong>In this release MockWebServer has a new Maven coordinate and package name.</strong> A longstanding
problem with MockWebServer has been its API dependency on JUnit 4. We've reorganized things to
remove that dependency while preserving backwards compatibility.</p>
<table>
<thead>
<tr>
<th align="left">Maven Coordinate</th>
<th align="left">Package Name</th>
<th align="left">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">com.squareup.okhttp3:mockwebserver3:5.0.0-alpha.2</td>
<td align="left">mockwebserver3</td>
<td align="left">Core module. No JUnit dependency!</td>
</tr>
<tr>
<td align="left">com.squareup.okhttp3:mockwebserver3-junit4:5.0.0-alpha.2</td>
<td align="left">mockwebserver3.junit4</td>
<td align="left">Optional JUnit 4 integration.</td>
</tr>
<tr>
<td align="left">com.squareup.okhttp3:mockwebserver3-junit5:5.0.0-alpha.2</td>
<td align="left">mockwebserver3.junit5</td>
<td align="left">Optional JUnit 5 integration.</td>
</tr>
<tr>
<td align="left">com.squareup.okhttp3:mockwebserver:5.0.0-alpha.2</td>
<td align="left">okhttp3.mockwebserver</td>
<td align="left">Obsolete. Depends on JUnit 4.</td>
</tr>
</tbody>
</table>
<p>The new APIs use <code>mockwebserver3</code> in both the Maven coordinate and package name. This new API is
<strong>not stable</strong> and will likely change before the final 5.0.0 release.</p>
<p>If you have code that subclasses <code>okhttp3.mockwebserver.QueueDispatcher</code>, this update is not source
or binary compatible. Migrating to the new <code>mockwebserver3</code> package will fix this problem.</p>
<ul>
<li>New: DNS over HTTPS is now a stable feature of OkHttp. We introduced this as an experimental
module in 2018. We are confident in its stable API and solid implementation.</li>
<li>Fix: Work around a crash in Android 10 and 11 that may be triggered when two threads
concurrently close an SSL socket. This would have appeared in crash logs as
<code>NullPointerException: bio == null</code>.</li>
<li>Fix: Use plus <code>+</code> instead of <code>%20</code> to encode space characters in <code>FormBody</code>. This was a
longstanding bug in OkHttp. The fix makes OkHttp consistent with major web browsers.</li>
<li>Fix: Don't crash if Conscrypt returns a null version.</li>
<li>Fix: Include the public suffix data as a resource in GraalVM native images.</li>
<li>Fix: Fail fast when the cache is corrupted.</li>
<li>Fix: Fail fast when a private key cannot be encoded.</li>
<li>Fix: Fail fast when attempting to verify a non-ASCII hostname.</li>
<li>Upgrade: [GraalVM 21][graalvm_21].</li>
<li>Upgrade: [Kotlin 1.4.20][kotlin_1_4_20].</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3edf17ca8a"><code>3edf17c</code></a> Prepare for release 4.9.2.</li>
<li><a href="262b3cde9f"><code>262b3cd</code></a> Handle strict module handling on JDK17 (<a href="https://github-redirect.dependabot.com/square/okhttp/issues/6707">#6707</a>) (<a href="https://github-redirect.dependabot.com/square/okhttp/issues/6742">#6742</a>)</li>
<li><a href="f574ea2f52"><code>f574ea2</code></a> Cherry pick fix for CVE-2021-0341 onto 4.9.x (<a href="https://github-redirect.dependabot.com/square/okhttp/issues/6741">#6741</a>)</li>
<li><a href="1fd7c0afdc"><code>1fd7c0a</code></a> Make it more difficult to accidentally log sensitive headers (<a href="https://github-redirect.dependabot.com/square/okhttp/issues/6551">#6551</a>) (<a href="https://github-redirect.dependabot.com/square/okhttp/issues/6740">#6740</a>)</li>
<li><a href="b0397cc7a9"><code>b0397cc</code></a> 4.9.x GitHub builds update (<a href="https://github-redirect.dependabot.com/square/okhttp/issues/6732">#6732</a>)</li>
<li><a href="eb5a8343ea"><code>eb5a834</code></a> Prepare next development version.</li>
<li>See full diff in <a href="https://github.com/square/okhttp/compare/parent-4.9.1...parent-4.9.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.squareup.okhttp3:okhttp&package-manager=gradle&previous-version=4.9.1&new-version=4.9.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/2937

Reviewed By: muraziz

Differential Revision: D31502045

Pulled By: passy

fbshipit-source-id: 32af7cda9440b01eab1bca83dc694391d99bf7e6
2021-10-08 05:21:09 -07:00
dependabot[bot]
0c10b98d21 Bump eslint-plugin-react from 7.26.0 to 7.26.1 in /flipper-js-client-sdk (#2933)
Summary:
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.26.0 to 7.26.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md">eslint-plugin-react's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.26.0...v7.26.1">7.26.1</a> - 2021.09.29</h2>
<h3>Fixed</h3>
<ul>
<li>[<code>no-namespace</code>]: fix crash on non-string React.createElement name (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3082">#3082</a> <a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>no-namespace</code>]: avoid crash on non-string createElement values (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3085">#3085</a> <a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>jsx-no-target-blank</code>]: improve error messages (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3088">#3088</a> <a href="https://github.com/cutiful"><code>@​cutiful</code></a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[Docs] [<code>jsx-max-props-per-line</code>]: fix options example (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3083">#3083</a> <a href="https://github.com/MrRaiter"><code>@​MrRaiter</code></a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3088">#3088</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3088">yannickcr/eslint-plugin-react#3088</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3085">#3085</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issue/3085">yannickcr/eslint-plugin-react#3085</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3083">#3083</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3083">yannickcr/eslint-plugin-react#3083</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3082">#3082</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3082">yannickcr/eslint-plugin-react#3082</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="119a7f3c73"><code>119a7f3</code></a> Update CHANGELOG and bump version</li>
<li><a href="7844d8ecbb"><code>7844d8e</code></a> [Fix] <code>jsx-no-target-blank</code>: improve error messages</li>
<li><a href="8785c169c2"><code>8785c16</code></a> [Fix] <code>no-namespace</code>: avoid crash on non-string createElement values</li>
<li><a href="a8ecd54b74"><code>a8ecd54</code></a> [Docs] <code>jsx-max-props-per-line</code>: fix options example</li>
<li><a href="a4bf7dad85"><code>a4bf7da</code></a> [Fix] <code>no-namespace</code>: fix crash on non-string React.createElement name</li>
<li><a href="eeb0144f14"><code>eeb0144</code></a> [Docs] Pin link to code in react-in-jsx-scope docs</li>
<li>See full diff in <a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.26.0...v7.26.1">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: muraziz

Differential Revision: D31502048

Pulled By: passy

fbshipit-source-id: dbaccddae230dd783357a37299b1afd5bd4e0e4a
2021-10-08 05:17:46 -07:00
Pradumna Saraf
0184218403 Corrected Unreachable Plugins Dir Path (#2952)
Summary:
**All the 4 plugins paths are unreachable/changed in [in-this-repo](https://github.com/facebook/flipper#in-this-repo) section in README file. I have updated them with the correct paths.**

- **Before Changes**

![1](https://user-images.githubusercontent.com/51878265/136379185-8325343b-29f4-444e-8a1a-f13bc6900312.png)

- **After Changes**

![2](https://user-images.githubusercontent.com/51878265/136379474-db506b65-7505-42cb-bdad-1d7e545c53e9.png)

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

Reviewed By: muraziz

Differential Revision: D31502036

Pulled By: passy

fbshipit-source-id: 6f2af9d312045704e1bb2efec4f841022ebbfaaa
2021-10-08 05:13:24 -07:00
Flipper Bot
f4ca106080 Flipper Snapshot Bump: v0.114.2-SNAPSHOT
Summary: Releasing snapshot version 0.114.2-SNAPSHOT

Reviewed By: passy

Differential Revision: D31501456

fbshipit-source-id: 5cb68bee9affe7cb0f1950c31f7a7db95f050b75
2021-10-08 04:39:30 -07:00
Flipper Bot
e7b3ea9344 Flipper Release: v0.114.1
Summary: Releasing version 0.114.1

Reviewed By: passy

Differential Revision: D31501455

fbshipit-source-id: bfc85cf82b140364badff4a73069285f66b89b9f
2021-10-08 04:39:30 -07:00
Pascal Hartig
4736abc29c Upgrade publish action
Summary: I upgraded the docker image which should pull the latest GHR release (https://github.com/tcnksm/ghr).

Reviewed By: lblasa

Differential Revision: D31442256

fbshipit-source-id: 0f9fa81ec1be1285aea3da621b7ef5a1e63c3e84
2021-10-08 03:40:49 -07:00
Michel Weststrate
c3ff0ff355 Set up Flipper decapitated packages
Summary:
This diff introduces the packages necessary for Flipper decapitated.

* flipper-common: utilities & types shared between client, server, flipper-plugin
* flipper-server-core: all device & client management goes in here. Basically flipper's backend
* flipper-ui-core: all UI goes in here, as far as it doesn't depend on Electron
* desktop: the Electron app, will load server-core and ui-core, and glue them together, providing implementations for some electron specific stuff like dialgos
* flipper-server: A node process hosting flipper-server-core, that can be connected to over websockets. And probably can serve a browser version of the UI as well.
* flipper-ui-browser: thin wrapper around flipper-ui-core, providing some browser specific behavior / stubs.
* flipper-dump: (might remove later), but want to hack a quick and dirt flipper dump in here, as alternative way to test flipper-server-core.

This diff just creates the packages, but doesn't move any code, so it can be summarized as:

restoftheowl

Reviewed By: nikoant

Differential Revision: D30218646

fbshipit-source-id: 735598a1261a98e584f52504b5eba01ec0afa162
2021-10-08 01:33:03 -07:00
Michel Weststrate
99acd766b9 Upgrade example project to 0.66
Summary:
Per https://react-native-community.github.io/upgrade-helper/?from=0.65.1&to=0.66.0

Also cleaned up lockfiles, made relative-deps non-default, removed old resolutions since I got weird errors with them.

allow-large-files

Reviewed By: timur-valiev

Differential Revision: D31471307

fbshipit-source-id: 2ef8856498bb73293d6638b2c08a1042adb636e5
2021-10-07 07:18:27 -07:00
Michel Weststrate
d56375970d Cleaning up sheet abstraction to use Ant/flipper-plugin dialogs instead
Summary:
This diff cleans up order remaining dialogs, the ones involved in exporting to file or url. Includes some legacy component cleanup boyscouting, but not too much.

This removes a lot of code where state of the wizard was stored globally, and makes it locally instead.

Other code that was removed involves interaction with the old UI, which allowed import / export to be running in the background as well. (which is no longer needed since we optimised the process)

Reviewed By: timur-valiev

Differential Revision: D30192000

fbshipit-source-id: 13be883c5bf217a3d58b610b78516359e9bd0ebc
2021-10-06 09:10:19 -07:00
Michel Weststrate
9e5575cf69 Dialog management cleanup
Summary:
This diff moves the dialogs

* Settings
* Plugin Manager
* Doctor
* Sign in
* Changelog

To use the imperative dialog APIs, rather then organising them through reducers which adds a lot of indirection which isn't really needed but hard to follow.

Reviewed By: passy

Differential Revision: D30192002

fbshipit-source-id: ba38b2e700da3e442653786448fcbf85074981ad
2021-10-06 09:10:19 -07:00
Michel Weststrate
89b193b438 Clean up Sheet abstraction
Summary: This stack gets rid of Flippers old sheet abstraction that relies on native (Electron) overlays, and implements it using Ant dialogs instead. Also removes a lot of code by making dialog API imperative, rather than reducer organised, like done in the deeplink handling.

Reviewed By: passy

Differential Revision: D30192001

fbshipit-source-id: 9bca3274bd039207e58f8f9394027515e391671d
2021-10-06 09:10:19 -07:00
Michel Weststrate
740093d0d9 Separate Client in server and client part
Summary: This diff separates the concept of a Client as now on the UI, from the concept of a Client as known on the server, and makes all interactions with client and vice versa async.

Reviewed By: timur-valiev

Differential Revision: D31235682

fbshipit-source-id: 99089e9b390b4c5359f97f6f2b15bf4b182b6cb9
2021-10-06 09:10:19 -07:00
Juan Tejada
eab4804792 Update React DevTools from 4.13.0 -> 4.19.1
Summary:
Update `react-devtools-core` and `react-devtools` dependencies for RN, VSCode, Sonar, etc.

`js1 upgrade react-devtools -v 4.19.1`

# Changelog:

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

Reviewed By: bvaughn

Differential Revision: D31345135

fbshipit-source-id: dae06a18699df19a6e8422460effd48f715e395b
2021-10-06 08:36:00 -07:00
Pascal Hartig
a7e02f234a Set license to MIT
Summary:
The entire repo is MIT (unless stated otherwise) but
without the flag, yarn is very noisy on every startup.

{F668266100}

Reviewed By: timur-valiev

Differential Revision: D31429016

fbshipit-source-id: 11a963181dc309a251e6c71a9a16ab93d12b7f93
2021-10-06 08:32:58 -07:00
Pascal Hartig
94f46046ee Upgrade deps
Summary: Fixing some docs, decided to bump deps first.

Reviewed By: timur-valiev

Differential Revision: D31429002

fbshipit-source-id: 27bd9ba4c5c554ed79859d40036a28b39aa311ae
2021-10-06 08:32:58 -07:00
Flipper Bot
a6761992ba Flipper Snapshot Bump: v0.114.1-SNAPSHOT
Summary: Releasing snapshot version 0.114.1-SNAPSHOT

Reviewed By: passy

Differential Revision: D31430621

fbshipit-source-id: 8f1985957102f76b6575d7078fc908ad1943c095
2021-10-06 08:09:30 -07:00
Flipper Bot
49d41f15e3 Flipper Release: v0.114.0
Summary: Releasing version 0.114.0

Reviewed By: passy

Differential Revision: D31430620

fbshipit-source-id: fce3d83479199d27352c3b05d92fa6c5f0a69051
2021-10-06 08:09:30 -07:00
Pascal Hartig
37529af074 Track plugin selection steps
Summary: Sets up some logging for the various drop-out points when going through the deeplink flow.

Reviewed By: lblasa

Differential Revision: D31345623

fbshipit-source-id: a06ca97c1e687e39ea97a1f47fd8bb614149056f
2021-10-05 11:41:58 -07:00
Lorenzo Blasa
bce2cdc316 Reduce logging verbosity for flipper socket provider switches
Summary: Change that removes log verbosity around socket provider switching.

Reviewed By: jknoxville

Differential Revision: D31395115

fbshipit-source-id: aece2facdf16c517522488c21496ea6a0eb50936
2021-10-05 10:57:06 -07:00
Michel Weststrate
026f8fc308 Store clients as Map rather than array
Summary: Refactor clients storage: array -> map. A lot of logic looks up clients by their id, which is currently done with an array.find operation, which is pretty inefficient. This diff changes it to a map, that is pretty important, as in the next diff the decoupled client message handing will need to find the client again for every message that arrives.

Reviewed By: timur-valiev

Differential Revision: D31303536

fbshipit-source-id: ca3f540a3de7665930d2354436d37cb0fbfd5546
2021-10-04 07:27:24 -07:00
Michel Weststrate
c9a34d3cc2 Fix inconsistent handling of app id and name
Summary:
Changelog: Improved plugin / device / app selection handing.

During some refactorings I discovered that the `connetions.selectedApp` field contained sometimes an application id, and sometimes just the name. This caused inconsistent behavior especially in unit tests.

I've cleaned that up, and renamed it to `selectedAppId` where applicable, to make the distinction more clear.

And, in contrast, userPreferredApp now always has a name, not an id.

During refactoring our existing selection update logic was quite in the way, which was overcomplicated still, since during the sandy chrome migration, the reducers needed to be able to handle both the old UI, and the new application selection UI. That logic has been simplified now, and a lot of tests were added.

As a further simplification the preferredApp/Device/Plugin are now only read and used when updating selection, but not when running selectors.

Reviewed By: timur-valiev

Differential Revision: D31305180

fbshipit-source-id: 2dbd9f9c33950227cc63aa29cc4a98bdd0db8e7a
2021-10-04 07:27:24 -07:00
Michel Weststrate
ba89daf12c Bump RN example pod files
Summary: per title

Reviewed By: passy

Differential Revision: D31377747

fbshipit-source-id: e35a4937ea35d73f01256277260bd939c1885477
2021-10-04 07:13:36 -07:00
Lorenzo Blasa
799d88275e Remove WebSocket delegate before closing
Summary:
This change removes ourselves as a delegate before closing.

SocketRocket uses its own internal async queue to perform most operations.

After a disconnect, we don't expect to receive any more delegate calls as the handlers may contain references which may have become invalid.

So, removing ourselves as delegates will ensure that we don't get called after a disconnect.

For sanity, we are also taking a copy of the message handler instead of a reference to it.

Reviewed By: briantkelley

Differential Revision: D31360721

fbshipit-source-id: bae5a2423757cd9064ffac28afb8b78c28a20d87
2021-10-03 01:17:54 -07:00
Pascal Hartig
20185f37ab Init and error logging
Summary:
Set up some basic logging for deep link usage at the entry point and error cases.

More granular logging coming up next.

Reviewed By: nikoant

Differential Revision: D31337822

fbshipit-source-id: 171eae68fb3d9a11aa155087baf6f8309bbd7295
2021-10-01 12:18:55 -07:00
Flipper Bot
d6cc115a90 Flipper Snapshot Bump: v0.113.1-SNAPSHOT
Summary: Releasing snapshot version 0.113.1-SNAPSHOT

Reviewed By: jknoxville

Differential Revision: D31264524

fbshipit-source-id: 80e1b78608a5680f307d93f52b4867f060478608
2021-10-01 09:12:07 -07:00
Flipper Bot
672cfad7d6 Flipper Release: v0.113.0
Summary: Releasing version 0.113.0

Reviewed By: jknoxville

Differential Revision: D31264525

fbshipit-source-id: 400ff8a08dd0671d780e5663b0538fe7e970b237
2021-10-01 09:12:06 -07:00
kodak
b43dde8a6a Display AccessibilityNodeInfoCompat.isScreenReaderFocusable() property (fixes #1756) (#2925)
Summary:
Add screenreader-focusable property to AccessibilityUtil#getAccessibilityNodeInfoData

The accessibility hierarchy displays various AccessibilityNodeInfo properties. However, it was missing the screenreader-focusable property.

## Changelog
Display screenreader-focusable property in the accessibility hierarchy.

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

Test Plan: Test suite passes and code lints.

Reviewed By: mweststrate

Differential Revision: D31312381

Pulled By: passy

fbshipit-source-id: c5044cef6aabe5bd2d2ce5e315f5aafd6990a137
2021-10-01 08:58:23 -07:00
Pascal Hartig
9ce424adf7 Allowlist some remote usages
Summary: Some drive-by changes as I'm working on other stuff.

Reviewed By: mweststrate

Differential Revision: D31337500

fbshipit-source-id: 8f348af06b7c4b159703d7adf160a7380ba57b22
2021-10-01 08:08:36 -07:00
Pascal Hartig
7dd9cce9f2 Wire up logger
Summary:
Splitting this up into the wiring and the actual usage.
This just ensures we have a logger in place for handling
deeplinks.

Reviewed By: mweststrate

Differential Revision: D31337457

fbshipit-source-id: b088a7396e38554a87502ba7d5669dbef1b398d7
2021-10-01 08:08:36 -07:00
Pascal Hartig
4aa7439fbf Fix Flipper lints #10
Summary:
Grey -> gray. "Cancelled" seems quite common in APIs though, so I disabled that.
A few promise cleanups

Reviewed By: aigoncharov

Differential Revision: D31323610

fbshipit-source-id: c8863d995936f451c24eb408fe5c26677187f089
2021-10-01 08:08:35 -07:00