Commit Graph

5297 Commits

Author SHA1 Message Date
dependabot[bot]
f5c38d21f7 Bump tar from 0.4.33 to 0.4.35 in /packer (#2382)
Summary:
Bumps [tar](https://github.com/alexcrichton/tar-rs) from 0.4.33 to 0.4.35.
<details>
<summary>Commits</summary>
<ul>
<li><a href="065368bd70"><code>065368b</code></a> Bump to 0.4.35</li>
<li><a href="2d08ac7930"><code>2d08ac7</code></a> Don't set 0 mtime on Windows</li>
<li><a href="a37e9fd451"><code>a37e9fd</code></a> Bump to 0.4.34</li>
<li><a href="e81f172113"><code>e81f172</code></a> Avoid zero-mtime files (<a href="https://github-redirect.dependabot.com/alexcrichton/tar-rs/issues/250">https://github.com/facebook/flipper/issues/250</a>)</li>
<li><a href="7f2a355ac5"><code>7f2a355</code></a> Extract directory entries after all others when using Archive::unpack. (<a href="https://github-redirect.dependabot.com/alexcrichton/tar-rs/issues/249">https://github.com/facebook/flipper/issues/249</a>)</li>
<li><a href="326e990132"><code>326e990</code></a> Upgrade to GitHub-native Dependabot (<a href="https://github-redirect.dependabot.com/alexcrichton/tar-rs/issues/247">https://github.com/facebook/flipper/issues/247</a>)</li>
<li>See full diff in <a href="https://github.com/alexcrichton/tar-rs/compare/0.4.33...0.4.35">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: nikoant

Differential Revision: D28795402

Pulled By: passy

fbshipit-source-id: 5a09a19f631c3a5224c543627d2cc44d14ffc49e
2021-06-01 06:41:30 -07:00
dependabot[bot]
3859d9c098 Bump indicatif from 0.15.0 to 0.16.2 in /packer (#2383)
Summary:
Bumps [indicatif](https://github.com/mitsuhiko/indicatif) from 0.15.0 to 0.16.2.
<details>
<summary>Commits</summary>
<ul>
<li><a href="7dfae137ae"><code>7dfae13</code></a> Bump version number to 0.16.2</li>
<li><a href="ec09e50f15"><code>ec09e50</code></a> Tweak documentation</li>
<li><a href="3e6b26f606"><code>3e6b26f</code></a> Fix typos in documentation</li>
<li><a href="aadb3723a5"><code>aadb372</code></a> Fix broken intra-doc links</li>
<li><a href="3f49b0e9ec"><code>3f49b0e</code></a> ProgressFolder shouldn't finish progress bars on completion</li>
<li><a href="17a8e33387"><code>17a8e33</code></a> Ignore macOS cruft</li>
<li><a href="f5ab4538f4"><code>f5ab453</code></a> Bump version to 0.16.1</li>
<li><a href="c1a5a7c926"><code>c1a5a7c</code></a> Add test for hidden progress bar in MultiProgress (see <a href="https://github-redirect.dependabot.com/mitsuhiko/indicatif/issues/286">https://github.com/facebook/flipper/issues/286</a>)</li>
<li><a href="1047de9609"><code>1047de9</code></a> Fix: Code is actually reachable</li>
<li><a href="6a49439748"><code>6a49439</code></a> Update expand_template regex to recognize from_dotted_str() 256 colors</li>
<li>Additional commits viewable in <a href="https://github.com/mitsuhiko/indicatif/compare/0.15.0...0.16.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=indicatif&package-manager=cargo&previous-version=0.15.0&new-version=0.16.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/2383

Reviewed By: nikoant

Differential Revision: D28795401

Pulled By: passy

fbshipit-source-id: d23992a9c83c7f830c9848804d1c66aba174d4a5
2021-06-01 04:43:23 -07:00
dependabot[bot]
4fd63d44e5 Bump com.github.ben-manes.versions from 0.38.0 to 0.39.0 (#2392)
Summary:
Bumps com.github.ben-manes.versions from 0.38.0 to 0.39.0.

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.github.ben-manes.versions&package-manager=gradle&previous-version=0.38.0&new-version=0.39.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/2392

Reviewed By: nikoant

Differential Revision: D28795383

Pulled By: passy

fbshipit-source-id: 941bb27ea6fdbf203e0fa09fdb0af0d9af430800
2021-06-01 04:41:17 -07:00
Anton Nikolaev
eb788aaf43 Added "Zoom in", "Zoom out" and "Actual size" commands similarly to Google Chrome
Summary: Changelog: allow zooming Flipper window content in and out either using View menu or hotkeys (Cmd+Plus) and (Cmd+Minus)

Reviewed By: passy

Differential Revision: D28748567

fbshipit-source-id: a214c708cae2c82d04eb53fc879518a0106517de
2021-05-27 08:50:27 -07:00
Pascal Hartig
6d1cecdeee Retry icon download
Summary:
In public CI (only?), asset downloads sometimes fail with a spurious 404.
We already have retrying in place, but it will obviously not do that on a 500.

Reviewed By: nikoant

Differential Revision: D28744817

fbshipit-source-id: b6a185d8e9db45e02c6427233a0171b00c552751
2021-05-27 06:26:48 -07:00
dependabot[bot]
9bfcadc2ef Bump @typescript-eslint/eslint-plugin from 4.23.0 to 4.25.0 in /flipper-js-client-sdk (#2369)
Summary:
Bumps [typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.23.0 to 4.25.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/eslint-plugin</code>'s releases</a>.</em></p>
<blockquote>
<h2>v4.25.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.24.0...v4.25.0">4.25.0</a> (2021-05-24)</h1>
<h3>Bug Fixes</h3>
<ul>
<li>corrected no-unsupported-browser-code in roadmap as unimplemented (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3407">#3407</a>) (<a href="2319b0e184">2319b0e</a>)</li>
<li><strong>experimental-utils:</strong> fix <code>isAwaitKeyword</code> predicate in ast-utils (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3290">#3290</a>) (<a href="c15da67b93">c15da67</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>typescript-estree:</strong> [TS4.3] support overrides on class members (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3429">#3429</a>) (<a href="21d1b62a0b">21d1b62</a>)</li>
<li><strong>typescript-estree:</strong> add support for getter/setter signatures on types (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3427">#3427</a>) (<a href="b830b7f4e8">b830b7f</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3272">#3272</a> <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3272">#3272</a></li>
</ul>
<h2>v4.24.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.23.0...v4.24.0">4.24.0</a> (2021-05-17)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-shadow] fix static class method generics shadowing class generics (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3393">#3393</a>) (<a href="b1e1c8a446">b1e1c8a</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2592">#2592</a></li>
<li><strong>eslint-plugin:</strong> [no-unsafe-*] special case handling for the empty map constructor with no generics (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3394">#3394</a>) (<a href="cae4f4a0f3">cae4f4a</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2109">https://github.com/facebook/flipper/issues/2109</a></li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [dot-notation] optionally allow square bracket notation where an index signature exists in conjunction with <code>noPropertyAccessFromIndexSignature</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3361">#3361</a>) (<a href="37ec2c2264">37ec2c2</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md"><code>@​typescript-eslint/eslint-plugin</code>'s changelog</a>.</em></p>
<blockquote>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.24.0...v4.25.0">4.25.0</a> (2021-05-24)</h1>
<h3>Bug Fixes</h3>
<ul>
<li>corrected no-unsupported-browser-code in roadmap as unimplemented (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3407">#3407</a>) (<a href="2319b0e184">2319b0e</a>)</li>
</ul>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.23.0...v4.24.0">4.24.0</a> (2021-05-17)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-shadow] fix static class method generics shadowing class generics (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3393">#3393</a>) (<a href="b1e1c8a446">b1e1c8a</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2592">#2592</a></li>
<li><strong>eslint-plugin:</strong> [no-unsafe-*] special case handling for the empty map constructor with no generics (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3394">#3394</a>) (<a href="cae4f4a0f3">cae4f4a</a>), closes <a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2109">https://github.com/facebook/flipper/issues/2109</a></li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [dot-notation] optionally allow square bracket notation where an index signature exists in conjunction with <code>noPropertyAccessFromIndexSignature</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3361">#3361</a>) (<a href="37ec2c2264">37ec2c2</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="c380f7da8b"><code>c380f7d</code></a> chore: publish v4.25.0</li>
<li><a href="4a20ee5f8b"><code>4a20ee5</code></a> chore: update typescript to 4.3-rc (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3426">#3426</a>)</li>
<li><a href="2319b0e184"><code>2319b0e</code></a> fix: corrected no-unsupported-browser-code in roadmap as unimplemented (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3407">#3407</a>)</li>
<li><a href="9c678593bf"><code>9c67859</code></a> docs: updated no-delete-expression roadmap equivalent to no-dynamic-delete (#...</li>
<li><a href="6291f38a9c"><code>6291f38</code></a> docs(eslint-plugin): [no-unnecessary-boolean-literal-compare] fix fixer docs ...</li>
<li><a href="e8ce2bfabd"><code>e8ce2bf</code></a> chore: publish v4.24.0</li>
<li><a href="cae4f4a0f3"><code>cae4f4a</code></a> fix(eslint-plugin): [no-unsafe-*] special case handling for the empty map con...</li>
<li><a href="37ec2c2264"><code>37ec2c2</code></a> feat(eslint-plugin): [dot-notation] optionally allow square bracket notation ...</li>
<li><a href="b1e1c8a446"><code>b1e1c8a</code></a> fix(eslint-plugin): [no-shadow] fix static class method generics shadowing cl...</li>
<li><a href="b85261c209"><code>b85261c</code></a> docs(eslint-plugin): update justification for <code>prefer-regexp-exec</code> (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3392">#3392</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v4.25.0/packages/eslint-plugin">compare view</a></li>
</ul>
</details>
<br />

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

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

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

 ---

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

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

</details>

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

Reviewed By: passy

Differential Revision: D28714457

Pulled By: nikoant

fbshipit-source-id: 8aeeecbec6cf207ab95b19870ccb16b566e5db0b
2021-05-27 04:01:11 -07:00
dependabot[bot]
6902e55256 Bump ws from 7.3.0 to 7.4.6 in /desktop (#2371)
Summary:
Bumps [ws](https://github.com/websockets/ws) from 7.3.0 to 7.4.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/websockets/ws/releases">ws's releases</a>.</em></p>
<blockquote>
<h2>7.4.6</h2>
<h1>Bug fixes</h1>
<ul>
<li>Fixed a ReDoS vulnerability (00c425ec).</li>
</ul>
<p>A specially crafted value of the <code>Sec-Websocket-Protocol</code> header could be used
to significantly slow down a ws server.</p>
<pre lang="js"><code>for (const length of [1000, 2000, 4000, 8000, 16000, 32000]) {
  const value = 'b' + ' '.repeat(length) + 'x';
  const start = process.hrtime.bigint();
<p>value.trim().split(/ *, */);</p>
<p>const end = process.hrtime.bigint();</p>
<p>console.log('length = %d, time = %f ns', length, end - start);
}
</code></pre></p>
<p>The vulnerability was responsibly disclosed along with a fix in private by
Robert McLaughlin from University of California, Santa Barbara.</p>
<p>In vulnerable versions of ws, the issue can be mitigated by reducing the maximum
allowed length of the request headers using the <a href="https://nodejs.org/api/cli.html#cli_max_http_header_size_size"><code>--max-http-header-size=size</code></a>
and/or the <a href="https://nodejs.org/api/http.html#http_http_createserver_options_requestlistener"><code>maxHeaderSize</code></a> options.</p>
<h2>7.4.5</h2>
<h1>Bug fixes</h1>
<ul>
<li>UTF-8 validation is now done even if <code>utf-8-validate</code> is not installed
(23ba6b29).</li>
<li>Fixed an edge case where <code>websocket.close()</code> and <code>websocket.terminate()</code> did
not close the connection (67e25ff5).</li>
</ul>
<h2>7.4.4</h2>
<h1>Bug fixes</h1>
<ul>
<li>Fixed a bug that could cause the process to crash when using the
permessage-deflate extension (92774377).</li>
</ul>
<h2>7.4.3</h2>
<h1>Bug fixes</h1>
<ul>
<li>The deflate/inflate stream is now reset instead of reinitialized when context
takeover is disabled (<a href="https://github-redirect.dependabot.com/websockets/ws/issues/1840">https://github.com/facebook/flipper/issues/1840</a>).</li>
</ul>
<h2>7.4.2</h2>
<h1>Bug fixes</h1>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f5297f7090"><code>f5297f7</code></a> [dist] 7.4.6</li>
<li><a href="00c425ec77"><code>00c425e</code></a> [security] Fix ReDoS vulnerability</li>
<li><a href="990306d144"><code>990306d</code></a> [lint] Fix prettier error</li>
<li><a href="32e3a8439b"><code>32e3a84</code></a> [security] Remove reference to Node Security Project</li>
<li><a href="8c914d18b8"><code>8c914d1</code></a> [minor] Fix nits</li>
<li><a href="fc7e27d12a"><code>fc7e27d</code></a> [ci] Test on node 16</li>
<li><a href="587c201bfc"><code>587c201</code></a> [ci] Do not test on node 15</li>
<li><a href="f672710797"><code>f672710</code></a> [dist] 7.4.5</li>
<li><a href="67e25ff502"><code>67e25ff</code></a> [fix] Fix case where <code>abortHandshake()</code> does not close the connection</li>
<li><a href="23ba6b2922"><code>23ba6b2</code></a> [fix] Make UTF-8 validation work even if utf-8-validate is not installed</li>
<li>Additional commits viewable in <a href="https://github.com/websockets/ws/compare/7.3.0...7.4.6">compare view</a></li>
</ul>
</details>
<br />

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

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

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

 ---

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

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

</details>

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

Reviewed By: passy

Differential Revision: D28714468

Pulled By: nikoant

fbshipit-source-id: c2a3a7091599f29d453a35bf89bab4a03817509c
2021-05-27 03:51:53 -07:00
Fazekas Dániel
87f739607e docs: update network-plugin.mdx android (#2368)
Summary:
Flipper network plugin does not work without the above added lines.

Without the added lines, the network plugin simply does not work on Android with Flipper version 0.91.0. I found this solution in your example react-native project. This should be stated in the docs.

## Changelog

This should not be stated in changelog.

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

Test Plan: There is no code.

Reviewed By: passy

Differential Revision: D28714451

Pulled By: nikoant

fbshipit-source-id: 81583fcf590e1c603d67bcb649067393455549cc
2021-05-27 03:15:32 -07:00
Anton Nikolaev
11b63f18cb Bump dns-packet dependency to fix vulnerability warning
Summary: Github says dns-packet < 5.2.2 is vulnerable, so pinning it to ensure we use fixed version

Reviewed By: passy

Differential Revision: D28714350

fbshipit-source-id: 836061216826948d2fe9320137a91f4fbdad4211
2021-05-26 13:10:17 -07:00
Anton Nikolaev
6a777f7690 Bump browserslist dependency to fix vulnerability warning
Summary: Github says browserslist < 4.16.5 is vulnerable, so I'm pinning it everywhere.

Reviewed By: muraziz

Differential Revision: D28713858

fbshipit-source-id: b512dc48ded88bdf90556b58bd1e67cacbbc8a3e
2021-05-26 12:01:18 -07:00
Michel Weststrate
c94fbbee14 Fix bump pods (#2374)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/2374

Quick fix for create_pr flow

Reviewed By: priteshrnandgaonkar

Differential Revision: D28711029

fbshipit-source-id: 893a15a62896a96739b3cf5e784ca29e5d9647b5
2021-05-26 09:22:39 -07:00
Pascal Hartig
be2f15b71f Dep bump
Summary: Daily bump for low-risk deps.

Reviewed By: cekkaewnumchai

Differential Revision: D28707008

fbshipit-source-id: 453351387a9a7a05a1c30294f2712956da6ecc49
2021-05-26 08:35:12 -07:00
Anton Nikolaev
4a583ad086 Make color of time markers more contrast
Summary: Changelog: Increased contrast of timestamps text on marker timelines used in several plugins (QPL, Sections)

Reviewed By: mweststrate

Differential Revision: D28707431

fbshipit-source-id: 8749a95fccf895bddf707c1d830baf5c65578fb9
2021-05-26 08:18:01 -07:00
Pascal Hartig
623a505284 Downgrade app-builder to fix build
Summary: Uggh, a patch release that introduces a breaking change: The minimum Node version. https://github.com/facebook/flipper/runs/2667073574

Reviewed By: nikoant

Differential Revision: D28681220

fbshipit-source-id: d41e8b701ceca0703d4ec19da9d4e472fb54ae0d
2021-05-25 10:39:48 -07:00
Pascal Hartig
bca8030df8 Dep bump
Summary:
Daily bump keeps the yada yada. Only patch updates or safe ones.

allow-large-files

Reviewed By: nikoant

Differential Revision: D28636754

fbshipit-source-id: d2a8c7fc0779bea30ff6532ae076694ce0e1fffa
2021-05-25 08:53:36 -07:00
Pascal Hartig
526e0ddd01 Demote console.error on check fail
Summary:
We use exception for control flow here which isn't great
but we shouldn't log naked errors when a check fails.

Reviewed By: nikoant

Differential Revision: D28645636

fbshipit-source-id: db8c7b1457883acc767ac850f015f6b35a41730b
2021-05-25 04:09:43 -07:00
Michel Weststrate
d9c986fcf8 Fix test flakiness by using jest timers
Summary: Some tests were occasionally flaky, by emulating delays, time variation should no longer influence tests.

Reviewed By: passy

Differential Revision: D28572946

fbshipit-source-id: f4134a6509a0ec0be2e8f36e5623c4882b5531b8
2021-05-25 02:22:21 -07:00
Anton Nikolaev
8d508c8634 Build script updated to allow specifying directory with default plugins
Summary: This change allows passing a directory containing plugin packages to include them into Flipper distributive. This is used by release command on Sandcastle (see D28626715).

Reviewed By: passy

Differential Revision: D28628425

fbshipit-source-id: 9c5d7527721f99b43991bace0b5e2f3a4ede0d13
2021-05-25 01:41:57 -07:00
Flipper Bot
313baafded Flipper Snapshot Bump: v0.91.3-SNAPSHOT
Summary: Releasing snapshot version 0.91.3-SNAPSHOT

Reviewed By: nikoant

Differential Revision: D28638215

fbshipit-source-id: a6c05fd37bcce58ad139684247e3bd65713a81e2
2021-05-24 06:52:10 -07:00
Flipper Bot
0305947ca2 Flipper Release: v0.91.2
Summary: Releasing version 0.91.2

Reviewed By: nikoant

Differential Revision: D28638216

fbshipit-source-id: 282edcbfb954e65f4a8559445856b01929578619
2021-05-24 06:52:10 -07:00
Anton Nikolaev
d57c4d687c Fix build-plugin script
Summary: This diff fixes "build-plugin" script which is failing for fb-internal plugins, because "fb/package.json" not exist. Because of that release of "fb/mobilebuilds" plugin failed recently: https://www.internalfb.com/intern/sandcastle/job/13510799309874638.

Reviewed By: passy

Differential Revision: D28624924

fbshipit-source-id: e00da98cfef992f5d49045afc9d404764a0d13ac
2021-05-24 02:46:42 -07:00
Pascal Hartig
4dd3b3e8ba Dep bump
Summary: A daily bump keeps the dependabot away.

Reviewed By: fabiomassimo

Differential Revision: D28602154

fbshipit-source-id: 058789faaa3d00a60273c1944bef0dbebd591946
2021-05-23 11:40:52 -07:00
Anton Nikolaev
76701565ac Cleanup public plugins metadata
Summary: Now we support splitting metadata to public and fb-internal (see the previous diff in the stack), and this diff actually cleans up all public plugin metadata from fb-specific things.

Reviewed By: passy

Differential Revision: D28568413

fbshipit-source-id: eae699eabaae489c4bcfbfcc407c3bef42bfd338
2021-05-21 07:15:28 -07:00
Anton Nikolaev
5ae104cc59 Merge plugin package.json from public and fb-internal parts
Summary: Allow splitting package.json to public one and fb-internal one located in "fb/package.json". When plugin is packaged, fields in package.json are overwritten by fields from "fb/package.json" if they exist. This give us a way to specify additional metadata which only make sense internally (e.g. oncall and internal links to docs and support).

Reviewed By: mweststrate

Differential Revision: D28542101

fbshipit-source-id: c0167461897a994e5731aaf0fe625de052eda864
2021-05-21 07:15:28 -07:00
Michel Weststrate
d680a2807f Bumped deps / pods to latest (0.91.1), re-enabled i386
Summary:
Per title

After landing this and verifying in CI, will apply those version bumps to RN itself: https://github.com/facebook/react-native/pull/31562, and remove the custom overrides in the future

Reviewed By: passy

Differential Revision: D28573552

fbshipit-source-id: e52c40f4751f933f17312aac2aacfd695f554a3f
2021-05-21 03:54:39 -07:00
Andres Suarez
39172f6413 Apply clang-format
Reviewed By: igorsugak

Differential Revision: D28477074

fbshipit-source-id: f15dfc45b9fb30c661ebe2899cd882676d0fdf2a
2021-05-20 21:23:41 -07:00
Pascal Hartig
bf32eca8fc Remove console.error for login
Summary:
This is in fact correctly handled, shown in the UI and we don't
need a task if someone pastes the wrong token.

Reviewed By: priteshrnandgaonkar

Differential Revision: D28569896

fbshipit-source-id: 689bff06b4a488be7ad4c58eb4f2e91018da31cf
2021-05-20 08:55:55 -07:00
dependabot[bot]
550305ee99 Bump ansi-to-html from 0.6.14 to 0.6.15 in /flipper-js-client-sdk (#2318)
Summary:
Bumps [ansi-to-html](https://github.com/rburns/ansi-to-html) from 0.6.14 to 0.6.15.
<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.6.14&new-version=0.6.15)](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/2318

Reviewed By: priteshrnandgaonkar

Differential Revision: D28474718

Pulled By: mweststrate

fbshipit-source-id: e153a70fc3c1e85c62dec9bb752fa8171fba3c18
2021-05-20 07:42:26 -07:00
dependabot[bot]
7020c894eb Bump @typescript-eslint/parser from 4.22.1 to 4.23.0 in /flipper-js-client-sdk (#2321)
Summary:
Bumps [typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.22.1 to 4.23.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/parser</code>'s releases</a>.</em></p>
<blockquote>
<h2>v4.23.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.22.1...v4.23.0">4.23.0</a> (2021-05-10)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>scope-manager:</strong> fix visiting TSAsExpression in assignment (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3355">#3355</a>) (<a href="87521a0241">87521a0</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>experimental-utils:</strong> Include <code>getCwd()</code> in <code>RuleContext</code> type (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3308">#3308</a>) (<a href="2b75c11d69">2b75c11</a>)</li>
<li>refactor to split AST specification out as its own module (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2911">#2911</a>) (<a href="25ea953cc6">25ea953</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md"><code>@​typescript-eslint/parser</code>'s changelog</a>.</em></p>
<blockquote>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.22.1...v4.23.0">4.23.0</a> (2021-05-10)</h1>
<h3>Features</h3>
<ul>
<li>refactor to split AST specification out as its own module (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2911">#2911</a>) (<a href="25ea953cc6">25ea953</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="18d8151e54"><code>18d8151</code></a> chore: publish v4.23.0</li>
<li><a href="25ea953cc6"><code>25ea953</code></a> feat: refactor to split AST specification out as its own module (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser/issues/2911">#2911</a>)</li>
<li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v4.23.0/packages/parser">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: priteshrnandgaonkar

Differential Revision: D28474731

Pulled By: mweststrate

fbshipit-source-id: 024f6b7be85dad7c4645e966ca7a308fd98c8b85
2021-05-20 07:42:26 -07:00
dependabot[bot]
4174387488 Bump @typescript-eslint/eslint-plugin from 4.22.1 to 4.23.0 in /desktop (#2330)
Summary:
Bumps [typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.22.1 to 4.23.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/eslint-plugin</code>'s releases</a>.</em></p>
<blockquote>
<h2>v4.23.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.22.1...v4.23.0">4.23.0</a> (2021-05-10)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>scope-manager:</strong> fix visiting TSAsExpression in assignment (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3355">#3355</a>) (<a href="87521a0241">87521a0</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>experimental-utils:</strong> Include <code>getCwd()</code> in <code>RuleContext</code> type (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3308">#3308</a>) (<a href="2b75c11d69">2b75c11</a>)</li>
<li>refactor to split AST specification out as its own module (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2911">#2911</a>) (<a href="25ea953cc6">25ea953</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md"><code>@​typescript-eslint/eslint-plugin</code>'s changelog</a>.</em></p>
<blockquote>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.22.1...v4.23.0">4.23.0</a> (2021-05-10)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>scope-manager:</strong> fix visiting TSAsExpression in assignment (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3355">#3355</a>) (<a href="87521a0241">87521a0</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li>refactor to split AST specification out as its own module (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2911">#2911</a>) (<a href="25ea953cc6">25ea953</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="18d8151e54"><code>18d8151</code></a> chore: publish v4.23.0</li>
<li><a href="87521a0241"><code>87521a0</code></a> fix(scope-manager): fix visiting TSAsExpression in assignment (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3355">#3355</a>)</li>
<li><a href="25ea953cc6"><code>25ea953</code></a> feat: refactor to split AST specification out as its own module (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/2911">#2911</a>)</li>
<li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v4.23.0/packages/eslint-plugin">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: priteshrnandgaonkar

Differential Revision: D28474753

Pulled By: mweststrate

fbshipit-source-id: d3aa251618b1d95daebde4619711e764647ab252
2021-05-20 07:42:26 -07:00
Anton Nikolaev
fe7bb7cedd Fix null reference on isError check
Summary: Fixed new error which appeared in logview after last release. See task T91245438 for details.

Reviewed By: passy

Differential Revision: D28569848

fbshipit-source-id: a4b622d4387aa41ecc4db269e05c5315669df250
2021-05-20 07:13:35 -07:00
Stephen Schwink
0c854eaeb5 Add Flipper icon "raincloud"
Reviewed By: joelmats

Differential Revision: D28541930

fbshipit-source-id: 109264f705f0060a3b1b085abc1d0717decb6143
2021-05-19 13:35:05 -07:00
Flipper Bot
066ddbcb41 Flipper Snapshot Bump: v0.91.2-SNAPSHOT
Summary: Releasing snapshot version 0.91.2-SNAPSHOT

Reviewed By: passy

Differential Revision: D28546236

fbshipit-source-id: 537518100535affac63e93b149f4116e3141dc5d
2021-05-19 13:16:05 -07:00
Flipper Bot
e277ca9b05 Flipper Release: v0.91.1
Summary: Releasing version 0.91.1

Reviewed By: passy

Differential Revision: D28546238

fbshipit-source-id: 9dee4ccbbe647e99a2f590a48a7671af6bad5b73
2021-05-19 13:16:05 -07:00
Pritesh Nandgaonkar
15454ceec7 Update Boost iOSX dep and make it work for arm and i386 for sims (#2341)
Summary:
This diff updates and adds the boost ios podspec in flipper repo. This new boost dep works for Arm and i386 archs for simulator too.

This diff also updates our GH Action to remove i386 from excluded archs. Still arm64 is kept as non M1 mac machines do not have arm swift symbols for arm simulator. And since all our CI is on non M1, it is required.

It also takes care of https://github.com/facebook/flipper/issues/2268
## Changelog

- Update the boost dep
- Update the GH action

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

Test Plan: CI

Reviewed By: mweststrate

Differential Revision: D28537004

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 474ccec674d0edf5fa7b792b15a326e0f139d977
2021-05-19 11:15:13 -07:00
Pascal Hartig
e0e95b59c7 Update docs workflow (#2342)
Summary:
Updated to the latest version which apparently doesn't need a privileged token anymore, which would be good news.
Also updated the message to include a `[ci skip]` which instructs CircleCI not to run because we're having a chicken-and-egg-problem here with CircleCI otherwise needing a config to tell it not to run, otherwise it will run and fail because there's no config.

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

Test Plan:
hopeitwork

Task: T91157540

Reviewed By: mweststrate

Differential Revision: D28539468

Pulled By: passy

fbshipit-source-id: 609c3fa1578e0506aadeb225c4e38ff53db67934
2021-05-19 09:37:41 -07:00
Anton Nikolaev
3f55ceac8f Added few eslint rules checking promises
Summary:
Added rules to ensure we properly propagate errors from promises.

Also found and fixed a place where promise function parameter was mismatched.

Reviewed By: mweststrate

Differential Revision: D28537820

fbshipit-source-id: b93f44274fc76544049813f645508cb78e432880
2021-05-19 09:30:42 -07:00
Michel Weststrate
c897d92df8 Minor doc improvements
Summary: per title

Reviewed By: muraziz

Differential Revision: D28538087

fbshipit-source-id: 322558d909fb89cd297b56d6aaf3de98e20b4ec1
2021-05-19 08:16:47 -07:00
Flipper Bot
f0dc199d38 Flipper Snapshot Bump: v0.91.1-SNAPSHOT
Summary: Releasing snapshot version 0.91.1-SNAPSHOT

Reviewed By: nikoant

Differential Revision: D28536897

fbshipit-source-id: a3a2906439b9080188c5991610dbbb9db7a7e314
2021-05-19 06:55:43 -07:00
Flipper Bot
610d250129 Flipper Release: v0.91.0
Summary: Releasing version 0.91.0

Reviewed By: nikoant

Differential Revision: D28536898

fbshipit-source-id: 343d3eab79449713ad7ce75887ab28564e7167b8
2021-05-19 06:55:43 -07:00
Michel Weststrate
767c6855c8 Clean up response handling
Reviewed By: priteshrnandgaonkar, fabiomassimo

Differential Revision: D28441183

fbshipit-source-id: 6e47d05145e986279860b49cfff078a905f62689
2021-05-19 06:22:43 -07:00
Anton Nikolaev
25ae4a0535 Include information about selected device, app and plugin into analytics events and error reports
Summary:
This diff generalises computation of the currently selected plugin, app, device etc. and adds this information to all the analytics events and error reports.

Slicing of events by os, device, app or selected plugin can be very useful. This is especially true for errors which often affects only certain types of devices, e.g. android only or physical devices only. Having such information can help to narrow down such issues.

Reviewed By: passy

Differential Revision: D28511441

fbshipit-source-id: ed9dc57927c70ed8cc6fe093e21604eae54c2f60
2021-05-19 05:17:41 -07:00
bizzguy
b378d8b946 fix problem with mock request data (#2340)
Summary:
Network Plugin - When creating a mock request from a selected request, the request data is not in the proper format.  It is decoded instead of just being copied from the call (which has already been decoded properly).  This PR fixes that problem.

Below is a screenshot showing the problem (which occurs for all text response data):

![image](https://user-images.githubusercontent.com/337874/118744068-423e3b80-b819-11eb-9076-216459517fdb.png)

## Changelog

Network Plugin - Fix problem with decoding request data for mocks copied from selection

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

Test Plan:
Using the sample Android app, issue a network request

In Flipper, create a mock for the network request by selecting it and using the "Copy Selected Calls" function in the mock

Verify that the request data is readable:

![image](https://user-images.githubusercontent.com/337874/118744220-8af5f480-b819-11eb-9206-0fa40e7d7e46.png)

Note:

Testing was done using the sample app which uses responses with JSON data.  I was not able to provide testing for other types of calls, specifically calls that would return binary data.

Reviewed By: passy

Differential Revision: D28533224

Pulled By: mweststrate

fbshipit-source-id: ce11d23ade60843c110286f7a5bbeba91febbcf0
2021-05-19 03:15:30 -07:00
Hugo Cuvillier
7572178f25 Remove redeclared header CKMutex from CK
Summary: It can now only be accessed through `RenderCore`.

Reviewed By: ivanmisuno

Differential Revision: D28532729

fbshipit-source-id: b5b97ec93c96303b2a6e4c270dfc667712086b79
2021-05-19 02:38:15 -07:00
Denis Colliot
525e8b19fb Detect JSON API content type ('application/vnd.api+json') as textual content (#2337)
Summary:
Network requests and responses using JSON API content type of pattern `application/vnd.api+json` (see https://jsonapi.org/#mime-types) are currently treated as binary data. They should be treated as textual content.

## Changelog

Add regular expression to detect JSON content types.

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

Test Plan: Using an API that return `Content-Type` of pattern `application/vnd.api+json`, verify that the response data in sidebar appears as text rather than `(binary data)`.

Reviewed By: passy

Differential Revision: D28513547

Pulled By: mweststrate

fbshipit-source-id: 3335b7eeb63c2429c2245113c8c83bd7e08a9420
2021-05-18 13:48:17 -07:00
Pascal Hartig
4cdc72aba4 Add error logging doc
Summary: Lightweight docs about error logging.

Reviewed By: nikoant, priteshrnandgaonkar

Differential Revision: D28474066

fbshipit-source-id: 0527ab82d4fd084fc2ed88328e88db14f6ee4184
2021-05-18 11:23:05 -07:00
bizzguy
b0313316cc Network Plugin: Add xhtml and xml to 'Textual' check (#2336)
Summary:
Network requests that return a "Content-Type" of 'application/xhtml+xml' are currently being treated as binary data when they should be treated as text.

## Changelog

Network Plugin - treat "Content-Type" of 'application/xhtml+xml' as text

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

Test Plan: Using an API that return "Content-Type" of 'application/xhtml+xml' , verified that the response data in sidebar appears as text rather than '(binary data)'

Reviewed By: nikoant

Differential Revision: D28478695

Pulled By: mweststrate

fbshipit-source-id: ed60c8301dbd0cf65924a80d9e6a5800a59c6bb8
2021-05-18 10:23:38 -07:00
Michel Weststrate
f0f54b19b9 Added basic chart to demo
Summary:
Added demo to show how DataSource can power charts using event sampling and smart windowing.

A more experimental application: use dataSource to power some charts, that leverages the events emitted from an datasource that is continuously being appended:

- incoming events are downsampled 1 in 100 to build up the bottom window
- incoming events are not downsampled to render the topwindow, but since datasource views will ignore events outside the window, things will stay pretty responsive when a window is selected (without a window, the downsampled dataset is used as source for top chart as well).

Compared to a naive (well still slightly optimised with useFastArray) implementation that throws all incoming event in a big array, it performs > 20 times faster (see difference in amount of events processed)

Reviewed By: passy

Differential Revision: D28474409

fbshipit-source-id: 6a7973d1ade3053b1d6c8f72069697d96b1ef4fd
2021-05-18 08:46:18 -07:00
Pascal Hartig
3b6b684f10 Demote user errors
Summary:
One is keytar, which just needed a context.

The second one is happening every time someone uses Flipper
and not being on Lighthouse, spamming our log category besides
actually being properly handled.

Reviewed By: nikoant

Differential Revision: D28479791

fbshipit-source-id: 029721df46d12b2942b590a232618ef039a2323d
2021-05-18 08:34:19 -07:00
Anton Nikolaev
cfedabcdef Attribute error reports with plugin id and version
Summary: This diff adds attributing of all error reports with the information about the plugins caused them. To do that we try to map error stack trace to plugins by searching for plugin directories in it. We can do this only for plugins loaded from disk as we are looking for their physical locations in stack. To make it possible to search for multiple plugins in one go we build and maintain a trie containing all the loaded plugins locations.

Reviewed By: passy

Differential Revision: D28475938

fbshipit-source-id: 59c8ac39ffe54262b1d57f21fad44eb89748dff2
2021-05-18 08:08:30 -07:00