Commit Graph

5967 Commits

Author SHA1 Message Date
Pradumna Saraf
0184218403 Corrected Unreachable Plugins Dir Path (#2952)
Summary:
**All the 4 plugins paths are unreachable/changed in [in-this-repo](https://github.com/facebook/flipper#in-this-repo) section in README file. I have updated them with the correct paths.**

- **Before Changes**

![1](https://user-images.githubusercontent.com/51878265/136379185-8325343b-29f4-444e-8a1a-f13bc6900312.png)

- **After Changes**

![2](https://user-images.githubusercontent.com/51878265/136379474-db506b65-7505-42cb-bdad-1d7e545c53e9.png)

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

Reviewed By: muraziz

Differential Revision: D31502036

Pulled By: passy

fbshipit-source-id: 6f2af9d312045704e1bb2efec4f841022ebbfaaa
2021-10-08 05:13:24 -07:00
Flipper Bot
f4ca106080 Flipper Snapshot Bump: v0.114.2-SNAPSHOT
Summary: Releasing snapshot version 0.114.2-SNAPSHOT

Reviewed By: passy

Differential Revision: D31501456

fbshipit-source-id: 5cb68bee9affe7cb0f1950c31f7a7db95f050b75
2021-10-08 04:39:30 -07:00
Flipper Bot
e7b3ea9344 Flipper Release: v0.114.1
Summary: Releasing version 0.114.1

Reviewed By: passy

Differential Revision: D31501455

fbshipit-source-id: bfc85cf82b140364badff4a73069285f66b89b9f
2021-10-08 04:39:30 -07:00
Pascal Hartig
4736abc29c Upgrade publish action
Summary: I upgraded the docker image which should pull the latest GHR release (https://github.com/tcnksm/ghr).

Reviewed By: lblasa

Differential Revision: D31442256

fbshipit-source-id: 0f9fa81ec1be1285aea3da621b7ef5a1e63c3e84
2021-10-08 03:40:49 -07:00
Michel Weststrate
c3ff0ff355 Set up Flipper decapitated packages
Summary:
This diff introduces the packages necessary for Flipper decapitated.

* flipper-common: utilities & types shared between client, server, flipper-plugin
* flipper-server-core: all device & client management goes in here. Basically flipper's backend
* flipper-ui-core: all UI goes in here, as far as it doesn't depend on Electron
* desktop: the Electron app, will load server-core and ui-core, and glue them together, providing implementations for some electron specific stuff like dialgos
* flipper-server: A node process hosting flipper-server-core, that can be connected to over websockets. And probably can serve a browser version of the UI as well.
* flipper-ui-browser: thin wrapper around flipper-ui-core, providing some browser specific behavior / stubs.
* flipper-dump: (might remove later), but want to hack a quick and dirt flipper dump in here, as alternative way to test flipper-server-core.

This diff just creates the packages, but doesn't move any code, so it can be summarized as:

restoftheowl

Reviewed By: nikoant

Differential Revision: D30218646

fbshipit-source-id: 735598a1261a98e584f52504b5eba01ec0afa162
2021-10-08 01:33:03 -07:00
Michel Weststrate
99acd766b9 Upgrade example project to 0.66
Summary:
Per https://react-native-community.github.io/upgrade-helper/?from=0.65.1&to=0.66.0

Also cleaned up lockfiles, made relative-deps non-default, removed old resolutions since I got weird errors with them.

allow-large-files

Reviewed By: timur-valiev

Differential Revision: D31471307

fbshipit-source-id: 2ef8856498bb73293d6638b2c08a1042adb636e5
2021-10-07 07:18:27 -07:00
Michel Weststrate
d56375970d Cleaning up sheet abstraction to use Ant/flipper-plugin dialogs instead
Summary:
This diff cleans up order remaining dialogs, the ones involved in exporting to file or url. Includes some legacy component cleanup boyscouting, but not too much.

This removes a lot of code where state of the wizard was stored globally, and makes it locally instead.

Other code that was removed involves interaction with the old UI, which allowed import / export to be running in the background as well. (which is no longer needed since we optimised the process)

Reviewed By: timur-valiev

Differential Revision: D30192000

fbshipit-source-id: 13be883c5bf217a3d58b610b78516359e9bd0ebc
2021-10-06 09:10:19 -07:00
Michel Weststrate
9e5575cf69 Dialog management cleanup
Summary:
This diff moves the dialogs

* Settings
* Plugin Manager
* Doctor
* Sign in
* Changelog

To use the imperative dialog APIs, rather then organising them through reducers which adds a lot of indirection which isn't really needed but hard to follow.

Reviewed By: passy

Differential Revision: D30192002

fbshipit-source-id: ba38b2e700da3e442653786448fcbf85074981ad
2021-10-06 09:10:19 -07:00
Michel Weststrate
89b193b438 Clean up Sheet abstraction
Summary: This stack gets rid of Flippers old sheet abstraction that relies on native (Electron) overlays, and implements it using Ant dialogs instead. Also removes a lot of code by making dialog API imperative, rather than reducer organised, like done in the deeplink handling.

Reviewed By: passy

Differential Revision: D30192001

fbshipit-source-id: 9bca3274bd039207e58f8f9394027515e391671d
2021-10-06 09:10:19 -07:00
Michel Weststrate
740093d0d9 Separate Client in server and client part
Summary: This diff separates the concept of a Client as now on the UI, from the concept of a Client as known on the server, and makes all interactions with client and vice versa async.

Reviewed By: timur-valiev

Differential Revision: D31235682

fbshipit-source-id: 99089e9b390b4c5359f97f6f2b15bf4b182b6cb9
2021-10-06 09:10:19 -07:00
Juan Tejada
eab4804792 Update React DevTools from 4.13.0 -> 4.19.1
Summary:
Update `react-devtools-core` and `react-devtools` dependencies for RN, VSCode, Sonar, etc.

`js1 upgrade react-devtools -v 4.19.1`

# Changelog:

[General][Changed] - Upgraded react-devtools-core dependency to 4.19.1

Reviewed By: bvaughn

Differential Revision: D31345135

fbshipit-source-id: dae06a18699df19a6e8422460effd48f715e395b
2021-10-06 08:36:00 -07:00
Pascal Hartig
a7e02f234a Set license to MIT
Summary:
The entire repo is MIT (unless stated otherwise) but
without the flag, yarn is very noisy on every startup.

{F668266100}

Reviewed By: timur-valiev

Differential Revision: D31429016

fbshipit-source-id: 11a963181dc309a251e6c71a9a16ab93d12b7f93
2021-10-06 08:32:58 -07:00
Pascal Hartig
94f46046ee Upgrade deps
Summary: Fixing some docs, decided to bump deps first.

Reviewed By: timur-valiev

Differential Revision: D31429002

fbshipit-source-id: 27bd9ba4c5c554ed79859d40036a28b39aa311ae
2021-10-06 08:32:58 -07:00
Flipper Bot
a6761992ba Flipper Snapshot Bump: v0.114.1-SNAPSHOT
Summary: Releasing snapshot version 0.114.1-SNAPSHOT

Reviewed By: passy

Differential Revision: D31430621

fbshipit-source-id: 8f1985957102f76b6575d7078fc908ad1943c095
2021-10-06 08:09:30 -07:00
Flipper Bot
49d41f15e3 Flipper Release: v0.114.0
Summary: Releasing version 0.114.0

Reviewed By: passy

Differential Revision: D31430620

fbshipit-source-id: fce3d83479199d27352c3b05d92fa6c5f0a69051
2021-10-06 08:09:30 -07:00
Pascal Hartig
37529af074 Track plugin selection steps
Summary: Sets up some logging for the various drop-out points when going through the deeplink flow.

Reviewed By: lblasa

Differential Revision: D31345623

fbshipit-source-id: a06ca97c1e687e39ea97a1f47fd8bb614149056f
2021-10-05 11:41:58 -07:00
Lorenzo Blasa
bce2cdc316 Reduce logging verbosity for flipper socket provider switches
Summary: Change that removes log verbosity around socket provider switching.

Reviewed By: jknoxville

Differential Revision: D31395115

fbshipit-source-id: aece2facdf16c517522488c21496ea6a0eb50936
2021-10-05 10:57:06 -07:00
Michel Weststrate
026f8fc308 Store clients as Map rather than array
Summary: Refactor clients storage: array -> map. A lot of logic looks up clients by their id, which is currently done with an array.find operation, which is pretty inefficient. This diff changes it to a map, that is pretty important, as in the next diff the decoupled client message handing will need to find the client again for every message that arrives.

Reviewed By: timur-valiev

Differential Revision: D31303536

fbshipit-source-id: ca3f540a3de7665930d2354436d37cb0fbfd5546
2021-10-04 07:27:24 -07:00
Michel Weststrate
c9a34d3cc2 Fix inconsistent handling of app id and name
Summary:
Changelog: Improved plugin / device / app selection handing.

During some refactorings I discovered that the `connetions.selectedApp` field contained sometimes an application id, and sometimes just the name. This caused inconsistent behavior especially in unit tests.

I've cleaned that up, and renamed it to `selectedAppId` where applicable, to make the distinction more clear.

And, in contrast, userPreferredApp now always has a name, not an id.

During refactoring our existing selection update logic was quite in the way, which was overcomplicated still, since during the sandy chrome migration, the reducers needed to be able to handle both the old UI, and the new application selection UI. That logic has been simplified now, and a lot of tests were added.

As a further simplification the preferredApp/Device/Plugin are now only read and used when updating selection, but not when running selectors.

Reviewed By: timur-valiev

Differential Revision: D31305180

fbshipit-source-id: 2dbd9f9c33950227cc63aa29cc4a98bdd0db8e7a
2021-10-04 07:27:24 -07:00
Michel Weststrate
ba89daf12c Bump RN example pod files
Summary: per title

Reviewed By: passy

Differential Revision: D31377747

fbshipit-source-id: e35a4937ea35d73f01256277260bd939c1885477
2021-10-04 07:13:36 -07:00
Lorenzo Blasa
799d88275e Remove WebSocket delegate before closing
Summary:
This change removes ourselves as a delegate before closing.

SocketRocket uses its own internal async queue to perform most operations.

After a disconnect, we don't expect to receive any more delegate calls as the handlers may contain references which may have become invalid.

So, removing ourselves as delegates will ensure that we don't get called after a disconnect.

For sanity, we are also taking a copy of the message handler instead of a reference to it.

Reviewed By: briantkelley

Differential Revision: D31360721

fbshipit-source-id: bae5a2423757cd9064ffac28afb8b78c28a20d87
2021-10-03 01:17:54 -07:00
Pascal Hartig
20185f37ab Init and error logging
Summary:
Set up some basic logging for deep link usage at the entry point and error cases.

More granular logging coming up next.

Reviewed By: nikoant

Differential Revision: D31337822

fbshipit-source-id: 171eae68fb3d9a11aa155087baf6f8309bbd7295
2021-10-01 12:18:55 -07:00
Flipper Bot
d6cc115a90 Flipper Snapshot Bump: v0.113.1-SNAPSHOT
Summary: Releasing snapshot version 0.113.1-SNAPSHOT

Reviewed By: jknoxville

Differential Revision: D31264524

fbshipit-source-id: 80e1b78608a5680f307d93f52b4867f060478608
2021-10-01 09:12:07 -07:00
Flipper Bot
672cfad7d6 Flipper Release: v0.113.0
Summary: Releasing version 0.113.0

Reviewed By: jknoxville

Differential Revision: D31264525

fbshipit-source-id: 400ff8a08dd0671d780e5663b0538fe7e970b237
2021-10-01 09:12:06 -07:00
kodak
b43dde8a6a Display AccessibilityNodeInfoCompat.isScreenReaderFocusable() property (fixes #1756) (#2925)
Summary:
Add screenreader-focusable property to AccessibilityUtil#getAccessibilityNodeInfoData

The accessibility hierarchy displays various AccessibilityNodeInfo properties. However, it was missing the screenreader-focusable property.

## Changelog
Display screenreader-focusable property in the accessibility hierarchy.

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

Test Plan: Test suite passes and code lints.

Reviewed By: mweststrate

Differential Revision: D31312381

Pulled By: passy

fbshipit-source-id: c5044cef6aabe5bd2d2ce5e315f5aafd6990a137
2021-10-01 08:58:23 -07:00
Pascal Hartig
9ce424adf7 Allowlist some remote usages
Summary: Some drive-by changes as I'm working on other stuff.

Reviewed By: mweststrate

Differential Revision: D31337500

fbshipit-source-id: 8f348af06b7c4b159703d7adf160a7380ba57b22
2021-10-01 08:08:36 -07:00
Pascal Hartig
7dd9cce9f2 Wire up logger
Summary:
Splitting this up into the wiring and the actual usage.
This just ensures we have a logger in place for handling
deeplinks.

Reviewed By: mweststrate

Differential Revision: D31337457

fbshipit-source-id: b088a7396e38554a87502ba7d5669dbef1b398d7
2021-10-01 08:08:36 -07:00
Pascal Hartig
4aa7439fbf Fix Flipper lints #10
Summary:
Grey -> gray. "Cancelled" seems quite common in APIs though, so I disabled that.
A few promise cleanups

Reviewed By: aigoncharov

Differential Revision: D31323610

fbshipit-source-id: c8863d995936f451c24eb408fe5c26677187f089
2021-10-01 08:08:35 -07:00
Pascal Hartig
fe3eda024b Replace promisify(child_process.*)
Summary:
Promisify leads to weird types and sometimes unexpected runtime behaviour. Replacing it with the dep we use everywhere.

It's just really annoying that `stdout` is here explicitly `| null` which isn't the case in the default types.

Reviewed By: timur-valiev

Differential Revision: D31278303

fbshipit-source-id: eadbc49b287704e71a5ecba0d9a311eac91dc6f8
2021-10-01 08:06:11 -07:00
Pascal Hartig
7706b26d7a Exclusively use idb or xcrun for querying devices
Summary:
Simplifies the logic by only using idb when available to query *both* simulators and physical devices.

Changelog: Prefer idb for device listing when available.

Reviewed By: mweststrate

Differential Revision: D31271539

fbshipit-source-id: ac5b73ca5b00b7707bf87cd4d3a6af6e0c0ae214
2021-10-01 08:06:11 -07:00
Pascal Hartig
111177b44e Upgrade to Node 14 for Actions (#2928)
Summary:
I believe that matches what we have internally. This has been causing some upgrades to fail.

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

Reviewed By: aigoncharov

Differential Revision: D31324394

Pulled By: passy

fbshipit-source-id: eec38dcc6322e3e8957bbc20bf74d343855be8c0
2021-10-01 04:40:09 -07:00
dependabot[bot]
27938a7e96 Bump @testing-library/dom from 8.2.0 to 8.6.0 in /desktop (#2914)
Summary:
Bumps [testing-library/dom](https://github.com/testing-library/dom-testing-library) from 8.2.0 to 8.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/testing-library/dom-testing-library/releases"><code>@​testing-library/dom</code>'s releases</a>.</em></p>
<blockquote>
<h2>v8.6.0</h2>
<h1><a href="https://github.com/testing-library/dom-testing-library/compare/v8.5.0...v8.6.0">8.6.0</a> (2021-09-22)</h1>
<h3>Features</h3>
<ul>
<li>Add support for firing all transition events (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1036">https://github.com/facebook/flipper/issues/1036</a>) (<a href="669602c37c">669602c</a>)</li>
</ul>
<h2>v8.5.0</h2>
<h1><a href="https://github.com/testing-library/dom-testing-library/compare/v8.4.0...v8.5.0">8.5.0</a> (2021-09-11)</h1>
<h3>Features</h3>
<ul>
<li><strong>config:</strong> Add <code>unstable_advanceTimersWrapper</code> (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1022">https://github.com/facebook/flipper/issues/1022</a>) (<a href="45830f580c">45830f5</a>)</li>
</ul>
<h2>v8.4.0</h2>
<h1><a href="https://github.com/testing-library/dom-testing-library/compare/v8.3.0...v8.4.0">8.4.0</a> (2021-09-11)</h1>
<h3>Bug Fixes</h3>
<ul>
<li>Use syntax compatible with older TypeScript versions (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1026">https://github.com/facebook/flipper/issues/1026</a>) (<a href="8311c8d29b">8311c8d</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li>Add element type generic argument to queries (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1023">https://github.com/facebook/flipper/issues/1023</a>) (<a href="f55f19bdc8">f55f19b</a>)</li>
</ul>
<h2>v8.3.0</h2>
<h1><a href="https://github.com/testing-library/dom-testing-library/compare/v8.2.0...v8.3.0">8.3.0</a> (2021-09-07)</h1>
<h3>Features</h3>
<ul>
<li>restore prettyDOM logging for Cypress (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1018">https://github.com/facebook/flipper/issues/1018</a>) (<a href="460115a471">460115a</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="669602c37c"><code>669602c</code></a> feat: Add support for firing all transition events (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1036">https://github.com/facebook/flipper/issues/1036</a>)</li>
<li><a href="45830f580c"><code>45830f5</code></a> feat(config): Add <code>unstable_advanceTimersWrapper</code> (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1022">https://github.com/facebook/flipper/issues/1022</a>)</li>
<li><a href="c7ba19337a"><code>c7ba193</code></a> docs: add dfoverdx as a contributor for code (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1029">https://github.com/facebook/flipper/issues/1029</a>)</li>
<li><a href="f55f19bdc8"><code>f55f19b</code></a> feat: Add element type generic argument to queries (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1023">https://github.com/facebook/flipper/issues/1023</a>)</li>
<li><a href="8311c8d29b"><code>8311c8d</code></a> fix: Use syntax compatible with older TypeScript versions (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1026">https://github.com/facebook/flipper/issues/1026</a>)</li>
<li><a href="74c63b7be5"><code>74c63b7</code></a> test: Ensure broken node 16.9.0 isn't used (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1028">#1028</a>)</li>
<li><a href="7b125de130"><code>7b125de</code></a> test: Run full matrix even if a single job fails (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1027">https://github.com/facebook/flipper/issues/1027</a>)</li>
<li><a href="ba8dfb884b"><code>ba8dfb8</code></a> docs: add istateside as a contributor for code, test (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1024">https://github.com/facebook/flipper/issues/1024</a>)</li>
<li><a href="460115a471"><code>460115a</code></a> feat: restore prettyDOM logging for Cypress (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1018">https://github.com/facebook/flipper/issues/1018</a>)</li>
<li><a href="bb79e3027d"><code>bb79e30</code></a> chore(types): Convert src/query-helpers to TS (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/1016">https://github.com/facebook/flipper/issues/1016</a>)</li>
<li>See full diff in <a href="https://github.com/testing-library/dom-testing-library/compare/v8.2.0...v8.6.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@testing-library/dom&package-manager=npm_and_yarn&previous-version=8.2.0&new-version=8.6.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/2914

Reviewed By: mweststrate

Differential Revision: D31240098

Pulled By: passy

fbshipit-source-id: 76368d85ca2f28dc0dacb779373ae3beecff146a
2021-10-01 03:37:28 -07:00
dependabot[bot]
1e80107048 Bump js-base64 from 3.7.0 to 3.7.2 in /desktop (#2917)
Summary:
Bumps [js-base64](https://github.com/dankogai/js-base64) from 3.7.0 to 3.7.2.
<details>
<summary>Commits</summary>
<ul>
<li><a href="bf0845d5b5"><code>bf0845d</code></a> version 3.7.2</li>
<li><a href="bbd711c62a"><code>bbd711c</code></a> improve handling of padding =</li>
<li><a href="cb2434f152"><code>cb2434f</code></a> Create codeql-analysis.yml</li>
<li><a href="4c54242333"><code>4c54242</code></a> Create SECURITY.md</li>
<li><a href="8119845603"><code>8119845</code></a> version 3.7.1</li>
<li><a href="e4362c7c51"><code>e4362c7</code></a> package.json: empty <code>dependencies</code></li>
<li>See full diff in <a href="https://github.com/dankogai/js-base64/compare/3.7.0...3.7.2">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D31240067

Pulled By: passy

fbshipit-source-id: 4724b72e84a10fea3a40a4e1da84a9f6347ec495
2021-10-01 03:37:28 -07:00
dependabot[bot]
1945b4e9d0 Bump @testing-library/react from 12.0.0 to 12.1.1 in /desktop (#2916)
Summary:
Bumps [testing-library/react](https://github.com/testing-library/react-testing-library) from 12.0.0 to 12.1.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/testing-library/react-testing-library/releases"><code>@​testing-library/react</code>'s releases</a>.</em></p>
<blockquote>
<h2>v12.1.1</h2>
<h2><a href="https://github.com/testing-library/react-testing-library/compare/v12.1.0...v12.1.1">12.1.1</a> (2021-09-27)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>TS:</strong> make wrapper allow a simple function comp (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/966">https://github.com/facebook/flipper/issues/966</a>) (<a href="cde904cd16">cde904c</a>)</li>
</ul>
<h2>v12.1.0</h2>
<h1><a href="https://github.com/testing-library/react-testing-library/compare/v12.0.0...v12.1.0">12.1.0</a> (2021-09-11)</h1>
<h3>Features</h3>
<ul>
<li>improve JSDocs for RenderOptions (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/909">https://github.com/facebook/flipper/issues/909</a>) (<a href="fbacb0da99">fbacb0d</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="cde904cd16"><code>cde904c</code></a> fix(TS): make wrapper allow a simple function comp (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/966">https://github.com/facebook/flipper/issues/966</a>)</li>
<li><a href="a218b63163"><code>a218b63</code></a> docs: add akashshyamdev as a contributor for bug (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/967">https://github.com/facebook/flipper/issues/967</a>)</li>
<li><a href="84851dc660"><code>84851dc</code></a> test: Backport tests using the full timer matrix (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/962">https://github.com/facebook/flipper/issues/962</a>)</li>
<li><a href="3325061cac"><code>3325061</code></a> docs: add ImADrafter as a contributor for doc (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/961">https://github.com/facebook/flipper/issues/961</a>)</li>
<li><a href="fbacb0da99"><code>fbacb0d</code></a> feat: improve JSDocs for RenderOptions (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/909">https://github.com/facebook/flipper/issues/909</a>)</li>
<li><a href="071a6fdc1d"><code>071a6fd</code></a> test: Format codebase with prettier (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/959">https://github.com/facebook/flipper/issues/959</a>)</li>
<li><a href="68fd459149"><code>68fd459</code></a> test: Ensure broken node 16.9.0 isn't used (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/960">https://github.com/facebook/flipper/issues/960</a>)</li>
<li><a href="8f3bd3c34f"><code>8f3bd3c</code></a> docs: add leschdom as a contributor for doc (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/941">https://github.com/facebook/flipper/issues/941</a>)</li>
<li><a href="801edaa0d6"><code>801edaa</code></a> docs(CONTRIBUTING): update links (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/932">https://github.com/facebook/flipper/issues/932</a>)</li>
<li>See full diff in <a href="https://github.com/testing-library/react-testing-library/compare/v12.0.0...v12.1.1">compare view</a></li>
</ul>
</details>
<br />

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

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

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

 ---

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

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

</details>

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

Reviewed By: mweststrate

Differential Revision: D31240071

Pulled By: passy

fbshipit-source-id: 3a0c24594b0cd1893d310a5dda3d7cd452167c86
2021-10-01 03:37:28 -07:00
dependabot[bot]
6431eeb22a Bump eslint-plugin-react from 7.25.1 to 7.26.0 in /flipper-js-client-sdk (#2909)
Summary:
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.25.1 to 7.26.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md">eslint-plugin-react's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.25.3...v7.26.0">7.26.0</a> - 2021.09.20</h2>
<h3>Added</h3>
<ul>
<li>add [<code>no-namespace</code>] rule (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2640">https://github.com/facebook/flipper/issues/2640</a> <a href="https://github.com/yacinehmito"><code>@​yacinehmito</code></a> <a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>jsx-max-props-per-line</code>]: add <code>single</code> and <code>multi</code> options (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3078">#3078</a> <a href="https://github.com/SIL0RAK"><code>@​SIL0RAK</code></a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[<code>display-name</code>]: Get rid of false position on component detection (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2759">https://github.com/facebook/flipper/issues/2759</a> <a href="https://github.com/iiison"><code>@​iiison</code></a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[<code>no-access-state-in-setstate</code>]: passing test for “don't error if it's not a React Component” (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1873">https://github.com/facebook/flipper/issues/1873</a> <a href="https://github.com/kentcdodds"><code>@​kentcdodds</code></a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3078">#3078</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3078">yannickcr/eslint-plugin-react#3078</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2640">https://github.com/facebook/flipper/issues/2640</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2640">yannickcr/eslint-plugin-react#2640</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2759">https://github.com/facebook/flipper/issues/2759</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2759">yannickcr/eslint-plugin-react#2759</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1873">https://github.com/facebook/flipper/issues/1873</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/1873">yannickcr/eslint-plugin-react#1873</a></p>
<h2><a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.25.2...v7.25.3">7.25.3</a> - 2021.09.19</h2>
<h3>Fixed</h3>
<ul>
<li>[<code>prop-types</code>], <code>propTypes</code>: bail out unknown generic types inside func params (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3076">#3076</a> <a href="https://github.com/vedadeepta"><code>@​vedadeepta</code></a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[readme] Update broken link for configuration files (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3071">#3071</a> <a href="https://github.com/prateek3255"><code>@​prateek3255</code></a>)</li>
<li>[Refactor] create/extract <code>isCreateElement</code> and <code>isDestructuredFromPragmaImport</code> utils (<a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3076">#3076</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3076">yannickcr/eslint-plugin-react#3076</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3071">#3071</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3071">yannickcr/eslint-plugin-react#3071</a></p>
<h2><a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.25.1...v7.25.2">7.25.2</a> - 2021.09.16</h2>
<h3>Fixed</h3>
<ul>
<li>[<code>jsx-no-useless-fragments</code>]: Handle insignificant whitespace correctly when <code>allowExpressions</code> is <code>true</code> (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3061">#3061</a>[] <a href="https://github.com/benj-dobs"><code>@​benj-dobs</code></a>)</li>
<li>[<code>prop-types</code>], <code>propTypes</code>: handle implicit <code>children</code> prop in react's generic types (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3064">#3064</a>[] <a href="https://github.com/vedadeepta"><code>@​vedadeepta</code></a>)</li>
<li>[<code>display-name</code>]: fix arrow function returning result of function call with JSX arguments being interpreted as component (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3065">#3065</a>[] <a href="https://github.com/danielfinke"><code>@​danielfinke</code></a>)</li>
<li>[<code>jsx-no-target-blank</code>]: avoid crash on attr-only href (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3066">#3066</a>[] <a href="https://github.com/ljharb"><code>@​ljharb</code></a> <a href="https://github.com/gaz77a"><code>@​gaz77a</code></a>)</li>
<li>[<code>jsx-uses-vars</code>]: ignore lowercase tag names (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3070">#3070</a>[] <a href="https://github.com/alanorozco"><code>@​alanorozco</code></a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3070">#3070</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3070">yannickcr/eslint-plugin-react#3070</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3066">#3066</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issue/3066">yannickcr/eslint-plugin-react#3066</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3065">#3065</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3065">yannickcr/eslint-plugin-react#3065</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3064">#3064</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3064">yannickcr/eslint-plugin-react#3064</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3061">#3061</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3061">yannickcr/eslint-plugin-react#3061</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="8cf47a8ac2"><code>8cf47a8</code></a> Update CHANGELOG and bump version</li>
<li><a href="e4acd07cd4"><code>e4acd07</code></a> [Dev Deps] update <code>types/estree</code>, <code>types/node</code>, <code>eslint-plugin-eslint-plugin</code></li>
<li><a href="83eb22651c"><code>83eb226</code></a> [New] <code>jsx-max-props-per-line</code>: add <code>single</code> and <code>multi</code> options</li>
<li><a href="95a8a4eb53"><code>95a8a4e</code></a> [Dev Deps] update <code>eslint-remote-tester</code></li>
<li><a href="df939e39ec"><code>df939e3</code></a> [Tests] <code>no-access-state-in-setstate</code>: passing test for “don't error if it's ...</li>
<li><a href="f4d43147b1"><code>f4d4314</code></a> [Refactor] <code>no-unstable-nested-components</code>: use <code>isCreateElement</code> util (f25a8...</li>
<li><a href="ddff23792d"><code>ddff237</code></a> [Refactor] <code>no-danger</code>: use Object.fromEntries and Object.hasOwn instead of r...</li>
<li><a href="d51bc61f42"><code>d51bc61</code></a> [Fix] restore eslint &lt; 4.15 compatibility</li>
<li><a href="9799131b0a"><code>9799131</code></a> [Fix] <code>display-name</code>: Get rid of false position on component detection</li>
<li><a href="53a0d84914"><code>53a0d84</code></a> [New] add <code>no-namespace</code> rule</li>
<li>Additional commits viewable in <a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.25.1...v7.26.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: timur-valiev

Differential Revision: D31240124

Pulled By: passy

fbshipit-source-id: 64704855221d1286e3cd83c6b81e381f5ca05942
2021-10-01 03:37:28 -07:00
Pascal Hartig
5bc1971368 Revert app-builder-lib bump (#2927)
Summary:
This should fix the build failures due to old node versions.

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

Reviewed By: timur-valiev

Differential Revision: D31311267

Pulled By: passy

fbshipit-source-id: 336138c0bd57fbc9f72f5694a258279245b8a30d
2021-09-30 18:19:46 -07:00
dependabot[bot]
2cf7ab3edf Bump jest from 27.1.1 to 27.2.2 in /react-native/ReactNativeFlipperExample (#2907)
Summary:
Bumps [jest](https://github.com/facebook/jest) from 27.1.1 to 27.2.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/releases">jest's releases</a>.</em></p>
<blockquote>
<h2>27.2.2</h2>
<h3>Fixes</h3>
<ul>
<li><code>[jest-runtime]</code> Correct <code>wrapperLength</code> value for ESM modules. (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11893">#11893</a>)</li>
</ul>
<h2>27.2.1</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-transform]</code> Improve the unexpected token error message. (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11807">#11807</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[jest-runtime]</code> Fix regression when using <code>jest.isolateModules</code> and mocks (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11882">#11882</a>)</li>
<li><code>[jest-runtime]</code> Include test name when importing modules after test has completed (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11885">#11885</a>)</li>
<li><code>[jest-runtime]</code> Error when ESM import is used after test is torn down (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11885">#11885</a>)</li>
</ul>
<h2>27.2.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-resolver, jest-runtime]</code> Pass <code>conditions</code> to custom resolvers to enable them to implement support for package.json <code>exports</code> field (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11859">#11859</a>)</li>
<li><code>[jest-runtime]</code> Allow custom envs to specify <code>exportConditions</code> which is passed together with Jest's own conditions to custom resolvers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11863">#11863</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[jest/reporters]</code> Use async transform if available to transform files with no coverage (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11852">#11852</a>)</li>
<li><code>[jest-util]</code> Return correct value from <code>process.send</code> stub (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11799">#11799</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/blob/main/CHANGELOG.md">jest's changelog</a>.</em></p>
<blockquote>
<h2>27.2.2</h2>
<h3>Fixes</h3>
<ul>
<li><code>[jest-runtime]</code> Correct <code>wrapperLength</code> value for ESM modules. (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11893">#11893</a>)</li>
</ul>
<h2>27.2.1</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-transform]</code> Improve the unexpected token error message. (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11807">#11807</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[jest-runtime]</code> Fix regression when using <code>jest.isolateModules</code> and mocks (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11882">#11882</a>)</li>
<li><code>[jest-runtime]</code> Include test name when importing modules after test has completed (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11885">#11885</a>)</li>
<li><code>[jest-runtime]</code> Error when ESM import is used after test is torn down (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11885">#11885</a>)</li>
</ul>
<h2>27.2.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-resolver, jest-runtime]</code> Pass <code>conditions</code> to custom resolvers to enable them to implement support for package.json <code>exports</code> field (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11859">#11859</a>)</li>
<li><code>[jest-runtime]</code> Allow custom envs to specify <code>exportConditions</code> which is passed together with Jest's own conditions to custom resolvers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11863">#11863</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[jest/reporters]</code> Use async transform if available to transform files with no coverage (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11852">#11852</a>)</li>
<li><code>[jest-util]</code> Return correct value from <code>process.send</code> stub (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11799">#11799</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f54d96fec5"><code>f54d96f</code></a> v27.2.2</li>
<li><a href="5cf3294e44"><code>5cf3294</code></a> chore: update changelog for release</li>
<li><a href="d4fff6a7c0"><code>d4fff6a</code></a> fix (jest-runtime): correct <code>wrapperLength</code> value for ESM modules (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/11893">#11893</a>)</li>
<li><a href="da7c4a4284"><code>da7c4a4</code></a> chore: update <code>npm</code> instructions in README (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/11890">#11890</a>)</li>
<li><a href="4f5dab05db"><code>4f5dab0</code></a> chore: force patched version of ansi-regex (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/11889">#11889</a>)</li>
<li><a href="06d2c2c54b"><code>06d2c2c</code></a> chore: update lockfile after publish</li>
<li><a href="50862b410c"><code>50862b4</code></a> v27.2.1</li>
<li><a href="5aad21f59d"><code>5aad21f</code></a> chore: update changelog for release</li>
<li><a href="6175fa1cf3"><code>6175fa1</code></a> make the syntax error message more helpful for TS users (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/11807">#11807</a>)</li>
<li><a href="31cad209cd"><code>31cad20</code></a> fix: include path to test file in &quot;after teardown&quot; error (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/11885">#11885</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/jest/compare/v27.1.1...v27.2.2">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D31240187

Pulled By: passy

fbshipit-source-id: 4ff38c523eeeb525e05f9bcf43967e79aa38d837
2021-09-30 09:38:54 -07:00
Pascal Hartig
3a93d48e05 Disable sync rules for sub-projects
Summary: This is from a larger lint task but I'm pulling this out separately. Sync only matters to us in the context of UI where it can block the main loop. Here it's fine.

Reviewed By: timur-valiev

Differential Revision: D31290130

fbshipit-source-id: 9a156ce549a1249b2b08f16e3afef6e5cd1e5441
2021-09-30 09:31:03 -07:00
Ananya Arun
ed80dcf26c Fetch logs to create paste and autofill them
Summary:
Added fetching logs for flipper and autofilling them too with the create paste link in the description of the support form.

Changed the on click load form function to async to handle this as createPaste returns a promise and not the URL directly.

Reviewed By: mweststrate

Differential Revision: D31268006

fbshipit-source-id: 2a9ee08948198781adadd2b3b9c447f179db7d5c
2021-09-30 04:15:36 -07:00
Michel Weststrate
b8236f1b3a Don't leave rejection unhandled if node fetching fails
Summary: Fix potentially unhandled promise rejection in Layout inspector. Not really reproducible, and probably originating from old Flipper versions (no trace is available either), since we have a lot of connection check in place. Just in case still handled the exception, for example if something goes wrong on client side

Reviewed By: passy

Differential Revision: D31267465

fbshipit-source-id: d1b384db7bb010af8d2aa12ae29110f343fb14af
2021-09-30 01:40:22 -07:00
Ananya Arun
8fd012a8a3 Autofill title and description in the support form
Summary: Added autofill for title and description. Description are the list of steps users have taken to troubleshoot.

Reviewed By: mweststrate

Differential Revision: D31263065

fbshipit-source-id: 932e6cb42438cd2da0d7e8686f0f7e0fa69ee586
2021-09-29 18:28:20 -07:00
Lorenzo Blasa
cf1d579462 Manual disconnect on deallocation and do not clear message handler or message received
Summary:
Trigger a manual disconnect on deallocation. This was done automatically for us when the underlying socket gets released. But, this gives a bit more visibility and control onto exactly when this is going to take place.

Additionally, do not clear the message handler when a message is received.

It is not required as sendExpectResponse is one time called only used for certificate exchange. If this takes place again, a new handler will be set anyway.

Reviewed By: passy

Differential Revision: D31231828

fbshipit-source-id: 36ad13564a358b88d1618e94195fe05433d80993
2021-09-29 07:44:11 -07:00
Michel Weststrate
ef6e802244 Some Client related cleanups
Summary:
Client up `client.device` (which had no code references anymore) / `client.deviceSync`. Cleaned up feature code for old SDKs (pre 2, which is 3 years old).

This makes decapitating Client a little simpler in the rest of the stack.

Reviewed By: passy

Differential Revision: D31235436

fbshipit-source-id: 919679c1830e2b9368d0787d7b363c090305edb8
2021-09-29 07:01:18 -07:00
Michel Weststrate
906578cc01 Remove flipper_frozen_data GK
Summary: Removed an old GK that has been 100% for all employees for months.

Reviewed By: passy

Differential Revision: D31233413

fbshipit-source-id: ce7d871c5c4f46e9264fdc1c2e4042f0362464f1
2021-09-29 07:01:18 -07:00
Michel Weststrate
e32a377c65 Fix eagerly rejection ADB spawn error
Summary: Fix unnecessary unhandled promise rejection.

Reviewed By: passy

Differential Revision: D31267305

fbshipit-source-id: 90b22fdfa1721f10ad92dbeca74c2ee1988ac15c
2021-09-29 06:56:37 -07:00
Michel Weststrate
816720d708 Stop reporting 'Failed to fetch' errors
Summary: Failed to fetch promise rejections should not be reported

Reviewed By: passy

Differential Revision: D31266851

fbshipit-source-id: ce3c15db5504c01d66b44e032c2b7fb752ec2ec3
2021-09-29 06:56:37 -07:00
Pascal Hartig
1d5a2d876f Add sparse profile
Summary:
If you just use this profile `hg sparse switch tools/scm/sparse/xplat/flipper-js`, your total checkout will only be around 9 gigs.

I officially ran out of patience and out of space with the recent addition of `/arvr` which alone is about 40GB and I mostly touch Flipper files.

I also included staticdocs and the Rust third-party libraries so Launcher, plugin-metrics etc. are supported, too.

Reviewed By: mweststrate

Differential Revision: D31243980

fbshipit-source-id: 650d67d89298901610fa20330b7737f0a304569e
2021-09-29 06:05:22 -07:00
dependabot[bot]
42374cb10d Bump glob from 7.1.7 to 7.2.0 in /desktop (#2918)
Summary:
Bumps [glob](https://github.com/isaacs/node-glob) from 7.1.7 to 7.2.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="3bfec21dd1"><code>3bfec21</code></a> 7.2.0</li>
<li><a href="df4598a75a"><code>df4598a</code></a> Add fs option to allow passing virtual filesystem</li>
<li>See full diff in <a href="https://github.com/isaacs/node-glob/compare/v7.1.7...v7.2.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D31240061

Pulled By: passy

fbshipit-source-id: 3bc187526af5051325ef81cbfe5e8790ea76130f
2021-09-29 05:27:11 -07:00
dependabot[bot]
d5057aaf04 Bump @babel/plugin-proposal-object-rest-spread from 7.14.7 to 7.15.6 in /desktop (#2858)
Summary:
Bumps [babel/plugin-proposal-object-rest-spread](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-object-rest-spread) from 7.14.7 to 7.15.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/releases"><code>@​babel/plugin-proposal-object-rest-spread</code>'s releases</a>.</em></p>
<blockquote>
<h2>v7.15.6 (2021-09-09)</h2>
<p>Thanks <a href="https://github.com/dan-kez"><code>@​dan-kez</code></a>, <a href="https://github.com/fyzhu"><code>@​fyzhu</code></a> and <a href="https://github.com/wafuwafu13"><code>@​wafuwafu13</code></a> for your first PRs!</p>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>, <code>babel-plugin-proposal-pipeline-operator</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13668">#13668</a> Fix right precedence of Hack pipes (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-parser</code>, <code>babel-plugin-proposal-pipeline-operator</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13668">#13668</a> Fix right precedence of Hack pipes (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-proposal-object-rest-spread</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13711">#13711</a> fix: Duplicate function call in variable destructuring (<a href="https://github.com/dan-kez"><code>@​dan-kez</code></a>)</li>
</ul>
</li>
<li><code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13733">#13733</a> id in import attributes should not be referenced (<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/13731">#13731</a> fix(babel-parser): Fix end of <code>range</code> of <code>SequenceExpression</code> (<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-helper-transform-fixture-test-runner</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13738">#13738</a> Use <code>types/node</code> for <code>vm</code> module (<a href="https://github.com/wafuwafu13"><code>@​wafuwafu13</code></a>)</li>
</ul>
</li>
<li><code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13737">#13737</a> Remove duplicate <code>dependency</code> and <code>devDependency</code> in preset-env (<a href="https://github.com/fyzhu"><code>@​fyzhu</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 6</h4>
<ul>
<li>Daniel Kezerashvili (<a href="https://github.com/dan-kez"><code>@​dan-kez</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>Sosuke Suzuki (<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>)</li>
<li>TagawaHirotaka (<a href="https://github.com/wafuwafu13"><code>@​wafuwafu13</code></a>)</li>
<li>Yvan Zhu (<a href="https://github.com/fyzhu"><code>@​fyzhu</code></a>)</li>
</ul>
<h2>v7.15.5 (2021-09-04)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13727">#13727</a> Disallow <code>#a in #b in c</code> and similar expressions (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>↩️ Revert</h4>
<ul>
<li><code>babel-core</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13732">#13732</a> Revert &quot;fix: non breaking align options naming&quot; (<a href="https://github.com/fedeci"><code>@​fedeci</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 3</h4>
<ul>
<li>Babel Bot (<a href="https://github.com/babel-bot"><code>@​babel-bot</code></a>)</li>
<li>Federico Ciardi (<a href="https://github.com/fedeci"><code>@​fedeci</code></a>)</li>
<li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
<h2>v7.15.4 (2021-09-02)</h2>
<p>Thanks <a href="https://github.com/flyinox"><code>@​flyinox</code></a>, <a href="https://github.com/komyg"><code>@​komyg</code></a>, and <a href="https://github.com/meskill"><code>@​meskill</code></a> for your first PRs!</p>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/blob/main/CHANGELOG.md"><code>@​babel/plugin-proposal-object-rest-spread</code>'s changelog</a>.</em></p>
<blockquote>
<h2>v7.15.6 (2021-09-09)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>, <code>babel-plugin-proposal-pipeline-operator</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13668">#13668</a> Fix right precedence of Hack pipes (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-parser</code>, <code>babel-plugin-proposal-pipeline-operator</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13668">#13668</a> Fix right precedence of Hack pipes (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-proposal-object-rest-spread</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13711">#13711</a> fix: Duplicate function call in variable destructuring (<a href="https://github.com/dan-kez"><code>@​dan-kez</code></a>)</li>
</ul>
</li>
<li><code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13733">#13733</a> id in import attributes should not be referenced (<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/13731">#13731</a> fix(babel-parser): Fix end of <code>range</code> of <code>SequenceExpression</code> (<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-helper-transform-fixture-test-runner</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13738">#13738</a> Use <code>types/node</code> for <code>vm</code> module (<a href="https://github.com/wafuwafu13"><code>@​wafuwafu13</code></a>)</li>
</ul>
</li>
<li><code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13737">#13737</a> Remove duplicate <code>dependency</code> and <code>devDependency</code> in preset-env (<a href="https://github.com/fyzhu"><code>@​fyzhu</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.15.5 (2021-09-04)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13727">#13727</a> Disallow <code>#a in #b in c</code> and similar expressions (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>↩️ Revert</h4>
<ul>
<li><code>babel-core</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13732">#13732</a> Revert &quot;fix: non breaking align options naming&quot; (<a href="https://github.com/fedeci"><code>@​fedeci</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.15.4 (2021-09-02)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-helper-create-class-features-plugin</code>, <code>babel-helpers</code>, <code>babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining</code>, <code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-private-methods</code>, <code>babel-plugin-proposal-private-property-in-object</code>, <code>babel-preset-env</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13601">#13601</a> Disallow reinitializing private elements (<a href="https://github.com/komyg"><code>@​komyg</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13638">#13638</a> [eslint] Allow <code>&quot;latest&quot;</code> as <code>ecmaVersion</code> (<a href="https://github.com/fisker"><code>@​fisker</code></a>)</li>
<li><code>babel-traverse</code>, <code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13723">#13723</a> <code>getBindingIdentifiers</code> should return params for private methods (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13715">#13715</a> [babel 8] fix: stricter rest element builder check (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-compilation-targets</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13697">#13697</a> fix: pass <code>browserslistEnv</code> to <code>resolveTargets</code> (<a href="https://github.com/meskill"><code>@​meskill</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-private-property-in-object</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13656">#13656</a> fix: fix static private field shadowed by local variable (<a href="https://github.com/colinaaa"><code>@​colinaaa</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-transform-typescript</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13664">#13664</a> [ts] Fix transform for nested namespaces shorthand syntax (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13680">#13680</a> fix(babel-parser): delete <code>static</code> property from class static block for TS (<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>)</li>
</ul>
</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="34a27e46f8"><code>34a27e4</code></a> v7.15.6</li>
<li><a href="40e43f5a14"><code>40e43f5</code></a> fix: Duplicate function call in variable destructuring (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-object-rest-spread/issues/13711">#13711</a>)</li>
<li>See full diff in <a href="https://github.com/babel/babel/commits/v7.15.6/packages/babel-plugin-proposal-object-rest-spread">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@babel/plugin-proposal-object-rest-spread&package-manager=npm_and_yarn&previous-version=7.14.7&new-version=7.15.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

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

 ---

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

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

</details>

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

Reviewed By: timur-valiev

Differential Revision: D30961755

Pulled By: mweststrate

fbshipit-source-id: 45ab95bb3e121571a6da8c8786ddbdecbdb6163f
2021-09-29 04:38:38 -07:00
dependabot[bot]
f5e4d27bc4 Bump pretty-format from 27.1.0 to 27.2.0 in /desktop (#2861)
Summary:
Bumps [pretty-format](https://github.com/facebook/jest/tree/HEAD/packages/pretty-format) from 27.1.0 to 27.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/releases">pretty-format's releases</a>.</em></p>
<blockquote>
<h2>27.2.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-resolver, jest-runtime]</code> Pass <code>conditions</code> to custom resolvers to enable them to implement support for package.json <code>exports</code> field (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11859">#11859</a>)</li>
<li><code>[jest-runtime]</code> Allow custom envs to specify <code>exportConditions</code> which is passed together with Jest's own conditions to custom resolvers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11863">#11863</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[jest/reporters]</code> Use async transform if available to transform files with no coverage (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11852">#11852</a>)</li>
<li><code>[jest-util]</code> Return correct value from <code>process.send</code> stub (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11799">#11799</a>)</li>
</ul>
<h2>27.1.1</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-runtime]</code> Add experimental, limited (and undocumented) support for mocking ECMAScript Modules (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11818">#11818</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[jest-resolver]</code> Support <code>node:</code> prefix when importing Node core modules with ESM (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11817">#11817</a>)</li>
<li><code>[jest-types]</code> Export the <code>PrettyFormatOptions</code> interface (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11801">#11801</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/blob/main/CHANGELOG.md">pretty-format's changelog</a>.</em></p>
<blockquote>
<h2>27.2.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-resolver, jest-runtime]</code> Pass <code>conditions</code> to custom resolvers to enable them to implement support for package.json <code>exports</code> field (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11859">#11859</a>)</li>
<li><code>[jest-runtime]</code> Allow custom envs to specify <code>exportConditions</code> which is passed together with Jest's own conditions to custom resolvers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11863">#11863</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[jest/reporters]</code> Use async transform if available to transform files with no coverage (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11852">#11852</a>)</li>
<li><code>[jest-util]</code> Return correct value from <code>process.send</code> stub (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11799">#11799</a>)</li>
</ul>
<h2>27.1.1</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-runtime]</code> Add experimental, limited (and undocumented) support for mocking ECMAScript Modules (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11818">#11818</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[jest-resolver]</code> Support <code>node:</code> prefix when importing Node core modules with ESM (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11817">#11817</a>)</li>
<li><code>[jest-types]</code> Export the <code>PrettyFormatOptions</code> interface (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11801">#11801</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b05635c539"><code>b05635c</code></a> v27.2.0</li>
<li><a href="d6e5ddb0c3"><code>d6e5ddb</code></a> Rename all links to main (<a href="https://github.com/facebook/jest/tree/HEAD/packages/pretty-format/issues/11856">#11856</a>)</li>
<li><a href="111198b62d"><code>111198b</code></a> v27.1.1</li>
<li>See full diff in <a href="https://github.com/facebook/jest/commits/v27.2.0/packages/pretty-format">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: timur-valiev

Differential Revision: D30961750

Pulled By: mweststrate

fbshipit-source-id: 2c7a43755e840713b2233abbad7ce131785268b8
2021-09-29 04:38:38 -07:00