Commit Graph

4944 Commits

Author SHA1 Message Date
dependabot[bot]
a0606fc8a9 Bump eslint from 7.22.0 to 7.23.0 in /flipper-js-client-sdk (#2122)
Summary:
Bumps [eslint](https://github.com/eslint/eslint) from 7.22.0 to 7.23.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/eslint/eslint/releases">eslint's releases</a>.</em></p>
<blockquote>
<h2>v7.23.0</h2>
<ul>
<li><a href="687ccae517"><code>687ccae</code></a> Update: add option &quot;allowInParentheses&quot; to no-sequences (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14197">#14197</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14199">#14199</a>) (Daniel Rentz)</li>
<li><a href="dbf252964d"><code>dbf2529</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li>
<li><a href="4bdf2c1dad"><code>4bdf2c1</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li>
<li><a href="49d16977d9"><code>49d1697</code></a> Chore: Upgrade eslint-plugin-jsdoc to v25 and remove --legacy-peer-deps (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14244">#14244</a>) (Brandon Mills)</li>
<li><a href="43f1685356"><code>43f1685</code></a> Update: <code>--quiet</code> should not supress <code>--max-warnings</code> (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14202">#14202</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14242">#14242</a>) (Milos Djermanovic)</li>
<li><a href="909c7271b8"><code>909c727</code></a> Docs: Add valid example that shows vars in a block scope (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14230">#14230</a>) (Ed S)</li>
<li><a href="28583eb8ad"><code>28583eb</code></a> Fix: no-mixed-operators false positives with <code>? :</code> (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14223">#14223</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14226">#14226</a>) (Milos Djermanovic)</li>
<li><a href="a99eb2dc2a"><code>a99eb2d</code></a> Fix: Clarify line breaks in object-curly-newline (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14024">#14024</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14063">#14063</a>) (armin yahya)</li>
<li><a href="8984c91372"><code>8984c91</code></a> Update: eslint --env-info output os info (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14059">#14059</a>) (薛定谔的猫)</li>
<li><a href="2a79306f71"><code>2a79306</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li>
<li><a href="ebd70263f6"><code>ebd7026</code></a> Docs: Fix typo (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14225">#14225</a>) (Greg Finley)</li>
<li><a href="a2013fcf99"><code>a2013fc</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/eslint/eslint/blob/master/CHANGELOG.md">eslint's changelog</a>.</em></p>
<blockquote>
<p>v7.23.0 - March 26, 2021</p>
<ul>
<li><a href="687ccae517"><code>687ccae</code></a> Update: add option &quot;allowInParentheses&quot; to no-sequences (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14197">#14197</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14199">#14199</a>) (Daniel Rentz)</li>
<li><a href="dbf252964d"><code>dbf2529</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li>
<li><a href="4bdf2c1dad"><code>4bdf2c1</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li>
<li><a href="49d16977d9"><code>49d1697</code></a> Chore: Upgrade eslint-plugin-jsdoc to v25 and remove --legacy-peer-deps (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14244">#14244</a>) (Brandon Mills)</li>
<li><a href="43f1685356"><code>43f1685</code></a> Update: <code>--quiet</code> should not supress <code>--max-warnings</code> (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14202">#14202</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14242">#14242</a>) (Milos Djermanovic)</li>
<li><a href="909c7271b8"><code>909c727</code></a> Docs: Add valid example that shows vars in a block scope (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14230">#14230</a>) (Ed S)</li>
<li><a href="28583eb8ad"><code>28583eb</code></a> Fix: no-mixed-operators false positives with <code>? :</code> (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14223">#14223</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14226">#14226</a>) (Milos Djermanovic)</li>
<li><a href="a99eb2dc2a"><code>a99eb2d</code></a> Fix: Clarify line breaks in object-curly-newline (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14024">#14024</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14063">#14063</a>) (armin yahya)</li>
<li><a href="8984c91372"><code>8984c91</code></a> Update: eslint --env-info output os info (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14059">#14059</a>) (薛定谔的猫)</li>
<li><a href="2a79306f71"><code>2a79306</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li>
<li><a href="ebd70263f6"><code>ebd7026</code></a> Docs: Fix typo (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14225">#14225</a>) (Greg Finley)</li>
<li><a href="a2013fcf99"><code>a2013fc</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="cd2e584aa5"><code>cd2e584</code></a> 7.23.0</li>
<li><a href="11bdeaba92"><code>11bdeab</code></a> Build: changelog update for 7.23.0</li>
<li><a href="687ccae517"><code>687ccae</code></a> Update: add option &quot;allowInParentheses&quot; to no-sequences (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14197">#14197</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14199">#14199</a>)</li>
<li><a href="dbf252964d"><code>dbf2529</code></a> Sponsors: Sync README with website</li>
<li><a href="4bdf2c1dad"><code>4bdf2c1</code></a> Sponsors: Sync README with website</li>
<li><a href="49d16977d9"><code>49d1697</code></a> Chore: Upgrade eslint-plugin-jsdoc to v25 and remove --legacy-peer-deps (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14244">#14244</a>)</li>
<li><a href="43f1685356"><code>43f1685</code></a> Update: <code>--quiet</code> should not supress <code>--max-warnings</code> (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14202">#14202</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14242">#14242</a>)</li>
<li><a href="909c7271b8"><code>909c727</code></a> Docs: Add valid example that shows vars in a block scope (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14230">#14230</a>)</li>
<li><a href="28583eb8ad"><code>28583eb</code></a> Fix: no-mixed-operators false positives with <code>? :</code> (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14223">#14223</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14226">#14226</a>)</li>
<li><a href="a99eb2dc2a"><code>a99eb2d</code></a> Fix: Clarify line breaks in object-curly-newline (fixes <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14024">#14024</a>) (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/14063">#14063</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/eslint/eslint/compare/v7.22.0...v7.23.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D27396046

Pulled By: mweststrate

fbshipit-source-id: aa6e0e8707b958963550b5dde0ae9804fb085657
2021-03-29 10:49:18 -07:00
dependabot[bot]
f770cd3b69 Bump eslint-plugin-react from 7.22.0 to 7.23.1 in /flipper-js-client-sdk (#2121)
Summary:
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.22.0 to 7.23.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.23.0...v7.23.1">7.23.1</a> - 2021.03.23</h2>
<h3>Fixed</h3>
<ul>
<li>version detection: support processor virtual filename (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2949">#2949</a>[] <a href="https://github.com/JounQin"><code>@​JounQin</code></a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2949">#2949</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2949">yannickcr/eslint-plugin-react#2949</a></p>
<h2><a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.22.0...v7.23.0">7.23.0</a> - 2021.03.22</h2>
<h3>Added</h3>
<ul>
<li>[<code>jsx-no-target-blank</code>]: add fixer (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2862">#2862</a>[] <a href="https://github.com/Nokel81"><code>@​Nokel81</code></a>)</li>
<li>[<code>jsx-pascal-case</code>]: support minimatch <code>ignore</code> option (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2906">#2906</a>[] <a href="https://github.com/bcherny"><code>@​bcherny</code></a>)</li>
<li>[<code>jsx-pascal-case</code>]: support <code>allowNamespace</code> option (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2917">#2917</a>[] <a href="https://github.com/kev-y-huang"><code>@​kev-y-huang</code></a>)</li>
<li>[<code>jsx-newline</code>]: Add prevent option (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2935">#2935</a>[] <a href="https://github.com/jsphstls"><code>@​jsphstls</code></a>)</li>
<li>[<code>no-unstable-nested-components</code>]: Prevent creating unstable components inside components (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2750">#2750</a>[] <a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a>)</li>
<li>added <code>jsx-runtime</code> config, for the modern JSX runtime transform (<a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[<code>jsx-no-constructed-context-values</code>]: avoid a crash with <code>as X</code> TS code (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2894">#2894</a>[] <a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>jsx-no-constructed-context-values</code>]: avoid a crash with boolean shorthand (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2895">#2895</a>[] <a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>static-property-placement</code>]: do not report non-components (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2893">#2893</a>[] <a href="https://github.com/golopot"><code>@​golopot</code></a>)</li>
<li>[<code>no-array-index-key</code>]: support optional chaining (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2897">#2897</a>[] <a href="https://github.com/SyMind"><code>@​SyMind</code></a>)</li>
<li>[<code>no-typos</code>]: avoid a crash on bindingless <code>prop-types</code> import; add warning (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2899">#2899</a>[] <a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>jsx-curly-brace-presence</code>]: ignore containers with comments (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2900">#2900</a>[] <a href="https://github.com/golopot"><code>@​golopot</code></a>)</li>
<li>[<code>destructuring-assignment</code>]: fix a false positive for local prop named <code>context</code> in SFC (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2929">#2929</a>[] <a href="https://github.com/SyMind"><code>@​SyMind</code></a>)</li>
<li>[<code>jsx-no-target-blank</code>]: Allow rel=&quot;noreferrer&quot; when <code>allowReferrer</code> is true (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2925">#2925</a>[] <a href="https://github.com/edemaine"><code>@​edemaine</code></a>)</li>
<li>[<code>boolean-prop-naming</code>]: add check for typescript &quot;boolean&quot; type (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2930">#2930</a>[] <a href="https://github.com/vedadeepta"><code>@​vedadeepta</code></a>)</li>
<li>version detection: Add tests that verify versioning works for sibling and child projects (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2943">#2943</a>[] <a href="https://github.com/jcrosetto"><code>@​jcrosetto</code></a>)</li>
<li>[<code>jsx-curly-newline</code>]: Update error messages (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2933">#2933</a>[] <a href="https://github.com/jbrower2"><code>@​jbrower2</code></a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[Docs] [<code>jsx-no-constructed-context-values</code>][]: fix invalid example syntax (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2910">#2910</a>[] <a href="https://github.com/kud"><code>@​kud</code></a>)</li>
<li>[readme] Replace lists of rules with tables in readme (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2908">#2908</a>[] <a href="https://github.com/motato1"><code>@​motato1</code></a>)</li>
<li>[Docs] added missing curly braces (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2923">#2923</a>[] <a href="https://github.com/Muditxofficial"><code>@​Muditxofficial</code></a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2943">#2943</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2943">yannickcr/eslint-plugin-react#2943</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2935">#2935</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2935">yannickcr/eslint-plugin-react#2935</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2933">#2933</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2933">yannickcr/eslint-plugin-react#2933</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2930">#2930</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2930">yannickcr/eslint-plugin-react#2930</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2929">#2929</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2929">yannickcr/eslint-plugin-react#2929</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2925">#2925</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2925">yannickcr/eslint-plugin-react#2925</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2923">#2923</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2923">yannickcr/eslint-plugin-react#2923</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2917">#2917</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2917">yannickcr/eslint-plugin-react#2917</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2910">#2910</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2910">yannickcr/eslint-plugin-react#2910</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2908">#2908</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2908">yannickcr/eslint-plugin-react#2908</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2906">#2906</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2906">yannickcr/eslint-plugin-react#2906</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2900">#2900</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2900">yannickcr/eslint-plugin-react#2900</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2899">#2899</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2899">yannickcr/eslint-plugin-react#2899</a></p>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="307458fad8"><code>307458f</code></a> Update CHANGELOG and bump version</li>
<li><a href="886ae07ad6"><code>886ae07</code></a> [Dev Deps] update <code>types/estree</code></li>
<li><a href="bc372203bb"><code>bc37220</code></a> [Fix] version detection: support processor virtual filename</li>
<li><a href="3d7fd57914"><code>3d7fd57</code></a> Update CHANGELOG and bump version</li>
<li><a href="c8917b0885"><code>c8917b0</code></a> [New] added <code>jsx-runtime</code> config, for the modern JSX runtime transform</li>
<li><a href="7b35ee7204"><code>7b35ee7</code></a> [New] <code>no-unstable-nested-components</code>: Prevent creating unstable components i...</li>
<li><a href="4dda913dfa"><code>4dda913</code></a> [Tests] <code>jsx-max-depth</code>: add test case</li>
<li><a href="525af5ffbe"><code>525af5f</code></a> [Fix] <code>jsx-curly-newline</code>: Update error messages</li>
<li><a href="a68607966b"><code>a686079</code></a> [New] <code>jsx-newline</code>: Add prevent option</li>
<li><a href="bf8dff03d3"><code>bf8dff0</code></a> [Dev Deps] update <code>types/eslint</code>, <code>types/estree</code>, <code>types/node</code></li>
<li>Additional commits viewable in <a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.22.0...v7.23.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.22.0&new-version=7.23.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/2121

Reviewed By: passy

Differential Revision: D27396048

Pulled By: mweststrate

fbshipit-source-id: e85de936048f56d2931ee6b952cee8621b43a528
2021-03-29 10:49:17 -07:00
dependabot[bot]
42eb881516 Bump serde from 1.0.124 to 1.0.125 in /packer (#2120)
Summary:
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.124 to 1.0.125.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/serde/releases">serde's releases</a>.</em></p>
<blockquote>
<h2>v1.0.125</h2>
<ul>
<li>Improve performance of serializing <code>Ipv4Addr</code> (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2001">https://github.com/facebook/flipper/issues/2001</a>, thanks <a href="https://github.com/saethlin"><code>@​saethlin</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="e9270e59f0"><code>e9270e5</code></a> Release 1.0.125</li>
<li><a href="72060b779a"><code>72060b7</code></a> Extend test_format_u8 to include u8::MAX</li>
<li><a href="1bb23ad9d1"><code>1bb23ad</code></a> Remove format_u8 when not used by Ipv4Addr impl</li>
<li><a href="9be4c9654a"><code>9be4c96</code></a> Merge pull request 2001 from saethlin/optimize-ipaddr</li>
<li><a href="4114e90bac"><code>4114e90</code></a> Fix off-by-one mistake, explain the offset</li>
<li><a href="8bb07b0743"><code>8bb07b0</code></a> skip UTF8 checking and initialize with b'.'</li>
<li><a href="ba8c1d63c8"><code>ba8c1d6</code></a> use the algorithm from itoa</li>
<li><a href="857a805993"><code>857a805</code></a> Faster Ipv4 serialization prototype</li>
<li>See full diff in <a href="https://github.com/serde-rs/serde/compare/v1.0.124...v1.0.125">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D27396049

Pulled By: mweststrate

fbshipit-source-id: 45db2d68e05066ea18d54bfff10d91f5eb5198e2
2021-03-29 10:49:17 -07:00
Steven Conaway
26aef92dc5 Add brew instructions for mac (#2108)
Summary:
Thought I'd add this to the getting started, since so many people end up downloading the release directly.

## Changelog

Added `brew` instructions for mac

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

Test Plan: Just docs, so no testing needed

Reviewed By: mweststrate

Differential Revision: D27398664

Pulled By: passy

fbshipit-source-id: be9cc7007e7c5dc717aad60ec0591d4ca0d100cb
2021-03-29 10:11:51 -07:00
dependabot[bot]
e78e491b78 Bump anyhow from 1.0.39 to 1.0.40 in /packer (#2119)
Summary:
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.39 to 1.0.40.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/anyhow/releases">anyhow's releases</a>.</em></p>
<blockquote>
<h2>1.0.40</h2>
<ul>
<li>Reduce memory footprint of errors on Rust versions 1.51+ (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/145">https://github.com/facebook/flipper/issues/145</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="704622f25d"><code>704622f</code></a> Release 1.0.40</li>
<li><a href="64ac0c00a9"><code>64ac0c0</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/145">https://github.com/facebook/flipper/issues/145</a> from dtolnay/addrof</li>
<li><a href="ef082670ea"><code>ef08267</code></a> Eliminate functionally duplicate vtable methods on rustc 1.51+</li>
<li><a href="1295b1fef9"><code>1295b1f</code></a> Add additional builds on 1.50 and 1.51 validating addr_of codepath</li>
<li><a href="be89adf403"><code>be89adf</code></a> Detect whether ptr::addr_of is supported by current compiler</li>
<li><a href="ac64560c42"><code>ac64560</code></a> Switch object_ref return from real ref to Ref ptr</li>
<li><a href="2987c9b59e"><code>2987c9b</code></a> Ignore redundant_else pedantic clippy lint</li>
<li><a href="827bb9d4c6"><code>827bb9d</code></a> Catch some warnings in addr_of-related codepaths</li>
<li><a href="ce0041866d"><code>ce00418</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/144">https://github.com/facebook/flipper/issues/144</a> from dtolnay/ptr</li>
<li><a href="3c32aa7dcd"><code>3c32aa7</code></a> Relax Sized bound on Own, Ref, Mut ptrs</li>
<li>Additional commits viewable in <a href="https://github.com/dtolnay/anyhow/compare/1.0.39...1.0.40">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D27396051

Pulled By: mweststrate

fbshipit-source-id: 65d7a2af7f271d636ed48c81b342216e91a13bbc
2021-03-29 08:33:54 -07:00
Michel Weststrate
5e439730db Downgraded FlipperKit version as 0.82.1 pods don't seem to be published
Summary: Per title. Should unfail failing GH actions

Reviewed By: muraziz

Differential Revision: D27393865

fbshipit-source-id: 888cfda2361c3be3f36c4d6418bbe31cde3f81c6
2021-03-29 07:00:47 -07:00
Michel Weststrate
d13d8edf23 Documented how to connect to physical iOS device
Summary: Updated outdated docs are reported in https://github.com/facebook/flipper/issues/1250

Reviewed By: priteshrnandgaonkar

Differential Revision: D27361276

fbshipit-source-id: 87bede49501d6ae7d2a9612b769e1e1c1d7803b1
2021-03-29 07:00:47 -07:00
Michel Weststrate
1b0d01ef38 Give clear messages on how to connect to physical devices
Summary:
Give clearer instructions when connection to (physical) device fails, rather than just logging errors.

Fixes https://github.com/facebook/flipper/issues/1942

Also removed throwing errors for known problems, as they can be remediated by users.

Reviewed By: passy

Differential Revision: D27360575

fbshipit-source-id: 311d27178d4d205dff725201c7c60f116f0eb319
2021-03-29 07:00:47 -07:00
Michel Weststrate
d5fbe9a5b9 Support physical device logging
Summary:
Changelog: Logs plugin now supports physical iOS devices

As reported in https://github.com/facebook/flipper/issues/262 and linked papercut.

This diff adds support for iOS device logs through idb. Since idb doesn't respect `--json` flag at the moment, we perform the parsing in Flipper itself.

Reviewed By: passy

Differential Revision: D27346262

fbshipit-source-id: 3b314716f48bb9a7fe709370303396a51893359c
2021-03-29 07:00:47 -07:00
Pritesh Nandgaonkar
d22e893169 Update the run logic of iOS jobs (#2118)
Summary:
This PR updates the logic when these iOS jobs should be run. This change just makes it run for pushes to iOS folders and xplat c++ folders.

## Changelog

- Update the GH action.

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

Test Plan: Note that no iOS job is run.

Reviewed By: mweststrate

Differential Revision: D27395681

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 37a7c2fb9b3fdfa22307ac5e7403364bfeb0a384
2021-03-29 06:57:10 -07:00
Pascal Hartig
1d67dd8a9f Remove pod bumps without flipperkit_version (#2117)
Summary:
Sample and SampleSwift directly link to the debug version and don't reference `flipperkit_version` which is why the script is failing.

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

Test Plan: hopeitwork

Reviewed By: priteshrnandgaonkar

Differential Revision: D27395244

Pulled By: passy

fbshipit-source-id: 3485731b0489376fbdf987c082ef7d288f66bbe8
2021-03-29 06:53:54 -07:00
Pritesh Nandgaonkar
2132163d20 Add native tree information in sidebar
Summary: This diff adds the native tree information in the side bar. It reuses the the Layout Plugins Inspector Sidebar UI.

Reviewed By: timur-valiev

Differential Revision: D27387714

fbshipit-source-id: 46941fdaaaf9fea78dab32f0f8bf7b3dec8286c6
2021-03-29 05:10:00 -07:00
Pascal Hartig
ed57f97720 Update example yarn.lock (#2114)
Summary:
Breaking the validation here somehow.

https://github.com/facebook/flipper/runs/2217291316

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

Reviewed By: mweststrate

Differential Revision: D27394354

Pulled By: passy

fbshipit-source-id: 77381b6ff4dd698e0e358354ec410cca30b8b3e3
2021-03-29 05:06:02 -07:00
dependabot[bot]
2e073bb663 Bump anyhow from 1.0.38 to 1.0.39 in /packer (#2086)
Summary:
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.38 to 1.0.39.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/anyhow/releases">anyhow's releases</a>.</em></p>
<blockquote>
<h2>1.0.39</h2>
<ul>
<li>
<p>Add an opt-in implementation of <a href="https://docs.rs/anyhow/1.0.39/anyhow/struct.Error.html#method.backtrace"><code>Error::backtrace</code></a> on stable compilers based on the <code>backtrace</code> crate (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/143">https://github.com/facebook/flipper/issues/143</a>)</p>
<pre lang="toml"><code>[dependencies]
anyhow = { version = &quot;1.0&quot;, features = [&quot;backtrace&quot;] }
</code></pre>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="8599c7b532"><code>8599c7b</code></a> Release 1.0.39</li>
<li><a href="d65af362cc"><code>d65af36</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/143">https://github.com/facebook/flipper/issues/143</a> from dtolnay/backtrace</li>
<li><a href="0ba6408b5e"><code>0ba6408</code></a> Add stable backtrace feature</li>
<li><a href="7e85baecce"><code>7e85bae</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/142">https://github.com/facebook/flipper/issues/142</a> from dtolnay/backtrace</li>
<li><a href="a476ec40ce"><code>a476ec4</code></a> Indicate a doc_cfg on the Error backtrace() method</li>
<li><a href="fea4d8a8f6"><code>fea4d8a</code></a> Eliminate some needlessly cfg'd Backtrace imports</li>
<li><a href="1631007931"><code>1631007</code></a> Ignore new missing_panics_doc pedantic clippy lint</li>
<li><a href="36265418da"><code>3626541</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/137">https://github.com/facebook/flipper/issues/137</a> from dtolnay/cast</li>
<li><a href="3fdef75780"><code>3fdef75</code></a> Revert &quot;Show turbofish optional&quot;</li>
<li><a href="4e776b8b52"><code>4e776b8</code></a> Force turbofish on all calls of .cast::&lt;U&gt;()</li>
<li>Additional commits viewable in <a href="https://github.com/dtolnay/anyhow/compare/1.0.38...1.0.39">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D27326622

Pulled By: mweststrate

fbshipit-source-id: 3efba9efee92c25a28e0296115808aed66d2a599
2021-03-29 04:33:40 -07:00
dependabot[bot]
aba15f8475 Bump dokka-gradle-plugin from 1.4.20 to 1.4.30 (#2089)
Summary:
Bumps [dokka-gradle-plugin](https://github.com/Kotlin/dokka) from 1.4.20 to 1.4.30.
<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.4.30 Alpha</h2>
<p>In this release we focused on improving multi-module experience that would allow links, search and navigation to be rendered for the whole project rather than independent modules. We have also updated the compiler to 1.4.30 and introduced the versioning plugin for the multi module, that lets users generate documentation for each version incrementally and switch between them on the main page.</p>
<h2>Breaking changes</h2>
<ul>
<li>Dokka multi module no longer uses generic <code>dokka${format}</code> task but rather <code>dokka${format}Partial</code> where <code>format</code> is the desired output format like <code>html</code> or <code>gfm</code></li>
</ul>
<h2>Improvements and bug fixes</h2>
<ul>
<li>JvmName support <a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1675">https://github.com/facebook/flipper/issues/1675</a></li>
<li>Use Maven directly to download additional dependencies <a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1644">https://github.com/facebook/flipper/issues/1644</a> thanks <a href="https://github.com/adangel"><code>@​adangel</code></a></li>
<li>Fix docs on DProperty <a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1671">https://github.com/facebook/flipper/issues/1671</a></li>
<li>Refactor ContentTable builder and fix GFM table rendering <a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1682">https://github.com/facebook/flipper/issues/1682</a></li>
<li>Versioning <a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1654">https://github.com/facebook/flipper/issues/1654</a></li>
<li>Footer customisation <a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1691">https://github.com/facebook/flipper/issues/1691</a></li>
<li>Resolve Trove issue <a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1715">https://github.com/facebook/flipper/issues/1715</a></li>
<li>Fix incorrect DRI conversion in KotlinAsJava modes for nested definitions <a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1701">https://github.com/facebook/flipper/issues/1701</a></li>
<li>JvmOverloads (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1712">https://github.com/facebook/flipper/issues/1712</a>) and add detection of JvmSynthetic (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1718">https://github.com/facebook/flipper/issues/1718</a>) thanks <a href="https://github.com/bishiboosh"><code>@​bishiboosh</code></a></li>
<li>Annotations for parameters <a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1710">https://github.com/facebook/flipper/issues/1710</a></li>
<li>Fix links to method parameters from documentation <a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1713">https://github.com/facebook/flipper/issues/1713</a></li>
<li>Fix displaying default Java visibility <a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1738">https://github.com/facebook/flipper/issues/1738</a></li>
<li>Add legacy KotlinWebsite format to recognized link formats <a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1750">https://github.com/facebook/flipper/issues/1750</a></li>
<li>Fix parameters in CLI and bump kotlinx.cli <a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1755">https://github.com/facebook/flipper/issues/1755</a></li>
<li>Suppress tag support <a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1742">https://github.com/facebook/flipper/issues/1742</a></li>
<li>Add ability to suppress obvious functions like equals, toString <a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1758">https://github.com/facebook/flipper/issues/1758</a></li>
<li>Make Gradle plugin use <code>api</code> instead of <code>implementation</code> for dokka-core <a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1771">https://github.com/facebook/flipper/issues/1771</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="4f6db70c38"><code>4f6db70</code></a> Don't document Dokka for local publication</li>
<li><a href="6645763b4e"><code>6645763</code></a> Remove explicit publishing from s3 tests</li>
<li><a href="f10455d50d"><code>f10455d</code></a> Use Nexus publish plugin for publishing to Sonatype</li>
<li><a href="05ae0ef138"><code>05ae0ef</code></a> Add publication version assertion</li>
<li><a href="29e052a39d"><code>29e052a</code></a> Rewrite Gradle plugin publication</li>
<li><a href="dac09588f1"><code>dac0958</code></a> Add OSSRH repositories</li>
<li><a href="301ee3885b"><code>301ee38</code></a> Fix not escaping module name in DefaultExternalModuleLinkResolver (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1777">https://github.com/facebook/flipper/issues/1777</a>)</li>
<li><a href="f5c791a150"><code>f5c791a</code></a> Bump korte to 2.0.7 (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1773">https://github.com/facebook/flipper/issues/1773</a>)</li>
<li><a href="31506aee80"><code>31506ae</code></a> Make Gradle plugin use <code>api</code> instead of <code>implementation</code> for core (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1771">https://github.com/facebook/flipper/issues/1771</a>)</li>
<li><a href="4899f65d78"><code>4899f65</code></a> Fix multimodule sourcesets dependencies (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1766">https://github.com/facebook/flipper/issues/1766</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/Kotlin/dokka/compare/v1.4.20...v1.4.30">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.4.20&new-version=1.4.30)](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/2089

Reviewed By: passy

Differential Revision: D27326624

Pulled By: mweststrate

fbshipit-source-id: 35b5b1f4c5843127a4cd6237ba6dabfd439cbb92
2021-03-29 04:33:40 -07:00
dependabot[bot]
33dbd5912e Bump relative-deps from 1.0.6 to 1.0.7 in /react-native/ReactNativeFlipperExample (#2092)
Summary:
Bumps [relative-deps](https://github.com/mweststrate/relative-deps) from 1.0.6 to 1.0.7.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/mweststrate/relative-deps/commits">compare view</a></li>
</ul>
</details>
<br />

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

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

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

 ---

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

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

</details>

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

Reviewed By: passy

Differential Revision: D27326632

Pulled By: mweststrate

fbshipit-source-id: 628614ac5a4b5fee8eb4470995c6449c35629836
2021-03-29 04:33:40 -07:00
Michel Weststrate
8dadf28125 Fix layout regression in sidebar
Summary: D27233899 (dd1f2fdeaa) caused a layouting regressions. Fixed in this diff. Fixes https://fb.workplace.com/groups/flippersupport/permalink/1104019500078707/

Reviewed By: passy, fabiomassimo

Differential Revision: D27394188

fbshipit-source-id: d928c9da82beb850ff512393cbb589f625889442
2021-03-29 03:38:28 -07:00
Bartosz Kaszubowski
40e6cdebb1 improve docs code blocks highlighting (#2049)
Summary:
This PR adds missing Objective-C entry to the Docusaurus config, fixes Objective-C code blocks label and adds or replaces several code block labels to improve the currently highlighted blocks.

Prism in Docusaurus by default also includes syntax highlight for `jsx` and `tsx`, which improves the nodes and props highlight, so I have used those syntaxes in few places too.

I have also fixed one typo that I have spotted and my IDE made a cleanup of whitespaces in edited files.

## Changelog

* [website] improve docs code blocks highlighting

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

Test Plan:
The changes have been tested running Flipper website on `localhost`.

## Preview

<img width="650" alt="Screenshot 2021-03-12 150934" src="https://user-images.githubusercontent.com/719641/110951135-fff20d00-8344-11eb-96db-1bdc82c8d5ea.png">

<img width="649" alt="Screenshot 2021-03-12 151022" src="https://user-images.githubusercontent.com/719641/110951268-2ca62480-8345-11eb-9d3b-1a48f1267776.png">

Reviewed By: priteshrnandgaonkar

Differential Revision: D27336599

Pulled By: passy

fbshipit-source-id: c2dfb3d8cad4675da0f5e1270cada1e56a0175c0
2021-03-29 02:46:11 -07:00
Pascal Hartig
e4a814502a Mass bump deps
Summary:
Bumping everything that's just a patch version behind or safe-looking minor change.

Just hoping to get ahead of dependabot's next run.

Reviewed By: fabiomassimo

Differential Revision: D27367567

fbshipit-source-id: 1bf8bad02e5a9f07f5982466254f9906581230cf
2021-03-27 04:25:57 -07:00
dependabot[bot]
d5089b9f01 Bump com.github.ben-manes.versions from 0.28.0 to 0.38.0 (#2037)
Summary:
Bumps com.github.ben-manes.versions from 0.28.0 to 0.38.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.28.0&new-version=0.38.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/2037

Reviewed By: passy

Differential Revision: D27326600

Pulled By: mweststrate

fbshipit-source-id: a2697e74fb00dcfc4cbf9917f46e48b4cf8bf879
2021-03-26 10:28:18 -07:00
generatedunixname89002005306973
f12fd3314e Flipper Snapshot Bump: v0.82.2-SNAPSHOT
Summary: Releasing snapshot version 0.82.2-SNAPSHOT

Reviewed By: passy

Differential Revision: D27360491

fbshipit-source-id: 189d3c3f985f463b4c9f084acc8c0ea314e7d39e
2021-03-26 07:16:55 -07:00
generatedunixname89002005306973
979c49b18d Flipper Release: v0.82.1
Summary: Releasing version 0.82.1

Reviewed By: passy

Differential Revision: D27360493

fbshipit-source-id: 683605461956d39fdc20560d3a045fd42325e5fb
2021-03-26 07:16:55 -07:00
Pascal Hartig
276aa682e3 Update xmldom for RN apps (security fix)
Summary: Same security vuln. Need to hard-code for now as this is deep down in the dependency tree for an RN dep called `xcode`.

Reviewed By: mweststrate

Differential Revision: D27338548

fbshipit-source-id: b88dcf48471739ebb7762f49589548dae62433be
2021-03-26 05:47:29 -07:00
Pascal Hartig
00442cff4a Update xmldom (security fix)
Summary:
Fixes https://github.com/facebook/flipper/security/dependabot/desktop/yarn.lock/xmldom/open.

This is pulled in via electron-builder.

Reviewed By: jknoxville

Differential Revision: D27338307

fbshipit-source-id: e57cb0123289bb53d1f1d9e5957485fb7f65488a
2021-03-26 05:47:29 -07:00
Pascal Hartig
b80ab0188b Update is-svg (security fix)
Summary: Fixes https://github.com/facebook/flipper/security/dependabot/website/yarn.lock/is-svg/open

Reviewed By: jknoxville

Differential Revision: D27337757

fbshipit-source-id: 9f547b6fa693b8164c66ccd1e4550a047b634cbb
2021-03-26 05:47:29 -07:00
Pascal Hartig
cf4d8d4b1a Bump ssri (security fix)
Summary: Fixes https://github.com/facebook/flipper/security/dependabot/website/yarn.lock/ssri/open

Reviewed By: jknoxville

Differential Revision: D27337656

fbshipit-source-id: e17e7da0682d6ee9daaff988f407f88c1f83b4e0
2021-03-26 05:47:29 -07:00
Pascal Hartig
2f92ce9781 Update deps
Summary: Cleaning up the `resolutions` before going through the next batch of vulns.

Reviewed By: jknoxville, mweststrate

Differential Revision: D27337444

fbshipit-source-id: 5f042b200ac7a6f50efc7faf3c31770c263e401b
2021-03-26 05:47:29 -07:00
Pascal Hartig
a0a28c2e21 Fix ts-node for Windows (#2101)
Summary:
Somehow referring to the parent directory doesn't work on Windows. Please don't ask me why. Given that we run a script from outside the package doing it on the top-level seems more consistent anyway.

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

Test Plan: Yarn on Windows succeeds: https://github.com/facebook/flipper/pull/2101/checks?check_run_id=2195613718

Reviewed By: fabiomassimo

Differential Revision: D27335250

Pulled By: passy

fbshipit-source-id: aaccdb3f7e78ca264b371a7723c9bad065919d45
2021-03-25 16:27:41 -07:00
Pritesh Nandgaonkar
790f23301e Refactor Layout Plugin
Summary:
This diff moves the iOS descriptors and other layout helpers into its own buck target. Earlier everything was part of the FlipperKitLayoutPlugin target. When kcui, tried to add macos descriptors, we realised that FlipperKitLayoutPlugin doesn't have macos platform in it and thus he had to put #if TARGET_OS_SIMULATOR check in iOS descriptors and at some other places.

In order to make the integration easier I decided to split the Layout Plugin in following way.

```
FlipperKitLayoutPlugin
  -> FlipperKitLayoutIOSDescriptors (platform set as IOS)
  -> FlipperKitLayoutHelpers (used in iOS Descriptors and usefule for Macos too)
  -> FlipperKitLayoutMacOSDescriptors(coming soon by kcui)(platform set as MacOS)

```

Reviewed By: kcui

Differential Revision: D27127587

fbshipit-source-id: f108ef81914297e93c886fe53dabf0a4bf11ebc1
2021-03-25 16:00:28 -07:00
Pascal Hartig
8c85da5bc8 Bump deps
Summary: Just trying to get ahead of dependabot and bump some easy dependencies all at once.

Reviewed By: fabiomassimo

Differential Revision: D27326687

fbshipit-source-id: 0c724c8e3a688aa9777945fcd46061284fd77969
2021-03-25 12:28:29 -07:00
dependabot[bot]
5f082d9267 Bump react-player from 1.15.3 to 2.9.0 in /desktop (#2015)
Summary:
Bumps [react-player](https://github.com/CookPete/react-player) from 1.15.3 to 2.9.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/cookpete/react-player/blob/master/CHANGELOG.md">react-player's changelog</a>.</em></p>
<blockquote>
<h4><a href="https://github.com/cookpete/react-player/compare/v2.8.2...v2.9.0">v2.9.0</a></h4>
<ul>
<li>Adds previewTabIndex property to light mode <a href="https://github-redirect.dependabot.com/cookpete/react-player/pull/1169"><code>[https://github.com/facebook/flipper/issues/1169](https://github.com/CookPete/react-player/issues/1169)</code></a></li>
<li>Update YouTube URL pattern (<a href="https://github-redirect.dependabot.com/CookPete/react-player/issues/1170">https://github.com/facebook/flipper/issues/1170</a>) <a href="https://github-redirect.dependabot.com/cookpete/react-player/pull/1171"><code>[https://github.com/facebook/flipper/issues/1171](https://github.com/CookPete/react-player/issues/1171)</code></a></li>
<li>Support Kaltura's HTML5 player <a href="https://github-redirect.dependabot.com/cookpete/react-player/pull/1082"><code>[https://github.com/facebook/flipper/issues/1082](https://github.com/CookPete/react-player/issues/1082)</code></a></li>
<li>Fix suspense check for nextjs <a href="https://github-redirect.dependabot.com/cookpete/react-player/issues/1165"><code>[https://github.com/facebook/flipper/issues/1165](https://github.com/CookPete/react-player/issues/1165)</code></a></li>
<li>Add kaltura player types <a href="b1e105342f"><code>b1e1053</code></a></li>
</ul>
<h4><a href="https://github.com/cookpete/react-player/compare/v2.8.1...v2.8.2">v2.8.2</a></h4>
<blockquote>
<p>26 January 2021</p>
</blockquote>
<ul>
<li>fix: ensure lazy typedefs mirror defaults <a href="https://github-redirect.dependabot.com/cookpete/react-player/pull/1153"><code>[https://github.com/facebook/flipper/issues/1153](https://github.com/CookPete/react-player/issues/1153)</code></a></li>
<li>fix: nullify srcObject instead of calling removeAttribute <a href="https://github-redirect.dependabot.com/cookpete/react-player/pull/1145"><code>[https://github.com/facebook/flipper/issues/1145](https://github.com/CookPete/react-player/issues/1145)</code></a></li>
<li>updated basic types with fallback <a href="https://github-redirect.dependabot.com/cookpete/react-player/pull/1144"><code>[https://github.com/facebook/flipper/issues/1144](https://github.com/CookPete/react-player/issues/1144)</code></a></li>
<li>Update wistia url pattern <a href="https://github-redirect.dependabot.com/cookpete/react-player/issues/1149"><code>[https://github.com/facebook/flipper/issues/1149](https://github.com/CookPete/react-player/issues/1149)</code></a></li>
<li>fix: ensure lazy typedefs mirror defaults (<a href="https://github-redirect.dependabot.com/CookPete/react-player/issues/1153">https://github.com/facebook/flipper/issues/1153</a>) <a href="https://github-redirect.dependabot.com/cookpete/react-player/issues/1146"><code>[https://github.com/facebook/flipper/issues/1146](https://github.com/CookPete/react-player/issues/1146)</code></a></li>
</ul>
<h4><a href="https://github.com/cookpete/react-player/compare/v2.8.0...v2.8.1">v2.8.1</a></h4>
<blockquote>
<p>20 January 2021</p>
</blockquote>
<ul>
<li>Fix clean script <a href="9a448b1315"><code>9a448b1</code></a></li>
</ul>
<h4><a href="https://github.com/cookpete/react-player/compare/v2.7.2...v2.8.0">v2.8.0</a></h4>
<blockquote>
<p>20 January 2021</p>
</blockquote>
<ul>
<li>fix: remove srcObject attribute if next uri is not a MediaStream <a href="https://github-redirect.dependabot.com/cookpete/react-player/pull/1121"><code>[https://github.com/facebook/flipper/issues/1121](https://github.com/CookPete/react-player/issues/1121)</code></a></li>
<li>added soundcloud playlist preview button for demo page so developers can know it also supports sc playlists <a href="https://github-redirect.dependabot.com/cookpete/react-player/pull/1113"><code>[https://github.com/facebook/flipper/issues/1113](https://github.com/CookPete/react-player/issues/1113)</code></a></li>
<li>Add missing FLV props to TS defs <a href="https://github-redirect.dependabot.com/cookpete/react-player/pull/1122"><code>[https://github.com/facebook/flipper/issues/1122](https://github.com/CookPete/react-player/issues/1122)</code></a></li>
<li>FEAT: customize fallback through props for lazy loading <a href="https://github-redirect.dependabot.com/cookpete/react-player/pull/1133"><code>[https://github.com/facebook/flipper/issues/1133](https://github.com/CookPete/react-player/issues/1133)</code></a></li>
<li>Add onClickPreview <a href="https://github-redirect.dependabot.com/cookpete/react-player/pull/1131"><code>[https://github.com/facebook/flipper/issues/1131](https://github.com/CookPete/react-player/issues/1131)</code></a></li>
<li>Added types for single players <a href="https://github-redirect.dependabot.com/cookpete/react-player/issues/953"><code>[https://github.com/facebook/flipper/issues/953](https://github.com/CookPete/react-player/issues/953)</code></a></li>
<li>Add custom control support to Wistia <a href="https://github-redirect.dependabot.com/cookpete/react-player/issues/1125"><code>[https://github.com/facebook/flipper/issues/1125](https://github.com/CookPete/react-player/issues/1125)</code></a></li>
<li>Fix facebook muted logic <a href="https://github-redirect.dependabot.com/cookpete/react-player/issues/1127"><code>[https://github.com/facebook/flipper/issues/1127](https://github.com/CookPete/react-player/issues/1127)</code></a></li>
<li>yarn upgrade <a href="0c7dd4a787"><code>0c7dd4a</code></a></li>
</ul>
<h4><a href="https://github.com/cookpete/react-player/compare/v2.7.1...v2.7.2">v2.7.2</a></h4>
<blockquote>
<p>16 December 2020</p>
</blockquote>
<ul>
<li>fix: add playIcon prop to TS declaration <a href="https://github-redirect.dependabot.com/cookpete/react-player/pull/1084"><code>[https://github.com/facebook/flipper/issues/1084](https://github.com/CookPete/react-player/issues/1084)</code></a></li>
</ul>
<h4><a href="https://github.com/cookpete/react-player/compare/v2.7.0...v2.7.1">v2.7.1</a></h4>
<blockquote>
<p>16 December 2020</p>
</blockquote>
<ul>
<li>Improve youtube playlist regex <a href="https://github-redirect.dependabot.com/cookpete/react-player/issues/1088"><code>[https://github.com/facebook/flipper/issues/1088](https://github.com/CookPete/react-player/issues/1088)</code></a></li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="5d38f882b2"><code>5d38f88</code></a> 2.9.0</li>
<li><a href="a41e3c791f"><code>a41e3c7</code></a> Fix suspense check for nextjs</li>
<li><a href="b1e105342f"><code>b1e1053</code></a> Add kaltura player types</li>
<li><a href="994820ee53"><code>994820e</code></a> Adds previewTabIndex property to light mode (<a href="https://github-redirect.dependabot.com/CookPete/react-player/issues/1169">https://github.com/facebook/flipper/issues/1169</a>)</li>
<li><a href="53e4aede5d"><code>53e4aed</code></a> Update YouTube URL pattern (<a href="https://github-redirect.dependabot.com/CookPete/react-player/issues/1170">https://github.com/facebook/flipper/issues/1170</a>) (<a href="https://github-redirect.dependabot.com/CookPete/react-player/issues/1171">https://github.com/facebook/flipper/issues/1171</a>)</li>
<li><a href="264cb10767"><code>264cb10</code></a> Support Kaltura's HTML5 player (<a href="https://github-redirect.dependabot.com/CookPete/react-player/issues/1082">https://github.com/facebook/flipper/issues/1082</a>)</li>
<li><a href="e1e99a1fee"><code>e1e99a1</code></a> 2.8.2</li>
<li><a href="61a27023ee"><code>61a2702</code></a> Update wistia url pattern</li>
<li><a href="0cc1b39b4e"><code>0cc1b39</code></a> fix: ensure lazy typedefs mirror defaults (<a href="https://github-redirect.dependabot.com/CookPete/react-player/issues/1153">https://github.com/facebook/flipper/issues/1153</a>)</li>
<li><a href="22bf8586a8"><code>22bf858</code></a> fix: nullify srcObject instead of calling removeAttribute (<a href="https://github-redirect.dependabot.com/CookPete/react-player/issues/1145">https://github.com/facebook/flipper/issues/1145</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/CookPete/react-player/compare/v1.15.3...v2.9.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D27326596

Pulled By: mweststrate

fbshipit-source-id: 6a08e7aaab483a65749cc286db9751f51782b04c
2021-03-25 11:48:05 -07:00
Michel Weststrate
32447c9026 Fix failing build by not propagating deployment target to deps (#2103)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/2103

Local builds break if the deploy target of deps isn't new enough. It seems that the project podfile is not respected in this regard, as reported here: https://stackoverflow.com/a/37289688/1983583. Will see if there is a better way to fix this.

Reviewed By: jknoxville

Differential Revision: D27328025

fbshipit-source-id: 6c5ac2dc88c3dd90dd84ce691a4f8e42188f96c2
2021-03-25 10:03:33 -07:00
generatedunixname89002005306973
49d763ad5a Flipper Snapshot Bump: v0.82.1-SNAPSHOT
Summary: Releasing snapshot version 0.82.1-SNAPSHOT

Reviewed By: mweststrate

Differential Revision: D27328584

fbshipit-source-id: ec58247c21e568496d4fb7f79ebb3198081003cd
2021-03-25 09:36:13 -07:00
generatedunixname89002005306973
9bccaf3951 Flipper Release: v0.82.0
Summary: Releasing version 0.82.0

Reviewed By: mweststrate

Differential Revision: D27328585

fbshipit-source-id: 720bc154078611295664a34a567299a94a790711
2021-03-25 09:36:13 -07:00
Michel Weststrate
740fbe57fd Fix release build issue
Summary:
D24358369 (8a31e984b3) introduced a dependency outside the `sonar/` dir, which probably should not have happened. D27324576 finally broke this, by adding a dep to QPL core, which will never be installed in our CI.

This diff unbreaks that rewriting the require to a locally provided version of crc32, however this is a stop gap, and it would be great if someone would look into a sustainable solution :)

Reviewed By: passy

Differential Revision: D27327272

fbshipit-source-id: 70cdf21c7ecf081ef804d6338ec11e498e3cb7cf
2021-03-25 08:42:08 -07:00
dependabot[bot]
bfde7c4d24 Bump eslint-plugin-flowtype from 5.3.1 to 5.4.0 in /flipper-js-client-sdk (#2052)
Summary:
Bumps [eslint-plugin-flowtype](https://github.com/gajus/eslint-plugin-flowtype) from 5.3.1 to 5.4.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/gajus/eslint-plugin-flowtype/releases">eslint-plugin-flowtype's releases</a>.</em></p>
<blockquote>
<h2>v5.4.0</h2>
<h1><a href="https://github.com/gajus/eslint-plugin-flowtype/compare/v5.3.1...v5.4.0">5.4.0</a> (2021-03-14)</h1>
<h3>Features</h3>
<ul>
<li>migrate a new rule 'no-internal-flow-type' (<a href="https://github.com/gajus/eslint-plugin-flowtype/issues/469">https://github.com/facebook/flipper/issues/469</a>) (<a href="fd838c3dce">fd838c3</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="fd838c3dce"><code>fd838c3</code></a> feat: migrate a new rule 'no-internal-flow-type' (<a href="https://github.com/gajus/eslint-plugin-flowtype/issues/469">https://github.com/facebook/flipper/issues/469</a>)</li>
<li>See full diff in <a href="https://github.com/gajus/eslint-plugin-flowtype/compare/v5.3.1...v5.4.0">compare view</a></li>
</ul>
</details>
<br />

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

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

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

 ---

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

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

</details>

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

Reviewed By: passy

Differential Revision: D27230372

Pulled By: priteshrnandgaonkar

fbshipit-source-id: bbad17858718383788aac0c57230f7f2acc846f4
2021-03-25 05:28:31 -07:00
Michel Weststrate
f095a00c78 Fix Flipper crashing when decoding partial encoded requests
Summary:
Changelog: Fixed an issue where Flipper would crash when decoding large partial requests.

The current processing of partial requests assumes that the proviced base64 string is always an utf-8 string, which is incorrect as it might contain binary data as well. This causes `atob` build in to throw errors when trying to decode binary base64 strings with the following exception:

{F538782963}

However, what is worse, if those strings were larger than ~2 mb, it would completely crash Electron rather than on the JS level, with reports like:

```

Crashed Thread:        0  CrRendererMain  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       EXC_I386_GPFLT
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [85268]

Thread 0 Crashed:: CrRendererMain  Dispatch queue: com.apple.main-thread
0   com.github.Electron.framework 	0x000000011155b16f v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 22324575
1   com.github.Electron.framework 	0x000000011155e811 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 22338561
2   com.github.Electron.framework 	0x00000001117e2e62 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 24978002
3   com.github.Electron.framework 	0x000000010fa32660 v8::internal::ClassScope::ResolvePrivateNamesPartially() + 14944
4   com.github.Electron.framework 	0x000000010fa322b5 v8::internal::ClassScope::ResolvePrivateNamesPartially() + 14005
5   com.github.Electron.framework 	0x000000010fa31933 v8::internal::ClassScope::ResolvePrivateNamesPartially() + 11571
6   com.github.Electron.framework 	0x000000011007ef58 v8::internal::SetupIsolateDelegate::SetupHeap(v8::internal::Heap*) + 451400
```

Reproduced this JS issue by lowering the `MAX_BODY_SIZE_IN_BYTES` in `NetworkFlipperPlugin.java` to 10KB, which causes all requests to be processed as partials.

Reproducing the the Electron crash is a lot harder, as it requires a surface that makes large, binary requests (more than a few mb), that is still intercepted by the Network layer. The best example I could find is sending large pictures or videos through a messenger for android chat. In that case it is still hard to produce due to caching though.

Fun fact, you can crash your own flipper and get the above crash by running this command:
`btoa(require("fs").readFileSync("/Users/mweststrate/Desktop/Screen Recording 2021-03-24 at 16.08.27 crop.mov", "binary"))`, where the provided file must be a few mb's large (this one is 10).

A result of fixing this issue, is that images that were send as partials can now be correctly previewed in the Network plugin again.

Reviewed By: jknoxville

Differential Revision: D27302961

fbshipit-source-id: 1ac86840f7268062bb59c789f3904537df3c51fa
2021-03-25 05:03:07 -07:00
dependabot[bot]
2622c084df Bump eslint from 7.21.0 to 7.22.0 in /flipper-js-client-sdk (#2054)
Summary:
Bumps [eslint](https://github.com/eslint/eslint) from 7.21.0 to 7.22.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/eslint/eslint/releases">eslint's releases</a>.</em></p>
<blockquote>
<h2>v7.22.0</h2>
<ul>
<li><a href="3a432d82b3"><code>3a432d8</code></a> Docs: Improve documentation for indent rule (<a href="https://github.com/eslint/eslint/issues/14168">#14168</a>) (Serkan Özel)</li>
<li><a href="f62ec8d30d"><code>f62ec8d</code></a> Update: throw error when fix range is invalid (<a href="https://github.com/eslint/eslint/issues/14142">#14142</a>) (Jacob Bandes-Storch)</li>
<li><a href="0eecad2713"><code>0eecad2</code></a> Upgrade: Update lodash in package.json to V 4.17.21 (<a href="https://github.com/eslint/eslint/issues/14159">#14159</a>) (Basem Al-Nabulsi)</li>
<li><a href="5ad91aa7df"><code>5ad91aa</code></a> Update: report es2021 globals in no-extend-native (refs <a href="https://github.com/eslint/eslint/issues/13602">#13602</a>) (<a href="https://github.com/eslint/eslint/issues/14177">#14177</a>) (Milos Djermanovic)</li>
<li><a href="c295581aca"><code>c295581</code></a> Chore: remove leftover JSDoc from lint-result-cache (<a href="https://github.com/eslint/eslint/issues/14176">#14176</a>) (Milos Djermanovic)</li>
<li><a href="0d541f9d9d"><code>0d541f9</code></a> Chore: Reduce lodash usage (<a href="https://github.com/eslint/eslint/issues/14178">#14178</a>) (Stephen Wade)</li>
<li><a href="27a67d71ff"><code>27a67d7</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li>
<li><a href="459d821f4a"><code>459d821</code></a> Chore: upgrade dependencies of browser test (<a href="https://github.com/eslint/eslint/issues/14127">#14127</a>) (Pig Fang)</li>
<li><a href="ebfb63a682"><code>ebfb63a</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li>
<li><a href="3ba029fbff"><code>3ba029f</code></a> Docs: Remove Extraneous Dash (<a href="https://github.com/eslint/eslint/issues/14164">#14164</a>) (Danny Hurlburt)</li>
<li><a href="6f4540ea7e"><code>6f4540e</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li>
<li><a href="ddf361ca2a"><code>ddf361c</code></a> Docs: Fix Formatting (<a href="https://github.com/eslint/eslint/issues/14154">#14154</a>) (Danny Hurlburt)</li>
<li><a href="c0d2ac16f8"><code>c0d2ac1</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li>
<li><a href="a8df03efe3"><code>a8df03e</code></a> Docs: Clarify triage process (<a href="https://github.com/eslint/eslint/issues/14117">#14117</a>) (Nicholas C. Zakas)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/eslint/eslint/blob/master/CHANGELOG.md">eslint's changelog</a>.</em></p>
<blockquote>
<p>v7.22.0 - March 12, 2021</p>
<ul>
<li><a href="3a432d82b3"><code>3a432d8</code></a> Docs: Improve documentation for indent rule (<a href="https://github.com/eslint/eslint/issues/14168">#14168</a>) (Serkan Özel)</li>
<li><a href="f62ec8d30d"><code>f62ec8d</code></a> Update: throw error when fix range is invalid (<a href="https://github.com/eslint/eslint/issues/14142">#14142</a>) (Jacob Bandes-Storch)</li>
<li><a href="0eecad2713"><code>0eecad2</code></a> Upgrade: Update lodash in package.json to V 4.17.21 (<a href="https://github.com/eslint/eslint/issues/14159">#14159</a>) (Basem Al-Nabulsi)</li>
<li><a href="5ad91aa7df"><code>5ad91aa</code></a> Update: report es2021 globals in no-extend-native (refs <a href="https://github.com/eslint/eslint/issues/13602">#13602</a>) (<a href="https://github.com/eslint/eslint/issues/14177">#14177</a>) (Milos Djermanovic)</li>
<li><a href="c295581aca"><code>c295581</code></a> Chore: remove leftover JSDoc from lint-result-cache (<a href="https://github.com/eslint/eslint/issues/14176">#14176</a>) (Milos Djermanovic)</li>
<li><a href="0d541f9d9d"><code>0d541f9</code></a> Chore: Reduce lodash usage (<a href="https://github.com/eslint/eslint/issues/14178">#14178</a>) (Stephen Wade)</li>
<li><a href="27a67d71ff"><code>27a67d7</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li>
<li><a href="459d821f4a"><code>459d821</code></a> Chore: upgrade dependencies of browser test (<a href="https://github.com/eslint/eslint/issues/14127">#14127</a>) (Pig Fang)</li>
<li><a href="ebfb63a682"><code>ebfb63a</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li>
<li><a href="3ba029fbff"><code>3ba029f</code></a> Docs: Remove Extraneous Dash (<a href="https://github.com/eslint/eslint/issues/14164">#14164</a>) (Danny Hurlburt)</li>
<li><a href="6f4540ea7e"><code>6f4540e</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li>
<li><a href="ddf361ca2a"><code>ddf361c</code></a> Docs: Fix Formatting (<a href="https://github.com/eslint/eslint/issues/14154">#14154</a>) (Danny Hurlburt)</li>
<li><a href="c0d2ac16f8"><code>c0d2ac1</code></a> Sponsors: Sync README with website (ESLint Jenkins)</li>
<li><a href="a8df03efe3"><code>a8df03e</code></a> Docs: Clarify triage process (<a href="https://github.com/eslint/eslint/issues/14117">#14117</a>) (Nicholas C. Zakas)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6ee803747f"><code>6ee8037</code></a> 7.22.0</li>
<li><a href="a55e8a1a01"><code>a55e8a1</code></a> Build: changelog update for 7.22.0</li>
<li><a href="3a432d82b3"><code>3a432d8</code></a> Docs: Improve documentation for indent rule (<a href="https://github.com/eslint/eslint/issues/14168">#14168</a>)</li>
<li><a href="f62ec8d30d"><code>f62ec8d</code></a> Update: throw error when fix range is invalid (<a href="https://github.com/eslint/eslint/issues/14142">#14142</a>)</li>
<li><a href="0eecad2713"><code>0eecad2</code></a> Upgrade: Update lodash in package.json to V 4.17.21 (<a href="https://github.com/eslint/eslint/issues/14159">#14159</a>)</li>
<li><a href="5ad91aa7df"><code>5ad91aa</code></a> Update: report es2021 globals in no-extend-native (refs <a href="https://github.com/eslint/eslint/issues/13602">#13602</a>) (<a href="https://github.com/eslint/eslint/issues/14177">#14177</a>)</li>
<li><a href="c295581aca"><code>c295581</code></a> Chore: remove leftover JSDoc from lint-result-cache (<a href="https://github.com/eslint/eslint/issues/14176">#14176</a>)</li>
<li><a href="0d541f9d9d"><code>0d541f9</code></a> Chore: Reduce lodash usage (<a href="https://github.com/eslint/eslint/issues/14178">#14178</a>)</li>
<li><a href="27a67d71ff"><code>27a67d7</code></a> Sponsors: Sync README with website</li>
<li><a href="459d821f4a"><code>459d821</code></a> Chore: upgrade dependencies of browser test (<a href="https://github.com/eslint/eslint/issues/14127">#14127</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/eslint/eslint/compare/v7.21.0...v7.22.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D27230363

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 27ff5431b86f91b543cdc7093f8eed9c5147a489
2021-03-24 19:32:20 -07:00
dependabot[bot]
d575f2d388 Bump @types/express from 4.17.8 to 4.17.11 in /desktop (#2065)
Summary:
Bumps [types/express](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express) from 4.17.8 to 4.17.11.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/express&package-manager=npm_and_yarn&previous-version=4.17.8&new-version=4.17.11)](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/2065

Reviewed By: passy

Differential Revision: D27230321

Pulled By: priteshrnandgaonkar

fbshipit-source-id: cbdad9eb0b58b9c232b798d5d90a123a7c3ebe71
2021-03-24 19:32:20 -07:00
Pritesh Nandgaonkar
62863c8fe5 Change the logic to check the cert exchange is needed or not
Summary:
It has been seen [here](https://fb.workplace.com/groups/flippersupport/permalink/1094276434386347/) that the user's app sandbox can be in a state where it might not have the device id information, but other app certificates. This causes the issue of "Timed out waiting for unknown device".

We get the deviceid from flipper into app's sandbox when cert exchange happens. So if we don't have the device id information, we can again redo the cert exchange to get the sandbox in a state where flipper connects. Thus I updated the logic of `hasRequiredFiles` which checks the required files for cert exchange.

Reviewed By: mweststrate

Differential Revision: D27265693

fbshipit-source-id: ccf311f4728837ee9385c95c38f94c9c93380feb
2021-03-24 13:13:05 -07:00
Pritesh Nandgaonkar
d2fc10074f Bump react-native in react-native-flipper
Summary:
This diff bumps react-native dep in  react-native-flipper

This diff retries what D27230334 was trying to do. Looked like in the prev diff the yarn.lock had unwanted changes.

Reviewed By: passy

Differential Revision: D27297848

fbshipit-source-id: aecb4708fabb5515b9949a3eb59fffe05d49487f
2021-03-24 12:12:15 -07:00
Pascal Hartig
21cfa6921b Rebuild bump.lnx as static binary
Summary:
The dynamic verison ran on my devserver so I thought it was fine
but turns out our Lego host doesn't have the glibc version it linked
against: https://www.internalfb.com/intern/chronos/job?jobid=27021599014479361&smc=chronos_gp_admin_client

Reviewed By: fabiomassimo

Differential Revision: D27290193

fbshipit-source-id: 94f8048d6aa42d00401b433a622fe6af29126fd3
2021-03-24 04:46:14 -07:00
Hilal Alsibai
949545a2a7 Don't skip the first theme data retrieval
Summary: Was early returning on the first attempt to load theme data, this was left over from when the the theme feature was temporarily disabled.

Reviewed By: passy

Differential Revision: D27284040

fbshipit-source-id: bb641fbe4cd9c0ea6012e89dbda67e5dd10d59bd
2021-03-24 04:33:03 -07:00
Pascal Hartig
0a7f37d859 v0.3.0
Summary: Just bumpin'.

Reviewed By: fabiomassimo

Differential Revision: D27194182

fbshipit-source-id: 983cd09aab8087a70d133cd56c83b39a63890366
2021-03-23 13:28:14 -07:00
Pascal Hartig
8b97ce2954 Add integration test script
Summary:
Following priteshrnandgaonkar's advice of having something a little more automated
for testing the entire flow. This builds for each platform and
runs a little smoke test, ensuring that the right files are in each
archive.

Reviewed By: priteshrnandgaonkar

Differential Revision: D27229200

fbshipit-source-id: d83881a948ae001ce2379e9db5e21b777a5fe922
2021-03-23 13:28:14 -07:00
Pascal Hartig
0a9b7147c7 Update README
Reviewed By: mweststrate

Differential Revision: D27229201

fbshipit-source-id: faeb4528283a21be7ba51eb4a8e708a901307233
2021-03-23 13:28:14 -07:00
Pascal Hartig
fa97809178 Implement glob packing mode
Summary:
Best seen by looking at the packfile. This makes upgrades and changes
to the file format a lot more robust.

Reviewed By: priteshrnandgaonkar

Differential Revision: D27194152

fbshipit-source-id: a722adb3a59d73b7530287f7abd84ed865a35fa7
2021-03-23 13:28:14 -07:00
Pascal Hartig
ca55e68c89 Set up infra for different packing mode
Summary:
Electron 12 broke packing again because one file was renamed. I'm now setting up a separate mode for using globs and ignores to create artifact bundles. This will work like a reverse gitignore file. However, to keep the logic simple, I'll keep the old mode for MacOS where the folder structure lends itself to comprehensive, exact lists.

**This doesn't actually change anything just yet apart from the "packfile" format. The next diff will add the new packing mode. Feedback is always welcome but there's no need for super close scrutiny.**

Reviewed By: mweststrate

Differential Revision: D27191506

fbshipit-source-id: 663cef8b93eef6c2dbb56ef66de51ea9551412dd
2021-03-23 13:28:14 -07:00
Pascal Hartig
94e85b54c8 Update Linux binary
Summary: Per title.

Reviewed By: mweststrate

Differential Revision: D27266704

fbshipit-source-id: cc34c6d12b6db29650b7f45ed1594c0794d75e56
2021-03-23 13:07:48 -07:00
Pascal Hartig
9e30c60750 Update Mac binary
Summary: Per title.

Reviewed By: mweststrate

Differential Revision: D27266705

fbshipit-source-id: 3d279fe9fd6b9daae5126cbb1179ec8d97ef5e3f
2021-03-23 13:07:48 -07:00