Commit Graph

7102 Commits

Author SHA1 Message Date
Lorenzo Blasa
7d392ade29 Diagnostics UI (Dark mode)
Summary:
^
In dark mode, the logs were not visible as font color is white, same as the background color of the label explicitly set to white.

Don't set it to white (unless the text color is changed as well).

Reviewed By: antonk52

Differential Revision: D36015027

fbshipit-source-id: bf37546a13e4a2153f7307ddeebddb23f27f4403
2022-04-28 14:42:50 -07:00
Pascal Hartig
8dc3f8a9a8 Upgrade deps for ReactNativeFlipperExample
Summary: Preempting dependabot.

Reviewed By: nikoant

Differential Revision: D35964209

fbshipit-source-id: 21e2f9ecaae810a124a8efe4fc3448ff743078c1
2022-04-28 09:28:36 -07:00
facebook-flipper-bot
836fc06523 Automated: Update Podfile.lock (#3666)
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/3666

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

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

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

Reviewed By: nikoant

Differential Revision: D35969376

Pulled By: passy

fbshipit-source-id: 1ef9ae049307d1a0a9be123a9e0215c6fc22cde9
2022-04-28 07:59:56 -07:00
dependabot[bot]
3e58c0599e Bump de.undercouch.download from 4.1.2 to 5.0.5 (#3640)
Summary:
Bumps [de.undercouch.download](https://github.com/michel-kraemer/gradle-download-task) from 4.1.2 to 5.0.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/michel-kraemer/gradle-download-task/releases">de.undercouch.download's releases</a>.</em></p>
<blockquote>
<h2>5.0.5</h2>
<p>Maintenance:</p>
<ul>
<li>Publish signed artifacts to Gradle plugin portal</li>
<li>Update dependencies</li>
</ul>
<h2>5.0.4</h2>
<p>Bug fixes:</p>
<ul>
<li>Fix deadlock in <code>DownloadExtension</code> if <code>max-workers</code> equals 1 (thanks to <a href="https://github.com/beatbrot"><code>@​beatbrot</code></a> for spotting this, see <a href="https://github-redirect.dependabot.com/michel-kraemer/gradle-download-task/issues/205">https://github.com/facebook/flipper/issues/205</a>)</li>
</ul>
<p>Maintenance:</p>
<ul>
<li>Update dependencies</li>
</ul>
<h2>5.0.2</h2>
<p>Bug fixes:</p>
<ul>
<li>Fix configuration cache under Java 17</li>
</ul>
<p>Maintenance:</p>
<ul>
<li>Add integration tests for Gradle 7.4</li>
<li>Update dependencies</li>
</ul>
<h2>5.0.1</h2>
<p>Bug fixes:</p>
<ul>
<li>Fix artifact on Gradle plugin portal</li>
</ul>
<h2>5.0.0</h2>
<p>New features:</p>
<ul>
<li>Download multiple files in parallel</li>
<li>Enable concurrent execution with other tasks in the build</li>
<li>Write to disk asynchronously (and therefore in parallel to the download)</li>
<li>Display destination file name in progress message</li>
<li>Log retry attempts</li>
<li>Retry on any exception but <code>UnknownHostException</code></li>
<li>Make <code>download</code> and <code>verify</code> extensions compatible with Kotlin and Gradle 8</li>
<li>Add support for lazy evaluation of Kotlin lambdas</li>
<li>Add Kotlin examples</li>
</ul>
<p>Breaking changes:</p>
<ul>
<li>The plugin now requires Java 8 (or higher) and Gradle 5 (or higher)</li>
<li>The <code>authScheme</code> property has been removed. The plugin is now able to detect the required scheme itself.</li>
<li>Due to incompatibility with Gradle 8, the <code>download</code> and <code>verify</code> extensions now need to be called through their <code>run</code> method.</li>
<li>Further information can be found in the <a href="https://github.com/michel-kraemer/gradle-download-task#migrating-from-version-4x-to-5x">migration guide</a></li>
</ul>
<p>Maintenance:</p>
<ul>
<li>Add integration tests for all Gradle versions up to 7.3.3</li>
<li>Upgrade Gradle to 6.9.1</li>
<li>Upgrade Apache HttpClient to 5.1.2</li>
<li>Migrate to JUnit 5 and AssertJ</li>
<li>Enable jacoco for testkit tests</li>
<li>Upload junit test reports on failure</li>
<li>Use build script to apply functional tests to all Gradle versions</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="4a682b23e7"><code>4a682b2</code></a> Fix build</li>
<li><a href="b93b25ccce"><code>b93b25c</code></a> Bump up version number 5.0.5</li>
<li><a href="7626745167"><code>7626745</code></a> Publish signed artifacts to Gradle plugin portal</li>
<li><a href="5971728301"><code>5971728</code></a> Update dependencies</li>
<li><a href="09f12cc0d3"><code>09f12cc</code></a> Update dependencies</li>
<li><a href="3ec1f8d521"><code>3ec1f8d</code></a> Bump up version number 5.0.4</li>
<li><a href="86f24a3b44"><code>86f24a3</code></a> Correctly forward exceptions</li>
<li><a href="70e68ad25c"><code>70e68ad</code></a> Bump up version number 5.0.3</li>
<li><a href="16fd4912b4"><code>16fd491</code></a> Fix deadlock in DownloadExtension if max-workers equals 1</li>
<li><a href="2fa1e89a80"><code>2fa1e89</code></a> Revert &quot;Add gradle-build-action&quot;</li>
<li>Additional commits viewable in <a href="https://github.com/michel-kraemer/gradle-download-task/compare/4.1.2...5.0.5">compare view</a></li>
</ul>
</details>
<br />

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

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

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

 ---

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

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

</details>

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

Reviewed By: passy

Differential Revision: D35893250

Pulled By: lblasa

fbshipit-source-id: 9ca6081264ad79217f01d0d5d8848074a22c8a60
2022-04-28 06:36:42 -07:00
Lorenzo Blasa
c72088a137 Execute third-party prepare before configureCMake
Summary:
^

:android:third-party task, on ocassions, gets parallelised with the :configureCMake task resulting in build errors.

:configureCMake depends on dependencies being in-place and patched.

Our current setup was achieving this via setting these tasks as dependencies of the preBuild task.

Unfortunately, this seems not be a bullet-proof solution.

This patch aims to improve this situation by ensuring the tasks are executed before :configureCMake. Whatever happens first.

Changelog: Execute :third-party:prepare before :configureCMake task on Android

Reviewed By: passy

Differential Revision: D36001637

fbshipit-source-id: 6c53b6852e40e354337c0ac940b5bbad4ef83078
2022-04-28 06:36:42 -07:00
Lorenzo Blasa
637b578650 Fix native tasks prepare ordering
Summary:
^

This change makes it clearer the order of tasks for the native libraries.

If unspecified, tasks will run in parallel.

There was an additional issue in which the revision could be written to disk before all dependencies are properly downloaded and packaged.

For reference, we depend on Folly.
Folly depends on:
- Double-Conversion
- Glog
- Boost
- LibEvent

This is now reflected in the tasks graph.

Reviewed By: passy

Differential Revision: D35931187

fbshipit-source-id: ec19a28521ebf318bd1e92feafab1671733679ca
2022-04-27 10:04:35 -07:00
Kevin Strider
d87fdafc9f overview.mdx (Features - Layout)
Summary: Restyle of the page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: passy

Differential Revision: D35898254

fbshipit-source-id: 67e3f3e344faf105f5a8f393c60441d6af3d62aa
2022-04-27 08:38:20 -07:00
Zeh Fernando
8f62ac8428 Add new icon
Summary: Add new icon for internal plugin

Differential Revision: D35835433

fbshipit-source-id: 7d859a923c2070cae349469813ba45d419318cd7
2022-04-27 06:44:22 -07:00
Kevin Strider
d31fe669a0 overview.mdx (Features - Images)
Summary: Restyle of the page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: passy

Differential Revision: D35897472

fbshipit-source-id: 4b3853cd805c8714c83a8d227395dec8e3ff888f
2022-04-27 05:09:11 -07:00
Kevin Strider
eea566f35a overview.mdx (Features - Leak Canary)
Summary: Restyle of the page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: passy

Differential Revision: D35899228

fbshipit-source-id: 4ade5b28f1634e792fcf4582fe163d02e2f4fab4
2022-04-27 04:39:32 -07:00
Pascal Hartig
317a89d5ea Avoid strutural repetition
Summary: ^

Reviewed By: lawrencelomax

Differential Revision: D35940119

fbshipit-source-id: 055e57bb9b9174b275fc0fccfff80a04b3f04b30
2022-04-27 04:23:09 -07:00
Flipper Bot
5be8566d47 Flipper Snapshot Bump: v0.144.1-SNAPSHOT
Summary: Releasing snapshot version 0.144.1-SNAPSHOT

Reviewed By: passy

Differential Revision: D35960717

fbshipit-source-id: d254adfaf0c48e9a030a4ec44a6269dd2679173f
2022-04-27 03:51:35 -07:00
Flipper Bot
cd7e8bd8d7 Flipper Release: v0.144.0
Summary: Releasing version 0.144.0

Reviewed By: passy

Differential Revision: D35960718

fbshipit-source-id: a2fc470a831f1788ce4fa2be23c758a1c205f0bb
2022-04-27 03:51:35 -07:00
Pascal Hartig
d40b0eab9c Fix lint
Summary: Unnecessary borrow.

Reviewed By: lblasa

Differential Revision: D35902385

fbshipit-source-id: d116305388d3a156093513d0892b245f690b4be0
2022-04-26 03:29:40 -07:00
Pascal Hartig
b4bddcb7de Add server-mac-x64 definition
Summary: Just this one for now as I can actually test that this works.

Reviewed By: lblasa

Differential Revision: D35902244

fbshipit-source-id: 9914c58968b4f9dfd25be7afaf6d89dffaad294a
2022-04-26 03:29:40 -07:00
Pascal Hartig
bb936aaf0f Make Platform a newtype
Summary:
Just a bit of extra type safety. The previous diff caused a bit of a regression
by making things stringly-typed.

Reviewed By: lblasa

Differential Revision: D35902107

fbshipit-source-id: a599106f899ec3d205663b5791420aee29f3eeae
2022-04-26 03:29:40 -07:00
Pascal Hartig
3c6a5c58f9 Move basedir to config file
Summary: This allows us to extend this more easily to server builds, too.

Reviewed By: lblasa

Differential Revision: D35901750

fbshipit-source-id: 7030846ad485d709cf4c2e95f0cad287f98b051b
2022-04-26 03:29:40 -07:00
dependabot[bot]
0e7de40263 Bump Java-WebSocket from 1.5.2 to 1.5.3 (#3623)
Summary:
Bumps [Java-WebSocket](https://github.com/TooTallNate/Java-WebSocket) from 1.5.2 to 1.5.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/TooTallNate/Java-WebSocket/releases">Java-WebSocket's releases</a>.</em></p>
<blockquote>
<h2>Release 1.5.3</h2>
<h4>Notable changes:</h4>
<ul>
<li><a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/issues/1230">Issue 1230</a> - CONTINUOUS should be decoded depending on the first frame (<a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/pull/1232">PR 1232 </a> by <a href="https://github.com/marci4"><code>@​marci4</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/issues/1203">Issue 1203</a> - Lost connection detection not working on delayed connect-Call (<a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/pull/1204">PR 1204 </a> by <a href="https://github.com/marci4"><code>@​marci4</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/issues/1160">Issue 1160</a> - <code>WebSocketWorker</code> does not handle <code>Throwable</code> (<a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/pull/1223">PR 1223 </a> by <a href="https://github.com/Serpion-ua"><code>@​Serpion-ua</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/pull/1227">PR 1227</a> - Correct web socket closing, by <a href="https://github.com/Serpion-ua"><code>@​Serpion-ua</code></a></li>
<li><a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/pull/1223">PR 1223</a> - Issue-1160 Added java.lang.Error handling in WebSocketImpl and WebSocketServer, by <a href="https://github.com/Serpion-ua"><code>@​Serpion-ua</code></a></li>
<li><a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/pull/1212">PR 1212</a> - high cpu when channel close exception fix, by <a href="https://github.com/Adeptius"><code>@​Adeptius</code></a></li>
</ul>
<p>Check out the <a href="https://github.com/TooTallNate/Java-WebSocket/blob/master/CHANGELOG.md#version-release-153-20220409">changelog</a> and the <a href="https://github.com/TooTallNate/Java-WebSocket/milestone/19?closed=1">milestone</a> for more information.</p>
<p>A special thanks to all the contributors of this release:
<a href="https://github.com/PhilipRoman"><code>@​PhilipRoman</code></a>
<a href="https://github.com/Adeptius"><code>@​Adeptius</code></a>
<a href="https://github.com/vtsykun"><code>@​vtsykun</code></a>
<a href="https://github.com/Serpion-ua"><code>@​Serpion-ua</code></a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/TooTallNate/Java-WebSocket/blob/master/CHANGELOG.md">Java-WebSocket's changelog</a>.</em></p>
<blockquote>
<h2>Version Release 1.5.3 (2022/04/09)</h2>
<h4>Bugs Fixed</h4>
<ul>
<li><a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/issues/1230">Issue 1230</a> - CONTINUOUS should be decoded depending on the first frame (<a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/pull/1232">PR 1232 </a> by <a href="https://github.com/marci4"><code>@​marci4</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/issues/1203">Issue 1203</a> - Lost connection detection not working on delayed connect-Call (<a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/pull/1204">PR 1204 </a> by <a href="https://github.com/marci4"><code>@​marci4</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/issues/1164">Issue 1164</a> - [Android &amp; Node.js Server] Problem using PerMessageDeflateExtension with custom ping/pong messages ?  (<a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/pull/1165">PR 1165 </a> by <a href="https://github.com/marci4"><code>@​marci4</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/issues/1160">Issue 1160</a> - <code>WebSocketWorker</code> does not handle <code>Throwable</code> (<a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/pull/1223">PR 1223 </a> by <a href="https://github.com/Serpion-ua"><code>@​Serpion-ua</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/issues/1142">Issue 1142</a> - Verifying server certificate (<a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/pull/1143">PR 1143 </a> by <a href="https://github.com/marci4"><code>@​marci4</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/pull/1227">PR 1227</a> - Correct web socket closing, by <a href="https://github.com/Serpion-ua"><code>@​Serpion-ua</code></a></li>
<li><a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/pull/1223">PR 1223</a> - Issue-1160 Added java.lang.Error handling in WebSocketImpl and WebSocketServer, by <a href="https://github.com/Serpion-ua"><code>@​Serpion-ua</code></a></li>
<li><a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/pull/1212">PR 1212</a> - high cpu when channel close exception fix, by <a href="https://github.com/Adeptius"><code>@​Adeptius</code></a></li>
</ul>
<h4>New Features</h4>
<ul>
<li><a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/pull/1185">PR 1185</a> - Added support unresolved socket addresses, by <a href="https://github.com/vtsykun"><code>@​vtsykun</code></a></li>
</ul>
<p>In this release 5 issues and 8 pull requests were closed.</p>
<p>###############################################################################</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="03fdb9c1a7"><code>03fdb9c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/issues/1237">https://github.com/facebook/flipper/issues/1237</a> from marci4/UpdateChangelog1.5.3</li>
<li><a href="5ff6ede889"><code>5ff6ede</code></a> Update changelog and readme</li>
<li><a href="5d840995e7"><code>5d84099</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/issues/1232">https://github.com/facebook/flipper/issues/1232</a> from marci4/Issue1230</li>
<li><a href="8f1f8e4462"><code>8f1f8e4</code></a> Fix formatting</li>
<li><a href="a4d23c3fad"><code>a4d23c3</code></a> Fixes <a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/issues/1230">https://github.com/facebook/flipper/issues/1230</a> Adjust the handling of RSV1/RSV2/RSV3 in the translateSingleFrame</li>
<li><a href="2c9b09127f"><code>2c9b091</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/issues/1227">https://github.com/facebook/flipper/issues/1227</a> from Serpion-ua/correctWebSocketClosing</li>
<li><a href="d00a606d7c"><code>d00a606</code></a> Correct web socket closing: removing unnecessary web socket closing in case o...</li>
<li><a href="569884ffa9"><code>569884f</code></a> Merge branch 'master' into correctWebSocketClosing</li>
<li><a href="46ae0010b2"><code>46ae001</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/TooTallNate/Java-WebSocket/issues/1223">https://github.com/facebook/flipper/issues/1223</a> from Serpion-ua/master</li>
<li><a href="ebed7cf857"><code>ebed7cf</code></a> Correct closing web socket connections in case of fatal server stopping</li>
<li>Additional commits viewable in <a href="https://github.com/TooTallNate/Java-WebSocket/compare/v1.5.2...v1.5.3">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.java-websocket:Java-WebSocket&package-manager=gradle&previous-version=1.5.2&new-version=1.5.3)](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/3623

Reviewed By: antonk52

Differential Revision: D35893326

Pulled By: lblasa

fbshipit-source-id: 29a9760510969ca13b2c931e3a9a23110448bef9
2022-04-26 02:06:48 -07:00
dependabot[bot]
71d36b54dc Bump @babel/core from 7.17.8 to 7.17.9 in /js/js-flipper (#3627)
Summary:
Bumps [babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.17.8 to 7.17.9.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/releases"><code>@​babel/core</code>'s releases</a>.</em></p>
<blockquote>
<h2>v7.17.9 (2022-04-06)</h2>
<p>Thanks <a href="https://github.com/CommanderRoot"><code>@​CommanderRoot</code></a>, <a href="https://github.com/fargito"><code>@​fargito</code></a> and <a href="https://github.com/swandir"><code>@​swandir</code></a> for your first PRs!</p>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-parser</code>, <code>babel-standalone</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14427">#14427</a> Restore numeric seaprators support in <code>babel/standalone</code> (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-traverse</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14403">#14403</a> Fix NodePath.referencesImport for  JSXMemberExpression (<a href="https://github.com/swandir"><code>@​swandir</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-proposal-decorators</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14396">#14396</a> [2021-12] Support class decorators in export declarations (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14387">#14387</a> fix: forward accessor proxy getter results (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14384">#14384</a> fix: parse type parameters within correct context (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-generator</code>, <code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14378">#14378</a> Parenthesize non-simple decorator expression (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-transform-classes</code>, <code>babel-plugin-transform-modules-commonjs</code>, <code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14366">#14366</a> Align named imports behavior in <code>.mjs</code> and <code>.js</code> files (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14351">#14351</a> [setPublicClassFields] Use define for static <code>name</code>/<code>length</code> (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>babel-plugin-proposal-decorators</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14398">#14398</a> Add missing semicolons in 2021-12 decorators output (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>📝 Documentation</h4>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14397">#14397</a> Mention how to report vulns in Babel dependencies (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14419">#14419</a> Use <code>jest-light-runner</code> from npm (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-cli</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14385">#14385</a> Fix flaky <code>@​babel/cli</code> test (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-function-name</code>, <code>babel-helper-get-function-arity</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14389">#14389</a> Inline <code>babel/helper-get-function-arity</code> package (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14343">#14343</a> Remove unused <code>babel/helpers</code> code (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-core</code>, <code>babel-highlight</code>, <code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14377">#14377</a> refactor: replace deprecated String.prototype.substr() (<a href="https://github.com/CommanderRoot"><code>@​CommanderRoot</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 6</h4>
<ul>
<li>Babel Bot (<a href="https://github.com/babel-bot"><code>@​babel-bot</code></a>)</li>
<li>François Farge (<a href="https://github.com/fargito"><code>@​fargito</code></a>)</li>
<li>Huáng Jùnliàng (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
<li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
<li><a href="https://github.com/CommanderRoot"><code>@​CommanderRoot</code></a></li>
<li><a href="https://github.com/swandir"><code>@​swandir</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/blob/main/CHANGELOG.md"><code>@​babel/core</code>'s changelog</a>.</em></p>
<blockquote>
<h2>v7.17.9 (2022-04-06)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-parser</code>, <code>babel-standalone</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14427">#14427</a> Restore numeric seaprators support in <code>babel/standalone</code> (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-traverse</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14403">#14403</a> Fix NodePath.referencesImport for  JSXMemberExpression (<a href="https://github.com/swandir"><code>@​swandir</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-proposal-decorators</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14396">#14396</a> [2021-12] Support class decorators in export declarations (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14387">#14387</a> fix: forward accessor proxy getter results (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14384">#14384</a> fix: parse type parameters within correct context (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-generator</code>, <code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14378">#14378</a> Parenthesize non-simple decorator expression (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-transform-classes</code>, <code>babel-plugin-transform-modules-commonjs</code>, <code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14366">#14366</a> Align named imports behavior in <code>.mjs</code> and <code>.js</code> files (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14351">#14351</a> [setPublicClassFields] Use define for static <code>name</code>/<code>length</code> (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>babel-plugin-proposal-decorators</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14398">#14398</a> Add missing semicolons in 2021-12 decorators output (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>📝 Documentation</h4>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14397">#14397</a> Mention how to report vulns in Babel dependencies (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14419">#14419</a> Use <code>jest-light-runner</code> from npm (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-cli</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14385">#14385</a> Fix flaky <code>@​babel/cli</code> test (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-function-name</code>, <code>babel-helper-get-function-arity</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14389">#14389</a> Inline <code>babel/helper-get-function-arity</code> package (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14343">#14343</a> Remove unused <code>babel/helpers</code> code (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-core</code>, <code>babel-highlight</code>, <code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14377">#14377</a> refactor: replace deprecated String.prototype.substr() (<a href="https://github.com/CommanderRoot"><code>@​CommanderRoot</code></a>)</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3c762e876d"><code>3c762e8</code></a> v7.17.9</li>
<li><a href="ba13e485c3"><code>ba13e48</code></a> chore: bump minimist and json5 (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/14382">#14382</a>)</li>
<li><a href="cb74c3772e"><code>cb74c37</code></a> refactor: replace deprecated String.prototype.substr() (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/14377">#14377</a>)</li>
<li>See full diff in <a href="https://github.com/babel/babel/commits/v7.17.9/packages/babel-core">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D35893307

Pulled By: lblasa

fbshipit-source-id: 3ec4d722211b3d233044d0c1fd799b0822f848dc
2022-04-25 11:53:06 -07:00
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