Commit Graph

952 Commits

Author SHA1 Message Date
bizzguy
6df117ba04 Network Plugin - New functions to import, export and clear Routes (#1855)
Summary:
In the network plugin, add features to import and export routes as described in issue https://github.com/facebook/flipper/issues/1651

Primary use case is that external testers (such as QA teams) would be able to create test data, convert it to mocks and save the mocks to make bug fixes easier for devs.

Here is a screenshot showing location of buttons to perform import/export (and clearing) of mock routes:

![image](https://user-images.githubusercontent.com/337874/105658269-cb58ed80-5e8b-11eb-8118-f13efc96bf6d.png)

Here is another screenshot showing export dialog:

![image](https://user-images.githubusercontent.com/337874/105657733-afa11780-5e8a-11eb-9725-120617e1dd71.png)

Changelog: [Network] Mock routes can now be imported and exported. Thanks bizzguy!

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

Test Plan:
Performed manual testing

- create new mocks
- export mocks
- clear mocks
- import mocks
- verify that mocks still work by making GET/POST requests in sample app

Performed various permutations of above manual tests, including restarting Flipper at various points to ensure that test plan still worked.  Also performed visual inspection of exported files to verify correctness.

Would be very interested in learning how to create automated tests for this functionality.

Reviewed By: passy

Differential Revision: D26072928

Pulled By: mweststrate

fbshipit-source-id: 51bd5e19e78d830b94add850d5dc9b9e45fa6fad
2021-01-26 05:34:36 -08:00
Michel Weststrate
14997a5b98 Add antd to builtInModules
Summary: importing `antd` in a plugin that lives in the Flipper repo will give a int warning. This fixes that, antd is provided by the host package.

Reviewed By: nikoant

Differential Revision: D26073161

fbshipit-source-id: 897357fafce20129f7e12c035ff99cb4870cc814
2021-01-26 05:34:36 -08:00
Michel Weststrate
f6d8b19001 Replace search view with drop down
Summary:
The support form currently has a search form to select a group, but unless the selection is cleared, it won't show you which groups is actually available, which makes it hard for people to select the right group if they don't know up front.

Since the scale of available groups doesn't justify needing a typeahead, converted it to an ordinary dropdown.

An added benefit is that this allows us to remove a large and complicated component we shouldn't be maintaining ourselves, but rather reuse from Ant.

Reviewed By: nikoant

Differential Revision: D26046131

fbshipit-source-id: f499e5848eec8b961b054104c8e3a01567e2801e
2021-01-26 05:29:58 -08:00
dependabot[bot]
de60b28cc7 Bump rsocket-flowable from 0.0.14 to 0.0.22 in /desktop (#1863)
Summary:
Bumps [rsocket-flowable](https://github.com/rsocket/rsocket-js) from 0.0.14 to 0.0.22.
<details>
<summary>Commits</summary>
<ul>
<li><a href="08bef0b23b"><code>08bef0b</code></a> v0.0.22</li>
<li><a href="d82ac4d8ad"><code>d82ac4d</code></a> bumps version</li>
<li><a href="1eea785dee"><code>1eea785</code></a> adds RoutingMetadata and removes deprecation of CompositeMetadata to enable `...</li>
<li><a href="4de7bd9980"><code>4de7bd9</code></a> improves CompositeMetadataExample</li>
<li><a href="7f4b418dd7"><code>7f4b418</code></a> adds support for AuthMetadata</li>
<li><a href="d8f69c6499"><code>d8f69c6</code></a> adds RoutingMetadata support</li>
<li><a href="8586850e42"><code>8586850</code></a> refactors CompositeMetadata API</li>
<li><a href="045c150101"><code>045c150</code></a> improves LiteBuffer and RSocketBufferUtils</li>
<li><a href="a1190c84ab"><code>a1190c8</code></a> v0.0.20</li>
<li><a href="0e72e419e2"><code>0e72e41</code></a> Revert &quot;v0.0.20&quot;</li>
<li>Additional commits viewable in <a href="https://github.com/rsocket/rsocket-js/compare/v0.0.14...v0.0.22">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~shadowgun">shadowgun</a>, a new releaser for rsocket-flowable since your current version.</p>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rsocket-flowable&package-manager=npm_and_yarn&previous-version=0.0.14&new-version=0.0.22)](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/1863

Reviewed By: passy

Differential Revision: D26047361

Pulled By: mweststrate

fbshipit-source-id: 7349245323311f8e161af385032847d996cef8e3
2021-01-26 05:26:28 -08:00
dependabot[bot]
b4319387ad Bump react-refresh from 0.8.3 to 0.9.0 in /desktop (#1861)
Summary:
Bumps [react-refresh](https://github.com/facebook/react/tree/HEAD/packages/react) from 0.8.3 to 0.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react/releases">react-refresh's releases</a>.</em></p>
<blockquote>
<h2>v0.9.0</h2>
<h2>What’s New?</h2>
<p>This version includes better support for normalizing event properties across all supported browsers so that you need to worry even less about cross-browser differences. We've also made many improvements to error messages and have refactored the core to never rethrow errors, so stack traces are more accurate and Chrome's purple break-on-error stop sign now works properly.</p>
<p>We've also added to the add-ons build <a href="https://github.com/facebook/react/tree/HEAD/packages/react/blob/HEAD/react/docs/test-utils.html">React.addons.TestUtils</a>, a set of new utilities to help you write unit tests for React components. You can now simulate events on your components, and several helpers are provided to help make assertions about the rendered DOM tree.</p>
<p>We've also made several other improvements and a few breaking changes; the full changelog is provided below.</p>
<h2>JSX Whitespace</h2>
<p>In addition to the changes to React core listed below, we've made a small change to the way JSX interprets whitespace to make things more consistent. With this release, space between two components on the same line will be preserved, while a newline separating a text node from a tag will be eliminated in the output. Consider the code:</p>
<pre lang="html"><code>&lt;div&gt;
  Monkeys:
  {listOfMonkeys} {submitButton}
&lt;/div&gt;
</code></pre>
<p>In v0.8 and below, it was transformed to the following:</p>
<pre lang="javascript"><code>React.DOM.div(null,
  &quot; Monkeys: &quot;,
  listOfMonkeys, submitButton
)
</code></pre>
<p>In v0.9, it will be transformed to this JS instead:</p>
<pre lang="javascript{2,3}"><code>React.DOM.div(null,
  &quot;Monkeys:&quot;,
  listOfMonkeys, &quot; &quot;, submitButton
)
</code></pre>
<p>We believe this new behavior is more helpful and elimates cases where unwanted whitespace was previously added.</p>
<p>In cases where you want to preserve the space adjacent to a newline, you can write <code>{'Monkeys: '}</code> or <code>Monkeys:{' '}</code> in your JSX source. We've included a script to do an automated codemod of your JSX source tree that preserves the old whitespace behavior by adding and removing spaces appropriately. You can <a href="https://github.com/facebook/react/blob/master/npm-jsx_whitespace_transformer/README.md">install jsx_whitespace_transformer from npm</a> and run it over your source tree to modify files in place. The transformed JSX files will preserve your code's existing whitespace behavior.</p>
<h2>Changelog</h2>
<h3>React Core</h3>
<h4>Breaking Changes</h4>
<ul>
<li>The lifecycle methods <code>componentDidMount</code> and <code>componentDidUpdate</code> no longer receive the root node as a parameter; use <code>this.getDOMNode()</code> instead</li>
<li>Whenever a prop is equal to <code>undefined</code>, the default value returned by <code>getDefaultProps</code> will now be used instead</li>
<li><code>React.unmountAndReleaseReactRootNode</code> was previously deprecated and has now been removed</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react/blob/master/CHANGELOG.md">react-refresh's changelog</a>.</em></p>
<blockquote>
<h2>0.9.0 (February 20, 2014)</h2>
<h3>React Core</h3>
<h4>Breaking Changes</h4>
<ul>
<li>The lifecycle methods <code>componentDidMount</code> and <code>componentDidUpdate</code> no longer receive the root node as a parameter; use <code>this.getDOMNode()</code> instead</li>
<li>Whenever a prop is equal to <code>undefined</code>, the default value returned by <code>getDefaultProps</code> will now be used instead</li>
<li><code>React.unmountAndReleaseReactRootNode</code> was previously deprecated and has now been removed</li>
<li><code>React.renderComponentToString</code> is now synchronous and returns the generated HTML string</li>
<li>Full-page rendering (that is, rendering the <code>&lt;html&gt;</code> tag using React) is now supported only when starting with server-rendered markup</li>
<li>On mouse wheel events, <code>deltaY</code> is no longer negated</li>
<li>When prop types validation fails, a warning is logged instead of an error thrown (with the production build of React, type checks are now skipped for performance)</li>
<li>On <code>input</code>, <code>select</code>, and <code>textarea</code> elements, <code>.getValue()</code> is no longer supported; use <code>.getDOMNode().value</code> instead</li>
<li><code>this.context</code> on components is now reserved for internal use by React</li>
</ul>
<h4>New Features</h4>
<ul>
<li>React now never rethrows errors, so stack traces are more accurate and Chrome's purple break-on-error stop sign now works properly</li>
<li>Added support for SVG tags <code>defs</code>, <code>linearGradient</code>, <code>polygon</code>, <code>radialGradient</code>, <code>stop</code></li>
<li>Added support for more attributes:
<ul>
<li><code>crossOrigin</code> for CORS requests</li>
<li><code>download</code> and <code>hrefLang</code> for <code>&lt;a&gt;</code> tags</li>
<li><code>mediaGroup</code> and <code>muted</code> for <code>&lt;audio&gt;</code> and <code>&lt;video&gt;</code> tags</li>
<li><code>noValidate</code> and <code>formNoValidate</code> for forms</li>
<li><code>property</code> for Open Graph <code>&lt;meta&gt;</code> tags</li>
<li><code>sandbox</code>, <code>seamless</code>, and <code>srcDoc</code> for <code>&lt;iframe&gt;</code> tags</li>
<li><code>scope</code> for screen readers</li>
<li><code>span</code> for <code>&lt;colgroup&gt;</code> tags</li>
</ul>
</li>
<li>Added support for defining <code>propTypes</code> in mixins</li>
<li>Added <code>any</code>, <code>arrayOf</code>, <code>component</code>, <code>oneOfType</code>, <code>renderable</code>, <code>shape</code> to <code>React.PropTypes</code></li>
<li>Added support for <code>statics</code> on component spec for static component methods</li>
<li>On all events, <code>.currentTarget</code> is now properly set</li>
<li>On keyboard events, <code>.key</code> is now polyfilled in all browsers for special (non-printable) keys</li>
<li>On clipboard events, <code>.clipboardData</code> is now polyfilled in IE</li>
<li>On drag events, <code>.dragTransfer</code> is now present</li>
<li>Added support for <code>onMouseOver</code> and <code>onMouseOut</code> in addition to the existing <code>onMouseEnter</code> and <code>onMouseLeave</code> events</li>
<li>Added support for <code>onLoad</code> and <code>onError</code> on <code>&lt;img&gt;</code> elements</li>
<li>Added support for <code>onReset</code> on <code>&lt;form&gt;</code> elements</li>
<li>The <code>autoFocus</code> attribute is now polyfilled consistently on <code>input</code>, <code>select</code>, and <code>textarea</code></li>
</ul>
<h4>Bug Fixes</h4>
<ul>
<li>React no longer adds an <code>__owner__</code> property to each component's <code>props</code> object; passed-in props are now never mutated</li>
<li>When nesting top-level components (e.g., calling <code>React.renderComponent</code> within <code>componentDidMount</code>), events now properly bubble to the parent component</li>
<li>Fixed a case where nesting top-level components would throw an error when updating</li>
<li>Passing an invalid or misspelled propTypes type now throws an error</li>
<li>On mouse enter/leave events, <code>.target</code>, <code>.relatedTarget</code>, and <code>.type</code> are now set properly</li>
<li>On composition events, <code>.data</code> is now properly normalized in IE9 and IE10</li>
<li>CSS property values no longer have <code>px</code> appended for the unitless properties <code>columnCount</code>, <code>flex</code>, <code>flexGrow</code>, <code>flexShrink</code>, <code>lineClamp</code>, <code>order</code>, <code>widows</code></li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/facebook/react/commits/v0.9.0/packages/react">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D26047350

Pulled By: mweststrate

fbshipit-source-id: ee94f7e41970ac8b01eeb4719b7a9dd0ac556398
2021-01-26 02:59:20 -08:00
dependabot[bot]
278f16947e Bump @babel/traverse from 7.12.10 to 7.12.12 in /desktop (#1859)
Summary:
Bumps [babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.12.10 to 7.12.12.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/releases"><code>babel/traverse's releases</code></a>.</em></p>
<blockquote>
<h2>v7.12.12 (2020-12-23)</h2>
<p>This was the first release <a href="https://github.com/babel/babel/actions/runs/440377535">published from GitHub Actions</a>! 🎉</p>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-plugin-transform-block-scoping</code>, <code>babel-traverse</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12530">#12530</a> skip discriminant when renamer starts from SwitchStatement (<a href="https://github.com/Zzzen"><code>Zzzen</code></a>)</li>
</ul>
</li>
<li><code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12521">#12521</a> Restore <code>babel/types</code> support for old TS versions (<a href="https://github.com/nicolo-ribaudo"><code>nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-transform-block-scoping</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12512">#12512</a> Fix annex B block function hoisting semantics (<a href="https://github.com/nicolo-ribaudo"><code>nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-polyfill</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12541">#12541</a> Archive <code>babel/polyfill</code> (<a href="https://github.com/nicolo-ribaudo"><code>nicolo-ribaudo</code></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/12524">#12524</a> refactor: Move <code>react-jsx-development</code> implementation into <code>react-jsx</code> (<a href="https://github.com/nicolo-ribaudo"><code>nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-fixtures</code>, <code>babel-helper-transform-fixture-test-runner</code>, <code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-plugin-proposal-decorators</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12130">#12130</a> Remove babel polyfill from fixture test runner (<a href="https://github.com/JLHwung"><code>JLHwung</code></a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12527">#12527</a> Update <code>release-tool</code> and define implicit deps for <code>babel/runtime</code> (<a href="https://github.com/nicolo-ribaudo"><code>nicolo-ribaudo</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12011">#12011</a> Enable PnP linker on CI build job (<a href="https://github.com/JLHwung"><code>JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 4</h4>
<ul>
<li>Babel Bot (<a href="https://github.com/babel-bot"><code>babel-bot</code></a>)</li>
<li>Huáng Jùnliàng (<a href="https://github.com/JLHwung"><code>JLHwung</code></a>)</li>
<li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo"><code>nicolo-ribaudo</code></a>)</li>
<li>Zen (<a href="https://github.com/Zzzen"><code>Zzzen</code></a>)</li>
</ul>
<h2>v7.12.11 (2020-12-16)</h2>
<p>Thanks <a href="https://github.com/vitorveiga"><code>vitorveiga</code></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"><code>JLHwung</code></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-traverse/issues/10046">#10046</a>) (<a href="https://github.com/vitorveiga"><code>vitorveiga</code></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"><code>nicolo-ribaudo</code></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"><code>Andarist</code></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"><code>JLHwung</code></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"><code>nicolo-ribaudo</code></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"><code>Andarist</code></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"><code>babel/traverse's changelog</code></a>.</em></p>
<blockquote>
<h2>v7.12.12 (2020-12-23)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-plugin-transform-block-scoping</code>, <code>babel-traverse</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12530">#12530</a> skip discriminant when renamer starts from SwitchStatement. Closes <a href="https://github-redirect.dependabot.com/babel/babel/issues/12148">#12148</a> (<a href="https://github.com/Zzzen"><code>Zzzen</code></a>)</li>
</ul>
</li>
<li><code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12521">#12521</a> Restore <code>babel/types</code> support for old TS versions (<a href="https://github.com/nicolo-ribaudo"><code>nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-transform-block-scoping</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12512">#12512</a> Fix annex B block function hoisting semantics (<a href="https://github.com/nicolo-ribaudo"><code>nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-polyfill</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12541">#12541</a> Archive <code>babel/polyfill</code> (<a href="https://github.com/nicolo-ribaudo"><code>nicolo-ribaudo</code></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/12524">#12524</a> refactor: Move <code>react-jsx-development</code> implementation into <code>react-jsx</code> (<a href="https://github.com/nicolo-ribaudo"><code>nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-fixtures</code>, <code>babel-helper-transform-fixture-test-runner</code>, <code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-plugin-proposal-decorators</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12130">#12130</a> Remove babel polyfill from fixture test runner (<a href="https://github.com/JLHwung"><code>JLHwung</code></a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12527">#12527</a> Update <code>release-tool</code> and define implicit deps for <code>babel/runtime</code> (<a href="https://github.com/nicolo-ribaudo"><code>nicolo-ribaudo</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12011">#12011</a> Enable PnP linker on CI build job (<a href="https://github.com/JLHwung"><code>JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<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"><code>JLHwung</code></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-traverse/issues/10046">#10046</a>) (<a href="https://github.com/vitorveiga"><code>vitorveiga</code></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"><code>nicolo-ribaudo</code></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"><code>Andarist</code></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"><code>JLHwung</code></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"><code>nicolo-ribaudo</code></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"><code>Andarist</code></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"><code>zxbodya</code></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"><code>JLHwung</code></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"><code>JLHwung</code></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"><code>nicolo-ribaudo</code></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"><code>Andarist</code></a>)</li>
</ul>
</li>
<li><code>babel-standalone</code>, <code>babel-types</code></li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d88c60cea9"><code>d88c60c</code></a> v7.12.12</li>
<li><a href="e08f68bf61"><code>e08f68b</code></a> Skip discriminant when renaming starting from <code>SwitchStatement</code> (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-traverse/issues/12530">#12530</a>)</li>
<li>See full diff in <a href="https://github.com/babel/babel/commits/v7.12.12/packages/babel-traverse">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D26047343

Pulled By: mweststrate

fbshipit-source-id: 3f10245b3d108c6464304d8b1f31f3a24cd69c46
2021-01-25 09:14:48 -08:00
dependabot[bot]
35fe336537 Bump console-feed from 3.1.10 to 3.2.1 in /desktop (#1862)
Summary:
Bumps [console-feed](https://github.com/samdenty99/console-feed) from 3.1.10 to 3.2.1.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/samdenty99/console-feed/commits">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=console-feed&package-manager=npm_and_yarn&previous-version=3.1.10&new-version=3.2.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/1862

Reviewed By: passy

Differential Revision: D26047359

Pulled By: mweststrate

fbshipit-source-id: de6735949589ea7d319dd2f48f78d3d89bb4ab47
2021-01-25 09:14:48 -08:00
dependabot[bot]
802edb9749 Bump @types/which from 1.3.2 to 2.0.0 in /desktop (#1860)
Summary:
Bumps [types/which](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/which) from 1.3.2 to 2.0.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/which">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D26047347

Pulled By: mweststrate

fbshipit-source-id: 7a9549468273f69112ca5986e1dedc65c5e43068
2021-01-25 09:14:48 -08:00
John Knox
3e911c8288 Add option to cold boot emulators
Summary: This is useful when your emulator freezes.

Reviewed By: mweststrate

Differential Revision: D25998579

fbshipit-source-id: 236c16c3008f0e33d62e4c486b5a04383b1a59ba
2021-01-25 08:57:01 -08:00
Michel Weststrate
d77940a839 Don't require an app in Flipper specific support questions
Summary: Changelog: Submitting a bug report to Flipper itself no longer requires to have an app connected

Reviewed By: jknoxville

Differential Revision: D26046284

fbshipit-source-id: d86ba7668c4187629752a9c27d63209af61bda13
2021-01-25 06:42:50 -08:00
Michel Weststrate
e5232da402 make sure Dropdown.Button uses flex like Button
Summary: Button fills out by default in Ant design if used in a flex container. Dropdown.Button doesn't do so. With this change

Reviewed By: jknoxville

Differential Revision: D26045409

fbshipit-source-id: 593b767aa7e38a98c8887b426f36fe41cb41bfd3
2021-01-25 06:42:50 -08:00
Michel Weststrate
12e59afdc6 Remove non-Sandy UI
Summary:
This removes the Non-Sandy UI from the Flipper codebase. It is a pretty rough scan for unused components, over time when converting more advanced components to Ant design probably even more code can be removed.

Partially used `npx ts-purge` to reveal never imported source files.

Changelog: It is no longer possible to opt out of the new Sandy UI

Reviewed By: jknoxville

Differential Revision: D25825282

fbshipit-source-id: 9041dbc7e03bce0760c9a0a34f1877851b5f06cf
2021-01-25 04:48:45 -08:00
Michel Weststrate
ba74b074c2 Fix employee detection in OSS version
Summary: Changelog: Fix incorrect warning in OSS builds hinting to install a closed source build. Fixes #1853

Reviewed By: passy

Differential Revision: D26019227

fbshipit-source-id: 61a0270997d0aa67d55224e4f6268ed3103099c7
2021-01-22 09:14:34 -08:00
Anton Nikolaev
592d4b9227 Pass release channel when checking for update
Summary: Retrieve updated version in accordance to the currently selected release channel. Also changed message for "insiders" channel - removed mention of fbsource pinning.

Reviewed By: mweststrate

Differential Revision: D26011703

fbshipit-source-id: 7f3396e89db047cb24b4e00b224f79ca0fd64327
2021-01-22 08:21:47 -08:00
Anton Nikolaev
8ce69975a5 Re-enable asar and unpack PortForwardingMacApp
Summary: Enabled asar packaging for Flipper resources, and set PortForwardingMacApp as unpacked from it, because it is launched as external app.

Reviewed By: passy

Differential Revision: D26006771

fbshipit-source-id: 91c8401a469a390144bf9867996a66d754ea90e6
2021-01-22 08:21:47 -08:00
Michel Weststrate
ab31ad69e9 Fix keyboard events to incorrectly listen / propagate globally
Summary:
As reported in https://fb.workplace.com/groups/flippersupport/permalink/1033379297142728/,

using keyboard shortcuts in one component, can change the state of another.

This was caused by two problems:
1. ManagedTable established a global keyboard listener, rather than a local one
2. The Layout Inspector did not stop its keyboard events from propagating up in the DOM

This diff fixes both issues

Reviewed By: timur-valiev

Differential Revision: D26018248

fbshipit-source-id: 23d9cc38ad56d47213cb553ffaf528b05fbe1929
2021-01-22 06:11:50 -08:00
Michel Weststrate
727c99b729 Introduce support for no hardware acceleration
Summary: Start flipper with `--no-launcher --disable-gpu` to disable hardware acceleration

Reviewed By: passy

Differential Revision: D25994355

fbshipit-source-id: e75bb209c8e3325135a114bec1f25889187d2728
2021-01-22 05:31:00 -08:00
Michel Weststrate
e67ed8030d Make settings dialog scrollable
Summary: Make settings dialog content scrollable, which is more natural than scrolling the entire window, as reported in https://fb.workplace.com/groups/flippersupport/permalink/1063196077494383/

Reviewed By: nikoant

Differential Revision: D26015864

fbshipit-source-id: 8c74e105c290e62313e332ed1b47040eff548a97
2021-01-22 02:06:19 -08:00
dependabot[bot]
0b4d5fedc1 Bump recharts from 1.7.1 to 2.0.3 in /desktop (#1846)
Summary:
Bumps [recharts](https://github.com/recharts/recharts) from 1.7.1 to 2.0.3.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/recharts/recharts/blob/master/CHANGELOG.md">recharts's changelog</a>.</em></p>
<blockquote>
<h2>2.0.3 (Jan 13, 2021)</h2>
<h3>refactor</h3>
<ul>
<li>use <code>getDerivedStateFromProps</code> to replace <code>UNSAFE_componentWillReceiveProps</code>, support react@17, <a href="https://github-redirect.dependabot.com/recharts/recharts/issues/2385">#2385</a></li>
</ul>
<h2>2.0.2 (Jan 12, 2021)</h2>
<h3>fix</h3>
<ul>
<li>fix lint error</li>
</ul>
<h2>2.0.1 (Jan 12, 2021)</h2>
<h3>fix</h3>
<ul>
<li>Fix typo, createLabeldScales -&gt; createLabeledScales</li>
<li>Prefer Number.isFinite if available</li>
<li>fix types error</li>
<li>fix(package.json): disable side effects explicitly</li>
</ul>
<h3>feat</h3>
<ul>
<li>Add aria-hidden to measurementSpan</li>
</ul>
<h2>2.0.0 (Dec 29, 2020)</h2>
<h3>fix</h3>
<ul>
<li>fix minAngle for 0 in PieChart, fix #<a href="https://github-redirect.dependabot.com/recharts/recharts/issues/2237">#2237</a></li>
<li>fix type error of <!-- raw HTML omitted -->, fix <a href="https://github-redirect.dependabot.com/recharts/recharts/issues/2335">#2335</a></li>
<li>fix type error of cursor in <!-- raw HTML omitted -->, fix <a href="https://github-redirect.dependabot.com/recharts/recharts/issues/2178">#2178</a></li>
<li>fix Props of XAxis, fix <a href="https://github-redirect.dependabot.com/recharts/recharts/issues/2128">#2128</a></li>
<li>export Props of components, fix <a href="https://github-redirect.dependabot.com/recharts/recharts/issues/2319">#2319</a>, <a href="https://github-redirect.dependabot.com/recharts/recharts/issues/2156">#2156</a>, <a href="https://github-redirect.dependabot.com/recharts/recharts/issues/2203">#2203</a></li>
<li>Fix typo, getRectangePath -&gt; getRectanglePath in Rectangle</li>
<li>allow Duplicated Category for bar charts not using correct entries for custom tool tips</li>
<li>fixing typescript array coalesce</li>
<li>fix types error of sankey, fix <a href="https://github-redirect.dependabot.com/recharts/recharts/issues/2280">#2280</a></li>
<li>Fixed SVG path for pie charts when corner radius is set to a value other than zero (<a href="https://github-redirect.dependabot.com/recharts/recharts/issues/2331">#2331</a>)</li>
</ul>
<h3>feat</h3>
<ul>
<li>add props <code>reversed</code> to <code>&lt;Funnel /&gt;</code></li>
<li>add <code>breakAll</code> props to <code>&lt;Text /&gt;</code> to allow break all for chinese</li>
<li>fix width of labelList in Funnel; fix <a href="https://github-redirect.dependabot.com/recharts/recharts/issues/2056">#2056</a>, <a href="https://github-redirect.dependabot.com/recharts/recharts/issues/1866">#1866</a></li>
<li>support range RadarChart and add props <code>connectNulls</code> to <!-- raw HTML omitted -->, fix <a href="https://github-redirect.dependabot.com/recharts/recharts/issues/1890">#1890</a></li>
<li>add ability to pass in custom legend icon.</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a7f39d196c"><code>a7f39d1</code></a> Version 2.0.3</li>
<li><a href="702163b27a"><code>702163b</code></a> fix: update test case</li>
<li><a href="2b635f43ef"><code>2b635f4</code></a> fix: fix type error of &lt;Text /&gt;</li>
<li><a href="29b793b33e"><code>29b793b</code></a> refactor: use <code>getDerivedStateFromProps</code> to replace `UNSAFE_componentWillRece...</li>
<li><a href="69da3a2e24"><code>69da3a2</code></a> Version 2.0.2</li>
<li><a href="aeea67edf1"><code>aeea67e</code></a> fix: fix lint error</li>
<li><a href="e9e71b0849"><code>e9e71b0</code></a> Version 2.0.1</li>
<li><a href="f4d0153225"><code>f4d0153</code></a> refactor: rewirte demo by ts, fix type error, fix <a href="https://github-redirect.dependabot.com/recharts/recharts/issues/2372">#2372</a></li>
<li><a href="c35db1ef71"><code>c35db1e</code></a> refactor: use .tsx to write demo files</li>
<li><a href="98294c97b4"><code>98294c9</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/recharts/recharts/issues/2362">#2362</a> from juajang/chore</li>
<li>Additional commits viewable in <a href="https://github.com/recharts/recharts/compare/v1.7.1...v2.0.3">compare view</a></li>
</ul>
</details>
<br />

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

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

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

 ---

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

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

</details>

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

Reviewed By: mweststrate

Differential Revision: D25945597

Pulled By: priteshrnandgaonkar

fbshipit-source-id: d4061cfd9f5a4638443ade74fa67b4340da10cce
2021-01-21 04:37:51 -08:00
Michel Weststrate
a6c1a95be7 Bump Immer to fix potential security issue
Summary:
Immer had security issues. Noobs.

Only the patches feature was affected, which at this moment isn't used by any known plugin, but just in case.

Reviewed By: passy

Differential Revision: D25993961

fbshipit-source-id: 9bfe7065c90865d912ebcfd14c1117697bf714f7
2021-01-21 04:20:21 -08:00
Pascal Hartig
aacf5b8565 Hard-code mutable version info for Windows
Summary:
This is quite hacky but avoids having to patch electron-builder directly.

We're intercepting the signing/editing process on Windows and triggering it ourselves while overriding version information that otherwise changes for every release causing cache invalidations to occur. This does *not* change the version display in the app as we're not depending on the PE metadata but on the version in the `package.json`.

Reviewed By: nikoant, mweststrate

Differential Revision: D25973921

fbshipit-source-id: 0fad07f3597fba9927643d24fba12f8750ca54bc
2021-01-21 03:43:17 -08:00
bizzguy
1559c1ef2c Network Plugin - Update UI for routes (#1831)
Summary:
The current UI for managing mock network request definitions (routes) has some issues
- too small for the amount of information it displays
- no formatting for JSON response bodies
- uses the older design system (not ant)
- no separation between commands for creating routes and the list of routes

The following screen images show these problems.

![image](https://user-images.githubusercontent.com/337874/104691438-deb9cb00-56cb-11eb-92df-9e2d122f65c2.png)

![image](https://user-images.githubusercontent.com/337874/104691471-eda07d80-56cb-11eb-8f82-444d591ff966.png)

## Changelog

Enhance UI for Mocks dialog in Network Plugin

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

Test Plan:
Ran multiple manual tests using the Android sample app.  Here is a screen image (at 1280 x 720) for the enhanced UI.

![image](https://user-images.githubusercontent.com/337874/104691649-37896380-56cc-11eb-849f-4e470bb7fbc4.png)

Reviewed By: mweststrate

Differential Revision: D25922798

Pulled By: priteshrnandgaonkar

fbshipit-source-id: d27ba30a7eb51105a8d381097ecaafd82624cad5
2021-01-20 15:45:38 -08:00
Pascal Hartig
4a8e98733d Simpler win sign exception
Summary:
We're skipping the signing and editing of EXEs on Windows. This is only temporary but I want to have an atomic commit we can go back to. This is to avoid cache eviction due to version numbers being encoded in the binary.

This means you're not getting the logo on the binary and copyright information, etc. We're not actually shipping these right now, so the real-world impact of this is zero.

Reviewed By: mweststrate

Differential Revision: D25973944

fbshipit-source-id: d076919acfaac1f618178294baff3e9122d820bf
2021-01-20 09:14:21 -08:00
Pascal Hartig
f6087cf765 Fix typo
Summary: Per title

Reviewed By: mweststrate

Differential Revision: D25973952

fbshipit-source-id: cf01555d3536da1eef2cd386aa5def424dc3f159
2021-01-20 09:14:21 -08:00
Pascal Hartig
a740f659ab Move node-fetch to devDeps
Summary: That was my fault.

Reviewed By: nikoant

Differential Revision: D25952731

fbshipit-source-id: aee3f7d80355aef4d033008877cd79280377e08d
2021-01-20 09:14:21 -08:00
generatedunixname89002005306973
bbd43eb5d1 Flipper Release: v0.72.0
Summary: Releasing version 0.72.0

Reviewed By: mweststrate

Differential Revision: D25972053

fbshipit-source-id: 5c399900a02e27af6ce0b724a3103e279fc59d93
2021-01-20 04:03:27 -08:00
dependabot[bot]
e15520084d Bump @oclif/command from 1.6.1 to 1.8.0 in /desktop (#1843)
Summary:
Bumps [oclif/command](https://github.com/oclif/command) from 1.6.1 to 1.8.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/oclif/command/releases">oclif/command's releases</a>.</em></p>
<blockquote>
<h2>v1.8.0</h2>
<ul>
<li>feat: support src/command/index cmd (<a href="https://github-redirect.dependabot.com/oclif/command/issues/141">https://github.com/facebook/flipper/issues/141</a>)  90ac072</li>
<li>chore(deps-dev): bump types/node from 14.0.26 to 14.0.27 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/144">https://github.com/facebook/flipper/issues/144</a>)  07bcfaa</li>
<li>chore(deps-dev): bump types/mocha from 7.0.2 to 8.0.0 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/133">https://github.com/facebook/flipper/issues/133</a>)  b3efe1e</li>
<li>chore: sync dependabot.yml (<a href="https://github-redirect.dependabot.com/oclif/command/issues/140">https://github.com/facebook/flipper/issues/140</a>)  ee5500a</li>
<li>chore(deps-dev): bump types/chai from 4.2.11 to 4.2.12 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/137">https://github.com/facebook/flipper/issues/137</a>)  bbe0347</li>
<li>chore(deps-dev): bump types/node from 14.0.25 to 14.0.26 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/139">https://github.com/facebook/flipper/issues/139</a>)  6d2c954</li>
<li>chore(deps-dev): bump types/node from 14.0.24 to 14.0.25 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/138">https://github.com/facebook/flipper/issues/138</a>)  a0ebf78</li>
<li>chore(deps-dev): bump eslint from 7.4.0 to 7.5.0 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/135">https://github.com/facebook/flipper/issues/135</a>)  6e68c31</li>
<li>chore(deps-dev): bump types/node from 14.0.23 to 14.0.24 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/136">https://github.com/facebook/flipper/issues/136</a>)  5ace218</li>
<li>chore(deps-dev): bump types/node from 14.0.14 to 14.0.23 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/132">https://github.com/facebook/flipper/issues/132</a>)  7f08f9f</li>
<li>chore(deps): bump lodash from 4.17.15 to 4.17.19 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/134">https://github.com/facebook/flipper/issues/134</a>)  c45479a</li>
<li>chore(deps-dev): bump eslint from 7.3.1 to 7.4.0 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/127">https://github.com/facebook/flipper/issues/127</a>)  87a2e54</li>
<li>chore(deps-dev): bump oclif/plugin-plugins from 1.8.3 to 1.9.0 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/126">https://github.com/facebook/flipper/issues/126</a>)  90b5130</li>
<li>chore(deps-dev): bump cli-ux from 5.4.8 to 5.4.9 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/125">https://github.com/facebook/flipper/issues/125</a>)  3ff5e3e</li>
<li>chore(deps-dev): bump oclif/plugin-plugins from 1.7.7 to 1.8.3 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/123">https://github.com/facebook/flipper/issues/123</a>)  b018bb6</li>
<li>chore(deps-dev): bump sinon from 9.0.1 to 9.0.2 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/121">https://github.com/facebook/flipper/issues/121</a>)  cd750cd</li>
<li>chore(deps): bump semver from 5.6.0 to 7.3.2 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/114">https://github.com/facebook/flipper/issues/114</a>)  5405ef7</li>
<li>chore(deps): bump oclif/config from 1.15.1 to 1.16.0 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/119">https://github.com/facebook/flipper/issues/119</a>)  3823239</li>
<li>chore(deps-dev): bump globby from 9.0.0 to 11.0.1 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/120">https://github.com/facebook/flipper/issues/120</a>)  29d7b09</li>
<li>chore(deps-dev): bump ts-node from 8.8.2 to 8.10.2 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/118">https://github.com/facebook/flipper/issues/118</a>)  dbe5e06</li>
<li>chore(deps-dev): bump cli-ux from 5.4.6 to 5.4.7 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/117">https://github.com/facebook/flipper/issues/117</a>)  7b39961</li>
</ul>
<p><a href="https://github.com/oclif/command/compare/v1.7.0...v1.8.0">https://github.com/oclif/command/compare/v1.7.0...v1.8.0</a></p>
<h2>v1.7.0</h2>
<ul>
<li>feat: add pretty printable interface to methods on command (<a href="https://github-redirect.dependabot.com/oclif/command/issues/96">https://github.com/facebook/flipper/issues/96</a>)  2db646d</li>
<li>chore(deps-dev): bump types/semver from 5.5.0 to 7.3.1 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/115">https://github.com/facebook/flipper/issues/115</a>)  a95a224</li>
<li>chore(deps-dev): bump types/node from 10.12.24 to 14.0.14 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/113">https://github.com/facebook/flipper/issues/113</a>)  f94d803</li>
<li>chore(deps): bump oclif/errors from 1.2.2 to 1.3.2 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/112">https://github.com/facebook/flipper/issues/112</a>)  6616a74</li>
<li>chore(deps-dev): bump conventional-changelog-cli from 2.0.12 to 2.0.34 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/108">https://github.com/facebook/flipper/issues/108</a>)  0f7c970</li>
<li>chore(deps-dev): bump eslint from 6.6.0 to 7.3.1 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/109">https://github.com/facebook/flipper/issues/109</a>)  5a8a5d9</li>
<li>chore(deps-dev): bump eslint-config-oclif-typescript from 0.1.0 to 0.2.0 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/107">https://github.com/facebook/flipper/issues/107</a>)  64ae1c5</li>
<li>chore(deps-dev): bump types/chai from 4.1.7 to 4.2.11 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/102">https://github.com/facebook/flipper/issues/102</a>)  57cf8da</li>
<li>chore(deps-dev): bump types/mocha from 5.2.6 to 7.0.2 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/100">https://github.com/facebook/flipper/issues/100</a>)  f6ad742</li>
<li>chore(deps): bump oclif/parser from 3.8.4 to 3.8.5 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/99">https://github.com/facebook/flipper/issues/99</a>)  5053a60</li>
<li>chore(deps): bump oclif/plugin-help from 3.0.0 to 3.1.0 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/101">https://github.com/facebook/flipper/issues/101</a>)  71aa7fe</li>
<li>chore(deps-dev): bump cli-ux from 5.1.0 to 5.4.6 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/103">https://github.com/facebook/flipper/issues/103</a>)  b34dc59</li>
<li>chore: pin typescript (<a href="https://github-redirect.dependabot.com/oclif/command/issues/98">https://github.com/facebook/flipper/issues/98</a>)  7d326f5</li>
<li>chore: add compile check to pretest (<a href="https://github-redirect.dependabot.com/oclif/command/issues/105">https://github.com/facebook/flipper/issues/105</a>)  672a383</li>
<li>chore: add dependabot.yml (<a href="https://github-redirect.dependabot.com/oclif/command/issues/97">https://github.com/facebook/flipper/issues/97</a>)  66f04f5</li>
<li>refactor: cleanup flags types (<a href="https://github-redirect.dependabot.com/oclif/command/issues/93">https://github.com/facebook/flipper/issues/93</a>)  1979520</li>
<li>feat: add types for flush (<a href="https://github-redirect.dependabot.com/oclif/command/issues/94">https://github.com/facebook/flipper/issues/94</a>)  492cadb</li>
<li>chore: add windows ci via github actions (<a href="https://github-redirect.dependabot.com/oclif/command/issues/90">https://github.com/facebook/flipper/issues/90</a>)  fb28f3e</li>
</ul>
<p><a href="https://github.com/oclif/command/compare/v1.6.1...v1.7.0">https://github.com/oclif/command/compare/v1.6.1...v1.7.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/oclif/command/blob/master/CHANGELOG.md">oclif/command's changelog</a>.</em></p>
<blockquote>
<h1><a href="https://github.com/oclif/command/compare/v1.7.0...v1.8.0">1.8.0</a> (2020-08-03)</h1>
<h3>Features</h3>
<ul>
<li>support src/command/index cmd (<a href="https://github-redirect.dependabot.com/oclif/command/issues/141">https://github.com/facebook/flipper/issues/141</a>) (<a href="90ac07256b">90ac072</a>)</li>
</ul>
<h1><a href="https://github.com/oclif/command/compare/v1.6.1...v1.7.0">1.7.0</a> (2020-06-29)</h1>
<h3>Features</h3>
<ul>
<li>add pretty printable interface to methods on command (<a href="https://github-redirect.dependabot.com/oclif/command/issues/96">https://github.com/facebook/flipper/issues/96</a>) (<a href="2db646d553">2db646d</a>)</li>
<li>add types for flush (<a href="https://github-redirect.dependabot.com/oclif/command/issues/94">https://github.com/facebook/flipper/issues/94</a>) (<a href="492cadb789">492cadb</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="43c406c3e4"><code>43c406c</code></a> v1.8.0</li>
<li><a href="90ac07256b"><code>90ac072</code></a> feat: support src/command/index cmd (<a href="https://github-redirect.dependabot.com/oclif/command/issues/141">https://github.com/facebook/flipper/issues/141</a>)</li>
<li><a href="07bcfaac13"><code>07bcfaa</code></a> chore(deps-dev): bump types/node from 14.0.26 to 14.0.27 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/144">https://github.com/facebook/flipper/issues/144</a>)</li>
<li><a href="b3efe1e5e0"><code>b3efe1e</code></a> chore(deps-dev): bump types/mocha from 7.0.2 to 8.0.0 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/133">https://github.com/facebook/flipper/issues/133</a>)</li>
<li><a href="ee5500a932"><code>ee5500a</code></a> chore: sync dependabot.yml (<a href="https://github-redirect.dependabot.com/oclif/command/issues/140">https://github.com/facebook/flipper/issues/140</a>)</li>
<li><a href="bbe03470f4"><code>bbe0347</code></a> chore(deps-dev): bump types/chai from 4.2.11 to 4.2.12 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/137">https://github.com/facebook/flipper/issues/137</a>)</li>
<li><a href="6d2c954316"><code>6d2c954</code></a> chore(deps-dev): bump types/node from 14.0.25 to 14.0.26 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/139">https://github.com/facebook/flipper/issues/139</a>)</li>
<li><a href="a0ebf78d6e"><code>a0ebf78</code></a> chore(deps-dev): bump types/node from 14.0.24 to 14.0.25 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/138">https://github.com/facebook/flipper/issues/138</a>)</li>
<li><a href="6e68c31d3c"><code>6e68c31</code></a> chore(deps-dev): bump eslint from 7.4.0 to 7.5.0 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/135">https://github.com/facebook/flipper/issues/135</a>)</li>
<li><a href="5ace21880c"><code>5ace218</code></a> chore(deps-dev): bump types/node from 14.0.23 to 14.0.24 (<a href="https://github-redirect.dependabot.com/oclif/command/issues/136">https://github.com/facebook/flipper/issues/136</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/oclif/command/compare/v1.6.1...v1.8.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@oclif/command&package-manager=npm_and_yarn&previous-version=1.6.1&new-version=1.8.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/1843

Reviewed By: mweststrate

Differential Revision: D25945574

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 346009341ca6a06646bf827a66c1ee338420bbe1
2021-01-19 18:45:39 -08:00
dependabot[bot]
ea4b8b8f8a Bump socket.io from 2.3.0 to 3.1.0 in /desktop (#1845)
Summary:
Bumps [socket.io](https://github.com/socketio/socket.io) from 2.3.0 to 3.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/socketio/socket.io/releases">socket.io's releases</a>.</em></p>
<blockquote>
<h2>3.1.0</h2>
<p>In order to ease the migration to Socket.IO v3, the v3 server is now able to communicate with v2 clients:</p>
<pre lang="js"><code>const io = require(&quot;socket.io&quot;)({
  allowEIO3: true // false by default
});
</code></pre>
<p>Note: the <code>allowEIO3</code> refers to the version 3 of the Engine.IO protocol which is used in Socket.IO v2</p>
<h3>Features</h3>
<ul>
<li>confirm a weak but matching ETag (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/3485">#3485</a>) (<a href="161091dd4c">161091d</a>)</li>
<li><strong>esm:</strong> export the Namespace and Socket class (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/3699">#3699</a>) (<a href="233650c222">233650c</a>)</li>
<li>add support for Socket.IO v2 clients (<a href="9925746c8e">9925746</a>)</li>
<li>add room events (<a href="155fa6333a">155fa63</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>allow integers as event names (<a href="1c220ddbf4">1c220dd</a>)</li>
</ul>
<h4>Links:</h4>
<ul>
<li>Milestone: -</li>
<li>Diff: <a href="https://github.com/socketio/socket.io/compare/3.0.5...3.1.0">https://github.com/socketio/socket.io/compare/3.0.5...3.1.0</a></li>
<li>Client release: <a href="https://github.com/socketio/socket.io-client/releases/tag/3.1.0">3.1.0</a></li>
<li>engine.io version:  <code>~4.1.0</code></li>
<li>ws version: <code>~7.4.2</code></li>
</ul>
<h2>3.0.5</h2>
<h3>Bug Fixes</h3>
<ul>
<li>properly clear timeout on connection failure (<a href="170b739f14">170b739</a>)</li>
</ul>
<h3>Reverts</h3>
<ul>
<li>restore the socket middleware functionality (<a href="bf54327421">bf54327</a>)</li>
</ul>
<h4>Links:</h4>
<ul>
<li>Milestone: -</li>
<li>Diff: <a href="https://github.com/socketio/socket.io/compare/3.0.4...3.0.5">https://github.com/socketio/socket.io/compare/3.0.4...3.0.5</a></li>
<li>Client release: <a href="https://github.com/socketio/socket.io-client/releases/tag/3.0.5">3.0.5</a></li>
<li>engine.io version:  <code>~4.0.6</code></li>
<li>ws version: <code>~7.4.2</code></li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/socketio/socket.io/blob/master/CHANGELOG.md">socket.io's changelog</a>.</em></p>
<blockquote>
<h1><a href="https://github.com/socketio/socket.io/compare/3.0.5...3.1.0">3.1.0</a> (2021-01-15)</h1>
<h3>Features</h3>
<ul>
<li>confirm a weak but matching ETag (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/3485">#3485</a>) (<a href="161091dd4c">161091d</a>)</li>
<li><strong>esm:</strong> export the Namespace and Socket class (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/3699">#3699</a>) (<a href="233650c222">233650c</a>)</li>
<li>add support for Socket.IO v2 clients (<a href="9925746c8e">9925746</a>)</li>
<li>add room events (<a href="155fa6333a">155fa63</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>allow integers as event names (<a href="1c220ddbf4">1c220dd</a>)</li>
</ul>
<h2><a href="https://github.com/socketio/socket.io/compare/3.0.4...3.0.5">3.0.5</a> (2021-01-05)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>properly clear timeout on connection failure (<a href="170b739f14">170b739</a>)</li>
</ul>
<h3>Reverts</h3>
<ul>
<li>restore the socket middleware functionality (<a href="bf54327421">bf54327</a>)</li>
</ul>
<h2><a href="https://github.com/socketio/socket.io/compare/3.0.3...3.0.4">3.0.4</a> (2020-12-07)</h2>
<h2><a href="https://github.com/socketio/socket.io/compare/3.0.2...3.0.3">3.0.3</a> (2020-11-19)</h2>
<h2><a href="https://github.com/socketio/socket.io/compare/3.0.1...3.0.2">3.0.2</a> (2020-11-17)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>merge Engine.IO options (<a href="43705d7a91">43705d7</a>)</li>
</ul>
<h2><a href="https://github.com/socketio/socket.io/compare/3.0.0...3.0.1">3.0.1</a> (2020-11-09)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>export ServerOptions and Namespace types (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/3684">#3684</a>) (<a href="f62f180eda">f62f180</a>)</li>
<li><strong>typings:</strong> update the signature of the emit method (<a href="50671d984a">50671d9</a>)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f05a4a6f82"><code>f05a4a6</code></a> chore(release): 3.1.0</li>
<li><a href="2c883f5d4e"><code>2c883f5</code></a> chore: bump socket.io-adapter version</li>
<li><a href="161091dd4c"><code>161091d</code></a> feat: confirm a weak but matching ETag (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/3485">#3485</a>)</li>
<li><a href="d52532b7be"><code>d52532b</code></a> docs: add other client implementations (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/3593">#3593</a>)</li>
<li><a href="6b1d7901db"><code>6b1d790</code></a> docs(examples): Improve the chat example with more ES6 features (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/3240">#3240</a>)</li>
<li><a href="b55892ae80"><code>b55892a</code></a> docs: add run on repl.it badge to README (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/3617">#3617</a>)</li>
<li><a href="233650c222"><code>233650c</code></a> feat(esm): export the Namespace and Socket class (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/3699">#3699</a>)</li>
<li><a href="9925746c8e"><code>9925746</code></a> feat: add support for Socket.IO v2 clients</li>
<li><a href="de8dffd252"><code>de8dffd</code></a> refactor: strict type check in if expressions (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/3744">#3744</a>)</li>
<li><a href="f8a66fd11a"><code>f8a66fd</code></a> chore(release): 3.0.5</li>
<li>Additional commits viewable in <a href="https://github.com/socketio/socket.io/compare/2.3.0...3.1.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=socket.io&package-manager=npm_and_yarn&previous-version=2.3.0&new-version=3.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

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

 ---

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

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

</details>

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

Reviewed By: mweststrate

Differential Revision: D25945568

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 31e4955729b2ce16de88243e9520429f59922d58
2021-01-19 18:45:38 -08:00
Michel Weststrate
18ff69bacd Clean up home screen
Summary: The default screen without any devices or magic GK's was a bit noisy, this diffs cleans it up

Reviewed By: jknoxville

Differential Revision: D25946004

fbshipit-source-id: 76b7eec16b433544e9872e726e8f57dd1ce02b0f
2021-01-19 11:37:24 -08:00
Michel Weststrate
69c8413c57 Check for most recent Flipper version in internal builds as well
Reviewed By: passy

Differential Revision: D25945643

fbshipit-source-id: 4a831fa8d69c38004c8660597659ebd7007a3230
2021-01-19 07:10:00 -08:00
Michel Weststrate
84c05d441d Turn update message into notification
Summary: Based on discussion in D25805957 (ffeb47ed75), instead of showing a warning icon in the siderail, Flipper now shows a notification if there is a version / launcher issue or an update available

Reviewed By: nikoant

Differential Revision: D25924534

fbshipit-source-id: 625e46e41d9aa58f49e8bb77e5c513de0ddfbd6a
2021-01-19 07:09:59 -08:00
Michel Weststrate
6f75e39ca5 Clean up employee warning
Summary: Replaced in-your-face warning with a but more subtle one. Means also less usage of component lib.

Reviewed By: nikoant

Differential Revision: D25944965

fbshipit-source-id: 02a66ff96df2ab8b648f8b8cbeb30d025adfd5a8
2021-01-19 07:09:59 -08:00
dependabot[bot]
b8e6b38a0c Bump @typescript-eslint/eslint-plugin from 4.4.0 to 4.13.0 in /desktop (#1844)
Summary:
Bumps [typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.4.0 to 4.13.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases">typescript-eslint/eslint-plugin's releases</a>.</em></p>
<blockquote>
<h2>v4.13.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.12.0...v4.13.0">4.13.0</a> (2021-01-11)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> support eslint@5 (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2917">#2917</a>) (<a href="f606846af2">f606846</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [sort-type-union-intersection-members] add nullish group (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2919">#2919</a>) (<a href="5558f41000">5558f41</a>)</li>
</ul>
<h2>v4.12.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.11.1...v4.12.0">4.12.0</a> (2021-01-04)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [comma-spacing] handle empty type params (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2915">#2915</a>) (<a href="4d69fbba91">4d69fbb</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> add rule <code>sort-type-union-intersection-members</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2913">#2913</a>) (<a href="9092c0494e">9092c04</a>)</li>
</ul>
<h2>v4.11.1</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.11.0...v4.11.1">4.11.1</a> (2020-12-28)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [naming-convention] fix precedence of method and property meta selectors (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2877">#2877</a>) (<a href="2f10e1a5c7">2f10e1a</a>)</li>
</ul>
<h2>v4.11.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.10.0...v4.11.0">4.11.0</a> (2020-12-21)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [non-nullable-type-assertion-style] handle const assertion (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2881">#2881</a>) (<a href="53dc34d391">53dc34d</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [prom-func-async] add automatic fix (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2845">#2845</a>) (<a href="717e718e91">717e718</a>)</li>
</ul>
<h2>v4.10.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.9.1...v4.10.0">4.10.0</a> (2020-12-14)</h1>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md">typescript-eslint/eslint-plugin's changelog</a>.</em></p>
<blockquote>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.12.0...v4.13.0">4.13.0</a> (2021-01-11)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> support eslint@5 (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2917">#2917</a>) (<a href="f606846af2">f606846</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [sort-type-union-intersection-members] add nullish group (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2919">#2919</a>) (<a href="5558f41000">5558f41</a>)</li>
</ul>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.11.1...v4.12.0">4.12.0</a> (2021-01-04)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [comma-spacing] handle empty type params (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2915">#2915</a>) (<a href="4d69fbba91">4d69fbb</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> add rule <code>sort-type-union-intersection-members</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2913">#2913</a>) (<a href="9092c0494e">9092c04</a>)</li>
</ul>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.11.0...v4.11.1">4.11.1</a> (2020-12-28)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [naming-convention] fix precedence of method and property meta selectors (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2877">#2877</a>) (<a href="2f10e1a5c7">2f10e1a</a>)</li>
</ul>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.10.0...v4.11.0">4.11.0</a> (2020-12-21)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [non-nullable-type-assertion-style] handle const assertion (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2881">#2881</a>) (<a href="53dc34d391">53dc34d</a>)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d02a40ddd7"><code>d02a40d</code></a> chore: publish v4.13.0</li>
<li><a href="5558f41000"><code>5558f41</code></a> feat(eslint-plugin): [sort-type-union-intersection-members] add nullish group...</li>
<li><a href="f606846af2"><code>f606846</code></a> fix(eslint-plugin): support eslint@5 (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/2917">#2917</a>)</li>
<li><a href="4c6ec93fe5"><code>4c6ec93</code></a> chore: publish v4.12.0</li>
<li><a href="9092c0494e"><code>9092c04</code></a> feat(eslint-plugin): add rule <code>sort-type-union-intersection-members</code> (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/2913">#2913</a>)</li>
<li><a href="4d69fbba91"><code>4d69fbb</code></a> fix(eslint-plugin): [comma-spacing] handle empty type params (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/2915">#2915</a>)</li>
<li><a href="85c2720571"><code>85c2720</code></a> chore: publish v4.11.1</li>
<li><a href="2f10e1a5c7"><code>2f10e1a</code></a> fix(eslint-plugin): [naming-convention] fix precedence of method and property...</li>
<li><a href="51b22695eb"><code>51b2269</code></a> docs(eslint-plugin): reword misleading strict-boolean-expressions code exampl...</li>
<li><a href="e8f73e168a"><code>e8f73e1</code></a> chore: publish v4.11.0</li>
<li>Additional commits viewable in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v4.13.0/packages/eslint-plugin">compare view</a></li>
</ul>
</details>
<br />

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

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

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

 ---

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

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

</details>

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

Reviewed By: mweststrate

Differential Revision: D25945569

Pulled By: priteshrnandgaonkar

fbshipit-source-id: e62acf51430e9f89dde2f0735dde09089b823587
2021-01-18 15:51:12 -08:00
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