Commit Graph

224 Commits

Author SHA1 Message Date
Anton Nikolaev
2bee021966 Do not show Doctor warning on startup for already seen problems
Summary: Doctor sometimes can show false-positives and in such case there is no way to suppress showing warning message on each startup. To reduce annoyance I've added an option to save the problems already seen by user and show the Doctor warning only for new problems.

Reviewed By: mweststrate

Differential Revision: D19187095

fbshipit-source-id: 14c1fcc9674f47fbe0b5b0f2d5d1bceb47f7b45d
2020-01-02 08:55:15 -08:00
Michel Weststrate
d2a2e2ab75 Introduce async message queuing
Summary:
This diff introduces the logic for queueing incoming messages rather then directly processing them you are behind the `flipper_event_queue` GK.

The reason the queue processing is a bit complicated is to make the queue can be processed non-blocking, can be cancelled, and is safe to concurrency issues.
The idea here is that the queue is processed when we switch to a plugin, report it's progress, and abort the process when switching to another plugin without loosing any work.

This diff does not include
[x] updates to the UI (**SO DON"T LAND IN ISOLATION**)
[x] metrics to see the effect

The effect of the changes can be seen when profiling the application, before this change there are very regular CPU spikes (see the small yellow bar on the top):

https://pxl.cl/TQtl

These go away when the events are no longer processed
https://pxl.cl/TQtp

Reviewed By: nikoant

Differential Revision: D19095564

fbshipit-source-id: 0b8c3421acc4a4f240bf2aab5c1743132f69aa6e
2020-01-02 07:14:12 -08:00
greenkeeper[bot]
7f038c7148 Update deep-equal in group main to the latest version � (#705)
Summary:
## The dependency [deep-equal](https://github.com/inspect-js/node-deep-equal) was updated from `1.1.1` to `2.0.1`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [ljharb](https://www.npmjs.com/~ljharb)
**License:** MIT

[Find out more about this release](https://github.com/inspect-js/node-deep-equal).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/705

Reviewed By: mweststrate

Differential Revision: D19141027

Pulled By: cekkaewnumchai

fbshipit-source-id: 2378cac6cd470af36c0995644f31459a885fa6a9
2019-12-30 09:30:30 -08:00
Chaiwat Ekkaewnumchai
a61ae2ec98 Update jest-fetch-mock to the latest version
Summary: per title

Reviewed By: mweststrate

Differential Revision: D19158693

fbshipit-source-id: 6913c2e1453f414746dae1fa5ba4a71c5fb806e0
2019-12-18 07:40:31 -08:00
Anton Nikolaev
b716b50729 Safer workaround for Android SDK detection with Java 9/10
Summary: Safer workaround for Android SDK detection with Java 9/10

Reviewed By: mweststrate

Differential Revision: D19158381

fbshipit-source-id: 8c4ce456543712204423f14abe8a1840308c8bf9
2019-12-18 07:24:41 -08:00
greenkeeper[bot]
e705024010 Greenkeeper/@types/node 12.12.20 (#710)
Summary:
Fix https://github.com/facebook/flipper/issues/686
Pull Request resolved: https://github.com/facebook/flipper/pull/710

Reviewed By: nikoant

Differential Revision: D19157830

Pulled By: passy

fbshipit-source-id: 705be1906bd29362a531d821f0154569850ec6fa
2019-12-18 04:27:39 -08:00
greenkeeper[bot]
2ee251022b Update flow-bin to the latest version � (#700)
Summary:
## The devDependency [flow-bin](https://github.com/flowtype/flow-bin) was updated from `0.113.0` to `0.114.0`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [mroch](https://www.npmjs.com/~mroch)
**License:** MIT

[Find out more about this release](https://github.com/flowtype/flow-bin).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/700

Reviewed By: mweststrate

Differential Revision: D19087103

Pulled By: passy

fbshipit-source-id: 1e9c22a5a7b8e991b68596256900bfa69f974ee3
2019-12-18 02:18:31 -08:00
Pascal Hartig
521b6222cd Broaden ws range
Summary:
I believe we set this to a specific version because of an earlier security
warning from GitHub, but that's no longer needed and just creates
Greenkeeper spam.

Reviewed By: nikoant

Differential Revision: D19088846

fbshipit-source-id: f2c886f296d2ba87c40c3605633aeb73b262ca59
2019-12-18 02:14:03 -08:00
Anton Nikolaev
5eaa87c676 Rollback workaround for Android SDK detection
Summary: Rolling back workaround for Android SDK detection as it breaks detection with Java 8 while fixing Java 9+

Reviewed By: cekkaewnumchai

Differential Revision: D19146945

fbshipit-source-id: 2bea318d5f5cfafdf213d2ec73e837f6e86c9f33
2019-12-17 18:26:04 -08:00
Anton Nikolaev
5d17eede85 Workaround for Anrdoid SDK detection not working with Java 9+ installed
Summary: Workaround for Anrdoid SDK detection not working with Java 9+ installed

Reviewed By: mweststrate

Differential Revision: D19094906

fbshipit-source-id: a7c8c9c8403d25ecc9b2d95113718ddf1821a349
2019-12-16 16:40:09 -08:00
Denis Nedelyaev
be53990613 Add setting for skipping fbsource version check
Summary: Added a setting "Match local fbsource chekout", which inverserly corresponds to the `ignore_local_pin` setting in `flipper-launcher.toml`.

Reviewed By: passy

Differential Revision: D19030456

fbshipit-source-id: deaaf4e873a00bbc4e8bd3034353cf580df95a36
2019-12-16 07:01:01 -08:00
greenkeeper[bot]
4db9388984 Greenkeeper/promisify child process 3.1.3 (#697)
Summary:
Fixes the breakage that came with 3.1.2. Closes https://github.com/facebook/flipper/issues/694.
Pull Request resolved: https://github.com/facebook/flipper/pull/697

Reviewed By: mweststrate

Differential Revision: D19019119

Pulled By: passy

fbshipit-source-id: 59619ca5efb0c256a1e56349d5c7fa57dcc06e38
2019-12-16 04:53:09 -08:00
Michel Weststrate
8da2c8868b Expose Immer's produce from Flipper
Summary: Diff preparing for optimizing GraphQL (and other) plugins, and simplifying writing reducers by others

Reviewed By: nikoant

Differential Revision: D18930858

fbshipit-source-id: 91d176d77543978d65ea50635d4ed380690b1fa2
2019-12-13 07:11:43 -08:00
greenkeeper[bot]
cf512e5b83 Greenkeeper/pkg 4.4.1 (#691)
Summary:
Fix https://github.com/facebook/flipper/issues/681
Pull Request resolved: https://github.com/facebook/flipper/pull/691

Reviewed By: mweststrate

Differential Revision: D18929820

Pulled By: passy

fbshipit-source-id: 9e8b187ca257ab79326618029d5c0d3eba686a64
2019-12-12 08:05:01 -08:00
greenkeeper[bot]
7815618d84 chore(package): update websocket to version 1.0.31 (#693)
Summary:
Fix https://github.com/facebook/flipper/issues/677
Pull Request resolved: https://github.com/facebook/flipper/pull/693

Reviewed By: mweststrate

Differential Revision: D18929823

Pulled By: passy

fbshipit-source-id: 41c459eca8a732eb60f2e637687c4f8d69ec009c
2019-12-12 07:57:16 -08:00
greenkeeper[bot]
838fb7b274 Greenkeeper/eslint plugin import 2.19.0 (#689)
Summary:
https://github.com/facebook/flipper/issues/683
Pull Request resolved: https://github.com/facebook/flipper/pull/689

Reviewed By: mweststrate

Differential Revision: D18929813

Pulled By: passy

fbshipit-source-id: 2afd26bc820c9703e92f615e5620884aaaf2266b
2019-12-11 10:08:47 -08:00
Anton Nikolaev
c0f902f81a Upgrade to emotion v10
Summary: React 16 is not compatible with react-emotion 9 (it prints warnings, see also https://github.com/emotion-js/emotion/issues/644). So we should upgrade to 10.

Reviewed By: mweststrate

Differential Revision: D18905889

fbshipit-source-id: c00d2dbbadb1c08544632cb9bfcd63f2b1818a25
2019-12-11 09:43:24 -08:00
greenkeeper[bot]
99547168fc Update live-plugin-manager to the latest version � (#679)
Summary:
## The dependency [live-plugin-manager](https://github.com/davideicardi/live-plugin-manager) was updated from `0.13.2` to `0.14.0`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [davideicardi](https://www.npmjs.com/~davideicardi)
**License:** ISC

<details>
<summary>Release Notes for v0.14.0</summary>

<ul>
<li>compatibility with recent node versions</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 3 commits.</p>
<ul>
<li><a href="5fb7e8a1ed"><code>5fb7e8a</code></a> <code>0.14.0</code></li>
<li><a href="d141cbfd4d"><code>d141cbf</code></a> <code>fix: node v12 support+update dependencies</code></li>
<li><a href="62ff0ef291"><code>62ff0ef</code></a> <code>Enable esModuleInterop (https://github.com/facebook/flipper/issues/16)</code></li>
</ul>
<p>See the <a href="bda77f970a...5fb7e8a1ed">full diff</a></p>
</details>

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/679

Reviewed By: mweststrate

Differential Revision: D18910892

Pulled By: passy

fbshipit-source-id: a7b7e3b1fed0c2ab3bc6dd6ba3b6b14c5cddd51c
2019-12-11 05:50:42 -08:00
greenkeeper[bot]
83c3cf3688 Greenkeeper/@types/react 16.9.14
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/672

Reviewed By: jknoxville

Differential Revision: D18834245

Pulled By: passy

fbshipit-source-id: 352561d95c9489df6b675910a4c64548d93b4f30
2019-12-06 07:47:26 -08:00
Pascal Hartig
425d4b9024 Greenkeeper/eslint plugin relay 1.4.1 (#674)
Summary:
Fix https://github.com/facebook/flipper/issues/654
Pull Request resolved: https://github.com/facebook/flipper/pull/674

Reviewed By: jknoxville

Differential Revision: D18851150

Pulled By: passy

fbshipit-source-id: 6a9125c6dad047af9a0605167ecfe83d978a2a48
2019-12-06 06:29:42 -08:00
Pascal Hartig
2a1e939a0b Greenkeeper/eslint 6.7.0 (#671)
Summary:
Checking if this still causes problems.
Pull Request resolved: https://github.com/facebook/flipper/pull/671

Reviewed By: mweststrate

Differential Revision: D18829501

Pulled By: passy

fbshipit-source-id: 3805533ac637e34818a59ce182c694468c5a9d10
2019-12-05 07:17:33 -08:00
greenkeeper[bot]
d9f17d9a51 Update flow-bin to the latest version � (#670)
Summary:
## The devDependency [flow-bin](https://github.com/flowtype/flow-bin) was updated from `0.112.0` to `0.113.0`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [gkz](https://www.npmjs.com/~gkz)
**License:** MIT

[Find out more about this release](https://github.com/flowtype/flow-bin).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/670

Reviewed By: jknoxville

Differential Revision: D18808209

Pulled By: passy

fbshipit-source-id: 8c51437d1dfbadd0c07d7f96d510dd5dc1ca868f
2019-12-04 05:12:06 -08:00
Michel Weststrate
3e8a026618 Display uploaded media
Summary:
* Make sure uploadIDs are converted into CDN urls and displayed
* Changed type of uploadID's to strings, as numbers are

Reviewed By: priteshrnandgaonkar

Differential Revision: D18762974

fbshipit-source-id: d94af61b0bc114b5f0cc2bfcde98fd491058e971
2019-12-02 11:41:31 -08:00
greenkeeper[bot]
bf85da17ab Update @types/react to the latest version � (#659)
Summary:
## The devDependency [types/react](https://github.com/DefinitelyTyped/DefinitelyTyped) was updated from `16.9.11` to `16.9.12`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [types](https://www.npmjs.com/~types)
**License:** MIT

[Find out more about this release](https://github.com/DefinitelyTyped/DefinitelyTyped).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/659

Reviewed By: passy

Differential Revision: D18673007

Pulled By: cekkaewnumchai

fbshipit-source-id: feaef03f55b8e8aba9d898700c49acf72e2172cc
2019-11-28 03:13:47 -08:00
Pascal Hartig
a75a52a25b Back out Electron 7.1.1/7.1.2 upgrades
Summary:
Original commit changeset: eddfbb3571c7
Original commit changeset: f7300f527b65

Pains me to do this, but probably our best chance right now to get a release out.

Reviewed By: cekkaewnumchai

Differential Revision: D18687890

fbshipit-source-id: 05d13aca71457ca6dd19f5b45d58158ae223e66f
2019-11-26 05:30:34 -08:00
John Knox
adb1cb163b Upgrade doctor version
Summary: Removes android_home check, which is included in android_sdk check

Reviewed By: passy

Differential Revision: D18689233

fbshipit-source-id: 378b316b4bfddcf660af5d91a5271b47df441d88
2019-11-26 05:30:34 -08:00
greenkeeper[bot]
8efe50afd2 Update @types/rsocket-core to the latest version � (#658)
Summary:
## The devDependency [types/rsocket-core](https://github.com/DefinitelyTyped/DefinitelyTyped) was updated from `0.0.2` to `0.0.3`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [types](https://www.npmjs.com/~types)
**License:** MIT

[Find out more about this release](https://github.com/DefinitelyTyped/DefinitelyTyped).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/658

Reviewed By: passy

Differential Revision: D18672998

Pulled By: cekkaewnumchai

fbshipit-source-id: 6d39c50f9a69d4a1f3c067290f921484dae34968
2019-11-26 05:30:33 -08:00
greenkeeper[bot]
7d81e28461 Update rsocket-tcp-server to the latest version � (#652)
Summary:
## The dependency [rsocket-tcp-server](https://github.com/rsocket/rsocket-js) was updated from `0.0.17` to `0.0.18`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [stevegury](https://www.npmjs.com/~stevegury)
**License:** BSD-3-Clause

[Find out more about this release](https://github.com/rsocket/rsocket-js).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/652

Reviewed By: passy

Differential Revision: D18672992

Pulled By: cekkaewnumchai

fbshipit-source-id: 790f3234c36c227427c4eb8aeb46f25310aba7d5
2019-11-26 05:30:33 -08:00
greenkeeper[bot]
7687bd061e Update rsocket-core to the latest version � (#651)
Summary:
## The dependency [rsocket-core](https://github.com/rsocket/rsocket-js) was updated from `0.0.17` to `0.0.18`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [stevegury](https://www.npmjs.com/~stevegury)
**License:** BSD-3-Clause

[Find out more about this release](https://github.com/rsocket/rsocket-js).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/651

Reviewed By: passy

Differential Revision: D18672983

Pulled By: cekkaewnumchai

fbshipit-source-id: 6da4c900a1d1c1b5589f35c21128cf2ffc6db48f
2019-11-26 05:30:33 -08:00
greenkeeper[bot]
68d752dd21 Update rsocket-tcp-server to the latest version � (#650)
Summary:
## The dependency [rsocket-tcp-server](https://github.com/rsocket/rsocket-js) was updated from `0.0.16` to `0.0.17`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [stevegury](https://www.npmjs.com/~stevegury)
**License:** BSD-3-Clause

[Find out more about this release](https://github.com/rsocket/rsocket-js).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/650

Reviewed By: passy

Differential Revision: D18626836

Pulled By: cekkaewnumchai

fbshipit-source-id: d47926f1119f369676e42a346be8953b4a90a708
2019-11-21 04:19:02 -08:00
greenkeeper[bot]
8d0812d435 Update rsocket-core to the latest version � (#649)
Summary:
## The dependency [rsocket-core](https://github.com/rsocket/rsocket-js) was updated from `0.0.16` to `0.0.17`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [stevegury](https://www.npmjs.com/~stevegury)
**License:** BSD-3-Clause

[Find out more about this release](https://github.com/rsocket/rsocket-js).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/649

Reviewed By: passy

Differential Revision: D18626827

Pulled By: cekkaewnumchai

fbshipit-source-id: e3b7a05f6eaa987feb9cac8bee0b27eb54e14fe4
2019-11-21 04:19:01 -08:00
Anton Nikolaev
ddb135ac39 Basic Doctor UI
Summary:
- Basic Doctor UI showing issues with installation
- Run healthchecks in background on startup and show warning message if something is wrong

Reviewed By: jknoxville

Differential Revision: D18502599

fbshipit-source-id: 194939a080ba7412ed3293d95c533bfad7031d3b
2019-11-21 03:10:36 -08:00
greenkeeper[bot]
c1de6f4276 Update electron to the latest version (#645)
Summary:
## The devDependency [electron](https://github.com/electron/electron) was updated from `7.1.1` to `7.1.2`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [electron-nightly](https://www.npmjs.com/~electron-nightly)
**License:** MIT

[Find out more about this release](https://github.com/electron/electron).

 ---

  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/645

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

Reviewed By: jknoxville

Differential Revision: D18613576

Pulled By: cekkaewnumchai

fbshipit-source-id: eddfbb3571c79ba79fae8078c98d74090cbff4f6
2019-11-21 02:52:58 -08:00
greenkeeper[bot]
1fefab270d Update react to the latest version � (#640)
Summary:
## There have been updates to the *react* monorepo:

- The `dependency` [react](https://github.com/facebook/react) was updated from `16.11.0` to `16.12.0`.
- The `dependency` [react-dom](https://github.com/facebook/react) was updated from `16.11.0` to `16.12.0`.
- The `dependency` [react-test-renderer](https://github.com/facebook/react) was updated from `16.11.0` to `16.12.0`.

These versions are **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

This monorepo update includes releases of one or more dependencies which all belong to the [react group definition](https://github.com/greenkeeperio/monorepo-definitions).

 ---

**Publisher:** [lunaruan](https://www.npmjs.com/~lunaruan)
**License:** MIT

[Find out more about this release](https://github.com/facebook/react).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/640

Reviewed By: jknoxville

Differential Revision: D18527628

Pulled By: passy

fbshipit-source-id: 712f7be03091ee7f7de08408714cc599c9f1fe42
2019-11-20 02:56:00 -08:00
John Knox
352d9c82cb Add Markdown component to render markdown
Summary:
Adds a Markdown component to the component library.

The react-markdown library doesn't work out of the box because elements it outputs don't have any styles, e.g. h1, h2, p, em, etc.

So I've added a custom renderer to give styles to each of these that workplace markdown uses.
The only one I haven't done at the moment that I'm aware of is numbered-lists.

There's probably a way to get back the original styling of these elements so we don't need a custom renderer, but this works for now, and also allows us to customise their appearance.

Reviewed By: passy

Differential Revision: D18533085

fbshipit-source-id: a4332a11d34d577a6300074e4dde126362d46a6b
2019-11-19 05:52:51 -08:00
Pascal Hartig
9faea2acec Bump to Flow 0.112
Summary: Surprisingly, this didn't require any code changes. \o/

Reviewed By: mweststrate

Differential Revision: D18527897

fbshipit-source-id: a69744374f6f6e4d2b3e3acf67d5303b3882b5c3
2019-11-19 02:52:39 -08:00
Pascal Hartig
50555c5ca1 Bump to Flow 0.111
Summary:
Not the most recent release but this upgrade works now
with the stack of diffs underneath. Will do 0.112 next.

Reviewed By: mweststrate

Differential Revision: D18527871

fbshipit-source-id: 2346b9dac86768deec7b3cb9039adb1d76cb2d7e
2019-11-19 02:52:39 -08:00
greenkeeper[bot]
bf336ccf6c Update yargs in group main to the latest version � (#642)
Summary:
## The dependency [yargs](https://github.com/yargs/yargs) was updated from `14.2.1` to `15.0.1`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [bcoe](https://www.npmjs.com/~bcoe)
**License:** MIT

<details>
<summary>Release Notes for yargs v15.0.1</summary>

<h3>Bug Fixes</h3>
<ul>
<li><strong>deps:</strong> cliui, find-up, and string-width, all drop Node 6 support (<a href="https://www.github.com/yargs/yargs/issues/1479">#1479</a>) (<a href="6a9ebe2d95">6a9ebe2</a>)</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 22 commits ahead by 22, behind by 2.</p>
<ul>
<li><a href="aa09faf708"><code>aa09faf</code></a> <code>chore: release 15.0.1 (#1480)</code></li>
<li><a href="6a9ebe2d95"><code>6a9ebe2</code></a> <code>fix(deps): cliui, find-up, and string-width, all drop Node 6 support (#1479)</code></li>
<li><a href="5cc2b5e15b"><code>5cc2b5e</code></a> <code>chore: release 15.0.0 (#1462)</code></li>
<li><a href="62a114a90a"><code>62a114a</code></a> <code>force build</code></li>
<li><a href="1840ba22f1"><code>1840ba2</code></a> <code>feat: expose <code>Parser</code> from <code>require('yargs/yargs')</code> (#1477)</code></li>
<li><a href="afd5b4871b"><code>afd5b48</code></a> <code>fix(docs): update boolean description and examples in docs (#1474)</code></li>
<li><a href="c10c38cca0"><code>c10c38c</code></a> <code>feat(deps)!: yargs-parser now throws on invalid combinations of config (#1470)</code></li>
<li><a href="0cba424d8b"><code>0cba424</code></a> <code>build: switch to release-please for releases (#1471)</code></li>
<li><a href="445bc587d8"><code>445bc58</code></a> <code>chore: update engines to note Node 6 is dropped (#1469)</code></li>
<li><a href="52d875a46d"><code>52d875a</code></a> <code>test: add additional test for 1459</code></li>
<li><a href="12c82e6266"><code>12c82e6</code></a> <code>fix: stop-parse was not being respected by commands (#1459)</code></li>
<li><a href="b4812ac99a"><code>b4812ac</code></a> <code>test: add tests for argsert warning to display positional information (#1468)</code></li>
<li><a href="10f10ee189"><code>10f10ee</code></a> <code>test: cover missing filter arg in obj-filter (#1467)</code></li>
<li><a href="cb0396fda2"><code>cb0396f</code></a> <code>build: switch to c8 for coverage (#1464)</code></li>
<li><a href="ebee59d902"><code>ebee59d</code></a> <code>fix!: update to yargs-parser with fix for array default values (#1463)</code></li>
</ul>
<p>There are 22 commits in total.</p>
<p>See the <a href="2fe88f5e22...aa09faf708">full diff</a></p>
</details>

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/642

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

Reviewed By: mweststrate

Differential Revision: D18561405

Pulled By: cekkaewnumchai

fbshipit-source-id: 10548df44311e74630e047004f22307a7339b673
2019-11-18 02:21:45 -08:00
Pascal Hartig
7a148ef7a6 Search for update logic
Summary:
To be used in the following diff and because it's super side effect
heavy, I didn't bother to implement tests for it.

Reviewed By: jknoxville

Differential Revision: D18479311

fbshipit-source-id: 5cbcae0ebf2de4558b993325e50f6a2da1ed3ea7
2019-11-14 08:53:15 -08:00
Pritesh Nandgaonkar
8afc1b67f3 Record and display videos
Summary:
This diff adds one more section in the Support Screen V2. This section records and displays the emulator screen. Right now the videos are stored at the very same location where our currently recorded videos are stored. For displaying them on UI I have used `react-player` dependency.

For the upload bit:

I will see how the exisiting e2e tests upload videos and if we can use their approach. Or else we can just upload videos on everstore and export its handle as part of flipper trace. The last resort can be to base64 encode it along with the trace.

Reviewed By: mweststrate

Differential Revision: D18460779

fbshipit-source-id: 8ddd51f59e5237a1a80f05bf90dfc3bead651143
2019-11-14 06:28:19 -08:00
Chaiwat Ekkaewnumchai
a578b4d559 @allow-large-files [flipper][deps] Upgrade Electron (#636)
Summary:
allow-large-files

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

per title

Reviewed By: jknoxville

Differential Revision: D18374332

fbshipit-source-id: f7300f527b65b65caebac51c5bcf8f019dc34228
2019-11-13 10:51:16 -08:00
Michel Weststrate
677f7b5b5f Updated build deps to be able to use TS 3.7 features
Summary: Optional chaining was not actually usuable, since prettier and eslint weren't updated yet. Since they are released now, this diff fixes that

Reviewed By: jknoxville

Differential Revision: D18449890

fbshipit-source-id: 722110c6cfe328ef5a7e8d9d0cc42e5117e9f796
2019-11-13 08:36:54 -08:00
greenkeeper[bot]
e7a063e2c3 Update chalk to the latest version � (#632)
Summary:
## The dependency [chalk](https://github.com/chalk/chalk) was updated from `2.4.2` to `3.0.0`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [sindresorhus](https://www.npmjs.com/~sindresorhus)
**License:** MIT

[Find out more about this release](https://github.com/chalk/chalk).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/632

Reviewed By: jknoxville

Differential Revision: D18449136

Pulled By: passy

fbshipit-source-id: 066878bbce1c0bdeed8da497c07af97756a13439
2019-11-12 10:24:16 -08:00
Pascal Hartig
4c0c212258 TypeScript 3.7!
Summary:
The prep work paid off. Seems to Just Work.
Now goeth ahead, little flock, and spread the good word of Optional Chaining.

More stuff here: https://devblogs.microsoft.com/typescript/announcing-typescript-3-7/

allow-large-files

Reviewed By: mweststrate

Differential Revision: D18347372

fbshipit-source-id: 735d4a1e2d33bffaa47761f86eb4f43a044c3d3b
2019-11-06 08:33:35 -08:00
Michel Weststrate
b2cf34bc2f Eliminate buffer deprecation warning
Summary: Fixed deprecated Buffer warning that is shown at startup

Reviewed By: passy

Differential Revision: D18272158

fbshipit-source-id: ca932b1ff76f15e5563e21de66463a47616600d9
2019-11-04 09:21:59 -08:00
Chaiwat Ekkaewnumchai
c1130a167b Upgrade React-Redux (2nd attempt)
Summary:
- Update and include `react-redux` to Greenkeeper
- Remove legacy context which is used to access `store`
- Export `store` directly to use instead of legacy context

Note:
1st attempt: D18169584 -> got backouted in D18203354

Reviewed By: jknoxville

Differential Revision: D18297298

fbshipit-source-id: fd968f1b211eabb094113a0b35e84305f70117fc
2019-11-04 07:44:08 -08:00
greenkeeper[bot]
da21b6add2 Update string-natural-compare to the latest version � (#619)
Summary:
## The dependency [string-natural-compare](https://github.com/nwoltman/string-natural-compare) was updated from `2.0.3` to `3.0.0`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [nwoltman](https://www.npmjs.com/~nwoltman)
**License:** MIT

<details>
<summary>Release Notes for 3.0.0</summary>

<h3>BREAKING CHANGES</h3>
<ul>
<li>Update code to use ES2015 syntax (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="6d9d8c036b/hovercard" href="6d9d8c036b"><tt>6d9d8c0</tt></a>)</li>
<li>Throw on non-string arguments and replace the caseInsensitive function with an option (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="65d397ba75/hovercard" href="65d397ba75"><tt>65d397b</tt></a>)
<ul>
<li><code>naturalCompare()</code> now throws if either of the first two arguments are not a string.</li>
<li>Also, the <code>naturalCompare.caseInsensitive()</code> function has been removed. Pass <code>{caseInsensitive: true}</code> as the third parameter to <code>naturalCompare()</code> instead.</li>
</ul>
</li>
<li>Replace <code>naturalCompare.alphabet</code> with an <code>alphabet</code> option (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="6048bab315/hovercard" href="6048bab315"><tt>6048bab</tt></a>)
<ul>
<li><code>naturalCompare.alphabet</code> no longer exists for setting a custom alphabet. Use the new <code>alphabet</code> option instead.</li>
</ul>
</li>
</ul>
<h3>Improvements</h3>
<ul>
<li>Perf boost with custom alphabet (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="21e061a6c8/hovercard" href="21e061a6c8"><tt>21e061a</tt></a>)</li>
</ul>
<h3>Polish</h3>
<ul>
<li>Simplify if statements that handle leading zeros (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="fcaae03b2b/hovercard" href="fcaae03b2b"><tt>fcaae03</tt></a>)</li>
<li>Replace <code>var</code> with <code>let</code> and <code>const</code> (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="e4de3f28b6/hovercard" href="e4de3f28b6"><tt>e4de3f2</tt></a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Make explanation a little clearer (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="464e890e92/hovercard" href="464e890e92"><tt>464e890</tt></a>)</li>
<li>Simplify a section of the readme (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="4a4ca90b75/hovercard" href="4a4ca90b75"><tt>4a4ca90</tt></a>)</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 15 commits.</p>
<ul>
<li><a href="3e0a51624e"><code>3e0a516</code></a> <code>v3.0.0</code></li>
<li><a href="e7035cdf6b"><code>e7035cd</code></a> <code>refactor: Add comments to indicate the actual character for character code numbers</code></li>
<li><a href="e4de3f28b6"><code>e4de3f2</code></a> <code>refactor: Replace <code>var</code> with <code>let</code> and <code>const</code></code></li>
<li><a href="fcaae03b2b"><code>fcaae03</code></a> <code>refactor: Simplify if statements that handle leading zeros</code></li>
<li><a href="e9e9b99896"><code>e9e9b99</code></a> <code>chore(ci): Fix coverage reporting</code></li>
<li><a href="d9c9de755a"><code>d9c9de7</code></a> <code>deps: Update devDependencies and benchmark dependencies</code></li>
<li><a href="6048bab315"><code>6048bab</code></a> <code>refactor!: Replace <code>naturalCompare.alphabet</code> with an <code>alphabet</code> option</code></li>
<li><a href="21e061a6c8"><code>21e061a</code></a> <code>improvement: Perf boost with custom alphabet</code></li>
<li><a href="65d397ba75"><code>65d397b</code></a> <code>refactor!: Throw on non-string arguments and replace the caseInsensitive function with an option</code></li>
<li><a href="6d9d8c036b"><code>6d9d8c0</code></a> <code>refactor!: Update code to use ES2015 syntax</code></li>
<li><a href="8fa47814db"><code>8fa4781</code></a> <code>test: Add tests to get back to 100% coverage</code></li>
<li><a href="bba68db636"><code>bba68db</code></a> <code>internal: Remove grunt and update dependencies</code></li>
<li><a href="c0f5ca613d"><code>c0f5ca6</code></a> <code>ci: Test on latest Node.js versions and only run releases once</code></li>
<li><a href="4a4ca90b75"><code>4a4ca90</code></a> <code>docs: Simplify a section of the readme</code></li>
<li><a href="464e890e92"><code>464e890</code></a> <code>readme: Make explanation a little clearer</code></li>
</ul>
<p>See the <a href="2f70d49a9f...3e0a51624e">full diff</a></p>
</details>

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/619

Reviewed By: jknoxville

Differential Revision: D18269202

Pulled By: passy

fbshipit-source-id: 88421f02a213fe6f813512d37d39f9b5ab2460a4
2019-11-01 09:08:42 -07:00
Chaiwat Ekkaewnumchai
7017ed3458 Update React-Redux
Summary:
D18169584 introduced state error which I didn't notice. This diff reverted the diff.
`hg backout D18169584`

Original commit changeset: 77a8b034c5e4

Reviewed By: jknoxville

Differential Revision: D18203354

fbshipit-source-id: 3e281f1e8c7e1d2bf41665adfa5ce5f13daca3a1
2019-10-29 12:14:27 -07:00
greenkeeper[bot]
f85e366c04 Greenkeeper/@types/react 16.9.11 (#611)
Summary:
Update.
Pull Request resolved: https://github.com/facebook/flipper/pull/611

Reviewed By: jknoxville

Differential Revision: D18169458

Pulled By: passy

fbshipit-source-id: 2aac11ff7fb6064904e817dbaf6b7f58d31da9ca
2019-10-28 08:35:16 -07:00
Chaiwat Ekkaewnumchai
18ea77690e Update React-Redux
Summary: Update and include `react-redux` to Greenkeeper

Reviewed By: passy

Differential Revision: D18169584

fbshipit-source-id: 77a8b034c5e4a13a2ba6c82895e1aee9d852375e
2019-10-28 08:08:39 -07:00