Commit Graph

7037 Commits

Author SHA1 Message Date
Andrey Goncharov
29eae00309 Blog post "Headless Flipper - what it means for plugin developers"
Reviewed By: passy, antonk52

Differential Revision: D36480939

fbshipit-source-id: dacbdb1af4382e9b52de79403e6aea9a0c740b1c
2022-05-20 09:47:22 -07:00
Flipper Bot
34579ae266 Flipper Snapshot Bump: v0.146.2-SNAPSHOT
Summary: Releasing snapshot version 0.146.2-SNAPSHOT

Reviewed By: aigoncharov

Differential Revision: D36543494

fbshipit-source-id: 749180eb5ce5f594ce5fe05a3fb1c3b641f6a92d
2022-05-20 08:46:00 -07:00
Flipper Bot
8bbc3fda69 Flipper Release: v0.146.1
Summary: Releasing version 0.146.1

Reviewed By: aigoncharov

Differential Revision: D36543493

fbshipit-source-id: 0eaf1e3c4cb51440aa8d22cbe721dc44938c9246
2022-05-20 08:46:00 -07:00
Pascal Hartig
02adfa79e9 Add sourcemap support to server build
Summary:
Provide the same build parameters as for the main build and move
the two bundles to a folder where we can pick them up.

For consistency, I'm keeping the naming scheme with the main build.

Reviewed By: antonk52

Differential Revision: D36521046

fbshipit-source-id: 9ea992d6e5dc299d88083d751ca8e84eadb1430b
2022-05-20 04:04:06 -07:00
Kevin Strider
3dbd3f43e1 sandy-migration.mdx (Creating Plugins - Migrating a Plugin to Sandy)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: nikoant

Differential Revision: D36516592

fbshipit-source-id: c8f7ffe8ae26a5e741ae818a55b14cc3e35193ff
2022-05-20 03:55:28 -07:00
Kevin Strider
55137371f3 plugin-distribution (Creating Plugins - Plugin Distribution)
Summary:
Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).
* plugin-distribution
* imports: desktop-plugin-releases

Reviewed By: nikoant

Differential Revision: D36514954

fbshipit-source-id: cf350d30c049bc7daeef1af3f988ce3b6a2fb502
2022-05-20 03:53:24 -07:00
Muzammil Mahmood
ec6f732b09 Prevent TypeError exception on missing column.
Summary: Fix a TypeError exception in TableHead.tsx when an ordered column is not present in the row.

Reviewed By: aigoncharov

Differential Revision: D36497494

fbshipit-source-id: 18c961468fc2bc3cca16290fd9e6c973e5e18ebf
2022-05-20 02:54:00 -07:00
Andrey Goncharov
a7b148fcc2 Refactor tic-tac-toe plugin to Sandy architecture
Summary:
CHANGELOG: Refactor tic-tac-toe plugin to Sandy architecture

Sandy architecture unblocks using the plugin in a headless mode. Eventual goal - platy tic-tac-toe form a terminal

Reviewed By: passy

Differential Revision: D36513795

fbshipit-source-id: 5a967a325cfb52cc3ae72840240b22b0a4e8f031
2022-05-19 09:13:33 -07:00
Anton Nikolaev
566f7108c9 Troubleshooting docs structure refactored
Summary: Troubleshooting docs structure refactored. This should fix publishing of docs on GitHub which is currently failing, because of link to fb-only page from public page: https://github.com/facebook/flipper/actions/runs/2351680003.

Reviewed By: passy

Differential Revision: D36513180

fbshipit-source-id: c0339d437f560464e771e46dfc0a55782faf6a54
2022-05-19 07:43:09 -07:00
facebook-flipper-bot
2704ce5a8e Automated: Update Podfile.lock (#3736)
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/3736

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

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

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

Reviewed By: passy

Differential Revision: D36513699

Pulled By: nikoant

fbshipit-source-id: 96442180142366984e0fcff8926cf3870f79197a
2022-05-19 07:16:08 -07:00
Kevin Strider
81d21c6e8b new sub-folder 'Building a Desktop Plugin' (Creating Plugins)
Summary:
Major changes to js-custom.mdx

The content for the following pages is moved to the new sub-folder 'Building a Desktop Plugin':
* js-custom.mdx
* js-setup.mdx
* js-table.mdx

The Title and Sidebar labels have been changed accordingly.

Changes made to sidebar.js,

Reviewed By: lblasa

Differential Revision: D36415874

fbshipit-source-id: 8f1634abc1459d1905da62a1b76bac4b621d0da5
2022-05-19 04:31:06 -07:00
Kevin Strider
24864d645e testing.mdx (Creating Plugins - Testing)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: nikoant

Differential Revision: D36473819

fbshipit-source-id: 567da4bf86bb18298e45c6a139f86eab7c10dd98
2022-05-19 04:27:59 -07:00
Pascal Hartig
3c3610662a Change build to make use of offline cache
Summary:
pkg-fetch is a bit weird in that it doesn't use the offline cache
if an output path is defined. That makes building in Sandcastle a lot harder.

Reviewed By: lawrencelomax, aigoncharov

Differential Revision: D36485283

fbshipit-source-id: 27596999c69441bc25e341db77b409ed0caaf0fe
2022-05-19 04:14:47 -07:00
Andrey Goncharov
2cff109910 Fix headings for "Desktop Plugin API"
Reviewed By: nikoant

Differential Revision: D36508504

fbshipit-source-id: ece204e5a18d2c98481e21f5c6f0dc42386cf2b5
2022-05-19 02:44:09 -07:00
Pascal Hartig
1e20ec7d27 Bump pkg-fetch
Summary: Seems to have improvements to the cache which we need in Sandcastle

Reviewed By: lawrencelomax

Differential Revision: D36483459

fbshipit-source-id: 4dfe1dcccddd21c3966508b1260644630c1082f5
2022-05-18 16:11:59 -07:00
Kevin Strider
1481eed0c8 debugging.mdx (Creating Plugins - Debugging)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: nikoant

Differential Revision: D36479883

fbshipit-source-id: 3530dd5f35a36e97a0d7466f981bc8974f29c292
2022-05-18 10:25:25 -07:00
Kevin Strider
99fb7875cd js-publishing.mdx (Creating Plugins - Publishing)
Summary: Change to Sidebar label and Title

Reviewed By: nikoant

Differential Revision: D36475587

fbshipit-source-id: 425deb13d67965c433773563718365403097cb37
2022-05-18 10:25:16 -07:00
Kevin Strider
3e71216c38 dev-setup.mdx (Creating Plugins - Development Setup)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: nikoant

Differential Revision: D36445067

fbshipit-source-id: c68dd9973aea50cee35d3db9417e9190dbd5ceda
2022-05-18 10:22:36 -07:00
Flipper Bot
6554a09f65 Flipper Snapshot Bump: v0.146.1-SNAPSHOT
Summary: Releasing snapshot version 0.146.1-SNAPSHOT

Reviewed By: nikoant

Differential Revision: D36473301

fbshipit-source-id: 6e9692c32101b74814d39ba5e9feb55dcb8d1777
2022-05-18 10:11:13 -07:00
Flipper Bot
47238f0d7d Flipper Release: v0.146.0
Summary: Releasing version 0.146.0

Reviewed By: nikoant

Differential Revision: D36473300

fbshipit-source-id: 076031a8acef8d37fd71a8832ba2bd4918a3e724
2022-05-18 10:11:13 -07:00
Andrey Goncharov
0f038218f8 Share uuid
Summary: Expose uuid from flipper-common as it is required in multiple packages

Reviewed By: lblasa

Differential Revision: D36441889

fbshipit-source-id: 1fa539cb437976dbefe7d5d9a52e5e098a6402a7
2022-05-18 03:13:31 -07:00
Andrey Goncharov
88bc3110a5 Add server add-on documentation
Reviewed By: nikoant

Differential Revision: D36446375

fbshipit-source-id: dfa9098428413bff454b5893f022735267dba5b8
2022-05-18 02:20:53 -07:00
Kevin Strider
76d4f01934 js-publishing.mdx (Creating Plugins - Publishing)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: nikoant

Differential Revision: D36444128

fbshipit-source-id: 1689d36d7ad0b101ea4793a1ac51ba619291b668
2022-05-17 10:07:32 -07:00
Kevin Strider
78d395ad51 loading-custom-plugins.mdx (Creating Plugins - Dynamically Loading Plugins)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: nikoant

Differential Revision: D36445433

fbshipit-source-id: 6e0033607cf58d5da51dd9910b40f158ceed84cf
2022-05-17 10:03:37 -07:00
Kevin Strider
f31011fd6c ios.mdx (Creating Plugins - Building an iOS Plugin)
Summary: Minor change to end of the page.

Reviewed By: passy

Differential Revision: D36411396

fbshipit-source-id: 204bfb54a4f36e5472fa164daeed3f106abe22a8
2022-05-17 08:47:23 -07:00
Kevin Strider
47c1b7e464 Android.mdx (Creating Plugins - Building an Android Plugin)
Summary: Minor change to end of the page.

Reviewed By: lblasa

Differential Revision: D36411616

fbshipit-source-id: 2792144d89bd657c457b8f5ff685d200c5f8c946
2022-05-17 08:46:47 -07:00
Andrey Goncharov
810e5840c6 Remove stale TODO
Reviewed By: passy

Differential Revision: D36441402

fbshipit-source-id: 5b0a7ed035a68d75e4c86c56686e302a80bd9fd0
2022-05-17 08:23:33 -07:00
Lorenzo Blasa
eabc1c556e Extract flipper server instantiation
Summary:
^

This is a very small refactoring and addition to the Flipper Desktop app.

The instantiation of FlipperServer was extracted to a separate function.

This a very tiny change that allows to switch the implementation we use for FlipperServer in a more convenient way.

In this same change, an unused function is added which will create a separate FlipperServer instance that uses a web-socket underneath which makes it possible to use with flipper-server.

So, if interested, it is enough to call that function instead of the one currently in use and it will make Flipper connect to flipper-server instead.

https://pxl.cl/24j8R

Reviewed By: passy

Differential Revision: D36440574

fbshipit-source-id: 94ea2ab7208b898a82ac5e7fd7edd9cb824b4810
2022-05-17 04:20:30 -07:00
Lorenzo Blasa
23b551c8bf Host and port as function args
Summary:
^

Before this change, the client assumed the host and port came from location.host which is fine on the browser.

In all other cases, that object/properties may be undefined.

As such, add host and port as function args and use that instead.

Reviewed By: passy

Differential Revision: D36440423

fbshipit-source-id: 5f931f1d610d583db6a2e549e1213585f0d03dee
2022-05-17 04:20:30 -07:00
Lorenzo Blasa
aca1aca29c Accept connections from localhost coming from port 3000
Summary:
^

flipper-server verifies the origin of incoming connections as a way of preventing any host from connecting to flipper.

That's good.

This change expand the list of allowed origins to include localhost:3000 which is the default origin for Electron apps.

Error without this change:
```
Refused socket connection from cross domain request, origin: http://localhost:3000, host: localhost:52342. Expected origins: http://localhost:52342 or http://[::1]:52342 or http://::1:52342. Expected hosts: localhost:52342 or [::1]:52342 or ::1:52342
```

Reviewed By: passy

Differential Revision: D36440363

fbshipit-source-id: 883cadb49f245bca5d0a53a4f58c08cf45dd0189
2022-05-17 04:20:30 -07:00
Lorenzo Blasa
d4e623c376 Use right path for icons (static)
Summary:
^

I noticed this issue whilst using the Desktop app connected to flipper-server.

So, Flipper Desktop should run as usual with icons being displayed. If connected to flipper-server, behaviour should be the same.

https://pxl.cl/24j73

Reviewed By: passy

Differential Revision: D36440268

fbshipit-source-id: 4c79852d94c8bde95c6e82e2a56bef35a337599d
2022-05-17 04:20:30 -07:00
Kevin Strider
2f30c51e14 js-table.mdx (Creating Plugins - Desktop Plugin - Table)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: lblasa

Differential Revision: D36414496

fbshipit-source-id: 5fb895deb53f8f322904380d88f76c22e4bbf4d2
2022-05-17 04:20:20 -07:00
Kevin Strider
656b04ed53 js-setup.mdx (Creating Plugins - Building an javaScript (browser) Plugin)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: lblasa

Differential Revision: D36412815

fbshipit-source-id: d844bb745fcd483878b47c6f9736f24de0000655
2022-05-17 04:19:25 -07:00
Lorenzo Blasa
bfcdb82b43 Move flipper-server client to flipper-frontend-core
Summary: ^

Reviewed By: aigoncharov

Differential Revision: D36410944

fbshipit-source-id: 2adb5904cd0f5f15d08be22c611d6774e7533f94
2022-05-17 03:54:16 -07:00
Kevin Strider
ce83f2c01b javascript.mdx (Creating Plugins - Building an javaScript (browser) Plugin)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant)

Reviewed By: nikoant

Differential Revision: D36410938

fbshipit-source-id: b1b4d7753c16d2d2a3b9a7aa779f196247f10579
2022-05-17 01:36:39 -07:00
Kevin Strider
4b05532fae react-native.mdx (Creating Plugins - Building an React Native Plugin)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: nikoant

Differential Revision: D36410352

fbshipit-source-id: 9a05b24811adedea2a5e97e6865e3fd42aadb344
2022-05-17 01:34:11 -07:00
Kevin Strider
5cd8c16cbd intro.mdx (Creating Plugins - Building an Android Plugin)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: aigoncharov

Differential Revision: D36378263

fbshipit-source-id: 80a59bbb3386abc620a0fde848ccf8e96c287c6c
2022-05-16 04:22:34 -07:00
Kevin Strider
80ef1e04df ios.mdx (Creating Plugins - Building an iOS Plugin)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: aigoncharov

Differential Revision: D36377198

fbshipit-source-id: 99179c9c8132be51e13d9f8ab7d9f84f35b601bf
2022-05-16 02:43:26 -07:00
Kevin Strider
ca01aef68f stetho.mdx (setup - Stetho Guidance)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: aigoncharov

Differential Revision: D36373984

fbshipit-source-id: 0d0dd4232fc69a771c47c344b5c848d99d8cd0cb
2022-05-16 02:42:44 -07:00
Kevin Strider
287349f537 intro.mdx (Creating Plugins - Introduction)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: passy

Differential Revision: D36375849

fbshipit-source-id: a26053269878b65c05f6529994d153008d9c4038
2022-05-13 08:56:32 -07:00
dependabot[bot]
b307f44e3a Bump babel-jest from 28.0.3 to 28.1.0 in /react-native/ReactNativeFlipperExample (#3704)
Summary:
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 28.0.3 to 28.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/releases">babel-jest's releases</a>.</em></p>
<blockquote>
<h2>v28.1.0</h2>
<h2>Features</h2>
<ul>
<li><code>[jest-circus]</code> Add <code>failing</code> test modifier that inverts the behaviour of tests (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12610">#12610</a>)</li>
<li><code>[jest-environment-node, jest-environment-jsdom]</code> Allow specifying <code>customExportConditions</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12774">#12774</a>)</li>
</ul>
<h2>Fixes</h2>
<ul>
<li><code>[expect]</code> Adjust typings of <code>lastCalledWith</code>, <code>nthCalledWith</code>, <code>toBeCalledWith</code> matchers to allow a case there a mock was called with no arguments (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12807">#12807</a>)</li>
<li><code>[jest/expect-utils]</code> Fix deep equality of ImmutableJS Lists (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12763">#12763</a>)</li>
<li><code>[jest-core]</code> Do not collect <code>SIGNREQUEST</code> as open handles (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12789">#12789</a>)</li>
</ul>
<h2>Chore &amp; Maintenance</h2>
<ul>
<li><code>[docs]</code> Specified documentation about <code>--filter</code> CLI docs (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12799">#12799</a>)</li>
<li><code>[jest-reporters]</code> Move helper functions from <code>utils.ts</code> into separate files (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12782">#12782</a>)</li>
<li><code>[jest-resolve]</code> Replace <code>process.versions.pnp</code> type declaration with <code>types/pnpapi</code> devDependency (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12783">#12783</a>)</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/romellem"><code>@​romellem</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12763">facebook/jest#12763</a></li>
<li><a href="https://github.com/cristianrgreco"><code>@​cristianrgreco</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12789">facebook/jest#12789</a></li>
<li><a href="https://github.com/rethab"><code>@​rethab</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12791">facebook/jest#12791</a></li>
<li><a href="https://github.com/gramsco"><code>@​gramsco</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12799">facebook/jest#12799</a></li>
<li><a href="https://github.com/michalwarda"><code>@​michalwarda</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12610">facebook/jest#12610</a></li>
<li><a href="https://github.com/mikemaccana"><code>@​mikemaccana</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12809">facebook/jest#12809</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/jest/compare/v28.0.3...v28.1.0">https://github.com/facebook/jest/compare/v28.0.3...v28.1.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/blob/main/CHANGELOG.md">babel-jest's changelog</a>.</em></p>
<blockquote>
<h2>28.1.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-circus]</code> Add <code>failing</code> test modifier that inverts the behaviour of tests (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12610">#12610</a>)</li>
<li><code>[jest-environment-node, jest-environment-jsdom]</code> Allow specifying <code>customExportConditions</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12774">#12774</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[expect]</code> Adjust typings of <code>lastCalledWith</code>, <code>nthCalledWith</code>, <code>toBeCalledWith</code> matchers to allow a case there a mock was called with no arguments (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12807">#12807</a>)</li>
<li><code>[jest/expect-utils]</code> Fix deep equality of ImmutableJS Lists (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12763">#12763</a>)</li>
<li><code>[jest-core]</code> Do not collect <code>SIGNREQUEST</code> as open handles (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12789">#12789</a>)</li>
</ul>
<h3>Chore &amp; Maintenance</h3>
<ul>
<li><code>[docs]</code> Specified documentation about <code>--filter</code> CLI docs (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12799">#12799</a>)</li>
<li><code>[jest-reporters]</code> Move helper functions from <code>utils.ts</code> into separate files (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12782">#12782</a>)</li>
<li><code>[jest-resolve]</code> Replace <code>process.versions.pnp</code> type declaration with <code>types/pnpapi</code> devDependency (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/12783">#12783</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f5db241312"><code>f5db241</code></a> v28.1.0</li>
<li>See full diff in <a href="https://github.com/facebook/jest/commits/v28.1.0/packages/babel-jest">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: timur-valiev

Differential Revision: D36371169

Pulled By: mweststrate

fbshipit-source-id: e0817682b83d8bf312fdc77dd04433932d846fdf
2022-05-13 07:43:43 -07:00
dependabot[bot]
aff83bc37e Bump metro-react-native-babel-preset from 0.70.2 to 0.70.3 in /react-native/ReactNativeFlipperExample (#3703)
Summary:
Bumps [metro-react-native-babel-preset](https://github.com/facebook/metro) from 0.70.2 to 0.70.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/metro/releases">metro-react-native-babel-preset's releases</a>.</em></p>
<blockquote>
<h2>Release v0.70.3</h2>
<p><em>This is a hotfix on the <code>0.70.x</code> branch.</em></p>
<ul>
<li><strong>[Fix]</strong> Add explicit dependency on <code>babel/runtime</code> to <code>metro-runtime</code> (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/816">https://github.com/facebook/flipper/issues/816</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3c31ed5d8d"><code>3c31ed5</code></a> Release Metro 0.70.3</li>
<li><a href="43a9e3723f"><code>43a9e37</code></a> Add explicit dependency on <code>babel/runtime</code> to <code>metro-runtime</code></li>
<li>See full diff in <a href="https://github.com/facebook/metro/compare/v0.70.2...v0.70.3">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=metro-react-native-babel-preset&package-manager=npm_and_yarn&previous-version=0.70.2&new-version=0.70.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/3703

Reviewed By: timur-valiev

Differential Revision: D36371166

Pulled By: mweststrate

fbshipit-source-id: 9df1247c655f1c856c1ac93d0f8e3a4cb4db3926
2022-05-13 07:43:43 -07:00
dependabot[bot]
b071cbd718 Bump de.undercouch.download from 5.0.5 to 5.1.0 (#3705)
Summary:
Bumps [de.undercouch.download](https://github.com/michel-kraemer/gradle-download-task) from 5.0.5 to 5.1.0.
<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.1.0</h2>
<p>New features:</p>
<ul>
<li>Add possibility to enable preemptive Basic authentication (through the new <code>preemptiveAuth</code> flag)</li>
<li>Warn if server does not send <code>WWW-Authenticate</code> header in 401 response</li>
<li>Log request and response headers in debug mode</li>
</ul>
<p>Maintenance:</p>
<ul>
<li>Add integration tests for Gradle 7.4.1 and 7.4.2</li>
<li>Update dependencies</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="fece1d94af"><code>fece1d9</code></a> Bump up version number 5.1.0</li>
<li><a href="8b7c07a8e2"><code>8b7c07a</code></a> Add possibility to enable preemptive Basic authentication</li>
<li><a href="0121feeb62"><code>0121fee</code></a> Log request and response headers in debug mode</li>
<li><a href="c67e557d9f"><code>c67e557</code></a> Warn if server did not send WWW-Authenticate header</li>
<li><a href="f3a5eb500f"><code>f3a5eb5</code></a> Combined dependencies PR (<a href="https://github-redirect.dependabot.com/michel-kraemer/gradle-download-task/issues/216">https://github.com/facebook/flipper/issues/216</a>)</li>
<li><a href="7908765b41"><code>7908765</code></a> Remove unnecessary resolution strategy</li>
<li><a href="5f5efc8c24"><code>5f5efc8</code></a> Bump mockito-core from 4.4.0 to 4.5.0 (<a href="https://github-redirect.dependabot.com/michel-kraemer/gradle-download-task/issues/212">https://github.com/facebook/flipper/issues/212</a>)</li>
<li><a href="0a9806ce40"><code>0a9806c</code></a> Add integration tests for Gradle 7.4.1 and 7.4.2</li>
<li>See full diff in <a href="https://github.com/michel-kraemer/gradle-download-task/compare/5.0.5...5.1.0">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=5.0.5&new-version=5.1.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/3705

Reviewed By: timur-valiev

Differential Revision: D36371174

Pulled By: mweststrate

fbshipit-source-id: 5933c2c27899f9ce51db35e203fae8adb8b1b34d
2022-05-13 07:43:43 -07:00
dependabot[bot]
3e3518926e Bump clap from 3.1.15 to 3.1.17 in /packer (#3699)
Summary:
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.15 to 3.1.17.
<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.17</h2>
<h2>[3.1.17] - 2022-05-06</h2>
<h3>Fixes</h3>
<ul>
<li>Allow value names for <code>arg!</code> macro to have dashes when quoted, like longs</li>
</ul>
<h2>v3.1.16</h2>
<h2>[3.1.16] - 2022-05-06</h2>
<h3>Fixes</h3>
<ul>
<li><em>(parser)</em> <code>Arg::exclusive</code> overrides <code>Arg::required</code>, like other conflicts</li>
<li><em>(error)</em> Don't duplicate arguments in usage</li>
<li><em>(error)</em> Don't show hidden arguments in conflict error usage</li>
<li><em>(help)</em> New <code>help_template</code> variable <code>{name}</code> to fix problems with <code>{bin}</code></li>
<li><em>(help)</em> Don't wrap URLs</li>
</ul>
<p><strong>gated behind <code>unstable-v4</code></strong></p>
<ul>
<li>Leading dashes in <code>Arg::long</code> are no longer allowed</li>
<li><em>(help)</em> Use <code>Command::display_name</code> in the help title rather than <code>Command::bin_name</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.17] - 2022-05-06</h2>
<h3>Fixes</h3>
<ul>
<li>Allow value names for <code>arg!</code> macro to have dashes when quoted, like longs</li>
</ul>
<h2>[3.1.16] - 2022-05-06</h2>
<h3>Fixes</h3>
<ul>
<li><em>(parser)</em> <code>Arg::exclusive</code> overrides <code>Arg::required</code>, like other conflicts</li>
<li><em>(error)</em> Don't duplicate arguments in usage</li>
<li><em>(error)</em> Don't show hidden arguments in conflict error usage</li>
<li><em>(help)</em> New <code>help_template</code> variable <code>{name}</code> to fix problems with <code>{bin}</code></li>
<li><em>(help)</em> Don't wrap URLs</li>
</ul>
<p><strong>gated behind <code>unstable-v4</code></strong></p>
<ul>
<li>Leading dashes in <code>Arg::long</code> are no longer allowed</li>
<li><em>(help)</em> Use <code>Command::display_name</code> in the help title rather than <code>Command::bin_name</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="55e791e80e"><code>55e791e</code></a> chore: Release</li>
<li><a href="ed0c01993c"><code>ed0c019</code></a> docs: Update changelog</li>
<li><a href="229b44d9bb"><code>229b44d</code></a> fix(macros): Allow dashed values (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3699">https://github.com/facebook/flipper/issues/3699</a>)</li>
<li><a href="95698a4f31"><code>95698a4</code></a> chore: Release</li>
<li><a href="3984e55363"><code>3984e55</code></a> docs(complete): Update changelog</li>
<li><a href="1a1a842aa0"><code>1a1a842</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3698">https://github.com/facebook/flipper/issues/3698</a> from epage/value</li>
<li><a href="b266e6d35d"><code>b266e6d</code></a> fix(complete): Complete visible, rather than hidden, values</li>
<li><a href="17b930c203"><code>17b930c</code></a> chore: Release</li>
<li><a href="e74864994a"><code>e748649</code></a> docs: Update changelog</li>
<li><a href="0e1e9525c8"><code>0e1e952</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3696">https://github.com/facebook/flipper/issues/3696</a> from epage/usage</li>
<li>Additional commits viewable in <a href="https://github.com/clap-rs/clap/compare/v3.1.15...v3.1.17">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.15&new-version=3.1.17)](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/3699

Reviewed By: timur-valiev

Differential Revision: D36371160

Pulled By: mweststrate

fbshipit-source-id: 3cde137d719249ae3b86f8e6755172c5799faf9a
2022-05-13 07:43:43 -07:00
dependabot[bot]
77e0841f67 Bump serde_yaml from 0.8.23 to 0.8.24 in /packer (#3698)
Summary:
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.8.23 to 0.8.24.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/serde-yaml/releases">serde_yaml's releases</a>.</em></p>
<blockquote>
<h2>0.8.24</h2>
<ul>
<li>Work around <code>indexmap</code>/<code>autocfg</code> not always properly detecting whether a <code>std</code> sysroot crate is available (<a href="https://github-redirect.dependabot.com/dtolnay/serde-yaml/issues/243">https://github.com/facebook/flipper/issues/243</a>, thanks <a href="https://github.com/cuviper"><code>@​cuviper</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="915d013401"><code>915d013</code></a> Release 0.8.24</li>
<li><a href="74211ec8c7"><code>74211ec</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/serde-yaml/issues/243">https://github.com/facebook/flipper/issues/243</a> from cuviper/indexmap-std</li>
<li><a href="80bd0a494e"><code>80bd0a4</code></a> Explicitly enable indexmap/std</li>
<li><a href="748976003e"><code>7489760</code></a> Resolve type_repetition_in_bounds clippy lint</li>
<li><a href="85baedfebb"><code>85baedf</code></a> Add a miri test job in CI</li>
<li><a href="8040788ac1"><code>8040788</code></a> Drop unneeded quoting from env variable in workflows yaml</li>
<li><a href="13306e044d"><code>13306e0</code></a> Update workflows to actions/checkout@v3</li>
<li><a href="8155852f3b"><code>8155852</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/serde-yaml/issues/239">https://github.com/facebook/flipper/issues/239</a> from uta8a/fix-readme-example</li>
<li><a href="45affad0ce"><code>45affad</code></a> Fix README example</li>
<li><a href="a14e026560"><code>a14e026</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/serde-yaml/issues/237">https://github.com/facebook/flipper/issues/237</a> from dtolnay/description</li>
<li>Additional commits viewable in <a href="https://github.com/dtolnay/serde-yaml/compare/0.8.23...0.8.24">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: timur-valiev

Differential Revision: D36371156

Pulled By: mweststrate

fbshipit-source-id: 55f678f3e71128ea2772d80034bbf6ba568e154c
2022-05-13 07:43:43 -07:00
Michel Weststrate
18d64f9631 Fix NPE during search
Summary:
`getChilAt` can return `null` (see also line 671), probably when the UI changes during the inspection process. Added a null check that should protect against the failure reported in P501013941

Changelog: Fixed NPE during search in layout plugin (Android)

Reviewed By: lblasa

Differential Revision: D36369508

fbshipit-source-id: 1f066d1a73bdfe875d66f7200ded0d0776af8321
2022-05-13 07:08:52 -07:00
Michel Weststrate
e51e95af2e supportsMethod should return false if not connected
Summary: https://www.internalfb.com/logview/details/flipper_javascript/7e72d9f75d047791d9de43b72915cbd4/?selected-logview-tab=latest shows an exception for just checking whether a feature is supported, while the client is not connected. there is no point in checking if a feature is supported if not connected, so just returning false instead of throwing

Reviewed By: timur-valiev

Differential Revision: D36371047

fbshipit-source-id: 6e83bed6fc53cc41ddef30eeeb41d030b2c4c175
2022-05-13 06:40:06 -07:00
Kevin Strider
ee89b5a37f custom-ports.mdx (setup - Using Different Ports)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: lblasa

Differential Revision: D36373181

fbshipit-source-id: 481a52b21747c29ec5996d7ae8bce47bc911e10f
2022-05-13 05:43:42 -07:00
Kevin Strider
d511cd0980 setup.mdx (setup - Sandbox)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: lblasa

Differential Revision: D36372379

fbshipit-source-id: 5bf1e93f7901c9ceec9a06c4d9c46a2b06fb201c
2022-05-13 05:28:01 -07:00
Kevin Strider
1d552972db setup.mdx (setup - Network)
Summary: Restyle of page, including changes to spelling, grammar, links, and structure (where relevant).

Reviewed By: lblasa

Differential Revision: D36348417

fbshipit-source-id: 4e32ff6c2ce25ebcb403f203809dccb5d10ea01d
2022-05-13 03:48:28 -07:00