Commit Graph

6933 Commits

Author SHA1 Message Date
dependabot[bot]
c08b31f971 Bump eslint from 8.12.0 to 8.13.0 in /js/js-flipper (#3625)
Summary:
Bumps [eslint](https://github.com/eslint/eslint) from 8.12.0 to 8.13.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/eslint/eslint/releases">eslint's releases</a>.</em></p>
<blockquote>
<h2>v8.13.0</h2>
<h2>Features</h2>
<ul>
<li><a href="274acbd565"><code>274acbd</code></a> feat: fix no-eval logic for <code>this</code> in arrow functions (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15755">#15755</a>) (Milos Djermanovic)</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><a href="97b57ae3eb"><code>97b57ae</code></a> fix: invalid operator in operator-assignment messages (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15759">#15759</a>) (Milos Djermanovic)</li>
</ul>
<h2>Documentation</h2>
<ul>
<li><a href="c32482e4fd"><code>c32482e</code></a> docs: Typo in space-infix-ops docs  (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15754">#15754</a>) (kmin-jeong)</li>
<li><a href="f2c2d35042"><code>f2c2d35</code></a> docs: disambiguate types <code>FormatterFunction</code> and <code>LoadedFormatter</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15727">#15727</a>) (Francesco Trotta)</li>
</ul>
<h2>Chores</h2>
<ul>
<li><a href="bb4c0d530a"><code>bb4c0d5</code></a> chore: Refactor docs to work with docs.eslint.org (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15744">#15744</a>) (Nicholas C. Zakas)</li>
<li><a href="d36f12f71b"><code>d36f12f</code></a> chore: remove <code>lib/init</code> from eslint config (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15748">#15748</a>) (Milos Djermanovic)</li>
<li><a href="a59a4e6e92"><code>a59a4e6</code></a> chore: replace <code>trimLeft</code>/<code>trimRight</code> with <code>trimStart</code>/<code>trimEnd</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15750">#15750</a>) (Milos Djermanovic)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/eslint/eslint/blob/main/CHANGELOG.md">eslint's changelog</a>.</em></p>
<blockquote>
<p>v8.13.0 - April 8, 2022</p>
<ul>
<li><a href="274acbd565"><code>274acbd</code></a> feat: fix no-eval logic for <code>this</code> in arrow functions (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15755">#15755</a>) (Milos Djermanovic)</li>
<li><a href="bb4c0d530a"><code>bb4c0d5</code></a> chore: Refactor docs to work with docs.eslint.org (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15744">#15744</a>) (Nicholas C. Zakas)</li>
<li><a href="97b57ae3eb"><code>97b57ae</code></a> fix: invalid operator in operator-assignment messages (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15759">#15759</a>) (Milos Djermanovic)</li>
<li><a href="c32482e4fd"><code>c32482e</code></a> docs: Typo in space-infix-ops docs  (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15754">#15754</a>) (kmin-jeong)</li>
<li><a href="f2c2d35042"><code>f2c2d35</code></a> docs: disambiguate types <code>FormatterFunction</code> and <code>LoadedFormatter</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15727">#15727</a>) (Francesco Trotta)</li>
<li><a href="d36f12f71b"><code>d36f12f</code></a> chore: remove <code>lib/init</code> from eslint config (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15748">#15748</a>) (Milos Djermanovic)</li>
<li><a href="a59a4e6e92"><code>a59a4e6</code></a> chore: replace <code>trimLeft</code>/<code>trimRight</code> with <code>trimStart</code>/<code>trimEnd</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15750">#15750</a>) (Milos Djermanovic)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="938dbdd6c3"><code>938dbdd</code></a> 8.13.0</li>
<li><a href="b7355e266d"><code>b7355e2</code></a> Build: changelog update for 8.13.0</li>
<li><a href="274acbd565"><code>274acbd</code></a> feat: fix no-eval logic for <code>this</code> in arrow functions (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15755">#15755</a>)</li>
<li><a href="bb4c0d530a"><code>bb4c0d5</code></a> chore: Refactor docs to work with docs.eslint.org (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15744">#15744</a>)</li>
<li><a href="97b57ae3eb"><code>97b57ae</code></a> fix: invalid operator in operator-assignment messages (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15759">#15759</a>)</li>
<li><a href="7a305c187c"><code>7a305c1</code></a> Sponsors: Sync README with website</li>
<li><a href="27be985c29"><code>27be985</code></a> Sponsors: Sync README with website</li>
<li><a href="f535e15d6a"><code>f535e15</code></a> Sponsors: Sync README with website</li>
<li><a href="c32482e4fd"><code>c32482e</code></a> docs: Typo in space-infix-ops docs  (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15754">#15754</a>)</li>
<li><a href="f2c2d35042"><code>f2c2d35</code></a> docs: disambiguate types <code>FormatterFunction</code> and <code>LoadedFormatter</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/15727">#15727</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/eslint/eslint/compare/v8.12.0...v8.13.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: antonk52

Differential Revision: D35893318

Pulled By: lblasa

fbshipit-source-id: a25879e226ee1d45cb1f4c9e41d824c9b0683824
2022-04-25 11:46:31 -07:00
dependabot[bot]
e1f952549e Bump eslint-plugin-import from 2.25.4 to 2.26.0 in /js/js-flipper (#3624)
Summary:
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.25.4 to 2.26.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md">eslint-plugin-import's changelog</a>.</em></p>
<blockquote>
<h2>[2.26.0] - 2022-04-05</h2>
<h3>Added</h3>
<ul>
<li>[<code>no-named-default</code>, <code>no-default-export</code>, <code>prefer-default-export</code>, <code>no-named-export</code>, <code>export</code>, <code>named</code>, <code>namespace</code>, <code>no-unused-modules</code>]: support arbitrary module namespace names (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2358">https://github.com/facebook/flipper/issues/2358</a>, thanks [<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>])</li>
<li>[<code>no-dynamic-require</code>]: support dynamic import with espree (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2371">https://github.com/facebook/flipper/issues/2371</a>, thanks [<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>])</li>
<li>[<code>no-relative-packages</code>]: add fixer (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2381">https://github.com/facebook/flipper/issues/2381</a>, thanks [<a href="https://github.com/forivall"><code>@​forivall</code></a>])</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[<code>default</code>]: <code>typescript-eslint-parser</code>: avoid a crash on exporting as namespace (thanks [<a href="https://github.com/ljharb"><code>@​ljharb</code></a>])</li>
<li>[<code>export</code>]/TypeScript: false positive for typescript namespace merging (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/1964">https://github.com/facebook/flipper/issues/1964</a>, thanks [<a href="https://github.com/magarcia"><code>@​magarcia</code></a>])</li>
<li>[<code>no-duplicates</code>]: ignore duplicate modules in different TypeScript module declarations (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2378">https://github.com/facebook/flipper/issues/2378</a>, thanks [<a href="https://github.com/remcohaszing"><code>@​remcohaszing</code></a>])</li>
<li>[<code>no-unused-modules</code>]: avoid a crash when processing re-exports (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2388">https://github.com/facebook/flipper/issues/2388</a>, thanks [<a href="https://github.com/ljharb"><code>@​ljharb</code></a>])</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[Tests] <code>no-nodejs-modules</code>: add tests for node protocol URL (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2367">https://github.com/facebook/flipper/issues/2367</a>, thanks [<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>])</li>
<li>[Tests] <code>default</code>, <code>no-anonymous-default-export</code>, <code>no-mutable-exports</code>, <code>no-named-as-default-member</code>, <code>no-named-as-default</code>: add tests for arbitrary module namespace names (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2358">https://github.com/facebook/flipper/issues/2358</a>, thanks [<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>])</li>
<li>[Docs] [<code>no-unresolved</code>]: Fix RegExp escaping in readme (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2332">https://github.com/facebook/flipper/issues/2332</a>, thanks [<a href="https://github.com/stephtr"><code>@​stephtr</code></a>])</li>
<li>[Refactor] <code>namespace</code>: try to improve performance (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2340">https://github.com/facebook/flipper/issues/2340</a>, thanks [<a href="https://github.com/ljharb"><code>@​ljharb</code></a>])</li>
<li>[Docs] make rule doc titles consistent (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2393">https://github.com/facebook/flipper/issues/2393</a>, thanks [<a href="https://github.com/TheJaredWilcurt"><code>@​TheJaredWilcurt</code></a>])</li>
<li>[Docs] <code>order</code>: TS code examples should use TS code blocks (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2411">https://github.com/facebook/flipper/issues/2411</a>, thanks [<a href="https://github.com/MM25Zamanian"><code>@​MM25Zamanian</code></a>])</li>
<li>[Docs] <code>no-unresolved</code>: fix link (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2417">https://github.com/facebook/flipper/issues/2417</a>, thanks [<a href="https://github.com/kylemh"><code>@​kylemh</code></a>])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d1602854ea"><code>d160285</code></a> Bump to 2.26.0</li>
<li><a href="0e80ee37cc"><code>0e80ee3</code></a> [Deps] update <code>tsconfig-paths</code></li>
<li><a href="d8633c35ba"><code>d8633c3</code></a> [Docs] <code>no-unresolved</code>: fix link</li>
<li><a href="98bbb2cb30"><code>98bbb2c</code></a> [Docs] <code>order</code>: TS code examples should use TS code blocks</li>
<li><a href="21304bdf01"><code>21304bd</code></a> [Deps] update <code>tsconfig-paths</code></li>
<li><a href="8b7000ec75"><code>8b7000e</code></a> [Fix] <code>no-unused-modules</code>: avoid a crash when processing re-exports</li>
<li><a href="747d6dc5b9"><code>747d6dc</code></a> [Docs] make rule doc titles consistent</li>
<li><a href="b0e6f7f489"><code>b0e6f7f</code></a> [Refactor] <code>namespace</code>: try to improve performance</li>
<li><a href="00a4edee35"><code>00a4ede</code></a> [Deps] update <code>minimatch</code></li>
<li><a href="35bd3a576c"><code>35bd3a5</code></a> [Dev Deps] update <code>angular-eslint/template-parser</code>, <code>chai</code></li>
<li>Additional commits viewable in <a href="https://github.com/import-js/eslint-plugin-import/compare/v2.25.4...v2.26.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: antonk52

Differential Revision: D35893323

Pulled By: lblasa

fbshipit-source-id: 2680ee21efcfd7906f07ec4df83d68a3f5b848fe
2022-04-25 09:26:43 -07:00
dependabot[bot]
02a8d7cc83 Bump protobuf-java from 3.19.4 to 3.20.0 (#3622)
Summary:
Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.19.4 to 3.20.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/protocolbuffers/protobuf/releases">protobuf-java's releases</a>.</em></p>
<blockquote>
<h2>Protocol Buffers v3.20.0</h2>
<p>2022-03-25 version 3.20.0 (C++/Java/Python/PHP/Objective-C/C#/Ruby/JavaScript)</p>
<h1>C++</h1>
<ul>
<li>Add option to use external GTest in CMake (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8736">#8736</a>)</li>
<li>cmake: Set correct sonames for libprotobuf-lite.so and libprotoc.so (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8635">#8635</a>) (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9529">#9529</a>)</li>
</ul>
<h1>Java</h1>
<ul>
<li>Revert &quot;Standardize on Array copyOf&quot; (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9400">#9400</a>)</li>
<li>Resolve more java field accessor name conflicts (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8198">#8198</a>)</li>
</ul>
<h1>Python</h1>
<ul>
<li>Pin multibuild scripts to get manylinux1 wheels back (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9216">#9216</a>)</li>
<li>Dropped support for Python &lt; 3.7 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9480">#9480</a>)</li>
</ul>
<h1>PHP</h1>
<ul>
<li>fix: [PHP] add missing reserved classnames (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9458">#9458</a>)</li>
</ul>
<h1>Ruby</h1>
<ul>
<li>Dropped Ruby 2.3 and 2.4 support for CI and releases. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9311">#9311</a>)</li>
<li>[Ruby] Message.decode/encode: Add max_recursion_depth option (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9218">#9218</a>)</li>
<li>Ruby: rename max_recursion_depth to recursion_limit (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9486">#9486</a>)</li>
<li>Fix conversion of singleton classes in Ruby (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9342">#9342</a>)</li>
<li>Suppress warning for intentional circular require (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9556">#9556</a>)</li>
<li>[Ruby] allow encode json options to be an object that responds to to_hash (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9513">#9513</a>)</li>
</ul>
<h1>Other</h1>
<ul>
<li>[C#] Fix trim warnings (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9182">#9182</a>)</li>
<li>Add protoc-gen-go-svc to options.md (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9280">#9280</a>)</li>
<li>Fixes NullReferenceException when accessing FieldDescriptor.IsPacked (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9430">#9430</a>)</li>
<li>Add ToProto() method to all C# descriptor classes (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9426">#9426</a>)</li>
<li>Add cmake option <code>protobuf_INSTALL</code> to not install files (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/7123">#7123</a>)</li>
<li>[CMake] Allow custom plugin options e.g. to generate mocks (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9105">#9105</a>)</li>
<li>Add an option to preserve proto names in JsonFormatter (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/6307">#6307</a>)</li>
<li>Add test scope to kotlin-test for protobuf-kotlin-lite (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9518">#9518</a>)</li>
<li>Add prefix_to_proto_package_mappings_path ObjC option. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9498">#9498</a>)</li>
<li>[ObjC] Rename <code>proto_package_to_prefix_mappings_path</code> to <code>package_to_prefix_mappings_path</code>. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9552">#9552</a>)</li>
<li>cmake: Use linker version scripts (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9545">#9545</a>)</li>
<li>Add a generation option to control use of forward declarations in headers. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9568">#9568</a>)</li>
<li>[C#] fix parse failure for extensions with large field numbers (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9591">#9591</a>)</li>
</ul>
<h2>Protocol Buffers v3.20.0-rc2</h2>
<h1>Ruby</h1>
<ul>
<li>to_json will now use fewer decimal places to encode float/double in some cases, if the extra digits are not necessary for round-tripping</li>
</ul>
<h1>PHP</h1>
<ul>
<li>to_json will now use fewer decimal places to encode float/double in some cases, if the extra digits are not necessary for round-tripping</li>
</ul>
<h2>Protocol Buffers v3.20.0-rc1</h2>
<h1>Ruby</h1>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="bc799d78f8"><code>bc799d7</code></a> Added missing files and fixed file roles. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9672">#9672</a>)</li>
<li><a href="dbb9619a9d"><code>dbb9619</code></a> Cherry-pick to get Ruby 3.1 support in protobuf 3.20.0 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9657">#9657</a>)</li>
<li><a href="2099298e08"><code>2099298</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9650">#9650</a> from esorot/php-release-fix</li>
<li><a href="523d94a445"><code>523d94a</code></a> update PHP release to not fail on existing tag</li>
<li><a href="a6133534e2"><code>a613353</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9634">#9634</a> from esorot/3.20.x-202203152103</li>
<li><a href="ebfa0d345e"><code>ebfa0d3</code></a> Update protobuf version</li>
<li><a href="e0cec17c71"><code>e0cec17</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9632">#9632</a> from esorot/update-python-version</li>
<li><a href="2a9f806a69"><code>2a9f806</code></a> update python to 3</li>
<li><a href="16dccd6820"><code>16dccd6</code></a> Updated Ruby to the latest upb. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9589">#9589</a>) (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9630">#9630</a>)</li>
<li><a href="357e71679e"><code>357e716</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/9588">#9588</a> from protocolbuffers/master</li>
<li>Additional commits viewable in <a href="https://github.com/protocolbuffers/protobuf/compare/v3.19.4...v3.20.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D35893329

Pulled By: lblasa

fbshipit-source-id: 9f53179a02a922b1c0271fb6e23e32134fec5e6f
2022-04-25 08:56:49 -07:00
dependabot[bot]
cab4668578 Bump rayon from 1.5.1 to 1.5.2 in /packer (#3636)
Summary:
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.5.1 to 1.5.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rayon-rs/rayon/blob/master/RELEASES.md">rayon's changelog</a>.</em></p>
<blockquote>
<h1>Release rayon 1.5.2 / rayon-core 1.9.2 (2022-04-13)</h1>
<ul>
<li>The new <code>ParallelSlice::par_rchunks()</code> and <code>par_rchunks_exact()</code> iterate
slice chunks in reverse, aligned the against the end of the slice if the
length is not a perfect multiple of the chunk size. The new
<code>ParallelSliceMut::par_rchunks_mut()</code> and <code>par_rchunks_exact_mut()</code> are the
same for mutable slices.</li>
<li>The <code>ParallelIterator::try_*</code> methods now support <code>std::ops::ControlFlow</code> and
<code>std::task::Poll</code> items, mirroring the unstable <code>Try</code> implementations in the
standard library.</li>
<li>The <code>ParallelString</code> pattern-based methods now support <code>&amp;[char]</code> patterns,
which match when any character in that slice is found in the string.</li>
<li>A soft limit is now enforced on the number of threads allowed in a single
thread pool, respecting internal bit limits that already existed. The current
maximum is publicly available from the new function <code>max_num_threads()</code>.</li>
<li>Fixed several Stacked Borrow and provenance issues found by <code>cargo miri</code>.</li>
</ul>
<h2>Contributors</h2>
<p>Thanks to all of the contributors for this release!</p>
<ul>
<li><a href="https://github.com/atouchet"><code>@​atouchet</code></a></li>
<li><a href="https://github.com/bluss"><code>@​bluss</code></a></li>
<li><a href="https://github.com/cuviper"><code>@​cuviper</code></a></li>
<li><a href="https://github.com/fzyzcjy"><code>@​fzyzcjy</code></a></li>
<li><a href="https://github.com/nyanzebra"><code>@​nyanzebra</code></a></li>
<li><a href="https://github.com/paolobarbolini"><code>@​paolobarbolini</code></a></li>
<li><a href="https://github.com/RReverser"><code>@​RReverser</code></a></li>
<li><a href="https://github.com/saethlin"><code>@​saethlin</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/rayon-rs/rayon/commits">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: antonk52

Differential Revision: D35893257

Pulled By: lblasa

fbshipit-source-id: ad1df71d2f0c5bf09dda1e6927b147a13eac5f81
2022-04-25 08:53:59 -07:00
dependabot[bot]
c8deef607b Bump clap from 3.1.8 to 3.1.9 in /packer (#3635)
Summary:
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.8 to 3.1.9.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/clap-rs/clap/releases">clap's releases</a>.</em></p>
<blockquote>
<h2>v3.1.9</h2>
<h2>[3.1.9] - 2022-04-15</h2>
<h3>Fixes</h3>
<ul>
<li>Pin the <code>clap_derive</code> version so a compatible version is always used with <code>clap</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's changelog</a>.</em></p>
<blockquote>
<h2>[3.1.9] - 2022-04-15</h2>
<h3>Fixes</h3>
<ul>
<li>Pin the <code>clap_derive</code> version so a compatible version is always used with <code>clap</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="7598c000f9"><code>7598c00</code></a> chore: Release</li>
<li><a href="d05c5dac41"><code>d05c5da</code></a> docs: Update changelog</li>
<li><a href="4abf9d7f2e"><code>4abf9d7</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3636">https://github.com/facebook/flipper/issues/3636</a> from epage/derive</li>
<li><a href="027f2511c6"><code>027f251</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3634">https://github.com/facebook/flipper/issues/3634</a> from turrisxyz/naveen/feat/set-perms-actions</li>
<li><a href="ed57342bdd"><code>ed57342</code></a> fix(derive): Couple derive version to clap</li>
<li><a href="297b9cf594"><code>297b9cf</code></a> chore: Release</li>
<li><a href="b3cbfd0ae0"><code>b3cbfd0</code></a> docs(man): Update changelog</li>
<li><a href="7849c35a3e"><code>7849c35</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3635">https://github.com/facebook/flipper/issues/3635</a> from epage/port</li>
<li><a href="15d8b3b0cd"><code>15d8b3b</code></a> style: Make clippy happy</li>
<li><a href="2f0d91688a"><code>2f0d916</code></a> docs(lex): Fix links</li>
<li>Additional commits viewable in <a href="https://github.com/clap-rs/clap/compare/v3.1.8...v3.1.9">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: antonk52

Differential Revision: D35893276

Pulled By: lblasa

fbshipit-source-id: 382746292f77cbd734c0aa9e849a6f57d832ec14
2022-04-25 06:44:59 -07:00
dependabot[bot]
b182caf8e4 Bump dokka-gradle-plugin from 1.6.10 to 1.6.20 (#3639)
Summary:
Bumps [dokka-gradle-plugin](https://github.com/Kotlin/dokka) from 1.6.10 to 1.6.20.
<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.6.20 Beta</h2>
<h2>Features</h2>
<ul>
<li>Introduce <code>documentedVisibilities</code> setting that allows including/excluding any visibility modifier in documentation. This is a more flexible replacement for <code>includeNonPublic</code>, which has now been deprecated (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2270">Kotlin/dokka#2270</a>)</li>
<li>Make HTML pages customizable through FreeMarker HTML templates (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2374">Kotlin/dokka#2374</a>)</li>
<li>Add global settings to JSON dokka CLI input (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2292">Kotlin/dokka#2292</a>), thanks to <a href="https://github.com/BarkingBad"><code>@​BarkingBad</code></a>!</li>
</ul>
<h2>HTML format changes</h2>
<ul>
<li>Add vertical alignment (wrapping) of signatures when 3 and more parameters are present (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2309">Kotlin/dokka#2309</a>)</li>
<li>Enhance primary constructor signature, display <code>val</code>/<code>var</code> keywords and default values (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2313">Kotlin/dokka#2313</a>)</li>
<li>Add a level of indentation to childless items in navigation tree (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2291">Kotlin/dokka#2291</a>)</li>
<li>Add horizontal margin to breadcrumbs delimiter (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2285">Kotlin/dokka#2285</a>)</li>
<li>Fixed various CSS rendering issues (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2284">Kotlin/dokka#2284</a>, <a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2389">Kotlin/dokka#2389</a>)</li>
</ul>
<h2>Bugfixes</h2>
<ul>
<li>Fixed <code>OutOfMemoryError: Metaspace</code>-related issues for the majority of cases (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2216">Kotlin/dokka#2216</a>)</li>
<li>Fixed classpath issues for HMPP libraries (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2431">Kotlin/dokka#2431</a>)</li>
<li>Using <code>@</code> symbol within code blocks in <code>.md</code> files doesn't lead to cropped documents anymore (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2418">Kotlin/dokka#2418</a>)</li>
<li>Fixed incorrect placement of HTML head tags, which led to missing favicon in multi-module projects (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2365">Kotlin/dokka#2365</a>)</li>
<li>Fixed resolution of ultralight methods that led to flaky signature generation (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2400">Kotlin/dokka#2400</a>)</li>
<li>Coroutines dispatchers are now shut down after each module pass to avoid resource leaks (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2325">Kotlin/dokka#2325</a>)</li>
<li>Suppressed property setters are now excluded from documentation (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2220">Kotlin/dokka#2220</a>)</li>
<li>Suppressing extensions doesn't fail builds anymore (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2348">Kotlin/dokka#2348</a>), thanks to <a href="https://github.com/BarkingBad"><code>@​BarkingBad</code></a>!</li>
<li>Fixed java getter / setter name generation for kotlin-java interop, now <code>isBoolean</code> instead of <code>getBoolean</code> (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2356">Kotlin/dokka#2356</a>), thanks to <a href="https://github.com/CharlesG-Branch"><code>@​CharlesG-Branch</code></a>!</li>
<li>Fixed MathJax plugin, previously completely broken (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2342">Kotlin/dokka#2342</a>), thanks to <a href="https://github.com/wyskoj"><code>@​wyskoj</code></a>!</li>
<li>Fixed Input/Output streams to minimize resource leaks (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2312">Kotlin/dokka#2312</a>, <a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2319">Kotlin/dokka#2319</a>)</li>
</ul>
<h2>Plugin API Changes</h2>
<ul>
<li>Add an extension point for rendering custom <a href="https://kotlinlang.org/docs/kotlin-doc.html#block-tags">documentation tags</a> (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2343">Kotlin/dokka#2343</a>)</li>
<li>Add an extension point for an external documentable provider (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2307">Kotlin/dokka#2307</a>), thanks to <a href="https://github.com/Kordyjan"><code>@​Kordyjan</code></a>!</li>
<li>Add filtering stategies extension point and fix constructors in Kotlin-as-Java (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2277">Kotlin/dokka#2277</a>), thanks to <a href="https://github.com/BarkingBad"><code>@​BarkingBad</code></a>!</li>
<li>Expose Kotlin-as-Java methods that could be used not only as part of transformers (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2351">Kotlin/dokka#2351</a>), thanks to <a href="https://github.com/BarkingBad"><code>@​BarkingBad</code></a>!</li>
<li>Refactor Ancestry Graphs (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2326">Kotlin/dokka#2326</a>), thanks to <a href="https://github.com/BarkingBad"><code>@​BarkingBad</code></a>!</li>
<li>Fixed resolving of DRIs for Enum Entries (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2305">Kotlin/dokka#2305</a>), thanks to <a href="https://github.com/BarkingBad"><code>@​BarkingBad</code></a>!</li>
</ul>
<h2>General Improvements</h2>
<ul>
<li>Collect annotations from <code>package-info.java</code> (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2331">Kotlin/dokka#2331</a>), thanks  to <a href="https://github.com/ember-rose"><code>@​ember-rose</code></a>!</li>
<li>Add support for header tags (<code>&lt;h1&gt;</code> / <code>&lt;h2&gt;</code> / <code>&lt;h3&gt;</code>) in Javadoc (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2345">Kotlin/dokka#2345</a>), thanks to <a href="https://github.com/asfalcone"><code>@​asfalcone</code></a>!</li>
<li>Add an option to merge implicit expect-actual declarations, enables merging of pages for related declarations which are not connected via <code>expect</code>-<code>actual</code> keywords (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2316">Kotlin/dokka#2316</a>)</li>
<li>Add a note about using Dokka in a precompiled script plugin (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2303">Kotlin/dokka#2303</a>), thanks to <a href="https://github.com/chkpnt"><code>@​chkpnt</code></a>!</li>
<li>Fixed wrong Groovy DSL example (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2302">Kotlin/dokka#2302</a>), thanks to <a href="https://github.com/chkpnt"><code>@​chkpnt</code></a>!</li>
<li>Various code cleanups (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2165">Kotlin/dokka#2165</a>, <a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2360">Kotlin/dokka#2360</a>, <a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2364">Kotlin/dokka#2364</a>, <a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2385">Kotlin/dokka#2385</a>), thanks to <a href="https://github.com/Goooler"><code>@​Goooler</code></a>!</li>
</ul>
<h2>Known issues</h2>
<ul>
<li>Kotlin Multiplatform projects that use <code>.klib</code> libraries may experience problems. There will be a separate <code>1.6.21</code> release that will address this issue shortly.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="bf0476ec3e"><code>bf0476e</code></a> Update documentation, examples and test references to 1.6.20 (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2440">https://github.com/facebook/flipper/issues/2440</a>)</li>
<li><a href="301b12fae7"><code>301b12f</code></a> Update version to 1.6.20 release</li>
<li><a href="92adc586b8"><code>92adc58</code></a> Fix classpath in HMPP (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2431">https://github.com/facebook/flipper/issues/2431</a>)</li>
<li><a href="34916ec2dc"><code>34916ec</code></a> Fix using <code>@</code> symbol inside code block (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2418">https://github.com/facebook/flipper/issues/2418</a>)</li>
<li><a href="5af8d0f8db"><code>5af8d0f</code></a> Update mkdocs gradle plugin to fix documentation generation (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2422">https://github.com/facebook/flipper/issues/2422</a>)</li>
<li><a href="3bb04e047e"><code>3bb04e0</code></a> Update Kotlin to 1.6.20 (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2417">https://github.com/facebook/flipper/issues/2417</a>)</li>
<li><a href="cb596b4787"><code>cb596b4</code></a> Fix type parameter annotation regression (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2388">https://github.com/facebook/flipper/issues/2388</a>) (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2410">https://github.com/facebook/flipper/issues/2410</a>)</li>
<li><a href="a20b4760c6"><code>a20b476</code></a> Update version to 1.6.20-RC</li>
<li><a href="a36b3af639"><code>a36b3af</code></a> Update Kotlin to 1.6.20-RC2 (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2407">https://github.com/facebook/flipper/issues/2407</a>)</li>
<li><a href="57133de2fe"><code>57133de</code></a> Bug resolving in ultralightmethod (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2400">https://github.com/facebook/flipper/issues/2400</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/Kotlin/dokka/compare/v1.6.10...v1.6.20">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.6.10&new-version=1.6.20)](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/3639

Reviewed By: mweststrate

Differential Revision: D35893243

Pulled By: lblasa

fbshipit-source-id: 50344925929617dba5fa2db4b14234f11cd5616f
2022-04-25 06:42:33 -07:00
Lukas Kurucz
d93ce00736 fix: clear reconnect timeout on stop() (#3646)
Summary:
When using `flipperClient.stop()`, after `flipperClient.start()`, it's impossible to `start` new connection, since the previous instance would keep active `reconnect`, so would override the previous connection.

## Changelog

- clean reconnect timer when calling `flipperClient.stop()`

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

Test Plan:
1. `flipperClient.start('Demo app', { urlBase: 'null:8333' });` - this will fail connection, but keep retrying
2. `flipperClient.stop()` - should disconnect from WS and clear all reconnect timers
3. `flipperClient.start('Demo app', { urlBase: 'localhost:8333' });` - should connect succefully

Reviewed By: antonk52

Differential Revision: D35810547

Pulled By: lblasa

fbshipit-source-id: 6f0b04df890c1519abb72895157785b01d35b5f2
2022-04-25 04:53:16 -07:00
Yizhe Chen
bf988659cf allow getFlipperPortsPropValue to do disk read as it's a debug tool
Summary:
`AndroidFlipperClient.java` is a debug tool, and it has some strict mode violation.

We should exempt them to reduce noise on logcat.

- 1.

```
                         D  StrictMode policy violation; ~duration=43 ms: android.os.strictmode.DiskReadViolation
                         D      at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1596)
                         D      at libcore.io.BlockGuardOs.access(BlockGuardOs.java:71)
                         D      at libcore.io.ForwardingOs.access(ForwardingOs.java:72)
                         D      at android.app.ActivityThread$AndroidOs.access(ActivityThread.java:7578)
                         D      at java.io.UnixFileSystem.checkAccess(UnixFileSystem.java:281)
                         D      at java.io.File.exists(File.java:815)
                         D      at android.app.ContextImpl.ensurePrivateDirExists(ContextImpl.java:681)
                         D      at android.app.ContextImpl.ensurePrivateDirExists(ContextImpl.java:672)
                         D      at android.app.ContextImpl.getFilesDir(ContextImpl.java:717)
                         D      at android.content.ContextWrapper.getFilesDir(ContextWrapper.java:253)
                         D      at com.facebook.flipper.android.AndroidFlipperClient.getInstance(AndroidFlipperClient.java:55)
```

- 2.
```
                         D  StrictMode policy violation; ~duration=46 ms: android.os.strictmode.DiskReadViolation
                         D      at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1596)
                         D      at libcore.io.BlockGuardOs.read(BlockGuardOs.java:304)
                         D      at libcore.io.ForwardingOs.read(ForwardingOs.java:176)
                         D      at libcore.io.IoBridge.read(IoBridge.java:509)
                         D      at java.io.FileInputStream.read(FileInputStream.java:320)
                         D      at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
                         D      at java.io.BufferedInputStream.read(BufferedInputStream.java:347)
                         D      at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:291)
                         D      at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:355)
                         D      at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:181)
                         D      at java.io.InputStreamReader.read(InputStreamReader.java:184)
                         D      at java.io.BufferedReader.fill(BufferedReader.java:172)
                         D      at java.io.BufferedReader.readLine(BufferedReader.java:335)
                         D      at java.io.BufferedReader.readLine(BufferedReader.java:400)
                         D      at com.facebook.flipper.android.FlipperProps.getFlipperPortsPropValue(FlipperProps.java:92)
                         D      at com.facebook.flipper.android.FlipperProps.getFlipperDefaultAltPortsPropValue(FlipperProps.java:76)
                         D      at com.facebook.flipper.android.FlipperProps.getAltInsecurePort(FlipperProps.java:37)
                         D      at com.facebook.flipper.android.AndroidFlipperClient.getInstance(AndroidFlipperClient.java:47)
```

Reviewed By: nikoant

Differential Revision: D35784406

fbshipit-source-id: b55ce458e04a44d98565972132707a392d71281c
2022-04-23 12:17:28 -07:00
Lorenzo Blasa
0327282313 Fixes an issue with no database selected
Summary:
^

Not exactly sure how to reproduce the issue. Having said that:
- A database id is a non-zero number (1..n)
- If there's no selected database and/or there's no databases, then selectedDatabase is '0', which is an invalid database id.
- It is safer to check if the selected database id falls within bounds before attempting to obtain the tables from it.

From Logview, if the database id is '0', which is invalid, then we attempt to access a database at index -1 (database[selectedDatabase - 1]) which is definitely invalid. The returned object is undefined and hence the error.

Changelog: Fixes an issue on the databases plugin when there is no selected database.

Reviewed By: mweststrate

Differential Revision: D35810827

fbshipit-source-id: 4c9f112eebcd0aa3fcd5df316749f48f3922381c
2022-04-22 03:59:00 -07:00
Lukas Kurucz
e7c56045f5 Add "MacOS" to supportedDevices (#3648)
Summary:
This is already supported, when running Flipper on Mac, so just need update schema.

One use case for `MacOS`, is to have a static plugin available to users before they launch any app/device. So this can be used as Welcome plugin, Documentation or any other "static" plugin not requiring any other device except the one running Flipper Desktop.

## Changelog

- add `MacOS` to supported devices

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

Test Plan: - Script `lint` should pass.

Reviewed By: antonk52

Differential Revision: D35810577

Pulled By: lblasa

fbshipit-source-id: e1a2948fdf67535d28b68eeab649214b44ebcf9c
2022-04-22 03:58:36 -07:00
facebook-flipper-bot
5362649432 Automated: Update Podfile.lock (#3647)
Summary:
This is an automated PR to update the Podfile.lock.
- Make sure that the Podfile.lock contains latest FlipperKit and Flipper pod versions.
- Also make sure that all the dependencies are updated to the latest one.
- This is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request)

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

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

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

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

Reviewed By: nikoant

Differential Revision: D35810508

Pulled By: lblasa

fbshipit-source-id: 5087f032d7982cbc03f03e2b1619343f3123ae71
2022-04-21 03:49:13 -07:00
Nivaldo Bondança
9086cf7559 Edit android-native.mdx using inpage editor
Summary:
This diff has been automatically generated by the inpage editor.
                        If you want to update this diff, go through the preview link that would be attached to the test plan.
                        Please ensure you are editing the same page that was used to create this diff.

Reviewed By: nikoant

Differential Revision: D35679965

fbshipit-source-id: e09fc61be1bbade7dd04286af550a1b454512c42
2022-04-21 02:48:19 -07:00
Flipper Bot
9865bebc02 Flipper Snapshot Bump: v0.143.1-SNAPSHOT
Summary: Releasing snapshot version 0.143.1-SNAPSHOT

Reviewed By: lblasa

Differential Revision: D35775015

fbshipit-source-id: 97267e3e943afecc8c1daeca2ce60434791a39d7
2022-04-20 10:26:59 -07:00
Flipper Bot
94758c1204 Flipper Release: v0.143.0
Summary: Releasing version 0.143.0

Reviewed By: lblasa

Differential Revision: D35775016

fbshipit-source-id: a0c3bd46547f7a561e1de775796b93ea9cf3071e
2022-04-20 10:26:59 -07:00
Tommy Soh
c9981ffb1b Phoenix flipper - client plugin
Summary:
Created by running scarf flipper-plugin command as suggested in [doc](https://www.internalfb.com/intern/staticdocs/flipper/docs/extending/desktop-plugin-structure/).

Will be modifying test & index later to receive other data

- also created [GK](https://www.internalfb.com/intern/gatekeeper/projects/flipper_phoenixinternal/)

Question
- Is there a way to hide the plugin until feature is complete, besides GK?

Reviewed By: nikoant

Differential Revision: D35721694

fbshipit-source-id: 9052fbfd4530bb567f672b7f37153a62c7c75463
2022-04-20 10:00:46 -07:00
Andrey Goncharov
bd7a20d851 Enable Profiler
Summary: Show tab bar in React DevTools to allow switching to Profiler

Reviewed By: nikoant

Differential Revision: D35747309

fbshipit-source-id: ca7e65fdd30261aabc5f05fe10b451c115a92b7f
2022-04-19 07:52:32 -07:00
Kevin Strider
82c59515b1 databases (Features)
Summary: Restyle of the page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: nikoant

Differential Revision: D35579752

fbshipit-source-id: c06ac9a812b244a9ace5c829df5c347d450f5e3b
2022-04-13 02:46:19 -07:00
Kevin Strider
567fb5d623 databases (setup)
Summary: Restyle of the page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: nikoant

Differential Revision: D35579365

fbshipit-source-id: cb04b5e839b3d4ae74c4a20dd4a2fadd853d4181
2022-04-13 02:44:11 -07:00
Kevin Strider
466ed1badd logs (features)
Summary: Restyle of the page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: nikoant

Differential Revision: D35581050

fbshipit-source-id: 8ebe9a18e997653c2bb5062150f0de9cf9741116
2022-04-13 01:50:39 -07:00
Kevin Strider
e79b0fd96f crash_reporter (features)
Summary: Restyle of the page, including changes to spelling, grammar, lins checks, and structure (where relevant).

Reviewed By: jknoxville

Differential Revision: D35578704

fbshipit-source-id: 65a36631af2369e6483db05f139431d043638c65
2022-04-12 09:38:07 -07:00
Kevin Strider
f3d89852c2 react-native.mdx
Summary: Restyle of the page, including changes to spelling, grammar, lins checks, and structure (where relevant).

Reviewed By: nikoant

Differential Revision: D35577068

fbshipit-source-id: 3791e53adb51b36f1dd74688fa341d145c45234f
2022-04-12 07:50:14 -07:00
Kevin Strider
1d10dbe603 index.mdx and share-flipper-data.mdx
Summary: Restyle of Flipper docs, including spelling and grammar checks, link checks, and structure (where relevant).

Reviewed By: nikoant

Differential Revision: D35552028

fbshipit-source-id: f7b0079944ff788c0b7a5a13be1585df398cdd3c
2022-04-12 06:00:48 -07:00
Pascal Hartig
92f88e877b Script for platform-specific flipper-server bundles
Summary:
To roll out Flipper Server for desktop, we need a bundle that comes with all node dependencies pre-installed and a bundled Node runtime. This creates some platform-specific sub-folders in `dist/` with both.

The `--mac`, `--linux`, `--win` options are chosen to be compatible with the main build script. For now, we only build x64 builds for Mac which is also in line with the Desktop build as we don't have signing for the whole bundle.

Reviewed By: lblasa

Differential Revision: D35545492

fbshipit-source-id: cce7165916d91a333f305713b9d6d7b9984984f4
2022-04-12 04:12:55 -07:00
Lorenzo Blasa
f1fe66afd9 Use a dispatch queue for websocket operations
Summary:
This diff ensures that all operations on the socket are put into a serial background queue, including delegate callbacks.

All operations are executed asynchronously except disconnect, which is made synchronous as to guarantee no resources are accessed after the call.

Reviewed By: fabiomassimo

Differential Revision: D35254499

fbshipit-source-id: 33d93926f7bfc8948095c59f12ca31f0a932b8ae
2022-04-12 02:30:02 -07:00
Lorenzo Blasa
2bafe32f2a Process certificate signing request in the right event loop
Summary:
To ensure that no deadlocks take place, it is important that there are no re-entrant calls from within the callbacks or event handlers.

For the most part, this was already the case. Event and message handlers run critical sections into a Folly event scheduler.

The only exception was the sendExpectResponse used during the certificate exchange. Once the response was received, the non-secure socket was disconnected.
The solution was to put that operation in the Folly event scheduler as it should've been from the beginning.

changelog: Certificate signing request response to be processed on the right event loop.

Reviewed By: fabiomassimo

Differential Revision: D35548148

fbshipit-source-id: cea2476ad66137f376acda66cdbc27801c0c47e1
2022-04-12 02:30:02 -07:00
Lorenzo Blasa
30a1d09a83 Dealloc safety improvement
Summary:
From a different diff, it was pointed out that calling methods on self are discouraged:

Generally you want to avoid calling methods on self in dealloc because it allows you to accidentally capture references to self in dealloc, which leads to zombies.

In this case, a disconnect effectively invalidates a timer and disconnect the underlying socket. Both take place either way when the members are deallocated too. The only thing is not done is notify the caller via the event handler of a close event.

In our case, the caller actually manually disconnects before deallocating so this is not an issue.

Reviewed By: fabiomassimo

Differential Revision: D35547600

fbshipit-source-id: 9b5b9892b657a69585943613bc81344b38dbef30
2022-04-12 02:30:02 -07:00
Lorenzo Blasa
fd2d7bc1a4 Attempt to socket connect before establishing websocket connection
Summary:
^

Changelog: Check if there's a process listening at the specified port before attempting to establish a websocket connection on iOS

Reviewed By: fabiomassimo

Differential Revision: D35546817

fbshipit-source-id: 92ccca9afd8bcdc6d79205cc277ac813e0999166
2022-04-11 07:03:51 -07:00
Michel Weststrate
f7fc00cde2 Fix bug where high frequent updates could be skipped
Summary:
As reported in https://fb.workplace.com/groups/flippersupport/permalink/1346149929198995/, data updates would sometimes not render in DataTable. After some debugging, this happens when multiple updates are scheduled with high frequency, and is bug in the internal render scheduler. (it might be that this never triggered before React 18, but it was a lingering bug).

Basically in the following sequence, no second render of the data table would happen:

1. emit update
2. schedule render
3. React renders
4. emit a second update
5. scheduler bails out because update is already scheduled
6. React useEffect will clear out the scheduler state that was causing the render at point 3.

Now the second update never gets rendered out (well, not until something else causes a new render).

The problem here is that the scheduler state should be immediately reset as soon as React starts rendering, so that any new incoming update should trigger a new render, even though useEffect of the first render didn't finish. New flow now becomes:

1. emit update
2. schedule render
3. React renders & clears out scheduler state
4. emit a second update
5. scheduler schedules fresh render
6. etc...

Reviewed By: nikoant

Differential Revision: D35501325

fbshipit-source-id: 8af58c0da7bb024f360b750c856865f220dc6272
2022-04-08 11:10:29 -07:00
Pascal Hartig
9474dfea7b Fix lint
Summary: This is automatically converted.

Reviewed By: antonk52

Differential Revision: D35434155

fbshipit-source-id: 30c0e5b3c6bf95cbfaf2b2a3946279aceaa11875
2022-04-07 08:57:18 -07:00
Pascal Hartig
b80766323f Upgrade packer
Summary:
This had collected a bit of dust and we will need to extend this a little for flipper-server.

- Update deps.
- Migrate away from deprecated clap2 model to derive (it's much shorter now and less imperative).
- ~~Some COW changes on how the progress bar crate handles strings.~~ (Reverted as this causes havvoc in `fbsource//third-party/rust`.)
- Upgraded to 2021 Edition.

Reviewed By: nikoant

Differential Revision: D35433571

fbshipit-source-id: ae0a91558610ae46069a5fc5162b524cde759454
2022-04-07 07:40:57 -07:00
facebook-flipper-bot
9cf630b27b Automated: Update Podfile.lock (#3615)
Summary:
This is an automated PR to update the Podfile.lock.
- Make sure that the Podfile.lock contains latest FlipperKit and Flipper pod versions.
- Also make sure that all the dependencies are updated to the latest one.
- This is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request)

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

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

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

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

Reviewed By: passy

Differential Revision: D35435008

Pulled By: nikoant

fbshipit-source-id: 7913265e6c15105f167c2ca3257242030909d4fe
2022-04-07 03:40:19 -07:00
Andrey Goncharov
501abc6b55 Automatically set Android devices into the permissive mode
Reviewed By: nikoant

Differential Revision: D35356211

fbshipit-source-id: 471470c5ca91c824590a409c4474433f2277b1f2
2022-04-07 02:49:48 -07:00
Flipper Bot
052f417224 Flipper Snapshot Bump: v0.142.1-SNAPSHOT
Summary: Releasing snapshot version 0.142.1-SNAPSHOT

Reviewed By: nikoant

Differential Revision: D35426155

fbshipit-source-id: 730d6205edeb0c783328533c4de46aa3a7f6c122
2022-04-06 06:13:31 -07:00
Flipper Bot
c82f6434ee Flipper Release: v0.142.0
Summary: Releasing version 0.142.0

Reviewed By: nikoant

Differential Revision: D35426156

fbshipit-source-id: 831e74f5ce53c69582a6d11aff81647e989bd5b0
2022-04-06 06:13:31 -07:00
facebook-flipper-bot
74919eee34 Automated: Update Podfile.lock (#3595)
Summary:
This is an automated PR to update the Podfile.lock.
- Make sure that the Podfile.lock contains latest FlipperKit and Flipper pod versions.
- Also make sure that all the dependencies are updated to the latest one.
- This is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request)

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

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

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

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

Reviewed By: antonk52

Differential Revision: D35394948

Pulled By: nikoant

fbshipit-source-id: 3dac8728d4820643ad9f38248af0bd90390ee176
2022-04-05 06:38:30 -07:00
Anton Nikolaev
3b6e24d1fb Edit troubleshooting.mdx using inpage editor
Summary:
This diff has been automatically generated by the inpage editor.
                        If you want to update this diff, go through the preview link that would be attached to the test plan.
                        Please ensure you are editing the same page that was used to create this diff.

Reviewed By: passy

Differential Revision: D35362632

fbshipit-source-id: fa10a4757847ebec4697b7f99928f9cc477834dd
2022-04-04 11:14:25 -07:00
Anton Nikolaev
46340fa30a Fix UI freezes on popup opening by upgrading back React app creation from "createRoot" to "ReactDOM.render"
Summary: Fix UI freezes on popup opening by upgrading back React app creation from "createRoot" to "ReactDOM.render". These UI freezes started to happen after React upgrade because the issue in integration of Antd with React 18: https://github.com/react-component/trigger/issues/288

Reviewed By: aigoncharov

Differential Revision: D35359129

fbshipit-source-id: eb0ad979443ecf67eb2acc2e219196c9fefcff62
2022-04-04 08:00:06 -07:00
Andrey Goncharov
86dc5b13fc Remove linting exception for react devtools
Summary: The linting exception is no longer needed as we have decapitated React DevTools

Reviewed By: nikoant

Differential Revision: D35283282

fbshipit-source-id: 73f4b14dcd35f6d93b464513fd8480bfa8a0168c
2022-04-01 03:07:24 -07:00
Dominik Pich
8cbb5c4d46 FLEXNetworkLib to SKFLEXNetworkLib
Summary:
rename FLEXNetworkLib to SKFLEXNetworkLib so it doesnt clash with Stock FLEX if embedded in the app too

also 'fix' 3 warnings by adding explicit casts

Reviewed By: lblasa

Differential Revision: D35200011

fbshipit-source-id: 82bdecc5076b86958ea0cb80260584c012940045
2022-03-31 12:35:22 -07:00
Pascal Hartig
fd23a9d626 Clean up socket on exit
Summary: Be more aggressive in cleaning up after ourselves. Using a tiny library by Sindre that handles standard exit events, SIGTERM and SIGINT.

Reviewed By: aigoncharov

Differential Revision: D35281772

fbshipit-source-id: a789f90f172b3aa3e187739cf2b7fefa75405891
2022-03-31 08:57:13 -07:00
Flipper Bot
42becc4b37 Flipper Snapshot Bump: v0.141.1-SNAPSHOT
Summary: Releasing snapshot version 0.141.1-SNAPSHOT

Reviewed By: nikoant

Differential Revision: D35245057

fbshipit-source-id: 3c7f89a828b20bc5961bd76e7ffa3f0c3b7eafd6
2022-03-31 07:08:27 -07:00
Flipper Bot
571658e603 Flipper Release: v0.141.0
Summary: Releasing version 0.141.0

Reviewed By: nikoant

Differential Revision: D35245058

fbshipit-source-id: a04893f3e98b86063616672c37fb6e57a8d8c1a3
2022-03-31 07:08:27 -07:00
Pascal Hartig
cfcbc75de9 Take unix domain socket max length into account
Summary: lawrencelomax helpfully pointed out that there's a legacy limit for the path length of unix domain sockets. Checking here and falling back to `/tmp` in case we're going over. This could have caused some gnarly support issues, so I'm glad we caught this before it went live.

Reviewed By: aigoncharov

Differential Revision: D35257794

fbshipit-source-id: 68a7b62d6d6863efa4b3ce84d7735b1c1a45a174
2022-03-31 06:29:21 -07:00
Pascal Hartig
5ce82405f7 Socket proxying error handling
Summary: More careful error handling as discussed in D35088208.

Reviewed By: aigoncharov

Differential Revision: D35251661

fbshipit-source-id: 8baab2b454494846411f7084e29c5fa668bc2f31
2022-03-31 06:29:21 -07:00
Pascal Hartig
3d3e53c9e0 More careful socket cleanup
Summary: Instead of just deleting, we first check if it's already in use. The behaviour in case it *is* in use, is not great but mirrors what happens when the port is occupied.

Reviewed By: aigoncharov

Differential Revision: D35188965

fbshipit-source-id: 9bb5a7a9bacec6987ea72bbd084e40d5b30f9796
2022-03-31 06:29:21 -07:00
Pascal Hartig
56e94394ca Serve on domain socket
Summary: Open a domain socket by default and proxy all browser requests via TCP to it. That allows us to connect to a running server regardless of its local port.

Reviewed By: aigoncharov

Differential Revision: D35088208

fbshipit-source-id: d167852162e63f68c804c379b4421f5cc0d33df2
2022-03-31 06:29:21 -07:00
Andrey Goncharov
ba9a80545d Support globally installed React DevTools
Summary:
- Support loading globally installed DevTools

Background:
1. Initially, I wanted to use react-devtools-core as before. react-devtools-core standalone contains quite a few imports of node.js APIs. After [a conversation with Brian](https://fb.workplace.com/groups/react.devtools/permalink/3131548550392044), I pivoted to react-devtools-inline
2. Technical design doc of react-devtools-inline integration: https://docs.google.com/document/d/1STUSUhXzrW_KkvqSu7Ge-rxjVFF7oU3_NbwzimkO_Z4
3. We support usage of globally installed devtools. Code of react-devtools-inline is not ready to be used by the browser as is. We need to bundle it and substitute React and ReactDOM imports with the globals.
4. As we can't pre-compile what users install globally, we need to bundle global devtools on demand,
5. I tried re-using our Metro bundling pipeline initially, but gave up after fighting it for 2 days. Included, `rollup` instead.
6. Size of a `tgz` archive with a plugin is 2.1MB

allow-large-files

Reviewed By: mweststrate

Differential Revision: D34968770

fbshipit-source-id: 352299964ccc195b8677dbda47db84ffaf38737b
2022-03-31 04:01:33 -07:00
Andrey Goncharov
68aec1df60 Decapitate React DevTools
Summary:
Changelog: Migrate from react-devtools-core to -react-devtools-inline

Technical design doc: https://docs.google.com/document/d/1STUSUhXzrW_KkvqSu7Ge-rxjVFF7oU3_NbwzimkO_Z4

At this point, React DevTools doe snot support globally installed DevTools. Only the bundled version. The support for the globally installed DevTools comes in the subsequent diffs along with on-the-fly transpilation.

Reviewed By: mweststrate

Differential Revision: D34926472

fbshipit-source-id: fde1d4cf386adfbf8a8581ee5a54e950d2cb34ef
2022-03-31 04:01:33 -07:00
Andrey Goncharov
1f83b4b414 Migrate to React 18
Summary:
Sadly, we have to use the experimental version of React to decapitate React Devtools.
See https://fb.workplace.com/groups/react.devtools/posts/3135684459978453/?comment_id=3135711763309056&reply_comment_id=3135760513304181

On the bright side, Replay.io and Code Sandbox also use experimental React without any problem.

Reviewed By: lblasa

Differential Revision: D34926473

fbshipit-source-id: 5cd63cc065c2535f0583464c7b5e37891dadaf14
2022-03-31 04:01:33 -07:00
Andrey Goncharov
b1bc31044d Fix flipper-server build
Summary:
flipper-server build fails when a server add-on uses one of the ignored modules.
For instance, React DevTools is goin got use `ws` which has an optional dependency on `utf-8-validate` and `bufferutil`. Even though it is optional, it is still required, and therefore picked up by Metro.
This way it is silently ignored.

Reviewed By: mweststrate

Differential Revision: D34716514

fbshipit-source-id: a9d463d2d5d7c954e35d9a16f3da44ce17615673
2022-03-31 04:01:33 -07:00