Commit Graph

919 Commits

Author SHA1 Message Date
Michel Weststrate
9cdb36ec0e Add --public-build option to start an OSS like build of Flipper
Summary: This diff adds the `--public-build` option which allows run a devServer emulating the OSS version of flipper. Technical details are explained in the comments.

Reviewed By: passy, nikoant

Differential Revision: D25944966

fbshipit-source-id: 540855808179582752b8aa646f0b8afd4b78396f
2021-01-18 06:48:03 -08:00
Michel Weststrate
7a1717fa87 Clean up App duplication
Summary: fb/App didn't really have a difference with fb-stubs/App, except that one checks for employee presence. However, since that is already controlled by config.checkFbEmployee, de-duped this to a single `<AppWrapper>` component, making the code a bit more easy to follow

Reviewed By: priteshrnandgaonkar

Differential Revision: D25824521

fbshipit-source-id: 8e16f0b29ec5d12475eaf14acd9dbc7df91191a2
2021-01-18 06:48:03 -08:00
Michel Weststrate
bf6655a640 Clean up SandySettingsPanel
Summary: The fb and non-fb sandy settings are now identical (see diff 1 of this stack), so inlined the component and dropped the files

Reviewed By: priteshrnandgaonkar

Differential Revision: D25824522

fbshipit-source-id: 5a388b3f7259cb96f0e45ceb3363c40e4f198d7b
2021-01-18 06:48:03 -08:00
Michel Weststrate
ffeb47ed75 Move title bar functionality to rail (#1816)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/1816

Now that Sandy is the default in OSS builds as well, we can remove the temporarily title bar and switch to small topbar windows in Electron.

This diff removes any remaining elements in the titlebar

- version number went into the title bar
- the update check warning is shown on top of the bottom section of the left rail (orange triangle)
- the development only perf graphs are moved to the left bar as well and are now aligned vertically.

Reviewed By: jknoxville

Differential Revision: D25805957

fbshipit-source-id: fba4b60c246b8f5d99a93087af31af9ac55defe8
2021-01-18 06:48:03 -08:00
Michel Weststrate
bd6c5c0f71 Remove AutoUpdateVersion
Summary: With Sandy we don't have a designed UI for the auto updater, and since this functionality has been disabled for almost a year, we can safely remove it for now until we have the underlying infra, and then rethink the UI if we ever re-introduce it

Reviewed By: passy

Differential Revision: D25804854

fbshipit-source-id: fd96624ffd44e373e8f2c454a67b3797b16779a6
2021-01-18 06:48:02 -08:00
Michel Weststrate
1d23e043de Open Sandy by default to OSS users
Summary:
Removed all `GK.get('flipper_sandy') ` checks to make Sandy the default in public builds as well.

Changelog: Public OSS builds will now use Sandy by default

Reviewed By: passy

Differential Revision: D25803498

fbshipit-source-id: 17b0b431cd30ebcf1c308af0ce63a05b3798741e
2021-01-18 06:48:02 -08:00
Pritesh Nandgaonkar
439601e20c Fix Screen recorder not stopping
Summary:
This fixes the issue raised [here](https://fb.workplace.com/groups/flippersupport/permalink/1059080941239230/) I added the `-l` tag which is for sending signal

{F360746398}

Reviewed By: jknoxville

Differential Revision: D25945336

fbshipit-source-id: a1d8eaf3888072a64ab682fbbc60c03c15ac023a
2021-01-18 06:17:52 -08:00
generatedunixname89002005306973
06d92002e2 Flipper Release: v0.71.0
Summary: Releasing version 0.71.0

Reviewed By: priteshrnandgaonkar

Differential Revision: D25897817

fbshipit-source-id: afbb63a381636ce0d8d8a4ecb2636c601f39e932
2021-01-17 16:42:22 -08:00
Scott Kensell
8eb2243f5f Added hub icon.
Summary: This adds the hub icon to the list of available icons.

Reviewed By: mweststrate

Differential Revision: D25873343

fbshipit-source-id: 0060a1a2e3e6298eb39cb652a5e3dbc71c01367e
2021-01-12 11:34:56 -08:00
dependabot[bot]
109ee4e4e5 Bump ws from 7.3.0 to 7.4.2 in /desktop (#1827)
Summary:
Bumps [ws](https://github.com/websockets/ws) from 7.3.0 to 7.4.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/websockets/ws/releases">ws's releases</a>.</em></p>
<blockquote>
<h2>7.4.2</h2>
<h1>Bug fixes</h1>
<ul>
<li>Silenced a deprecation warning (d1a8af4d).</li>
</ul>
<h2>7.4.1</h2>
<h1>Bug fixes</h1>
<ul>
<li>Added a workaround for a double <code>'error'</code> event bug in Node.js &lt; 13 which
caused an uncaught error during the WebSocket handshake (38d6ab3b).</li>
</ul>
<h2>7.4.0</h2>
<h1>Features</h1>
<ul>
<li>The callback of <code>WebSocketServer.prototype.handleUpgrade()</code> now takes the
client HTTP GET request as second argument (7d39f19e).</li>
</ul>
<h1>Bug fixes</h1>
<ul>
<li>Read-only properties are now read-only (eabed8fc).</li>
<li>The <code>CONNECTING</code>, <code>OPEN</code>, <code>CLOSING</code>, <code>CLOSED</code>, <code>binaryType</code>, <code>bufferedAmount</code>,
<code>extensions</code>, <code>onclose</code>, <code>onerror</code>, <code>onmessage</code>, <code>onopen</code>, <code>protocol</code>,
<code>readyState</code>, and <code>url</code> properties are now enumerable (2069e684).</li>
</ul>
<h2>7.3.1</h2>
<h1>Bug fixes</h1>
<ul>
<li>Improved <code>websocket.bufferedAmount</code> accuracy (e1349c04, a1629426).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d1a8af4ddb"><code>d1a8af4</code></a> [dist] 7.4.2</li>
<li><a href="48a2349d22"><code>48a2349</code></a> [pkg] Update eslint-config-prettier to version 7.1.0</li>
<li><a href="a2c0d447af"><code>a2c0d44</code></a> [minor] Silence deprecation warning</li>
<li><a href="c171962844"><code>c171962</code></a> [dist] 7.4.1</li>
<li><a href="38d6ab3b06"><code>38d6ab3</code></a> [fix] Handle cases where the <code>'error'</code> event is emitted multiple times</li>
<li><a href="3d5066a7ca"><code>3d5066a</code></a> [test] Check configurability and enumerability of WebSocket properties</li>
<li><a href="eb36a63183"><code>eb36a63</code></a> [dist] 7.4.0</li>
<li><a href="3f185bf34a"><code>3f185bf</code></a> [minor] Use the public <code>binaryType</code> property</li>
<li><a href="2069e68470"><code>2069e68</code></a> [fix] Fix the enumerability of some properties</li>
<li><a href="eabed8fcc3"><code>eabed8f</code></a> [fix] Make read-only properties read-only</li>
<li>Additional commits viewable in <a href="https://github.com/websockets/ws/compare/7.3.0...7.4.2">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D25870560

Pulled By: passy

fbshipit-source-id: e71365ab725d18bd89f93854087437703da477c4
2021-01-12 09:47:47 -08:00
dependabot[bot]
5d1a902634 Bump @types/react-dom from 16.9.9 to 17.0.0 in /desktop (#1826)
Summary:
Bumps [types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 16.9.9 to 17.0.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/react-dom&package-manager=npm_and_yarn&previous-version=16.9.9&new-version=17.0.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/1826

Reviewed By: mweststrate

Differential Revision: D25870617

Pulled By: passy

fbshipit-source-id: 7615116bba7259bcd352e7772118a12204c5d01e
2021-01-12 09:40:08 -08:00
Anton Nikolaev
a6599963ec Fix the issue with plugin installation from npm
Summary: https://github.com/facebook/flipper/issues/1818

Reviewed By: jknoxville

Differential Revision: D25870562

fbshipit-source-id: 0d62626355b35505089990cfdb592b0ea4b84fda
2021-01-11 10:50:42 -08:00
bizzguy
f806ee41d7 Network plugin - fix issue with responses with empty body (#1776)
Summary:
The Network Plugin does not properly handle network requests that return an empty body (because of the body actually being empty or because the network call returns something like a 404 status).

Also, the creation of mocks using the "Copy Highlighted" command when the original response returns an empty body is not handled properly.

## Fix

The Android plugin now returns a response when the body length is 0.

The client plugin creates a body containing an empty string instead of null when the body is empty.

## Changelog

Fix problem in Network Plugin when original call or mock has an empty body in the response.

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

Test Plan:
The following screen output for the Network Plugin shows that the call is now being handled correctly.  The fields for "status", "size" and "duration" are now populated.

Also, the mock calls are properly defined and shown in yellow.

![image](https://user-images.githubusercontent.com/337874/102738969-5edd5280-4311-11eb-9b46-33a57a50e334.png)

Reviewed By: mweststrate

Differential Revision: D25804212

Pulled By: passy

fbshipit-source-id: b31cc87619c604b4df76e05bca5c86554a1cabff
2021-01-07 04:15:18 -08:00
dependabot[bot]
02da9baa4b Bump axios from 0.21.0 to 0.21.1 in /desktop (#1811)
Summary:
Bumps [axios](https://github.com/axios/axios) from 0.21.0 to 0.21.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/axios/axios/releases">axios's releases</a>.</em></p>
<blockquote>
<h2>v0.21.1</h2>
<h3>0.21.1 (December 21, 2020)</h3>
<p>Fixes and Functionality:</p>
<ul>
<li>Hotfix: Prevent SSRF (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3410">#3410</a>)</li>
<li>Protocol not parsed when setting proxy config from env vars (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3070">#3070</a>)</li>
<li>Updating axios in types to be lower case (<a href="https://github-redirect.dependabot.com/axios/axios/issues/2797">#2797</a>)</li>
<li>Adding a type guard for <code>AxiosError</code> (<a href="https://github-redirect.dependabot.com/axios/axios/issues/2949">#2949</a>)</li>
</ul>
<p>Internal and Tests:</p>
<ul>
<li>Remove the skipping of the <code>socket</code> http test (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3364">#3364</a>)</li>
<li>Use different socket for Win32 test (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3375">#3375</a>)</li>
</ul>
<p>Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:</p>
<ul>
<li>Daniel Lopretto <a href="mailto:timemachine3030@users.noreply.github.com">timemachine3030@users.noreply.github.com</a></li>
<li>Jason Kwok <a href="mailto:JasonHK@users.noreply.github.com">JasonHK@users.noreply.github.com</a></li>
<li>Jay <a href="mailto:jasonsaayman@gmail.com">jasonsaayman@gmail.com</a></li>
<li>Jonathan Foster <a href="mailto:jonathan@jonathanfoster.io">jonathan@jonathanfoster.io</a></li>
<li>Remco Haszing <a href="mailto:remcohaszing@gmail.com">remcohaszing@gmail.com</a></li>
<li>Xianming Zhong <a href="mailto:chinesedfan@qq.com">chinesedfan@qq.com</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md">axios's changelog</a>.</em></p>
<blockquote>
<h3>0.21.1 (December 21, 2020)</h3>
<p>Fixes and Functionality:</p>
<ul>
<li>Hotfix: Prevent SSRF (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3410">#3410</a>)</li>
<li>Protocol not parsed when setting proxy config from env vars (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3070">#3070</a>)</li>
<li>Updating axios in types to be lower case (<a href="https://github-redirect.dependabot.com/axios/axios/issues/2797">#2797</a>)</li>
<li>Adding a type guard for <code>AxiosError</code> (<a href="https://github-redirect.dependabot.com/axios/axios/issues/2949">#2949</a>)</li>
</ul>
<p>Internal and Tests:</p>
<ul>
<li>Remove the skipping of the <code>socket</code> http test (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3364">#3364</a>)</li>
<li>Use different socket for Win32 test (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3375">#3375</a>)</li>
</ul>
<p>Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:</p>
<ul>
<li>Daniel Lopretto <a href="mailto:timemachine3030@users.noreply.github.com">timemachine3030@users.noreply.github.com</a></li>
<li>Jason Kwok <a href="mailto:JasonHK@users.noreply.github.com">JasonHK@users.noreply.github.com</a></li>
<li>Jay <a href="mailto:jasonsaayman@gmail.com">jasonsaayman@gmail.com</a></li>
<li>Jonathan Foster <a href="mailto:jonathan@jonathanfoster.io">jonathan@jonathanfoster.io</a></li>
<li>Remco Haszing <a href="mailto:remcohaszing@gmail.com">remcohaszing@gmail.com</a></li>
<li>Xianming Zhong <a href="mailto:chinesedfan@qq.com">chinesedfan@qq.com</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a64050a6cf"><code>a64050a</code></a> Releasing 0.21.1</li>
<li><a href="d57cd976f3"><code>d57cd97</code></a> Updating changelog for 0.21.1 release</li>
<li><a href="8b0f373df0"><code>8b0f373</code></a> Use different socket for Win32 test (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3375">#3375</a>)</li>
<li><a href="e426910be7"><code>e426910</code></a> Protocol not parsed when setting proxy config from env vars (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3070">#3070</a>)</li>
<li><a href="c7329fefc8"><code>c7329fe</code></a> Hotfix: Prevent SSRF (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3410">#3410</a>)</li>
<li><a href="f472e5da5f"><code>f472e5d</code></a> Adding a type guard for <code>AxiosError</code> (<a href="https://github-redirect.dependabot.com/axios/axios/issues/2949">#2949</a>)</li>
<li><a href="768825589f"><code>7688255</code></a> Remove the skipping of the <code>socket</code> http test (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3364">#3364</a>)</li>
<li><a href="820fe6e41a"><code>820fe6e</code></a> Updating axios in types to be lower case (<a href="https://github-redirect.dependabot.com/axios/axios/issues/2797">#2797</a>)</li>
<li>See full diff in <a href="https://github.com/axios/axios/compare/v0.21.0...v0.21.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=axios&package-manager=npm_and_yarn&previous-version=0.21.0&new-version=0.21.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)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/facebook/flipper/network/alerts).

</details>

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

Reviewed By: mweststrate

Differential Revision: D25804193

Pulled By: passy

fbshipit-source-id: a3040f4927690a27893bf972e180a7f257f6cc54
2021-01-07 03:53:58 -08:00
dependabot[bot]
603595eccf Bump @testing-library/dom from 7.26.3 to 7.29.0 in /desktop (#1796)
Summary:
Bumps [testing-library/dom](https://github.com/testing-library/dom-testing-library) from 7.26.3 to 7.29.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/testing-library/dom-testing-library/releases">testing-library/dom's releases</a>.</em></p>
<blockquote>
<h2>v7.29.0</h2>
<h1><a href="https://github.com/testing-library/dom-testing-library/compare/v7.28.1...v7.29.0">7.29.0</a> (2020-12-11)</h1>
<h3>Features</h3>
<ul>
<li>migrate some files to typescript (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/848">https://github.com/facebook/flipper/issues/848</a>) (<a href="accb6cc606">accb6cc</a>)</li>
</ul>
<h2>v7.28.1</h2>
<h2><a href="https://github.com/testing-library/dom-testing-library/compare/v7.28.0...v7.28.1">7.28.1</a> (2020-11-20)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>suggestions:</strong> don't suggest byLabelText when using byLabelText (<a href="53f29f70c8">53f29f7</a>)</li>
</ul>
<h2>v7.28.0</h2>
<h1><a href="https://github.com/testing-library/dom-testing-library/compare/v7.27.1...v7.28.0">7.28.0</a> (2020-11-19)</h1>
<h3>Features</h3>
<ul>
<li>warn when the test environment fake timers change unexpectedly (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/832">https://github.com/facebook/flipper/issues/832</a>) (<a href="e3fc7f3a0d">e3fc7f3</a>), closes <a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/830">https://github.com/facebook/flipper/issues/830</a></li>
</ul>
<h2>v7.27.1</h2>
<h2><a href="https://github.com/testing-library/dom-testing-library/compare/v7.27.0...v7.27.1">7.27.1</a> (2020-11-18)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>suggestions:</strong> only warn about inaccessible elements when actually showing the suggestion (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/827">https://github.com/facebook/flipper/issues/827</a>) (<a href="9494fdc690">9494fdc</a>)</li>
</ul>
<h2>v7.27.0</h2>
<h1><a href="https://github.com/testing-library/dom-testing-library/compare/v7.26.7...v7.27.0">7.27.0</a> (2020-11-18)</h1>
<h3>Features</h3>
<ul>
<li>allow TextMatch to be any non-nullable type (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/829">https://github.com/facebook/flipper/issues/829</a>) (<a href="9b688f8600">9b688f8</a>)</li>
</ul>
<h2>v7.26.7</h2>
<h2><a href="https://github.com/testing-library/dom-testing-library/compare/v7.26.6...v7.26.7">7.26.7</a> (2020-11-17)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>use node property instead of selector for type=text input (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/823">https://github.com/facebook/flipper/issues/823</a>) (<a href="7e5da11655">7e5da11</a>)</li>
</ul>
<h2>v7.26.6</h2>
<h2><a href="https://github.com/testing-library/dom-testing-library/compare/v7.26.5...v7.26.6">7.26.6</a> (2020-11-10)</h2>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="accb6cc606"><code>accb6cc</code></a> feat: migrate some files to typescript (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/848">https://github.com/facebook/flipper/issues/848</a>)</li>
<li><a href="f753c8adb4"><code>f753c8a</code></a> Feature: adds aria-expanded filter to *ByRole (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/821">https://github.com/facebook/flipper/issues/821</a>)</li>
<li><a href="21c4db385b"><code>21c4db3</code></a> chore: update all dependencies</li>
<li><a href="86179525b2"><code>8617952</code></a> chore: Add 'Cancel Previous Runs' step (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/840">https://github.com/facebook/flipper/issues/840</a>)</li>
<li><a href="c6e7a83948"><code>c6e7a83</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/835">https://github.com/facebook/flipper/issues/835</a> from testing-library/feature/fix-find-by-label-text-s...</li>
<li><a href="53f29f70c8"><code>53f29f7</code></a> fix(suggestions): don't suggest byLabelText when using byLabelText</li>
<li><a href="010f8be965"><code>010f8be</code></a> docs: add nickmccurdy as a contributor (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/833">https://github.com/facebook/flipper/issues/833</a>)</li>
<li><a href="e3fc7f3a0d"><code>e3fc7f3</code></a> feat: warn when the test environment fake timers change unexpectedly (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/832">https://github.com/facebook/flipper/issues/832</a>)</li>
<li><a href="9494fdc690"><code>9494fdc</code></a> fix(suggestions): only warn about inaccessible elements when actually showing...</li>
<li><a href="9b688f8600"><code>9b688f8</code></a> feat: allow TextMatch to be any non-nullable type (<a href="https://github-redirect.dependabot.com/testing-library/dom-testing-library/issues/829">https://github.com/facebook/flipper/issues/829</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/testing-library/dom-testing-library/compare/v7.26.3...v7.29.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=7.26.3&new-version=7.29.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/1796

Reviewed By: jknoxville

Differential Revision: D25802071

Pulled By: passy

fbshipit-source-id: a776b39718cbf1cf1e04662a6b7dc660f96848de
2021-01-06 08:53:41 -08:00
Michel Weststrate
30ea098a63 Hide app selector if no devices are available
Summary:
As reported in https://fb.workplace.com/groups/748354712423318/permalink/773382183253904/, special case no devices being present and suggest to launch an emulator.

Also extends `useStore()` hook to accept no arguments, in which case it works as Redux's own `useStore` hook, except that it is strongly typed.

Reviewed By: passy

Differential Revision: D25803497

fbshipit-source-id: d448ac41e0ba7b713ee883caeb27736a2901975c
2021-01-06 08:26:12 -08:00
dependabot[bot]
dbf194b952 Bump react-devtools-core from 4.9.0 to 4.10.1 in /desktop (#1795)
Summary:
Bumps [react-devtools-core](https://github.com/facebook/react/tree/HEAD/packages/react-devtools-core) from 4.9.0 to 4.10.1.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/facebook/react/commits/HEAD/packages/react-devtools-core">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D25802076

Pulled By: passy

fbshipit-source-id: 142dabcc0a7e688309cc4fc5ced8abde6914879e
2021-01-06 05:02:31 -08:00
generatedunixname89002005306973
44e1b2ee9a Flipper Release: v0.70.0
Summary: Releasing version 0.70.0

Reviewed By: passy

Differential Revision: D25801619

fbshipit-source-id: bab5364e393a4db9c5a801d041f537f3e6d36d81
2021-01-06 03:21:57 -08:00
Michel Weststrate
cfd1c22814 Detect Flipper reloads, to remove false positives in quick restart detection
Reviewed By: nikoant

Differential Revision: D25783368

fbshipit-source-id: 35a9cbbbb5bac4c7b6b7b40c45db2055ff4cfa09
2021-01-06 02:08:43 -08:00
Michel Weststrate
ef3da0e530 Fix deferred loaded plugins not showing up
Summary:
See previous diff, plugins that are not available during the initial client connection setup didn't show up in the UI, until selecting another device first. This diff fixes that by listening to the `plugins-change` event of the client.

Changelog: Fix issue where React Native plugins didn't show up in the Sandy layout

Reviewed By: passy

Differential Revision: D25755812

fbshipit-source-id: d865d912ecca85d868831c4da7c56b5f0be6c3bf
2021-01-04 12:17:56 -08:00
Amir Katz
805071fa49 Flipper support fallback also when not debuggable
Summary: For Whitehat adjustment to work with flipper. I would like to enable running the su for emulators and rooted device to enable work with flipperr.

Reviewed By: jknoxville

Differential Revision: D25527298

fbshipit-source-id: 0d3f19891eec7c09d7136867a7aceea40aeac60d
2021-01-04 09:29:39 -08:00
Chaiwat Ekkaewnumchai
7096a302ed Fix node-notifier Vulnerability
Summary: per title

Reviewed By: passy

Differential Revision: D25676877

fbshipit-source-id: 88d33815db4170c4fa53bfc68b2f6f00ca154359
2020-12-22 08:57:56 -08:00
Pascal Hartig
9ac01ab0e2 Update sign-in URL
Reviewed By: cekkaewnumchai

Differential Revision: D25679289

fbshipit-source-id: 9d4b8e89d1695a7b363e756628a7c15446f205ca
2020-12-22 05:41:46 -08:00
dependabot[bot]
be6fd42e11 Bump pako from 1.0.11 to 2.0.2 in /desktop (#1786)
Summary:
Bumps [pako](https://github.com/nodeca/pako) from 1.0.11 to 2.0.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/nodeca/pako/blob/master/CHANGELOG.md">pako's changelog</a>.</em></p>
<blockquote>
<h2>[2.0.2] - 2020-11-19</h2>
<h3>Fixed</h3>
<ul>
<li>Fix esm build named exports.</li>
</ul>
<h2>[2.0.1] - 2020-11-17</h2>
<h3>Changed</h3>
<ul>
<li>Changed esm build <code>.js</code> =&gt; <code>.mjs</code> to fix node.js <code>import</code>.</li>
<li>Added <code>module</code> entry in package.json for some bundlers.</li>
</ul>
<h2>[2.0.0] - 2020-11-17</h2>
<h3>Changed</h3>
<ul>
<li>Removed binary strings and <code>Array</code> support.</li>
<li>Removed fallbacks for TypedArray methods (<code>.set()</code>, <code>.subarray()</code>).</li>
<li>Rewritten top-level wrappers.</li>
<li>Removed support of <code>Inflate</code> &amp; <code>Deflate</code> instance create without <code>new</code>.</li>
<li><code>Inflate.push()</code> no longer needs second param (end is auto-detected).</li>
<li>Increased default inflate chunk size to 64K.</li>
<li>Moved exported constants to <code>.constants</code>.</li>
<li>Switched to es6. Legacy es5 builds available in <code>/dist</code>.</li>
<li>Added esm build.</li>
<li>Structure of <code>/dist</code> folder changed.</li>
<li>Upgraded build tools to modern ones.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="45cce9f4d6"><code>45cce9f</code></a> 2.0.2 released</li>
<li><a href="b3861d9a66"><code>b3861d9</code></a> dist rebuild</li>
<li><a href="d0382badcc"><code>d0382ba</code></a> Fix esm build named exports</li>
<li><a href="8d5f9c70f8"><code>8d5f9c7</code></a> 2.0.1 released</li>
<li><a href="70ee7697ac"><code>70ee769</code></a> dist rebuild</li>
<li><a href="bd90fca738"><code>bd90fca</code></a> Add <code>module</code> entry for some bundlers</li>
<li><a href="84d6931fe8"><code>84d6931</code></a> Rename module build .js =&gt; .mjs to fix node import (<a href="https://github-redirect.dependabot.com/nodeca/pako/issues/200">https://github.com/facebook/flipper/issues/200</a>)</li>
<li><a href="52df0c510f"><code>52df0c5</code></a> 2.0.0 released</li>
<li><a href="a8faeffc94"><code>a8faeff</code></a> dist rebuild</li>
<li><a href="b4d9a94488"><code>b4d9a94</code></a> Added esm build, <a href="https://github-redirect.dependabot.com/nodeca/pako/issues/97">https://github.com/facebook/flipper/issues/97</a></li>
<li>Additional commits viewable in <a href="https://github.com/nodeca/pako/compare/1.0.11...2.0.2">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D25664507

Pulled By: cekkaewnumchai

fbshipit-source-id: bd33a7a11ef38b54675cde31d1243742476263d9
2020-12-22 04:03:03 -08:00
dependabot[bot]
985e620f6f Bump electron-builder from 22.8.0 to 22.9.1 in /desktop (#1785)
Summary:
allow-large-files
Bumps [electron-builder](https://github.com/electron-userland/electron-builder) from 22.8.0 to 22.9.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/electron-userland/electron-builder/releases">electron-builder's releases</a>.</em></p>
<blockquote>
<h2>22.9.1</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>snap:</strong> add missing %U in desktop file of snap builds (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/5001">#5001</a>) (<a href="df5d050e47">df5d050</a>)</li>
<li>add missing %U in desktop file of appimages (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/4909">#4909</a>) (<a href="d96b3d39c4">d96b3d3</a>), closes <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/4035">#4035</a></li>
<li>Added support for overriding ‘strict-verify’ electron-osx-sign property. (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/5261">#5261</a>) (<a href="c554f25d75">c554f25</a>), closes <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/1480">https://github.com/facebook/flipper/issues/1480</a></li>
<li><strong>nsis:</strong> Do not abort when uninstaller fails (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/5292">#5292</a>) (<a href="ea9281b77b">ea9281b</a>)</li>
<li>pre-gyp for darwin targets if build on Linux or in Docker (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/5193">#5193</a>) (<a href="f44206dc17">f44206d</a>)</li>
<li><strong>snap:</strong> stricter filtering for xcb libraries (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/5205">#5205</a>) (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/5206">#5206</a>) (<a href="9164f4d328">9164f4d</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>mac:</strong> supplying a value for the ‘ignore’ electron-osx-sign property (<a href="aa3625d5f6">aa3625d</a>), closes <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/5262">#5262</a></li>
<li>make it possible to ignore release time when publish to github (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/5179">#5179</a>) (<a href="fca50aea42">fca50ae</a>)</li>
<li><strong>nsis:</strong> czech language for nsis scripts (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/5270">#5270</a>) (<a href="16c81a098b">16c81a0</a>)</li>
</ul>
<h2>22.8.1</h2>
<p><strong>electron-updater</strong>  4.3.5 contains fix for <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/5116">#5116</a>. This version is a pre-release.</p>
<h3>Bug Fixes</h3>
<ul>
<li><strong>nsis:</strong> check that out file is not blocked (<a href="39faac55ff">39faac5</a>)</li>
<li>escape instead of error (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/5116">#5116</a>) (<a href="e2cc9f9579">e2cc9f9</a>)</li>
<li><strong>appx:</strong> Default rfc3161TimeStampServer to <a href="http://timestamp.digicert.com">http://timestamp.digicert.com</a> (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/5147">#5147</a>) (<a href="34d17524e2">34d1752</a>)</li>
<li><strong>nsis:</strong> output files sometimes locked by virus scanners (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/5005">#5005</a>) (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/5143">#5143</a>) (<a href="a6d00ab4f5">a6d00ab</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="aa3625d5f6"><code>aa3625d</code></a> feat(mac): supplying a value for the ‘ignore’ electron-osx-sign property</li>
<li><a href="df5d050e47"><code>df5d050</code></a> fix(snap): add missing %U in desktop file of snap builds (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/5001">#5001</a>)</li>
<li><a href="d96b3d39c4"><code>d96b3d3</code></a> fix: add missing %U in desktop file of appimages (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/4909">#4909</a>)</li>
<li><a href="b8c9cd04d8"><code>b8c9cd0</code></a> chore: update deps</li>
<li><a href="c554f25d75"><code>c554f25</code></a> fix: Added support for overriding ‘strict-verify’ electron-osx-sign property....</li>
<li><a href="ea9281b77b"><code>ea9281b</code></a> fix(nsis): Do not abort when uninstaller fails (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/5292">#5292</a>)</li>
<li><a href="fca50aea42"><code>fca50ae</code></a> feat: make it possible to ignore release time when publish to github (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/5179">#5179</a>)</li>
<li><a href="b087954025"><code>b087954</code></a> feature(portable): allowing splash image to be defined relative to the projec...</li>
<li><a href="36319d9870"><code>36319d9</code></a> fix:(nsis): Fix custom finish page insertion (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/5288">#5288</a>)</li>
<li><a href="f44206dc17"><code>f44206d</code></a> fix: pre-gyp for darwin targets if build on Linux or in Docker (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/5193">#5193</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/electron-userland/electron-builder/compare/v22.8.0...v22.9.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=electron-builder&package-manager=npm_and_yarn&previous-version=22.8.0&new-version=22.9.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/1785

Reviewed By: passy

Differential Revision: D25664512

Pulled By: cekkaewnumchai

fbshipit-source-id: 0b2178ada3913a5c84d1e730b4458fa4d43a419e
2020-12-21 21:20:50 -08:00
dependabot[bot]
3de35a8bae Bump eslint-plugin-react from 7.21.3 to 7.21.5 in /desktop (#1784)
Summary:
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.21.3 to 7.21.5.
<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.21.4...v7.21.5">7.21.5</a> - 2020.10.19</h2>
<h3>Fixed</h3>
<ul>
<li>[<code>jsx-indent-props</code>]: Apply indentation when using brackets (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2826">#2826</a>[] <a href="https://github.com/Moong0122">Moong0122</a>)</li>
<li>[<code>jsx-handler-names</code>]: Skip inline handlers when checkInlineFunction=false (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2833">#2833</a>[] <a href="https://github.com/onigoetz">onigoetz</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[Tests] <code>jsx-indent-props</code>: Add passing test (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2823">#2823</a>[] <a href="https://github.com/Hypnosphi">Hypnosphi</a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2833">#2833</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2833">yannickcr/eslint-plugin-react#2833</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2826">#2826</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2826">yannickcr/eslint-plugin-react#2826</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2823">#2823</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2823">yannickcr/eslint-plugin-react#2823</a></p>
<h2><a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.21.3...v7.21.4">7.21.4</a> - 2020.10.09</h2>
<h3>Fixed</h3>
<ul>
<li>[<code>no-unused-prop-types</code>]: Silence false positive on <code>never</code> type in TS (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2815">#2815</a>[] <a href="https://github.com/pcorpet">pcorpet</a>)</li>
<li>[<code>jsx-indent-props</code>]: Apply indentation when operator is used in front of the upper line (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2808">#2808</a>[], <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2820">#2820</a>[] <a href="https://github.com/Moong0122">Moong0122</a>)</li>
<li>[Deps] update <code>jsx-ast-utils</code> (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2822">#2822</a>[] [jsx-eslint/jsx-ast-utils#102][] <a href="https://github.com/ljharb">ljharb</a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2822">#2822</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2822">yannickcr/eslint-plugin-react#2822</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2820">#2820</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2820">yannickcr/eslint-plugin-react#2820</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2815">#2815</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2815">yannickcr/eslint-plugin-react#2815</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2808">#2808</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2808">yannickcr/eslint-plugin-react#2808</a>
[jsx-eslint/jsx-ast-utils#102]: <a href="https://github-redirect.dependabot.com/jsx-eslint/jsx-ast-utils/pull/102">jsx-eslint/jsx-ast-utils#102</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3aa3ce9b9f"><code>3aa3ce9</code></a> Update CHANGELOG and bump version</li>
<li><a href="7ac05f016d"><code>7ac05f0</code></a> [Deps] update <code>resolve</code></li>
<li><a href="efd3da3dee"><code>efd3da3</code></a> [Fix] <code>jsx-handler-names</code>: Skip inline handlers when checkInlineFunction=false</li>
<li><a href="aeff5ea719"><code>aeff5ea</code></a> [Tests] Add passing test for js-indent props</li>
<li><a href="237547e345"><code>237547e</code></a> [Fix] <code>jsx-indent-props</code>: Apply indentation when using brackets</li>
<li><a href="632639ba26"><code>632639b</code></a> Update CHANGELOG and bump version</li>
<li><a href="802cdb80be"><code>802cdb8</code></a> [readme] clear up Fragment docs</li>
<li><a href="896fe4b7ec"><code>896fe4b</code></a> [Tests] <code>jsx-indent-props</code> : Apply indentation when used expression</li>
<li><a href="b7b023f1e2"><code>b7b023f</code></a> [Deps] update <code>jsx-ast-utils</code></li>
<li><a href="959fb23365"><code>959fb23</code></a> [Fix] <code>jsx-indent-props</code>: Apply indentation when operator is used in front of...</li>
<li>Additional commits viewable in <a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.21.3...v7.21.5">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.21.3&new-version=7.21.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

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

 ---

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

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

</details>

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

Reviewed By: passy

Differential Revision: D25664504

Pulled By: cekkaewnumchai

fbshipit-source-id: 920cf9dda7235d8fbed2fa448f5adfd10e55f9c8
2020-12-21 21:20:50 -08:00
dependabot[bot]
647b5424c0 Bump yargs from 16.1.1 to 16.2.0 in /desktop (#1783)
Summary:
Bumps [yargs](https://github.com/yargs/yargs) from 16.1.1 to 16.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/yargs/yargs/releases">yargs's releases</a>.</em></p>
<blockquote>
<h2>yargs v16.2.0</h2>
<h3>Features</h3>
<ul>
<li>command() now accepts an array of modules (<a href="f415388cc4">f415388</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>add package.json to module exports (<a href="https://www.github-redirect.dependabot.com/yargs/yargs/issues/1818">#1818</a>) (<a href="d783a49a7f">d783a49</a>), closes <a href="https://www.github-redirect.dependabot.com/yargs/yargs/issues/1817">#1817</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/yargs/yargs/blob/master/CHANGELOG.md">yargs's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://www.github.com/yargs/yargs/compare/v16.1.1...v16.2.0">16.2.0</a> (2020-12-05)</h2>
<h3>Features</h3>
<ul>
<li>command() now accepts an array of modules (<a href="f415388cc4">f415388</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>add package.json to module exports (<a href="https://www.github-redirect.dependabot.com/yargs/yargs/issues/1818">#1818</a>) (<a href="d783a49a7f">d783a49</a>), closes <a href="https://www.github-redirect.dependabot.com/yargs/yargs/issues/1817">#1817</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a9b11d5d83"><code>a9b11d5</code></a> chore: release 16.2.0 (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/1822">#1822</a>)</li>
<li><a href="f415388cc4"><code>f415388</code></a> feat: command() now accepts an array of modules</li>
<li><a href="bc6f9735d6"><code>bc6f973</code></a> build: stop pinning release-please</li>
<li><a href="d783a49a7f"><code>d783a49</code></a> fix: add package.json to module exports (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/1818">#1818</a>)</li>
<li><a href="e2d9e93640"><code>e2d9e93</code></a> docs: add example of using middleware with choices (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/1813">#1813</a>)</li>
<li><a href="39af319cb0"><code>39af319</code></a> docs: fix some typos (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/1807">#1807</a>)</li>
<li>See full diff in <a href="https://github.com/yargs/yargs/compare/v16.1.1...v16.2.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D25664499

Pulled By: cekkaewnumchai

fbshipit-source-id: a6ba1d3ebf0f3ff71b721fc1e84e5b2b3c83b4b3
2020-12-21 21:20:50 -08:00
dependabot[bot]
6c71d26161 Bump @babel/generator from 7.12.10 to 7.12.11 in /desktop (#1787)
Summary:
Bumps [babel/generator](https://github.com/babel/babel/tree/HEAD/packages/babel-generator) from 7.12.10 to 7.12.11.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/releases">babel/generator's releases</a>.</em></p>
<blockquote>
<h2>v7.12.11 (2020-12-16)</h2>
<p>Thanks <a href="https://github.com/vitorveiga">vitorveiga</a> for your first PR!</p>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12366">#12366</a> Disallow non octal decimal escape before use strict (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-plugin-transform-block-scoping</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11801">#11801</a> fix: handle block-level function declaration (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-generator/issues/10046">#10046</a>) (<a href="https://github.com/vitorveiga">vitorveiga</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-plugin-transform-react-jsx-development</code>, <code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12493">#12493</a> Lazily inject imports to the JSX runtime (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-preset-react</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12495">#12495</a> Fixed issue with skipping over self &amp; source generated by another instance (<a href="https://github.com/Andarist">Andarist</a>)</li>
</ul>
</li>
<li><code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/10862">#10862</a> Add js extension to preset-env generated polyfill imports (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12479">#12479</a> Setup JSX runtime even if the file doesn't contain JSX (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-plugin-transform-react-jsx-development</code>, <code>babel-preset-react</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12475">#12475</a> Fixed a regression for multiple __self &amp; __source props with classic runtime (<a href="https://github.com/Andarist">Andarist</a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12510">#12510</a> Improve AST node definitions in babel/types (<a href="https://github.com/zxbodya">zxbodya</a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12508">#12508</a> chore: always check yarn lock and dedupe during update (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12480">#12480</a> Avoid force trailing comma on test files (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12462">#12462</a> Run e2e tests also with BABEL_8_BREAKING (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
</ul>
</li>
<li><code>babel-plugin-transform-react-display-name</code>, <code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12502">#12502</a> Reorganize some JSX-related tests (<a href="https://github.com/Andarist">Andarist</a>)</li>
</ul>
</li>
<li><code>babel-standalone</code>, <code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12127">#12127</a> Move some build steps to gulp (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 5</h4>
<ul>
<li>Bogdan Savluk (<a href="https://github.com/zxbodya">zxbodya</a>)</li>
<li>Huáng Jùnliàng (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li>Mateusz Burzyński (<a href="https://github.com/Andarist">Andarist</a>)</li>
<li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
<li>vitorveiga (<a href="https://github.com/vitorveiga">vitorveiga</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/blob/main/CHANGELOG.md">babel/generator's changelog</a>.</em></p>
<blockquote>
<h2>v7.12.11 (2020-12-16)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12366">#12366</a> Disallow non octal decimal escape before use strict (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-plugin-transform-block-scoping</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11801">#11801</a> fix: handle block-level function declaration (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-generator/issues/10046">#10046</a>) (<a href="https://github.com/vitorveiga">vitorveiga</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-plugin-transform-react-jsx-development</code>, <code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12493">#12493</a> Lazily inject imports to the JSX runtime (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-preset-react</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12495">#12495</a> Fixed issue with skipping over self &amp; source generated by another instance (<a href="https://github.com/Andarist">Andarist</a>)</li>
</ul>
</li>
<li><code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/10862">#10862</a> Add js extension to preset-env generated polyfill imports (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12479">#12479</a> Setup JSX runtime even if the file doesn't contain JSX (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-plugin-transform-react-jsx-development</code>, <code>babel-preset-react</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12475">#12475</a> Fixed a regression for multiple __self &amp; __source props with classic runtime (<a href="https://github.com/Andarist">Andarist</a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12510">#12510</a> Improve AST node definitions in babel/types (<a href="https://github.com/zxbodya">zxbodya</a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12508">#12508</a> chore: always check yarn lock and dedupe during update (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12480">#12480</a> Avoid force trailing comma on test files (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12462">#12462</a> Run e2e tests also with BABEL_8_BREAKING (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
</ul>
</li>
<li><code>babel-plugin-transform-react-display-name</code>, <code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12502">#12502</a> Reorganize some JSX-related tests (<a href="https://github.com/Andarist">Andarist</a>)</li>
</ul>
</li>
<li><code>babel-standalone</code>, <code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12127">#12127</a> Move some build steps to gulp (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a1acfba387"><code>a1acfba</code></a> v7.12.11</li>
<li><a href="e8176de528"><code>e8176de</code></a> [babel 8] Remove the <code>jsonCompatibleStrings</code> option (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-generator/issues/12477">#12477</a>)</li>
<li>See full diff in <a href="https://github.com/babel/babel/commits/v7.12.11/packages/babel-generator">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D25664519

Pulled By: cekkaewnumchai

fbshipit-source-id: a3fa51a823af7958d453b10686b382ccacd6f5bc
2020-12-21 18:39:39 -08:00
dependabot[bot]
8d81bd16d3 Bump @babel/code-frame from 7.10.4 to 7.12.11 in /desktop (#1782)
Summary:
Bumps [babel/code-frame](https://github.com/babel/babel/tree/HEAD/packages/babel-code-frame) from 7.10.4 to 7.12.11.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/releases">babel/code-frame's releases</a>.</em></p>
<blockquote>
<h2>v7.12.11 (2020-12-16)</h2>
<p>Thanks <a href="https://github.com/vitorveiga">vitorveiga</a> for your first PR!</p>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12366">#12366</a> Disallow non octal decimal escape before use strict (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-plugin-transform-block-scoping</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11801">#11801</a> fix: handle block-level function declaration (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-code-frame/issues/10046">#10046</a>) (<a href="https://github.com/vitorveiga">vitorveiga</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-plugin-transform-react-jsx-development</code>, <code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12493">#12493</a> Lazily inject imports to the JSX runtime (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-preset-react</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12495">#12495</a> Fixed issue with skipping over self &amp; source generated by another instance (<a href="https://github.com/Andarist">Andarist</a>)</li>
</ul>
</li>
<li><code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/10862">#10862</a> Add js extension to preset-env generated polyfill imports (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12479">#12479</a> Setup JSX runtime even if the file doesn't contain JSX (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-plugin-transform-react-jsx-development</code>, <code>babel-preset-react</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12475">#12475</a> Fixed a regression for multiple __self &amp; __source props with classic runtime (<a href="https://github.com/Andarist">Andarist</a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12510">#12510</a> Improve AST node definitions in babel/types (<a href="https://github.com/zxbodya">zxbodya</a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12508">#12508</a> chore: always check yarn lock and dedupe during update (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12480">#12480</a> Avoid force trailing comma on test files (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12462">#12462</a> Run e2e tests also with BABEL_8_BREAKING (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
</ul>
</li>
<li><code>babel-plugin-transform-react-display-name</code>, <code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12502">#12502</a> Reorganize some JSX-related tests (<a href="https://github.com/Andarist">Andarist</a>)</li>
</ul>
</li>
<li><code>babel-standalone</code>, <code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12127">#12127</a> Move some build steps to gulp (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 5</h4>
<ul>
<li>Bogdan Savluk (<a href="https://github.com/zxbodya">zxbodya</a>)</li>
<li>Huáng Jùnliàng (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li>Mateusz Burzyński (<a href="https://github.com/Andarist">Andarist</a>)</li>
<li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
<li>vitorveiga (<a href="https://github.com/vitorveiga">vitorveiga</a>)</li>
</ul>
<h2>v7.12.10 (2020-12-09)</h2>
<p>Thanks <a href="https://github.com/AndrewSouthpaw">AndrewSouthpaw</a> for your first PR!</p>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12443">#12443</a> Make sure estree test should not throw if babel parser does not throw (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12375">#12375</a> Make sure babel parser throws exactly same recoverable errors when estree plugin is enabled (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/blob/main/CHANGELOG.md">babel/code-frame's changelog</a>.</em></p>
<blockquote>
<h2>v7.12.11 (2020-12-16)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12366">#12366</a> Disallow non octal decimal escape before use strict (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-plugin-transform-block-scoping</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11801">#11801</a> fix: handle block-level function declaration (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-code-frame/issues/10046">#10046</a>) (<a href="https://github.com/vitorveiga">vitorveiga</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-plugin-transform-react-jsx-development</code>, <code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12493">#12493</a> Lazily inject imports to the JSX runtime (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-preset-react</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12495">#12495</a> Fixed issue with skipping over self &amp; source generated by another instance (<a href="https://github.com/Andarist">Andarist</a>)</li>
</ul>
</li>
<li><code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/10862">#10862</a> Add js extension to preset-env generated polyfill imports (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12479">#12479</a> Setup JSX runtime even if the file doesn't contain JSX (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-plugin-transform-react-jsx-development</code>, <code>babel-preset-react</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12475">#12475</a> Fixed a regression for multiple __self &amp; __source props with classic runtime (<a href="https://github.com/Andarist">Andarist</a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12510">#12510</a> Improve AST node definitions in babel/types (<a href="https://github.com/zxbodya">zxbodya</a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12508">#12508</a> chore: always check yarn lock and dedupe during update (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12480">#12480</a> Avoid force trailing comma on test files (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12462">#12462</a> Run e2e tests also with BABEL_8_BREAKING (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
</ul>
</li>
<li><code>babel-plugin-transform-react-display-name</code>, <code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12502">#12502</a> Reorganize some JSX-related tests (<a href="https://github.com/Andarist">Andarist</a>)</li>
</ul>
</li>
<li><code>babel-standalone</code>, <code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12127">#12127</a> Move some build steps to gulp (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
</ul>
<h2>v7.12.10 (2020-12-09)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12443">#12443</a> Make sure estree test should not throw if babel parser does not throw (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12375">#12375</a> Make sure babel parser throws exactly same recoverable errors when estree plugin is enabled (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-generator</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12424">#12424</a> Fix printing BigIntLiterals/DecimalLiterals with compact option (<a href="https://github.com/existentialism">existentialism</a>)</li>
</ul>
</li>
<li><code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12418">#12418</a> babel-types update OptionalCallExpression to support ArgumentPlaceholder (<a href="https://github.com/zxbodya">zxbodya</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12395">#12395</a> Fix <code>t.isReferenced()</code> for named re-exports (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
</ul>
</li>
<li><code>babel-traverse</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12394">#12394</a> Set correct <code>path.context</code> un <code>push/unshiftContainer</code> (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12402">#12402</a> Clarify warning source about underspecified corejs option in preset-env. (<a href="https://github.com/AndrewSouthpaw">AndrewSouthpaw</a>)</li>
</ul>
</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a1acfba387"><code>a1acfba</code></a> v7.12.11</li>
<li><a href="a46cd643ab"><code>a46cd64</code></a> convert babel/code-frame to typescript (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-code-frame/issues/12433">#12433</a>)</li>
<li><a href="b649f8d192"><code>b649f8d</code></a> Fix packages documentation README links. (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-code-frame/issues/12289">#12289</a>)</li>
<li><a href="3fad7eab9b"><code>3fad7ea</code></a> Use Yarn 2 (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-code-frame/issues/11962">#11962</a>)</li>
<li>See full diff in <a href="https://github.com/babel/babel/commits/v7.12.11/packages/babel-code-frame">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@babel/code-frame&package-manager=npm_and_yarn&previous-version=7.10.4&new-version=7.12.11)](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/1782

Reviewed By: passy

Differential Revision: D25664494

Pulled By: cekkaewnumchai

fbshipit-source-id: a32bbb1594cbf09dd87de4ecfbf80865f6fe4479
2020-12-21 18:39:39 -08:00
dependabot[bot]
33ff60d12e Bump @babel/parser from 7.12.10 to 7.12.11 in /desktop (#1788)
Summary:
Bumps [babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.12.10 to 7.12.11.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/releases">babel/parser's releases</a>.</em></p>
<blockquote>
<h2>v7.12.11 (2020-12-16)</h2>
<p>Thanks <a href="https://github.com/vitorveiga">vitorveiga</a> for your first PR!</p>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12366">#12366</a> Disallow non octal decimal escape before use strict (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-plugin-transform-block-scoping</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11801">#11801</a> fix: handle block-level function declaration (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-parser/issues/10046">#10046</a>) (<a href="https://github.com/vitorveiga">vitorveiga</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-plugin-transform-react-jsx-development</code>, <code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12493">#12493</a> Lazily inject imports to the JSX runtime (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-preset-react</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12495">#12495</a> Fixed issue with skipping over self &amp; source generated by another instance (<a href="https://github.com/Andarist">Andarist</a>)</li>
</ul>
</li>
<li><code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/10862">#10862</a> Add js extension to preset-env generated polyfill imports (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12479">#12479</a> Setup JSX runtime even if the file doesn't contain JSX (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-plugin-transform-react-jsx-development</code>, <code>babel-preset-react</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12475">#12475</a> Fixed a regression for multiple __self &amp; __source props with classic runtime (<a href="https://github.com/Andarist">Andarist</a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12510">#12510</a> Improve AST node definitions in babel/types (<a href="https://github.com/zxbodya">zxbodya</a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12508">#12508</a> chore: always check yarn lock and dedupe during update (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12480">#12480</a> Avoid force trailing comma on test files (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12462">#12462</a> Run e2e tests also with BABEL_8_BREAKING (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
</ul>
</li>
<li><code>babel-plugin-transform-react-display-name</code>, <code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12502">#12502</a> Reorganize some JSX-related tests (<a href="https://github.com/Andarist">Andarist</a>)</li>
</ul>
</li>
<li><code>babel-standalone</code>, <code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12127">#12127</a> Move some build steps to gulp (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 5</h4>
<ul>
<li>Bogdan Savluk (<a href="https://github.com/zxbodya">zxbodya</a>)</li>
<li>Huáng Jùnliàng (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li>Mateusz Burzyński (<a href="https://github.com/Andarist">Andarist</a>)</li>
<li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
<li>vitorveiga (<a href="https://github.com/vitorveiga">vitorveiga</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/blob/main/CHANGELOG.md">babel/parser's changelog</a>.</em></p>
<blockquote>
<h2>v7.12.11 (2020-12-16)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12366">#12366</a> Disallow non octal decimal escape before use strict (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-plugin-transform-block-scoping</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11801">#11801</a> fix: handle block-level function declaration (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-parser/issues/10046">#10046</a>) (<a href="https://github.com/vitorveiga">vitorveiga</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-plugin-transform-react-jsx-development</code>, <code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12493">#12493</a> Lazily inject imports to the JSX runtime (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-preset-react</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12495">#12495</a> Fixed issue with skipping over self &amp; source generated by another instance (<a href="https://github.com/Andarist">Andarist</a>)</li>
</ul>
</li>
<li><code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/10862">#10862</a> Add js extension to preset-env generated polyfill imports (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12479">#12479</a> Setup JSX runtime even if the file doesn't contain JSX (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
</ul>
</li>
<li><code>babel-helper-builder-react-jsx-experimental</code>, <code>babel-plugin-transform-react-jsx-development</code>, <code>babel-preset-react</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12475">#12475</a> Fixed a regression for multiple __self &amp; __source props with classic runtime (<a href="https://github.com/Andarist">Andarist</a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12510">#12510</a> Improve AST node definitions in babel/types (<a href="https://github.com/zxbodya">zxbodya</a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12508">#12508</a> chore: always check yarn lock and dedupe during update (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12480">#12480</a> Avoid force trailing comma on test files (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12462">#12462</a> Run e2e tests also with BABEL_8_BREAKING (<a href="https://github.com/nicolo-ribaudo">nicolo-ribaudo</a>)</li>
</ul>
</li>
<li><code>babel-plugin-transform-react-display-name</code>, <code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12502">#12502</a> Reorganize some JSX-related tests (<a href="https://github.com/Andarist">Andarist</a>)</li>
</ul>
</li>
<li><code>babel-standalone</code>, <code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12127">#12127</a> Move some build steps to gulp (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a1acfba387"><code>a1acfba</code></a> v7.12.11</li>
<li><a href="a0c1a9a9e4"><code>a0c1a9a</code></a> Disallow non octal decimal escape before use strict (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-parser/issues/12366">#12366</a>)</li>
<li>See full diff in <a href="https://github.com/babel/babel/commits/v7.12.11/packages/babel-parser">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D25664521

Pulled By: cekkaewnumchai

fbshipit-source-id: b9e9230fb7db12d290d3d60dae0431db97151790
2020-12-21 18:39:38 -08:00
Chaiwat Ekkaewnumchai
28cd62bc99 Fix Screen Recording Not Working on Android Marshmallow
Summary: [Reported in the support group](https://fb.workplace.com/groups/flippersupport/permalink/1040131853134139/), screen recording can't be stopped on Android Marshmallow (SDK version 23). This is because the shell commands used in screen recording are different in SDK 23 compared to higher SDK. First, `pgrep` in SDK 23 doesn't have `-L` option. Second, `ls -l` of SDK 23 returns different pattern; we've relied on the 5th number to indicate the file size of a video, while it is on 4th number for SDK 23.

Reviewed By: passy

Differential Revision: D25641605

fbshipit-source-id: 110cb779ef4b2dc63a862bf5e4e5f3a304a0d8ec
2020-12-21 09:54:31 -08:00
Chaiwat Ekkaewnumchai
1e34561ae3 Force Restart Flipper When Applying Sandy
Summary:
Discovered while testing D25584424, Sandy can't be applied and unapplied by regularly changing the setting.

This diff forces restart Flipper to correctly apply or unapply Sandy. This diff adds forced restart updated setting to check if restart is needed or not. Then, it disables regular `Apply` when restart is needed

Reviewed By: nikoant

Differential Revision: D25632887

fbshipit-source-id: 88b31fd740d4a639e20fe45a82e2615b53cad5c3
2020-12-20 21:45:19 -08:00
Anton Nikolaev
a826a240ce Do not load installed plugins in dev mode by default
Summary: Installed plugins loaded and make it impossible to debug plugin changes. We need to disable them by default for `yarn start`. To debug plugin installation and auto-update, need to use command `yarn start --plugin-auto-update` instead.

Reviewed By: passy

Differential Revision: D25639345

fbshipit-source-id: 99b59a90dc09ac33a3604487fe501774e5e6fc39
2020-12-18 08:50:16 -08:00
Chaiwat Ekkaewnumchai
8af2d819b0 Remove Trailing Whitespace in Changelog
Summary: In D25584424 (V1), Sandcastle complained about trailing whitespace. This diff removes the adde description if none can be retrieved

Reviewed By: nikoant

Differential Revision: D25608443

fbshipit-source-id: a798bb0c40afaaafd55c90c70177f7c2af79af34
2020-12-17 19:33:40 -08:00
Pascal Hartig
6ebcf20ab6 Upgrade to Electron v11.1
Summary: The upgrade script did all the work. Honestly surprised that it worked just like that.

Reviewed By: nikoant

Differential Revision: D25589100

fbshipit-source-id: 0c78bd43d9ddfcf2b10c9fcbb5bdc7c8dc42f734
2020-12-16 11:11:02 -08:00
dependabot[bot]
93b9338ce3 Bump uuid from 8.3.1 to 8.3.2 in /desktop (#1767)
Summary:
[//]: # (dependabot-start)
{emoji:26a0}  **Dependabot is rebasing this PR** {emoji:26a0}

If you make any changes to it yourself then they will take precedence over the rebase.

 ---

[//]: # (dependabot-end)

Bumps [uuid](https://github.com/uuidjs/uuid) from 8.3.1 to 8.3.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/uuidjs/uuid/blob/master/CHANGELOG.md">uuid's changelog</a>.</em></p>
<blockquote>
<h3><a href="https://github.com/uuidjs/uuid/compare/v8.3.1...v8.3.2">8.3.2</a> (2020-12-08)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>lazy load getRandomValues (<a href="https://github-redirect.dependabot.com/uuidjs/uuid/issues/537">https://github.com/facebook/flipper/issues/537</a>) (<a href="16c8f6df2f">16c8f6d</a>), closes <a href="https://github-redirect.dependabot.com/uuidjs/uuid/issues/536">https://github.com/facebook/flipper/issues/536</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="ed32401547"><code>ed32401</code></a> chore(release): 8.3.2</li>
<li><a href="df0f5d1957"><code>df0f5d1</code></a> docs: add examples of per-version validation (<a href="https://github-redirect.dependabot.com/uuidjs/uuid/issues/543">https://github.com/facebook/flipper/issues/543</a>)</li>
<li><a href="334ef62c33"><code>334ef62</code></a> chore(release): 8.3.2-beta.0</li>
<li><a href="16c8f6df2f"><code>16c8f6d</code></a> fix: lazy load getRandomValues (<a href="https://github-redirect.dependabot.com/uuidjs/uuid/issues/537">https://github.com/facebook/flipper/issues/537</a>)</li>
<li><a href="f3bd455da0"><code>f3bd455</code></a> docs: fix react-native link from preface</li>
<li><a href="f34e37bce8"><code>f34e37b</code></a> docs: fix typo in readme (<a href="https://github-redirect.dependabot.com/uuidjs/uuid/issues/530">https://github.com/facebook/flipper/issues/530</a>)</li>
<li>See full diff in <a href="https://github.com/uuidjs/uuid/compare/v8.3.1...v8.3.2">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D25558005

Pulled By: mweststrate

fbshipit-source-id: 4166a86f33df1fee23543c6afaf08a916ae1c911
2020-12-16 02:13:15 -08:00
Anton Nikolaev
c14bab3677 Unbundle less popular plugins for Insiders builds
Summary: Unbundle most of plugins from Insiders version of Flipper. Users will need to install them from Marketplace.

Reviewed By: passy

Differential Revision: D25558043

fbshipit-source-id: 648b0d4c83d9096972b5463cdcaa3de23426bdda
2020-12-15 09:31:59 -08:00
Anton Nikolaev
3a65f86c68 Analytics events for plugin management
Summary: Send some analytics events related to plugin management: auto-update, install, uninstall, load.

Reviewed By: passy

Differential Revision: D25557788

fbshipit-source-id: 14dc9ae5793e9b18be13f2d483069d8d00c8b863
2020-12-15 09:31:59 -08:00
Anton Nikolaev
31ace3bd09 Do not show warnings for unhandled messages
Summary: Flipper receives a lot of messages which cannot be handled when plugins unbundled. Showing them as warnings is un-actionable with such big amount, so I disabled them.

Reviewed By: mweststrate

Differential Revision: D25557790

fbshipit-source-id: 1a0bc3df2848b194b72ea6d775ffabe416672fee
2020-12-15 09:31:58 -08:00
Anton Nikolaev
3d6afdb529 Allow "uninstallation" of bundled plugins
Summary:
Allow "uninstallation" of bundled plugins which means we mark them as uninstalled and not auto-updating anymore. Uninstalled bundled plugins are shown in "Detected in App" section together with Marketplace plugins where user can install them back.

Changelog:
Plugins can be uninstalled from sidebar in new Sandy UI.

Reviewed By: passy

Differential Revision: D25557789

fbshipit-source-id: 751cad68456313c069af639584541086efc7102b
2020-12-15 09:31:58 -08:00
Anton Nikolaev
756edf9860 Unload uninstalled plugins from Electron cache
Summary: Electron/Node.js does not garbage collects unloaded modules by default. Need to cleanup require.cache to fully unload them.

Reviewed By: passy

Differential Revision: D25545962

fbshipit-source-id: 4dce32f39e22adcd2b4f5a55853551379e786e7b
2020-12-15 09:31:58 -08:00
Anton Nikolaev
965559ee65 Auto-install favorite plugins
Summary: After unbudling plugins users will need to manually install them. To simlify this transition we can auto-install favorite plugins on every app connection, so users won't need to install plugins which they marked as favorite before.

Reviewed By: passy

Differential Revision: D25538638

fbshipit-source-id: 4ac3ad0c8c026d149f7ce0c4af07da3e8b909772
2020-12-15 09:31:58 -08:00
Anton Nikolaev
bd01b58566 Sandy-based plugin auto-update UI
Summary:
New UX/UI for plugin auto-updates based on Sandy:
- disabled plugins auto-updated silently without any notifications as there is no active state for them so there is nothing to loose.
- enabled plugins can have some state and user can actually work with them, so we cannot reload them automatically. Instead, we show notification in the top of the plugin container asking user to reload the plugin when she is ready.
- if the auto-updated plugin failed to reload - show error notification.
- for non-sandy we continue using notifications as before.

Reviewed By: mweststrate

Differential Revision: D25530384

fbshipit-source-id: de3d0565ef0b930c9343b9e0ed07a4acb51885be
2020-12-15 09:31:57 -08:00
Anton Nikolaev
5383017299 Separate interfaces for installed, bundled and downloadable plugins
Summary:
I've re-designed interfaces describing plugins as I found that mental overhead working with them became too expensive because of slightly flawed design. However this cascaded changes in many files so you can see how extensively these interfaces used in our codebase.

Before this change we had one interface PluginDetails which described three different entities: 1) plugins installed on the disk 2) plugins bundled into Flipper 3) plugins available on Marketplace. It's hard to use this "general" PluginDetails interface because of this as you always need to think about all three use cases everywhere.

After this change we have 3 separate interfaces: InstalledPluginDetails, BundledPluginDetails and DownloadablePluginDetails and things became much type-safer now.

Reviewed By: mweststrate

Differential Revision: D25530383

fbshipit-source-id: b93593916a980c04e36dc6ffa168797645a0ff9c
2020-12-15 09:31:57 -08:00
Anton Nikolaev
efb82e80b5 Plugin download progress and error handling
Summary: Show progress reporting in sidebar during plugin download. Also handle plugin download errors and show them to user as notifications.

Reviewed By: mweststrate

Differential Revision: D25530385

fbshipit-source-id: 42bf0e65b4434d00c1465705ce9ec5c723df6841
2020-12-15 09:31:56 -08:00
Anton Nikolaev
c3d61cc32d Persist uninstalled plugins list
Summary: This diff changes uninstallation procedure for plugins. Instead of deleting plugin files immediately we are keeping them, but mark them as "uninstalled". This makes it possible to re-install plugins quickly in case when user clicked "delete" by mistake.

Reviewed By: mweststrate

Differential Revision: D25493479

fbshipit-source-id: 9ff29d717cdd5401c55388f24d479599579c8dd3
2020-12-15 09:31:56 -08:00
Anton Nikolaev
df03ccbeab Uninstall plugins from sidebar
Summary: Added UI for uninstalling plugins from sidebar. To avoid confusion between "disable" and "uninstall" and to reduce possibility of errors when plugins uninstalled accidentally by misclicks, I made it only possible to uninstall plugins after they are disabled. So for enabled plugins two steps are required for uninstalling.

Reviewed By: mweststrate

Differential Revision: D25454117

fbshipit-source-id: 28e67dc1ff2d39ad67e6d2770302a996affd9723
2020-12-15 09:31:56 -08:00
Anton Nikolaev
97d37abbb2 Install plugins from sidebar
Summary:
This diff adds "download" button to the plugins shown in "Detected in App" section, so they can be downloaded, installed and enabled just in one click.

For now UI is very simple - there is no progress indication and no error handling for failed downloads. I'll add them in next diffs.

Please note that we are explicitly "star" every installed plugin to enable it straight away without additional clicks in "disabled" section.

Reviewed By: mweststrate

Differential Revision: D25393472

fbshipit-source-id: 0a224ea6d03db0ee9a70b7fa35ede9616c03d824
2020-12-15 09:31:55 -08:00
Anton Nikolaev
ab441d8226 Tests for plugin installer with in-memory file system (#1761)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/1761

Plugin installed logic is quite complex and heavily relies on file system. So I added integration tests which uses in-memory file system. Here I've covered complex functions added in the previous diff of this stack.

Reviewed By: mweststrate

Differential Revision: D25393473

fbshipit-source-id: a823eb7d6707152a1c3717a6da25b6beee85801d
2020-12-15 09:31:55 -08:00
Anton Nikolaev
02d695cb28 Keep multiple installed versions of each plugin
Summary:
This diff changes directory structure for installed plugins to allow installation of multiple versions simultaneously, e.g. to to allow downloading new plugin version while user is still using the previous one, and to have possibility of fast rollback to the previous installed if necessary. The new folder for installed plugins is located in `~/.flipper/installed-plugins` and has the following structure:

  flipper-plugin-reactotron
    1.0.0
      ...
      package.json
    1.0.1
      ...
      package.json
  flipper-plugin-network
    0.67.1
      ...
      package.json
    0.67.2
      ...
      package.json

The tricky part here is that we also need to migrate already installed plugins from the old folder `~/.flipper/thirdparty` to the new folder and maintain the new structure for them.

Another tricky part is that we need to periodically cleanup old versions. For now we will just keep 2 versions of each plugin. Cleanup is performed in background right after Flipper startup.

Reviewed By: mweststrate

Differential Revision: D25393474

fbshipit-source-id: 26617ac26114148f797cc3d6765a42242edc205e
2020-12-15 09:31:54 -08:00