Commit Graph

2011 Commits

Author SHA1 Message Date
dependabot[bot]
4df4af0fb1 Bump open from 8.3.0 to 8.4.0 in /desktop (#3110)
Summary:
Bumps [open](https://github.com/sindresorhus/open) from 8.3.0 to 8.4.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/sindresorhus/open/releases">open's releases</a>.</em></p>
<blockquote>
<h2>v8.4.0</h2>
<ul>
<li>Improve ArchLinux support (<a href="https://github-redirect.dependabot.com/sindresorhus/open/issues/265">https://github.com/facebook/flipper/issues/265</a>)  b58fb1f</li>
</ul>
<p><a href="https://github.com/sindresorhus/open/compare/v8.3.0...v8.4.0">https://github.com/sindresorhus/open/compare/v8.3.0...v8.4.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="7579417bbd"><code>7579417</code></a> 8.4.0</li>
<li><a href="b58fb1fb74"><code>b58fb1f</code></a> Improve ArchLinux support (<a href="https://github-redirect.dependabot.com/sindresorhus/open/issues/265">https://github.com/facebook/flipper/issues/265</a>)</li>
<li>See full diff in <a href="https://github.com/sindresorhus/open/compare/v8.3.0...v8.4.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: jknoxville

Differential Revision: D32698526

Pulled By: passy

fbshipit-source-id: 1e5421eb9b73b3d8c083562568cc8c0c0f1c64f8
2021-11-30 05:35:48 -08:00
Kyle Mathews
090dc5e30b Fix typo (#3116)
Summary:
## Changelog

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

Reviewed By: jknoxville

Differential Revision: D32698504

Pulled By: passy

fbshipit-source-id: 0a8b5cb837179315def1298c10a22384572ce644
2021-11-30 05:32:48 -08:00
Lorenzo Blasa
c18207afaf Remove CSR from trusted-request-handler event tracker
Summary: ^

Reviewed By: nikoant

Differential Revision: D32695273

fbshipit-source-id: 9c9c3e9da83f864f512d66a208fa87f0ded392d3
2021-11-29 08:59:10 -08:00
Andrey Goncharov
39841292d1 Add legacy connection warning
Summary: Add legacy connection warning

Reviewed By: passy

Differential Revision: D32694056

fbshipit-source-id: e6d1c2fb5aea607d090ab45879c5a46d5fd17dab
2021-11-29 04:29:37 -08:00
dependabot[bot]
d71b63a8d8 Bump @oclif/plugin-help from 3.2.4 to 3.2.5 in /desktop (#3085)
Summary:
Bumps [oclif/plugin-help](https://github.com/oclif/plugin-help) from 3.2.4 to 3.2.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/oclif/plugin-help/releases"><code>@​oclif/plugin-help</code>'s releases</a>.</em></p>
<blockquote>
<h2>v3.2.5</h2>
<h2><a href="https://github.com/oclif/plugin-help/compare/v3.2.4...v3.2.5">3.2.5</a> (2021-11-18)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>bump deps (<a href="https://github-redirect.dependabot.com/oclif/plugin-help/issues/313">https://github.com/facebook/flipper/issues/313</a>) (<a href="0770d400d2">0770d40</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/oclif/plugin-help/blob/master/CHANGELOG.md"><code>@​oclif/plugin-help</code>'s changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/oclif/plugin-help/compare/v3.2.4...v3.2.5">3.2.5</a> (2021-11-18)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>bump deps (<a href="https://github-redirect.dependabot.com/oclif/plugin-help/issues/313">https://github.com/facebook/flipper/issues/313</a>) (<a href="0770d400d2">0770d40</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d8db582ec1"><code>d8db582</code></a> chore(release): 3.2.5 [skip ci]</li>
<li><a href="0770d400d2"><code>0770d40</code></a> fix: bump deps (<a href="https://github-redirect.dependabot.com/oclif/plugin-help/issues/313">https://github.com/facebook/flipper/issues/313</a>)</li>
<li>See full diff in <a href="https://github.com/oclif/plugin-help/compare/v3.2.4...v3.2.5">compare view</a></li>
</ul>
</details>
<br />

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

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

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

 ---

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

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

</details>

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

Reviewed By: lblasa

Differential Revision: D32674351

Pulled By: passy

fbshipit-source-id: e7a005933056680aa0a79ada0c08f7136ef6b87e
2021-11-29 04:12:17 -08:00
dependabot[bot]
c399e6a8c1 Bump react-refresh from 0.10.0 to 0.11.0 in /desktop (#3083)
Summary:
Bumps [react-refresh](https://github.com/facebook/react/tree/HEAD/packages/react) from 0.10.0 to 0.11.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.11.0</h2>
<h3>React Core</h3>
<h4>Breaking Changes</h4>
<ul>
<li><code>getDefaultProps()</code> is now called once per class and shared across all instances</li>
<li><code>MyComponent()</code> now returns a descriptor, not an instance</li>
<li><code>React.isValidComponent</code> and <code>React.PropTypes.component</code> validate <em>descriptors</em>, not component instances</li>
<li>Custom <code>propType</code> validators should return an <code>Error</code> instead of logging directly</li>
</ul>
<h4>New Features</h4>
<ul>
<li>Rendering to <code>null</code></li>
<li>Keyboard events include normalized <code>e.key</code> and <code>e.getModifierState()</code> properties</li>
<li>New normalized <code>onBeforeInput</code> event</li>
<li><code>React.Children.count</code> has been added as a helper for counting the number of children</li>
</ul>
<h4>Bug Fixes</h4>
<ul>
<li>Re-renders are batched in more cases</li>
<li>Events: <code>e.view</code> properly normalized</li>
<li>Added Support for more HTML attributes (<code>coords</code>, <code>crossOrigin</code>, <code>download</code>, <code>hrefLang</code>, <code>mediaGroup</code>, <code>muted</code>, <code>scrolling</code>, <code>shape</code>, <code>srcSet</code>, <code>start</code>, <code>useMap</code>)</li>
<li>Improved SVG support
<ul>
<li>Changing <code>className</code> on a mounted SVG component now works correctly</li>
<li>Added support for elements <code>mask</code> and <code>tspan</code></li>
<li>Added support for attributes <code>dx</code>, <code>dy</code>, <code>fillOpacity</code>, <code>fontFamily</code>, <code>fontSize</code>, <code>markerEnd</code>, <code>markerMid</code>, <code>markerStart</code>, <code>opacity</code>, <code>patternContentUnits</code>, <code>patternUnits</code>, <code>preserveAspectRatio</code>, <code>strokeDasharray</code>, <code>strokeOpacity</code></li>
</ul>
</li>
<li>CSS property names with vendor prefixes (<code>Webkit</code>, <code>ms</code>, <code>Moz</code>, <code>O</code>) are now handled properly</li>
<li>Duplicate keys no longer cause a hard error; now a warning is logged (and only one of the children with the same key is shown)</li>
<li><code>img</code> event listeners are now unbound properly, preventing the error &quot;Two valid but unequal nodes with the same <code>data-reactid</code>&quot;</li>
<li>Added explicit warning when missing polyfills</li>
</ul>
<h3>React With Addons</h3>
<ul>
<li>PureRenderMixin: a mixin which helps optimize &quot;pure&quot; components</li>
<li>Perf: a new set of tools to help with performance analysis</li>
<li>Update: New <code>$apply</code> command to transform values</li>
<li>TransitionGroup bug fixes with null elements, Android</li>
</ul>
<h3>React NPM Module</h3>
<ul>
<li>Now includes the pre-built packages under <code>dist/</code>.</li>
<li><code>envify</code> is properly listed as a dependency instead of a peer dependency</li>
</ul>
<h3>JSX</h3>
<ul>
<li>Added support for namespaces, eg <code>&lt;Components.Checkbox /&gt;</code></li>
<li>JSXTransformer
<ul>
<li>Enable the same <code>harmony</code> features available in the command line with <code>&lt;script type=&quot;text/jsx;harmony=true&quot;&gt;</code></li>
<li>Scripts are downloaded in parallel for more speed. They are still executed in order (as you would expect with normal script tags)</li>
<li>Fixed a bug preventing sourcemaps from working in Firefox</li>
</ul>
</li>
</ul>
<h3>React Tools Module</h3>
<ul>
<li>Improved readme with usage and API information</li>
<li>Improved ES6 transforms available with <code>--harmony</code> option</li>
<li>Added <code>--source-map-inline</code> option to the <code>jsx</code> executable</li>
<li>New <code>transformWithDetails</code> API which gives access to the raw sourcemap data</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react/blob/main/CHANGELOG.md">react-refresh's changelog</a>.</em></p>
<blockquote>
<h2>0.11.0 (July 17, 2014)</h2>
<h3>React Core</h3>
<h4>Breaking Changes</h4>
<ul>
<li><code>getDefaultProps()</code> is now called once per class and shared across all instances</li>
<li><code>MyComponent()</code> now returns a descriptor, not an instance</li>
<li><code>React.isValidComponent</code> and <code>React.PropTypes.component</code> validate <em>descriptors</em>, not component instances</li>
<li>Custom <code>propType</code> validators should return an <code>Error</code> instead of logging directly</li>
</ul>
<h4>New Features</h4>
<ul>
<li>Rendering to <code>null</code></li>
<li>Keyboard events include normalized <code>e.key</code> and <code>e.getModifierState()</code> properties</li>
<li>New normalized <code>onBeforeInput</code> event</li>
<li><code>React.Children.count</code> has been added as a helper for counting the number of children</li>
</ul>
<h4>Bug Fixes</h4>
<ul>
<li>Re-renders are batched in more cases</li>
<li>Events: <code>e.view</code> properly normalized</li>
<li>Added Support for more HTML attributes (<code>coords</code>, <code>crossOrigin</code>, <code>download</code>, <code>hrefLang</code>, <code>mediaGroup</code>, <code>muted</code>, <code>scrolling</code>, <code>shape</code>, <code>srcSet</code>, <code>start</code>, <code>useMap</code>)</li>
<li>Improved SVG support
<ul>
<li>Changing <code>className</code> on a mounted SVG component now works correctly</li>
<li>Added support for elements <code>mask</code> and <code>tspan</code></li>
<li>Added support for attributes <code>dx</code>, <code>dy</code>, <code>fillOpacity</code>, <code>fontFamily</code>, <code>fontSize</code>, <code>markerEnd</code>, <code>markerMid</code>, <code>markerStart</code>, <code>opacity</code>, <code>patternContentUnits</code>, <code>patternUnits</code>, <code>preserveAspectRatio</code>, <code>strokeDasharray</code>, <code>strokeOpacity</code></li>
</ul>
</li>
<li>CSS property names with vendor prefixes (<code>Webkit</code>, <code>ms</code>, <code>Moz</code>, <code>O</code>) are now handled properly</li>
<li>Duplicate keys no longer cause a hard error; now a warning is logged (and only one of the children with the same key is shown)</li>
<li><code>img</code> event listeners are now unbound properly, preventing the error &quot;Two valid but unequal nodes with the same <code>data-reactid</code>&quot;</li>
<li>Added explicit warning when missing polyfills</li>
</ul>
<h3>React With Addons</h3>
<ul>
<li>PureRenderMixin: a mixin which helps optimize &quot;pure&quot; components</li>
<li>Perf: a new set of tools to help with performance analysis</li>
<li>Update: New <code>$apply</code> command to transform values</li>
<li>TransitionGroup bug fixes with null elements, Android</li>
</ul>
<h3>React NPM Module</h3>
<ul>
<li>Now includes the pre-built packages under <code>dist/</code>.</li>
<li><code>envify</code> is properly listed as a dependency instead of a peer dependency</li>
</ul>
<h3>JSX</h3>
<ul>
<li>Added support for namespaces, eg <code>&lt;Components.Checkbox /&gt;</code></li>
<li>JSXTransformer
<ul>
<li>Enable the same <code>harmony</code> features available in the command line with <code>&lt;script type=&quot;text/jsx;harmony=true&quot;&gt;</code></li>
<li>Scripts are downloaded in parallel for more speed. They are still executed in order (as you would expect with normal script tags)</li>
<li>Fixed a bug preventing sourcemaps from working in Firefox</li>
</ul>
</li>
</ul>
<h3>React Tools Module</h3>
<ul>
<li>Improved readme with usage and API information</li>
<li>Improved ES6 transforms available with <code>--harmony</code> option</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.11.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.10.0&new-version=0.11.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/3083

Reviewed By: lblasa

Differential Revision: D32674349

Pulled By: passy

fbshipit-source-id: 76cf85a26763c82aa732902bf22e5ad1b436b1cd
2021-11-29 04:12:16 -08:00
dependabot[bot]
674f828599 Bump socket.io from 4.3.1 to 4.4.0 in /desktop (#3082)
Summary:
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.3.1 to 4.4.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>4.4.0</h2>
<h3>Bug Fixes</h3>
<ul>
<li>only set 'connected' to true after middleware execution (<a href="02b0f73e2c">02b0f73</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li>add an implementation based on uWebSockets.js (<a href="c0d8c5ab23">c0d8c5a</a>)</li>
</ul>
<pre lang="js"><code>const { App } = require(&quot;uWebSockets.js&quot;);
const { Server } = require(&quot;socket.io&quot;);
<p>const app = new App();
const io = new Server();</p>
<p>io.attachApp(app);</p>
<p>io.on(&quot;connection&quot;, (socket) =&gt; {
// ...
});</p>
<p>app.listen(3000, (token) =&gt; {
if (!token) {
console.warn(&quot;port already in use&quot;);
}
});
</code></pre></p>
<ul>
<li>add timeout feature (<a href="f0ed42f18c">f0ed42f</a>)</li>
</ul>
<pre lang="js"><code>socket.timeout(5000).emit(&quot;my-event&quot;, (err) =&gt; {
  if (err) {
    // the client did not acknowledge the event in the given delay
  }
});
</code></pre>
<ul>
<li>add type information to <code>socket.data</code> (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/4159">#4159</a>) (<a href="fe8730ca0f">fe8730c</a>)</li>
</ul>
<pre lang="js"><code>interface SocketData {
  name: string;
  age: number;
}
<p>const io = new Server&lt;ClientToServerEvents, ServerToClientEvents, InterServerEvents, SocketData&gt;();</p>
<p>&lt;/tr&gt;&lt;/table&gt;
</code></pre></p>
</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/4.3.2...4.4.0">4.4.0</a> (2021-11-18)</h1>
<h3>Bug Fixes</h3>
<ul>
<li>only set 'connected' to true after middleware execution (<a href="02b0f73e2c">02b0f73</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li>add an implementation based on uWebSockets.js (<a href="c0d8c5ab23">c0d8c5a</a>)</li>
<li>add timeout feature (<a href="f0ed42f18c">f0ed42f</a>)</li>
<li>add type information to <code>socket.data</code> (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/4159">#4159</a>) (<a href="fe8730ca0f">fe8730c</a>)</li>
</ul>
<h2><a href="https://github.com/socketio/socket.io/compare/4.3.1...4.3.2">4.3.2</a> (2021-11-08)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>fix race condition in dynamic namespaces (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/4137">#4137</a>) (<a href="9d86397243">9d86397</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="0f11c4745f"><code>0f11c47</code></a> chore(release): 4.4.0</li>
<li><a href="b839a3b400"><code>b839a3b</code></a> fix: prevent double ack when emitting with a timeout</li>
<li><a href="f0ed42f18c"><code>f0ed42f</code></a> feat: add timeout feature</li>
<li><a href="b7213e71e4"><code>b7213e7</code></a> test: fix flaky test</li>
<li><a href="2da82103d2"><code>2da8210</code></a> test: add test for volatile packet with binary</li>
<li><a href="02b0f73e2c"><code>02b0f73</code></a> fix: only set 'connected' to true after middleware execution</li>
<li><a href="c0d8c5ab23"><code>c0d8c5a</code></a> feat: add an implementation based on uWebSockets.js</li>
<li><a href="fe8730ca0f"><code>fe8730c</code></a> feat: add type information to <code>socket.data</code> (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/4159">#4159</a>)</li>
<li><a href="ed8483da4d"><code>ed8483d</code></a> chore(release): 4.3.2</li>
<li><a href="9d86397243"><code>9d86397</code></a> fix: fix race condition in dynamic namespaces (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/4137">#4137</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/socketio/socket.io/compare/4.3.1...4.4.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=4.3.1&new-version=4.4.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/3082

Reviewed By: lblasa

Differential Revision: D32674346

Pulled By: passy

fbshipit-source-id: 82675c810513ec6e9f37033fef9e013abde24795
2021-11-29 04:12:16 -08:00
dependabot[bot]
182d1084de Bump live-plugin-manager from 0.16.0 to 0.17.0 in /desktop (#3087)
Summary:
Bumps [live-plugin-manager](https://github.com/davideicardi/live-plugin-manager) from 0.16.0 to 0.17.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/davideicardi/live-plugin-manager/releases">live-plugin-manager's releases</a>.</em></p>
<blockquote>
<h2>v0.17.0</h2>
<h2>What's Changed</h2>
<ul>
<li>simplify and fix how global are defined inside the sandbox by <a href="https://github.com/davideicardi"><code>@​davideicardi</code></a> in <a href="https://github-redirect.dependabot.com/davideicardi/live-plugin-manager/pull/63">davideicardi/live-plugin-manager#63</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/davideicardi/live-plugin-manager/compare/v0.16.0...v0.17.0">https://github.com/davideicardi/live-plugin-manager/compare/v0.16.0...v0.17.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="4acf7bbcb0"><code>4acf7bb</code></a> simplify and fix how global are defined inside the sandbox (<a href="https://github-redirect.dependabot.com/davideicardi/live-plugin-manager/issues/63">https://github.com/facebook/flipper/issues/63</a>)</li>
<li>See full diff in <a href="https://github.com/davideicardi/live-plugin-manager/compare/v0.16.0...v0.17.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: lblasa

Differential Revision: D32674354

Pulled By: passy

fbshipit-source-id: e83925aea00e33a2e3cb81df70343c533a73c930
2021-11-26 10:26:15 -08:00
dependabot[bot]
36f0a902f6 Bump app-builder-lib from 22.14.5 to 22.14.7 in /desktop (#3086)
Summary:
Bumps [app-builder-lib](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib) from 22.14.5 to 22.14.7.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/electron-userland/electron-builder/releases">app-builder-lib's releases</a>.</em></p>
<blockquote>
<h2>22.14.7</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>builder-util:</strong> enable proxy handling in NodeHttpExecutor (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6410">#6410</a>) (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6286">#6286</a>) (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/5906">#5906</a>) (<a href="04a84352b2">04a8435</a>)</li>
</ul>
<h2>22.14.6</h2>
<p>Pre-release: electron-updater@4.6.2</p>
<h3>Bug Fixes</h3>
<ul>
<li>latest node-gyp with old Electron versions (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6402">#6402</a>) (<a href="f41d5f397a">f41d5f3</a>)</li>
<li><strong>linux:</strong> mutually exclusive exec command args (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6384">#6384</a>) (<a href="5468c188f3">5468c18</a>)</li>
<li>quitAndInstall not working on macOS with autoInstallOnAppQuit=false (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6390">#6390</a>) (<a href="a5e8073e21">a5e8073</a>)</li>
<li>rerunning test-linux to update snapshot for upstream dep that now uses additional depedencies (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6403">#6403</a>) (<a href="434d3887cb">434d388</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/CHANGELOG.md">app-builder-lib's changelog</a>.</em></p>
<blockquote>
<h2>22.14.7</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies [<a href="04a84352b2"><code>04a84352</code></a>]:
<ul>
<li>builder-util@22.14.7</li>
<li>electron-publish@22.14.7</li>
</ul>
</li>
</ul>
<h2>22.14.6</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6384">#6384</a> <a href="5468c188f3"><code>5468c188</code></a> Thanks <a href="https://github.com/sohobloo"><code>@​sohobloo</code></a>! - fix(linux): If linux executableArgs already contains one of the mutually exclusive(%f / %u / %F / %U) code,don't append %U.</li>
</ul>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6402">#6402</a> <a href="f41d5f397a"><code>f41d5f39</code></a> Thanks <a href="https://github.com/zcbenz"><code>@​zcbenz</code></a>! - fix: Since node-gyp &gt;= 8.4.0, building modules for old versions of Electron requires passing --force-process-config due to them lacking a valid config.gypi in their headers.</p>
<p>See also <a href="https://github-redirect.dependabot.com/nodejs/node-gyp/issues/2497">nodejs/node-gyp#2497</a>.</p>
</li>
</ul>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6400">#6400</a> <a href="66ca625f89"><code>66ca625f</code></a> Thanks <a href="https://github.com/jbool24"><code>@​jbool24</code></a>! - refactor: update Bitbucket publisher to have optional config options for Token and Username (Bitbucket Private Repos)</p>
</li>
<li>
<p>Updated dependencies [<a href="66ca625f89"><code>66ca625f</code></a>]:</p>
<ul>
<li>builder-util-runtime@8.9.2</li>
<li>builder-util@22.14.6</li>
<li>electron-publish@22.14.6</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a3dd05f4a0"><code>a3dd05f</code></a> chore(deploy): Release 22.14.7 (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6412">#6412</a>)</li>
<li><a href="a69ca7381d"><code>a69ca73</code></a> chore(deploy): Release 22.14.6 (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6404">#6404</a>)</li>
<li><a href="5468c188f3"><code>5468c18</code></a> fix(linux): mutually exclusive exec command args (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6384">#6384</a>)</li>
<li><a href="66ca625f89"><code>66ca625</code></a> refactor: update Bitbucket publisher (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6400">#6400</a>)</li>
<li><a href="f41d5f397a"><code>f41d5f3</code></a> fix: latest node-gyp with old Electron versions (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6402">#6402</a>)</li>
<li>See full diff in <a href="https://github.com/electron-userland/electron-builder/commits/v22.14.7/packages/app-builder-lib">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=app-builder-lib&package-manager=npm_and_yarn&previous-version=22.14.5&new-version=22.14.7)](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/3086

Reviewed By: lblasa

Differential Revision: D32674352

Pulled By: passy

fbshipit-source-id: 321d5667f6133b61f847aa39bc615f928c818acf
2021-11-26 10:26:15 -08:00
Andrey Goncharov
225a2a7e34 Refactor Stella plugin
Summary:
1. Replace old FileSelector with the new FileSelector
2. Remove showOpenDialog from FlipperLib

Reviewed By: mweststrate

Differential Revision: D32667103

fbshipit-source-id: be8da034c2695f83b397b6c7d35bc6aee78d66e5
2021-11-26 08:30:13 -08:00
Andrey Goncharov
b82c41eedd Add FileSelector shared component
Summary: Add shared FileSelector component compatibe with the new FlipperLib API

Reviewed By: mweststrate

Differential Revision: D32667100

fbshipit-source-id: dca1e8b7693d134a99617e916c7cfd30432cef78
2021-11-26 08:30:13 -08:00
Andrey Goncharov
3491926d17 Support importing multiple files and encoding
Summary:
1. Support importing multiple files
2. Support file encoding

Reviewed By: mweststrate

Differential Revision: D32540132

fbshipit-source-id: 7c2a96ac585f58d01457cb487527940e333da615
2021-11-26 08:30:13 -08:00
dependabot[bot]
b77cb0d6c3 Bump @babel/preset-env from 7.16.0 to 7.16.4 in /desktop (#3081)
Summary:
Bumps [babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.16.0 to 7.16.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/releases"><code>@​babel/preset-env</code>'s releases</a>.</em></p>
<blockquote>
<h2>v7.16.4 (2021-11-16)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-helper-remap-async-to-generator</code>, <code>babel-plugin-transform-async-to-generator</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13961">#13961</a> Wait the correct number of ticks on nested <code>await</code> (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13929">#13929</a> Refactor bindingProperty parsing (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13957">#13957</a> Add <code>assertions</code> to <code>ExportNamedDeclaration</code> without <code>from</code> (<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13951">#13951</a> Throw on duplicate <code>__proto__</code> props followed by assignment (<a href="https://github.com/The-x-Theorist"><code>@​The-x-Theorist</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12827">#12827</a> Add file extension when using <code>absoluteRuntime</code> (<a href="https://github.com/mbehzad"><code>@​mbehzad</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13960">#13960</a> Always expose <code>expressionValue</code> in <code>DirectiveLiteral</code> nodes (<a href="https://github.com/tolmasky"><code>@​tolmasky</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 7</h4>
<ul>
<li>Babel Bot (<a href="https://github.com/babel-bot"><code>@​babel-bot</code></a>)</li>
<li>Francisco Ryan Tolmasky I (<a href="https://github.com/tolmasky"><code>@​tolmasky</code></a>)</li>
<li>Huáng Jùnliàng (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
<li>M Behzad (<a href="https://github.com/mbehzad"><code>@​mbehzad</code></a>)</li>
<li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
<li>Sneh Khatri (<a href="https://github.com/The-x-Theorist"><code>@​The-x-Theorist</code></a>)</li>
<li>Sosuke Suzuki (<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>)</li>
</ul>
<h2>v7.16.3 (2021-11-09)</h2>
<p>Thanks <a href="https://github.com/The-x-Theorist"><code>@​The-x-Theorist</code></a> for your first PR!</p>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-helpers</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13862">#13862</a> fix(helpers): match <code>Reflect.get</code> behaviour (<a href="https://github.com/lightmare"><code>@​lightmare</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-transform-parameters</code>, <code>babel-traverse</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13941">#13941</a> Support transforming params of arrow functions in class fields (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13928">#13928</a> fix: incorrect await rejection following arrow function in parameters (Closes <a href="https://github-redirect.dependabot.com/babel/babel/issues/13872">#13872</a>) (<a href="https://github.com/The-x-Theorist"><code>@​The-x-Theorist</code></a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13918">#13918</a> Fix <code>parserOverride</code> support in <code>babel/eslint-parser</code> (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13891">#13891</a> Simplifiy tracking of valid JSX positions (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13892">#13892</a> extract tt.lt and tt.gt from tt.relation (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-compilation-targets</code>, <code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13914">#13914</a> Update browserslist (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 5</h4>

</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/preset-env</code>'s changelog</a>.</em></p>
<blockquote>
<h2>v7.16.4 (2021-11-16)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-helper-remap-async-to-generator</code>, <code>babel-plugin-transform-async-to-generator</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13961">#13961</a> Wait the correct number of ticks on nested <code>await</code> (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13929">#13929</a> Refactor bindingProperty parsing (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13957">#13957</a> Add <code>assertions</code> to <code>ExportNamedDeclaration</code> without <code>from</code> (<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13951">#13951</a> Throw on duplicate <code>__proto__</code> props followed by assignment (<a href="https://github.com/The-x-Theorist"><code>@​The-x-Theorist</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12827">#12827</a> Add file extension when using <code>absoluteRuntime</code> (<a href="https://github.com/mbehzad"><code>@​mbehzad</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13960">#13960</a> Always expose <code>expressionValue</code> in <code>DirectiveLiteral</code> nodes (<a href="https://github.com/tolmasky"><code>@​tolmasky</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.16.3 (2021-11-09)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-helpers</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13862">#13862</a> fix(helpers): match <code>Reflect.get</code> behaviour (<a href="https://github.com/lightmare"><code>@​lightmare</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-transform-parameters</code>, <code>babel-traverse</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13941">#13941</a> Support transforming params of arrow functions in class fields (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13928">#13928</a> fix: incorrect await rejection following arrow function in parameters (Closes <a href="https://github-redirect.dependabot.com/babel/babel/issues/13872">#13872</a>) (<a href="https://github.com/The-x-Theorist"><code>@​The-x-Theorist</code></a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13918">#13918</a> Fix <code>parserOverride</code> support in <code>babel/eslint-parser</code> (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13891">#13891</a> Simplifiy tracking of valid JSX positions (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13892">#13892</a> extract tt.lt and tt.gt from tt.relation (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-compilation-targets</code>, <code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13914">#13914</a> Update browserslist (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.16.2 (2021-11-01)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13910">#13910</a> skip id-destructuring bugfix when binding info is not found (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13905">#13905</a> babel-parser: add missing assertions type (<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.16.1 (2021-10-30)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-plugin-transform-typescript</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13900">#13900</a> Fix binding access for plugin-transform-typescript (<a href="https://github.com/PeachScript"><code>@​PeachScript</code></a>)</li>
</ul>
</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="99774ee9fa"><code>99774ee</code></a> v7.16.4</li>
<li><a href="d3fffd95b6"><code>d3fffd9</code></a> Add file extension when using <code>absoluteRuntime</code> (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env/issues/12827">#12827</a>)</li>
<li><a href="f731522125"><code>f731522</code></a> chore: update compat-data (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env/issues/13949">#13949</a>)</li>
<li><a href="76e4566bfc"><code>76e4566</code></a> Update browserslist (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env/issues/13914">#13914</a>)</li>
<li>See full diff in <a href="https://github.com/babel/babel/commits/v7.16.4/packages/babel-preset-env">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: lblasa

Differential Revision: D32674345

Pulled By: passy

fbshipit-source-id: c9031bad192bd482c997f9bc1afbc9d054391d4c
2021-11-26 05:32:56 -08:00
dependabot[bot]
45242340a5 Bump eslint-plugin-jsx-a11y from 6.4.1 to 6.5.1 in /desktop (#3084)
Summary:
Bumps [eslint-plugin-jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) from 6.4.1 to 6.5.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/releases">eslint-plugin-jsx-a11y's releases</a>.</em></p>
<blockquote>
<h2>v6.5.1</h2>
<p><strong>Full Changelog</strong>: <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/compare/v6.5.0...v6.5.1">https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/compare/v6.5.0...v6.5.1</a></p>
<h2>v6.5.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Upgrade jsx-ast-utils dependency to v3.1.0 by <a href="https://github.com/jessebeach"><code>@​jessebeach</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/754">jsx-eslint/eslint-plugin-jsx-a11y#754</a></li>
<li>Remove no-onchange from recommended and strict by <a href="https://github.com/karlhorky"><code>@​karlhorky</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/757">jsx-eslint/eslint-plugin-jsx-a11y#757</a></li>
<li>Turn off label-has-for in strict rule set by <a href="https://github.com/janmonschke"><code>@​janmonschke</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/734">jsx-eslint/eslint-plugin-jsx-a11y#734</a></li>
<li>Ran npm update; latest packages by <a href="https://github.com/jessebeach"><code>@​jessebeach</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/763">jsx-eslint/eslint-plugin-jsx-a11y#763</a></li>
<li>[New] <code>label-has-associated-control</code>: Add glob support by <a href="https://github.com/hallzac2"><code>@​hallzac2</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/749">jsx-eslint/eslint-plugin-jsx-a11y#749</a></li>
<li>[doc] Add link to MDN Aria documentation by <a href="https://github.com/arjansingh"><code>@​arjansingh</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/762">jsx-eslint/eslint-plugin-jsx-a11y#762</a></li>
<li>[Tests] migrate tests to Github Actions by <a href="https://github.com/ljharb"><code>@​ljharb</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/764">jsx-eslint/eslint-plugin-jsx-a11y#764</a></li>
<li>docs: Add example for tabIndex on seemingly non-interactive element by <a href="https://github.com/eps1lon"><code>@​eps1lon</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/760">jsx-eslint/eslint-plugin-jsx-a11y#760</a></li>
<li>Add Next.js case to anchor-is-valid rule docs by <a href="https://github.com/zackdotcomputer"><code>@​zackdotcomputer</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/769">jsx-eslint/eslint-plugin-jsx-a11y#769</a></li>
<li>[Docs] <code>no-redundant-roles</code>: Adds missing closing square bracket by <a href="https://github.com/mikeriley131"><code>@​mikeriley131</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/775">jsx-eslint/eslint-plugin-jsx-a11y#775</a></li>
<li>[Docs] <code>anchor-is-valid</code>: general cleanup by <a href="https://github.com/Anima-t3d"><code>@​Anima-t3d</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/728">jsx-eslint/eslint-plugin-jsx-a11y#728</a></li>
<li>Update flow-bin version to support aarch64 by <a href="https://github.com/odidev"><code>@​odidev</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/784">jsx-eslint/eslint-plugin-jsx-a11y#784</a></li>
<li>Fully deprecate accessible-emoji rule by <a href="https://github.com/backwardok"><code>@​backwardok</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/782">jsx-eslint/eslint-plugin-jsx-a11y#782</a></li>
<li>Fix Flow warnings by <a href="https://github.com/jessebeach"><code>@​jessebeach</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/785">jsx-eslint/eslint-plugin-jsx-a11y#785</a></li>
<li>[Docs] Document the similarity between html-has-lang and lang by <a href="https://github.com/denis-sokolov"><code>@​denis-sokolov</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/778">jsx-eslint/eslint-plugin-jsx-a11y#778</a></li>
<li>[Docs] Clarify the title of the strictness table in the main doc by <a href="https://github.com/denis-sokolov"><code>@​denis-sokolov</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/786">jsx-eslint/eslint-plugin-jsx-a11y#786</a></li>
<li>Update recommended config to allow fieldset to have the radiogroup role by <a href="https://github.com/hallzac2"><code>@​hallzac2</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/746">jsx-eslint/eslint-plugin-jsx-a11y#746</a></li>
<li>Update focus/hover style for link-button by <a href="https://github.com/mdvorscak"><code>@​mdvorscak</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/662">jsx-eslint/eslint-plugin-jsx-a11y#662</a></li>
<li>Support img role for canvas. Fix for <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/648">https://github.com/facebook/flipper/issues/648</a>. by <a href="https://github.com/markwoon"><code>@​markwoon</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/796">jsx-eslint/eslint-plugin-jsx-a11y#796</a></li>
<li>Fix no-access-key wording and grammar by <a href="https://github.com/breadadams"><code>@​breadadams</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/800">jsx-eslint/eslint-plugin-jsx-a11y#800</a></li>
<li>[Docs] <code>scope</code>: replace duplicate scope word by <a href="https://github.com/rafaelss95"><code>@​rafaelss95</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/799">jsx-eslint/eslint-plugin-jsx-a11y#799</a></li>
<li>[Tests] use <code>babel/eslint-parser</code> instead of <code>babel-eslint</code> by <a href="https://github.com/MichaelDeBoey"><code>@​MichaelDeBoey</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/811">jsx-eslint/eslint-plugin-jsx-a11y#811</a></li>
<li>Switch to <code>export default</code> syntax for exporting rules by <a href="https://github.com/bmish"><code>@​bmish</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/819">jsx-eslint/eslint-plugin-jsx-a11y#819</a></li>
<li>Add <code>eslint-plugin-eslint-plugin</code> by <a href="https://github.com/bmish"><code>@​bmish</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/818">jsx-eslint/eslint-plugin-jsx-a11y#818</a></li>
<li>add missing close / for jsx succeed example by <a href="https://github.com/adamrhunter"><code>@​adamrhunter</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/821">jsx-eslint/eslint-plugin-jsx-a11y#821</a></li>
<li>[Docs] HTTP =&gt; HTTPS by <a href="https://github.com/Schweinepriester"><code>@​Schweinepriester</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/823">jsx-eslint/eslint-plugin-jsx-a11y#823</a></li>
<li>[New] support ESLint 8.x by <a href="https://github.com/MichaelDeBoey"><code>@​MichaelDeBoey</code></a> in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/810">jsx-eslint/eslint-plugin-jsx-a11y#810</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/karlhorky"><code>@​karlhorky</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/757">jsx-eslint/eslint-plugin-jsx-a11y#757</a></li>
<li><a href="https://github.com/janmonschke"><code>@​janmonschke</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/734">jsx-eslint/eslint-plugin-jsx-a11y#734</a></li>
<li><a href="https://github.com/hallzac2"><code>@​hallzac2</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/749">jsx-eslint/eslint-plugin-jsx-a11y#749</a></li>
<li><a href="https://github.com/arjansingh"><code>@​arjansingh</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/762">jsx-eslint/eslint-plugin-jsx-a11y#762</a></li>
<li><a href="https://github.com/zackdotcomputer"><code>@​zackdotcomputer</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/769">jsx-eslint/eslint-plugin-jsx-a11y#769</a></li>
<li><a href="https://github.com/mikeriley131"><code>@​mikeriley131</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/775">jsx-eslint/eslint-plugin-jsx-a11y#775</a></li>
<li><a href="https://github.com/Anima-t3d"><code>@​Anima-t3d</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/728">jsx-eslint/eslint-plugin-jsx-a11y#728</a></li>
<li><a href="https://github.com/odidev"><code>@​odidev</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/784">jsx-eslint/eslint-plugin-jsx-a11y#784</a></li>
<li><a href="https://github.com/denis-sokolov"><code>@​denis-sokolov</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/778">jsx-eslint/eslint-plugin-jsx-a11y#778</a></li>
<li><a href="https://github.com/mdvorscak"><code>@​mdvorscak</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/662">jsx-eslint/eslint-plugin-jsx-a11y#662</a></li>
<li><a href="https://github.com/markwoon"><code>@​markwoon</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/796">jsx-eslint/eslint-plugin-jsx-a11y#796</a></li>
<li><a href="https://github.com/breadadams"><code>@​breadadams</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/800">jsx-eslint/eslint-plugin-jsx-a11y#800</a></li>
<li><a href="https://github.com/rafaelss95"><code>@​rafaelss95</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/799">jsx-eslint/eslint-plugin-jsx-a11y#799</a></li>
<li><a href="https://github.com/bmish"><code>@​bmish</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/819">jsx-eslint/eslint-plugin-jsx-a11y#819</a></li>
<li><a href="https://github.com/adamrhunter"><code>@​adamrhunter</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/821">jsx-eslint/eslint-plugin-jsx-a11y#821</a></li>
<li><a href="https://github.com/Schweinepriester"><code>@​Schweinepriester</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/823">jsx-eslint/eslint-plugin-jsx-a11y#823</a></li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/CHANGELOG.md">eslint-plugin-jsx-a11y's changelog</a>.</em></p>
<blockquote>
<h1>6.5.1 / 2021-11-10</h1>
<ul>
<li>8f7d0b0 [Fix] properly build <code>module.exports</code> (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/824">https://github.com/facebook/flipper/issues/824</a>)</li>
<li>2fd2087 [Dev Deps] update <code>eslint-plugin-import</code></li>
</ul>
<h1>6.5.0 / 2021-11-09</h1>
<ul>
<li>0f5f582 [New] support ESLint 8.x (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/810">https://github.com/facebook/flipper/issues/810</a>)</li>
<li>1dbc416 [Deps] update <code>babel/runtime</code>, <code>axe-core</code></li>
<li>4043d31 [Dev Deps] update <code>babel/cli</code>, <code>babel/core</code>, <code>babel/eslint-parser</code>, <code>babel/plugin-transform-flow-strip-types</code>, <code>eslint-config-airbnb-base</code></li>
<li>d143cba [Docs] HTTP =&gt; HTTPS (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/823">https://github.com/facebook/flipper/issues/823</a>)</li>
<li>309b040 [Docs] <code>anchor-has-content</code>: add missing close / for jsx succeed example (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/821">https://github.com/facebook/flipper/issues/821</a>)</li>
<li>ba1e312 [eslint] simplify eslint command</li>
<li>0269025 [meta] change all <code>master</code> references in URLs to <code>HEAD</code></li>
<li>f1414cf [Dev Deps] add <code>eslint-plugin-eslint-plugin</code> (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/818">https://github.com/facebook/flipper/issues/818</a>)</li>
<li>f44fc05 [meta] update URLs</li>
<li>df34872 [Refactor] switch to <code>export default</code> syntax for exporting rules (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/819">https://github.com/facebook/flipper/issues/819</a>)</li>
<li>ff26b82 [meta] fix prepublish scripts</li>
<li>d4a57d8 [Deps] update <code>babel/runtime</code>, <code>array-includes</code>, <code>axe-core</code>, <code>jsx-ast-utils</code></li>
<li>bd1dec6 [Dev Deps] update <code>babel/cli</code>, <code>babel/core</code>, <code>babel/eslint-parser</code>, <code>eslint-plugin-import</code>, <code>estraverse</code>, <code>safe-publish-latest</code></li>
<li>434c4cf [Tests] do not test eslint 7 on node 11</li>
<li>aed7a20 [Tests] use <code>babel/eslint-parser</code> instead of <code>babel-eslint</code> (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/811">https://github.com/facebook/flipper/issues/811</a>)</li>
<li>0021489 [actions] use codecov action</li>
<li>1251088 [meta] delete FUNDING.yml in favor of <code>.github</code> repo</li>
<li>ecf7a27 [Docs] <code>scope</code>: replace duplicate <code>scope</code> word (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/799">https://github.com/facebook/flipper/issues/799</a>)</li>
<li>952af25 [Fix] <code>no-access-key</code>: Fix wording and grammar (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/800">https://github.com/facebook/flipper/issues/800</a>)</li>
<li>6cf7ac0 [Dev Deps] update <code>babel/cli</code>, <code>babel/core</code>, <code>babel/plugin-transform-flow-strip-types</code>, <code>aud</code>, <code>eslint-plugin-flowtype</code>, <code>eslint-plugin-import</code></li>
<li>79a35d4 [Deps] update <code>babel/runtime</code>, <code>axe-core</code>, <code>damerau-levenshtein</code></li>
<li>2a9ab71 [Tests] delete <code>src/util/getComputedRole-test.js</code> test in node 6</li>
<li>0c1c587 [Tests] <code>autocomplete-valid</code>: move some failed tests to passing</li>
<li>8830902 [Tests] fix eslint &lt; 7 not understanding <code>import type</code></li>
<li>d57887c [Tests] ensure all tests run</li>
<li>55e5c11 Support img role for canvas (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/796">https://github.com/facebook/flipper/issues/796</a>)</li>
<li>36102cd [meta] use <code>prepublishOnly</code> script for npm 7+</li>
<li>2501a7f Remove the link-button focus css from the anchor-is-valid doc (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/662">https://github.com/facebook/flipper/issues/662</a>)</li>
<li>d927625 Update recommended config to allow fieldset to have the radiogroup role (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/746">https://github.com/facebook/flipper/issues/746</a>)</li>
<li>5aa8db9 [Docs] Clarify the title of the strictness table in the main doc (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/786">https://github.com/facebook/flipper/issues/786</a>)</li>
<li>df3c7ad [Docs] Document the similarity between html-has-lang and lang (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/778">https://github.com/facebook/flipper/issues/778</a>)</li>
<li>426d4c2 Fix Flow warnings (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/785">https://github.com/facebook/flipper/issues/785</a>)</li>
<li>ecec8e4 Fully deprecate accessible-emoji rule (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/782">https://github.com/facebook/flipper/issues/782</a>)</li>
<li>8a0e43c [Tests] remove .travis.yml</li>
<li>f88bf6b [Dev Deps] update <code>flow-bin</code> to support aarch64 (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/784">https://github.com/facebook/flipper/issues/784</a>)</li>
<li>369f9db [Dev Deps] update <code>babel/cli</code>, <code>babel/core</code>, <code>babel/plugin-transform-flow-strip-types</code>, <code>aud</code>, <code>eslint-plugin-flowtype</code>, <code>jscodeshift</code></li>
<li>ce0785f [Deps] update <code>babel/runtime</code>, <code>array-includes</code>, <code>axe-core</code>, <code>emoji-regex</code></li>
<li>2c2a2ad [actions] update to use <code>node/install</code> action</li>
<li>c275964 [Docs] <code>anchor-is-valid</code>: general cleanup (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/728">#728</a>)</li>
<li>3df059e [Docs] <code>no-redundant-roles</code>: Adds missing closing square bracket (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/775">https://github.com/facebook/flipper/issues/775</a>)</li>
<li>42ce5b7 [Docs] <code>anchor-is-valid</code>: Add Next.js case (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/769">https://github.com/facebook/flipper/issues/769</a>)</li>
<li>2e5df91 [Tests] fix tests breaking on npm 7</li>
<li>066ccff [Docs] <code>no-noninteractive-tabindex</code>: Add example for tabIndex on seemingly non-interactive element (<a href="https://github-redirect.dependabot.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/760">https://github.com/facebook/flipper/issues/760</a>)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="30deacbf24"><code>30deacb</code></a> v6.5.1</li>
<li><a href="2fd208731c"><code>2fd2087</code></a> [Dev Deps] update <code>eslint-plugin-import</code></li>
<li><a href="8f7d0b0338"><code>8f7d0b0</code></a> [Fix] properly build <code>module.exports</code></li>
<li><a href="f8c40017a0"><code>f8c4001</code></a> v6.5.0</li>
<li><a href="0f5f58203c"><code>0f5f582</code></a> [New] support ESLint 8.x</li>
<li><a href="1dbc416b78"><code>1dbc416</code></a> [Deps] update <code>babel/runtime</code>, <code>axe-core</code></li>
<li><a href="4043d313de"><code>4043d31</code></a> [Dev Deps] update <code>babel/cli</code>, <code>babel/core</code>, <code>babel/eslint-parser</code>, `babe...</li>
<li><a href="d143cba6b1"><code>d143cba</code></a> [Docs] HTTP =&gt; HTTPS</li>
<li><a href="309b0404c0"><code>309b040</code></a> [Docs] <code>anchor-has-content</code>: add missing close / for jsx succeed example</li>
<li><a href="ba1e312bbd"><code>ba1e312</code></a> [eslint] simplify eslint command</li>
<li>Additional commits viewable in <a href="https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/compare/v6.4.1...v6.5.1">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: lblasa

Differential Revision: D32674350

Pulled By: passy

fbshipit-source-id: 76e83ec0812548a03f2d6c9e6d502cae355b956f
2021-11-26 05:29:48 -08:00
Pascal Hartig
41dd757616 More defensively handle initial expand
Reviewed By: jknoxville

Differential Revision: D32674423

fbshipit-source-id: 0d8216ebb9da9530c53c7209dcd18eb677c73fc3
2021-11-26 03:52:58 -08:00
Pascal Hartig
9773e79724 More aggressively filter failed to fetch
Reviewed By: jknoxville

Differential Revision: D32674487

fbshipit-source-id: dab9d29c326d2a5e7a49fe55656ee06c0742eb69
2021-11-26 03:51:28 -08:00
Flipper Bot
c308f7c9bc Flipper Release: v0.122.0
Summary: Releasing version 0.122.0

Reviewed By: passy

Differential Revision: D32674367

fbshipit-source-id: 5c7e6c30c13b910244d5ccd85f9d58b9ba23ab7f
2021-11-26 03:38:59 -08:00
Mohamed Osman
0bb6e42282 1/x Setting up showreel flipper plugin
Summary: This diff. sets up Showreel Flipper Plugin without any implementation other than Ping <> Pong to test Flipper to Client(App) and Client(App) to Flipper communication.

Differential Revision: D32098971

fbshipit-source-id: 6f66a51b6844e7e38d20f0be7d164705924d30a6
2021-11-24 12:34:21 -08:00
Flipper Bot
5338c26c59 Flipper Release: v0.121.1
Summary: Releasing version 0.121.1

Reviewed By: passy

Differential Revision: D32645612

fbshipit-source-id: 881af2b42348660257cc1a1596e048c9f80ee2fb
2021-11-24 08:04:15 -08:00
Flipper Bot
1c160fb6ac Flipper Release: v0.121.0
Summary: Releasing version 0.121.0

Reviewed By: passy

Differential Revision: D32641519

fbshipit-source-id: 4d137765188cba52597d73ea6c3634ee9ba8ab4b
2021-11-24 04:12:36 -08:00
Daniel Kohli
4d381a094b Update SidebarInteractiveContainer Flex Parameter to Allow for Both Grow and Shrink
Summary:
- Per the title, we're explicitly setting the `flex-basis` to 0 and `flex-grow` and `flex-shrink` to 1.
- We've noticed that the `Sidebar` does not allow shrinking less than half the page when `flex-basis` is 1.
- With this change, we can now resize the `Sidebar` component without issue.
- ** We're taking this approach because the linter has issues with us using `styled` with `Sidebar` **

#nocancel

Differential Revision: D32477863

fbshipit-source-id: 99a50bc047d59add833c1fc113ab159c08767e05
2021-11-19 07:28:11 -08:00
John Knox
2d948fe4f4 Dedupe server error notifications
Summary:
These notifications, when emit, don't get deduped, so if connection timeouts keep happening, like in [this](https://fb.workplace.com/groups/flippersupport/posts/1257144721432850), then you get tons of notifications.

This dedupes them if all the info is the same.

Reviewed By: mweststrate

Differential Revision: D32560073

fbshipit-source-id: beb4d67e2a97841bb91add7847157176dee4a5f4
2021-11-19 06:56:47 -08:00
Michel Weststrate
14c0a7965e Don't print debug logs in jest
Summary:
Don't print console.debug logs during unit tests

These diffs together reduce the amounts of logs printed during unit tests from 6000 to 3000.

Reviewed By: passy

Differential Revision: D32557595

fbshipit-source-id: eef2b742157f16638d9ce270cf8b3d8d0f4e2952
2021-11-19 04:01:02 -08:00
Michel Weststrate
52fca0859e Fix debug output in unit tests
Summary:
unit tests for deeplinks were logging full device / client objects instances, changed it to log the meta data only (description resp. query).

Since Jest buffers console output, this might even help test stability

Maybe console.debug shouldn't even be printed in Jest? See next diff

Reviewed By: passy

Differential Revision: D32557412

fbshipit-source-id: ff7fbf0cb5d8684d5333a62dac02fd5a59a6e358
2021-11-19 04:01:02 -08:00
Michel Weststrate
35c482ac92 Fix emotion cache output garbage in unit tests
Summary:
emotion/cache started generating nonsense warnings about SSR again when running unit tests. This is because atm emotion/cache is 3(!) times in our dep tree, and the wrong one got patched. Tried to dedupe that, but it seems inevitable:

- emotion/react requires v. 11.6.0 of it
- emotion/css requires v. 11.5.0 because a newer version of that package hasn't been released
- console-feed still uses emotion 10.

So instead, just added an other patch

Reviewed By: passy

Differential Revision: D32557413

fbshipit-source-id: 8a61a8065d21123453b3345b25ff87a9865094ed
2021-11-19 04:01:02 -08:00
Michel Weststrate
3e9cf79dff fix yarn.lock
Summary:
`yarn --force`

Probably fixes yarn validation for D32529283 (c00588d155) / D32529286 (2dcd804eb3) / D32529284 (0383d33aab)

Reviewed By: passy

Differential Revision: D32557414

fbshipit-source-id: e48894d979e7d2678644506e4f054707f62662af
2021-11-19 04:01:02 -08:00
John Knox
8af1e816bc Fix client-switching bug
Summary:
When a new client connects, we dispatch the NEW_CLIENT event.

The reducer of this event contains logic for determining if flipper should switch to display the newly connected client or not, and if so, it will dispatch SELECT_CLIENT.

For that reason, flipperServer always dispatching SELECT_CLIENT bypasses the "should switch?" logic and always switches whenever a new client connects. This is disruptive to working and not desired.

Removing this dispatch so that we rely on the NEW_CLIENT reducer to decide.

Bug report: https://fb.workplace.com/groups/flippersupport/posts/1255964631550859

Reviewed By: aigoncharov

Differential Revision: D32532942

fbshipit-source-id: 0ff2693745e37378362254053ae5fd6fc0d11de2
2021-11-19 03:36:51 -08:00
dependabot[bot]
0383d33aab Bump eslint-plugin-react from 7.26.1 to 7.27.0 in /desktop (#3062)
Summary:
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.26.1 to 7.27.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md">eslint-plugin-react's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.26.1...v7.27.0">7.27.0</a> - 2021.11.09</h2>
<h3>Added</h3>
<ul>
<li>support eslint 8.x (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3059">https://github.com/facebook/flipper/issues/3059</a>[] <a href="https://github.com/MichaelDeBoey"><code>@​MichaelDeBoey</code></a> <a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>no-unused-class-component-methods</code>]: Handle unused class component methods (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2166">https://github.com/facebook/flipper/issues/2166</a>[] <a href="https://github.com/jakeleventhal"><code>@​jakeleventhal</code></a> <a href="https://github.com/pawelnvk"><code>@​pawelnvk</code></a>)</li>
<li>add [<code>no-arrow-function-lifecycle</code>] (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1980">https://github.com/facebook/flipper/issues/1980</a>[] <a href="https://github.com/ngtan"><code>@​ngtan</code></a>)</li>
<li>add support for <code>typescript-eslint/parser</code> v5 (<a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>no-invalid-html-attribute</code>]: add rule (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2863">https://github.com/facebook/flipper/issues/2863</a>[] <a href="https://github.com/Nokel81"><code>@​Nokel81</code></a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><code>propTypes</code>: add <code>VoidFunctionComponent</code> to react generic list (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3092">#3092</a>[] <a href="https://github.com/vedadeepta"><code>@​vedadeepta</code></a>)</li>
<li>[<code>jsx-fragments</code>], [<code>jsx-no-useless-fragment</code>]: avoid a crash on fragment syntax in <code>typescript-eslint</code> parser (<a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>jsx-props-no-multi-spaces</code>]: avoid a crash on long member chains in tag names in <code>typescript-eslint</code> parser (<a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>no-unused-prop-types</code>], <code>usedPropTypes</code>: avoid crash with typescript-eslint parser (<a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>display-name</code>]: unwrap TS <code>as</code> expressions (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3110">#3110</a>[] <a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>destructuring-assignment</code>]: detect refs nested in functions (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3102">#3102</a> <a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>no-unstable-components</code>]: improve handling of objects containing render function properties (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3111">#3111</a> <a href="https://github.com/fizwidget"><code>@​fizwidget</code></a>)</li>
<li>[<code>prop-types</code>], <code>propTypes</code>: add forwardRef<!-- raw HTML omitted --> prop-types (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3112">#3112</a> <a href="https://github.com/vedadeepta"><code>@​vedadeepta</code></a>)</li>
<li>[<code>no-typos</code>]: prevent a crash when using private methods (<a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[<code>destructuring-assignment</code>], component detection: improve component detection (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3122">#3122</a> <a href="https://github.com/vedadeepta"><code>@​vedadeepta</code></a>)</li>
<li>[<code>no-invalid-html-attribute</code>]: avoid crash on spread props (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3126">#3126</a> <a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[Tests] test on the new babel eslint parser (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3113">#3113</a> <a href="https://github.com/ljharb"><code>@​ljharb</code></a>)</li>
<li>[Docs] [<code>jsx-no-target-blank</code>]: adjust options description (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3124">#3124</a> <a href="https://github.com/gebsh"><code>@​gebsh</code></a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3126">#3126</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issue/3126">yannickcr/eslint-plugin-react#3126</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3124">#3124</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3124">yannickcr/eslint-plugin-react#3124</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3122">#3122</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3122">yannickcr/eslint-plugin-react#3122</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3113">#3113</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3113">yannickcr/eslint-plugin-react#3113</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3112">#3112</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3112">yannickcr/eslint-plugin-react#3112</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3111">#3111</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3111">yannickcr/eslint-plugin-react#3111</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3110">#3110</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3110">yannickcr/eslint-plugin-react#3110</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3102">#3102</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issue/3102">yannickcr/eslint-plugin-react#3102</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3092">#3092</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3092">yannickcr/eslint-plugin-react#3092</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/3059">https://github.com/facebook/flipper/issues/3059</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/3059">yannickcr/eslint-plugin-react#3059</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2863">https://github.com/facebook/flipper/issues/2863</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2863">yannickcr/eslint-plugin-react#2863</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2166">https://github.com/facebook/flipper/issues/2166</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2166">yannickcr/eslint-plugin-react#2166</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1980">https://github.com/facebook/flipper/issues/1980</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/1980">yannickcr/eslint-plugin-react#1980</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="21e01b61af"><code>21e01b6</code></a> Update CHANGELOG and bump version</li>
<li><a href="10c0e6a71d"><code>10c0e6a</code></a> [Dev Deps] update <code>babel/eslint-parser</code>, <code>types/node</code></li>
<li><a href="9e12d2b505"><code>9e12d2b</code></a> [New] support eslint 8.x</li>
<li><a href="c3c97e38f9"><code>c3c97e3</code></a> [Dev Deps] update <code>eslint-config-airbnb-base</code></li>
<li><a href="38628eddad"><code>38628ed</code></a> [Tests] improve parser cases debug comment</li>
<li><a href="e5b9f3543f"><code>e5b9f35</code></a> [Fix] <code>no-invalid-html-attribute</code>: avoid crash on spread props</li>
<li><a href="e672316fc4"><code>e672316</code></a> [Docs] <code>jsx-no-target-blank</code>: adjust options description</li>
<li><a href="7b3d728abc"><code>7b3d728</code></a> [Fix] <code>destructuring-assignment</code>, component detection: improve component dete...</li>
<li><a href="0743c41ab7"><code>0743c41</code></a> [Tests] improve babel parser options</li>
<li><a href="9fd9856de4"><code>9fd9856</code></a> [Dev Deps] Update <code>eslint-remote-tester-run-action</code></li>
<li>Additional commits viewable in <a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.26.1...v7.27.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D32529284

Pulled By: passy

fbshipit-source-id: 8856b94e3958aa3edf847df1d60e1fbdfe153eee
2021-11-18 11:39:43 -08:00
dependabot[bot]
c00588d155 Bump @typescript-eslint/parser from 4.30.0 to 4.33.0 in /desktop (#3063)
Summary:
Bumps [typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.30.0 to 4.33.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/parser</code>'s releases</a>.</em></p>
<blockquote>
<h2>v4.33.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.32.0...v4.33.0">4.33.0</a> (2021-10-04)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [lines-between-class-members] fix <code>exceptAfterOverload</code> for abstract methods (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3943">#3943</a>) (<a href="240fc65c30">240fc65</a>)</li>
<li><strong>eslint-plugin:</strong> [no-confusing-void-expression] support optional chaining (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3937">#3937</a>) (<a href="c40dd13df7">c40dd13</a>)</li>
<li><strong>eslint-plugin:</strong> [no-restricted-imports] fix crash when no options given (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3947">#3947</a>) (<a href="edaa3c10eb">edaa3c1</a>)</li>
<li><strong>eslint-plugin:</strong> [non-nullable-type-assertion-style] false-positive with non-nullish <code>as</code> assertions and types (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3940">#3940</a>) (<a href="40760f98da">40760f9</a>)</li>
<li><strong>eslint-plugin:</strong> [padding-line-between-statements] TSModuleBlock should change scope (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3944">#3944</a>) (<a href="f8f534e42b">f8f534e</a>)</li>
<li><strong>eslint-plugin:</strong> [prefer-regexp-exec] check <code>RegExp</code> without flags (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3946">#3946</a>) (<a href="0868725713">0868725</a>)</li>
<li><strong>experimental-utils:</strong> add <code>getPhysicalFilename()</code> to <code>RuleContext</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3934">#3934</a>) (<a href="ee5dfd4989">ee5dfd4</a>)</li>
<li><strong>experimental-utils:</strong> require fix in suggestions (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3949">#3949</a>) (<a href="f022fb14c7">f022fb1</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>experimental-utils:</strong> extract <code>isNodeOfTypeWithConditions</code> out of <code>ast-utils</code>' <code>predicates</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3837">#3837</a>) (<a href="214f898178">214f898</a>)</li>
</ul>
<h2>v4.32.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.31.2...v4.32.0">4.32.0</a> (2021-09-27)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [consistent-type-definitions] correct fix for <code>export default</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3899">#3899</a>) (<a href="ebb33ed8bc">ebb33ed</a>)</li>
<li><strong>eslint-plugin:</strong> [no-require-imports] report only global <code>require</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3871">#3871</a>) (<a href="8aa87a136e">8aa87a1</a>)</li>
<li><strong>eslint-plugin:</strong> [no-shadow] ignore type-only imports properly (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3868">#3868</a>) (<a href="dda9cee68a">dda9cee</a>)</li>
<li><strong>eslint-plugin:</strong> [no-var-requires] report problems within <code>NewExpression</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3884">#3884</a>) (<a href="ed5e45983f">ed5e459</a>)</li>
<li><strong>eslint-plugin:</strong> [padding-line-between-statements] problems within namespaces not being reported (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3869">#3869</a>) (<a href="186135698b">1861356</a>)</li>
<li><strong>eslint-plugin:</strong> [prefer-regexp-exec] respect flags when using <code>RegExp</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3855">#3855</a>) (<a href="ffdb5ff990">ffdb5ff</a>)</li>
<li><strong>eslint-plugin:</strong> [prefer-return-this-type] handle generics properly in fixer (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3852">#3852</a>) (<a href="9e98b8f43c">9e98b8f</a>)</li>
<li><strong>eslint-plugin:</strong> false-positive/negative with array index in no-unnecessary-condition (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3805">#3805</a>) (<a href="bdb8f0be14">bdb8f0b</a>)</li>
<li><strong>experimental-utils:</strong> add missing signature for <code>isParenthesized</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3887">#3887</a>) (<a href="806eaac6af">806eaac</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>eslint-plugin:</strong> [no-type-alias]: add allowGenerics option (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3865">#3865</a>) (<a href="4195919973">4195919</a>)</li>
<li><strong>eslint-plugin:</strong> add <code>no-non-null-asserted-nullish-coalescing</code> rule (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3349">#3349</a>) (<a href="4e999614e9">4e99961</a>)</li>
<li><strong>eslint-plugin:</strong> add new extended rule <code>no-restricted-imports</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3775">#3775</a>) (<a href="ec5d50696b">ec5d506</a>)</li>
<li><strong>eslint-plugin-internal:</strong> [prefer-ast-types-enum] add <code>DefinitionType</code> enum (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3916">#3916</a>) (<a href="13b7de508e">13b7de5</a>)</li>
<li>Support <code>'latest'</code> as <code>ecmaVersion</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3873">#3873</a>) (<a href="25a42c0bbe">25a42c0</a>)</li>
</ul>
<h2>v4.31.2</h2>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.31.1...v4.31.2">4.31.2</a> (2021-09-20)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/typescript-eslint</code></p>

</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/parser/CHANGELOG.md"><code>@​typescript-eslint/parser</code>'s changelog</a>.</em></p>
<blockquote>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.32.0...v4.33.0">4.33.0</a> (2021-10-04)</h1>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/parser</code></p>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.31.2...v4.32.0">4.32.0</a> (2021-09-27)</h1>
<h3>Features</h3>
<ul>
<li>Support <code>'latest'</code> as <code>ecmaVersion</code> (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3873">#3873</a>) (<a href="25a42c0bbe">25a42c0</a>)</li>
</ul>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.31.1...v4.31.2">4.31.2</a> (2021-09-20)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/parser</code></p>
<h2><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.31.0...v4.31.1">4.31.1</a> (2021-09-13)</h2>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/parser</code></p>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.30.0...v4.31.0">4.31.0</a> (2021-09-06)</h1>
<p><strong>Note:</strong> Version bump only for package <code>@​typescript-eslint/parser</code></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="7bf8c9cb02"><code>7bf8c9c</code></a> chore: publish v4.33.0</li>
<li><a href="02c6ff3c5a"><code>02c6ff3</code></a> chore: publish v4.32.0</li>
<li><a href="25a42c0bbe"><code>25a42c0</code></a> feat: Support <code>'latest'</code> as <code>ecmaVersion</code> (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser/issues/3873">#3873</a>)</li>
<li><a href="eee47d0f90"><code>eee47d0</code></a> chore: publish v4.31.2</li>
<li><a href="2006056ad3"><code>2006056</code></a> chore: publish v4.31.1</li>
<li><a href="4a88de2c62"><code>4a88de2</code></a> chore: publish v4.31.0</li>
<li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v4.33.0/packages/parser">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@typescript-eslint/parser&package-manager=npm_and_yarn&previous-version=4.30.0&new-version=4.33.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/3063

Reviewed By: mweststrate

Differential Revision: D32529283

Pulled By: passy

fbshipit-source-id: 6d6894a7bae25b8480c0b0f63d7d96b1e6e4a7b9
2021-11-18 11:39:43 -08:00
dependabot[bot]
2dcd804eb3 Bump eslint-plugin-react-hooks from 4.2.0 to 4.3.0 in /desktop (#3059)
Summary:
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 4.2.0 to 4.3.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md">eslint-plugin-react-hooks's changelog</a>.</em></p>
<blockquote>
<h2>4.3.0</h2>
<ul>
<li>Support ESLint 8. (<a href="https://github.com/MichaelDeBoey"><code>@​MichaelDeBoey</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/22248">#22248</a>)</li>
<li>Fix a crash with an empty effect. (<a href="https://github.com/ChrisRu"><code>@​ChrisRu</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/20385">#20385</a>)</li>
<li>Improve the error message. (<a href="https://github.com/callmetwan"><code>@​callmetwan</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/20692">#20692</a>)</li>
<li>Handle optional chained methods as dependency. (<a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/20247">#20247</a>)</li>
<li>Assume the new <code>useTransition</code> signature in the rule. (<a href="https://github.com/rickhanlonii"><code>@​rickhanlonii</code></a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/20976">#20976</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D32529286

Pulled By: passy

fbshipit-source-id: b519ba264f10bde21e679593183e23c59cb7fa3b
2021-11-18 11:39:43 -08:00
Andrey Goncharov
a279b9bc43 Remove fs.readFile from some plugins
Summary:
1. Remove fs.readFile from some plugins
2. Add "importFile" to FlipperLib and RenderHost

See D32492149 for context

Followups:

1. Decapitate Stella's sendToPhone
2. Decapitate crash reporter
3. Figure out how to approach navigation
4. Figure out how to approach FileSelector

Reviewed By: mweststrate

Differential Revision: D32496775

fbshipit-source-id: e150aa56a2c2c1eb12a4c03c801f76cd76485a9d
2021-11-18 09:15:30 -08:00
Andrey Goncharov
2c7bc0a952 Remove fs.write from plugins
Summary:
1. Remove "fs.writeFile" from plugins
2. Remove "showSaveDialog" from "FlipperLib"
3. Add "exportFile" to "FlipperLib" and "RenderHost"

As we are going to use Flipper in a browser as well, instead of providing low-level abstraction like "showSaveDialog", we should provide more high-level ones like "exportFile". In browsers it does not make too much sense to expose "showSaveDialog" as there is not way to use the returned file path to write to it.
In the end, "exportFile" is going to trigger a file download for browsers and show the save dialog and write to the returned file path for Electron.

Reviewed By: mweststrate

Differential Revision: D32492149

fbshipit-source-id: 0673119bdb7670a5872f5982c7d82dfc44eb7906
2021-11-18 09:15:30 -08:00
Flipper Bot
71a19cef8b Flipper Release: v0.120.0
Summary: Releasing version 0.120.0

Reviewed By: jknoxville

Differential Revision: D32489726

fbshipit-source-id: 2843f8ddee7ec728dc320e3a4ae432ec392bc304
2021-11-18 06:58:54 -08:00
dependabot[bot]
32a58f0fec Bump redux from 4.1.1 to 4.1.2 in /desktop (#3057)
Summary:
Bumps [redux](https://github.com/reduxjs/redux) from 4.1.1 to 4.1.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/reduxjs/redux/releases">redux's releases</a>.</em></p>
<blockquote>
<h2>v4.1.2</h2>
<p>This release fixes a small specific TS types issue where state types that had a nested <code>unknown</code> field inside would cause compilation failures when used as the <code>preloadedState</code> argument.</p>
<h2>What's Changed</h2>
<ul>
<li>Fix preloaded state type by <a href="https://github.com/phryneas"><code>@​phryneas</code></a> in <a href="https://github-redirect.dependabot.com/reduxjs/redux/pull/4078">reduxjs/redux#4078</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/reduxjs/redux/compare/v4.1.1...v4.1.2">https://github.com/reduxjs/redux/compare/v4.1.1...v4.1.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="795a11c823"><code>795a11c</code></a> 4.1.2</li>
<li><a href="a03a79bc9e"><code>a03a79b</code></a> Merge commit '4d0730e9df2b23e88a588ba7f82f45ee7a642817' into 4.x</li>
<li><a href="ef5e57ea62"><code>ef5e57e</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/reduxjs/redux/issues/4078">#4078</a> from phryneas/fix-preloadedState</li>
<li><a href="cf2f265574"><code>cf2f265</code></a> Apply kindOf fix from <a href="https://github-redirect.dependabot.com/reduxjs/redux/issues/4160">#4160</a></li>
<li><a href="9ab0a70012"><code>9ab0a70</code></a> Update test/typescript/store.ts</li>
<li><a href="83af794b06"><code>83af794</code></a> small fix to PreloadedState</li>
<li>See full diff in <a href="https://github.com/reduxjs/redux/compare/v4.1.1...v4.1.2">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D32529287

Pulled By: passy

fbshipit-source-id: 5fe0c0c4e9b71f912b0e2d024465b0bdca9af303
2021-11-18 06:22:40 -08:00
3rdp
c4577bfee2 Fix dark diff background colors (#3065)
Summary:
Bug fix. Currenty Flipper provides incorrect red and green diff colors in Dark theme, this PR fixes the issue. Light theme colors are the same.

Closes https://github.com/facebook/flipper/issues/3011

## Changelog

Color theme fix: make diff background colors be defined in theme LESS files

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

Test Plan:
I used [redux-debugger](https://github.com/jk-gan/flipper-plugin-redux-debugger) plugin to test this as this is what I actually use for debugging Redux in React Native projects with Flipper. Here's a [React Native app](https://github.com/3rdp/flipper-redux-debugger-app) that I put together for testing purposes.

Light theme:
![lime2 light](https://user-images.githubusercontent.com/8898635/141799686-8b94655f-2501-46f9-9b28-d9ba8aeee222.png)

Dark theme:
![lime2](https://user-images.githubusercontent.com/8898635/141799710-fbd008a5-28cc-46f3-abf7-6b90fd85facb.png)

Reviewed By: mweststrate

Differential Revision: D32529276

Pulled By: passy

fbshipit-source-id: 3d11edaf1112444bb106521b6b30db4a4c2b8202
2021-11-18 06:22:17 -08:00
Ranesh Saha
d8824fb130 Update emulator path to emulator directory instead of deprecated tool… (#3046)
Summary:
…s directory

Currently, flipper tries to launch emulators using  `<android sdk path>\tools\emulator.exe`. The use of this emulator path has been deprecated for a while now, and remains in the sdk for those on versions of Android Studio 2.2 and older (see https://issuetracker.google.com/issues/66886035?pli=1). The supported path is `<android sdk path>\emulator\emulator.exe`. Trying to use the deprecated path on Windows results in a failure to launch AVDs.

## Changelog

Point emulator path to emulator directory instead of deprecated tools directory.

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

Test Plan: Verified a failure to launch the AVD on windows using the deprecated path. Confirmed that updating the path results in a successful launch and the device showing up in flipper.

Reviewed By: passy

Differential Revision: D32489840

Pulled By: nikoant

fbshipit-source-id: dde5bf5a29e89549f160d9d71133ff70398e1c1d
2021-11-17 05:10:53 -08:00
Michel Weststrate
4dde5b4508 Unmount React tree automatically in tests
Summary: In the next diff, tests started to fail suddenly, probably as side effect of a changed module loading order or smthg, and started showing DOMs of different tests in test results. Figured that testing-library/react + jest doesn't automatically doesn't clean up the DOM as I hoped it would

Reviewed By: timur-valiev

Differential Revision: D32463402

fbshipit-source-id: 48d26badf774482e7320632e486dfc6358946484
2021-11-17 02:40:29 -08:00
Pascal Hartig
c0a0fa5dd8 Bump deps
Summary: Preempting dependabot by bumping a few patch and minor releases.

Reviewed By: timur-valiev

Differential Revision: D32434931

fbshipit-source-id: 77a3ec760f08262a118e12318d7601e031730a9a
2021-11-16 10:33:14 -08:00
Michel Weststrate
7e50c0466a Move app/src (mostly) to flipper-ui-core/src
Summary:
This diff moves all UI code from app/src to app/flipper-ui-core. That is now slightly too much (e.g. node deps are not removed yet), but from here it should be easier to move things out again, as I don't want this diff to be open for too long to avoid too much merge conflicts.

* But at least flipper-ui-core is Electron free :)
* Killed all cross module imports as well, as they where now even more in the way
* Some unit test needed some changes, most not too big (but emotion hashes got renumbered in the snapshots, feel free to ignore that)
* Found some files that were actually meaningless (tsconfig in plugins, WatchTools files, that start generating compile errors, removed those

Follow up work:
* make flipper-ui-core configurable, and wire up flipper-server-core in Electron instead of here
* remove node deps (aigoncharov)
* figure out correct place to load GKs, plugins, make intern requests etc., and move to the correct module
* clean up deps

Reviewed By: aigoncharov

Differential Revision: D32427722

fbshipit-source-id: 14fe92e1ceb15b9dcf7bece367c8ab92df927a70
2021-11-16 05:29:21 -08:00
Pascal Hartig
54b7ce9308 Add back support for flipper://welcome
Summary:
This was removed as part of the deeplink restructuring.
Turns out this is actually useful in addition to the `flipper://`
as some normalisation algos (notably VSCode's) remove the `//`
otherwise.

Reviewed By: nikoant

Differential Revision: D32428872

fbshipit-source-id: ec89b1ab561504996da5d02521b91562245554a0
2021-11-15 06:40:08 -08:00
Ranesh Saha
ddb4e70c2a Updating splitting of avd names to work on Windows and Unix based sys… (#3041)
Summary:
…tems

When trying to start an android emulator in Windows, there is a failure in trying to read `<avd name>.ini`. The reason for this is because when we run `<android sdk path>\tools\emulator.exe -list-avds`, a split is performed with the new line character (`\n`). Unfortunately, this does not work for Windows, which uses `\r\n` as the new line termination. This results in a carriage return remaining on each output string, which results in trying to access `<avd name> .ini`, which is an invalid path.

The fix is to update the split to use a regex that is compatible for both Unix and Windows based systems.

## Changelog

Updating splitting of avd names to work on Windows and Unix based systems

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

Test Plan: Verified the avd names didn't have any trailing whitespace, and the emulator is able to launch.

Reviewed By: mweststrate

Differential Revision: D32387162

Pulled By: nikoant

fbshipit-source-id: 0900bee17b225cfa5484a29c96f8e2c1c2e31477
2021-11-12 08:07:18 -08:00
Andrey Goncharov
eb28fc411b Encapsulate electron bar setup
Summary: See D32311662 for details

Reviewed By: mweststrate

Differential Revision: D32357953

fbshipit-source-id: f951e82761f081876ae8e0409f00e19e87047726
2021-11-12 07:13:56 -08:00
Andrey Goncharov
15a59c3aea Combine lef nav entries under a single menu
Summary: See D32311662 for details

Reviewed By: mweststrate

Differential Revision: D32356865

fbshipit-source-id: 065a580f3ce0aacc786c1de2b5fc713a86f0567f
2021-11-12 07:13:56 -08:00
Andrey Goncharov
ed5c2bd39f Add plugin actions menu
Summary: See D32311662 for details

Reviewed By: mweststrate

Differential Revision: D32329804

fbshipit-source-id: 26670353fdf8580643afcb8bc3493384146f5574
2021-11-12 07:13:56 -08:00
Andrey Goncharov
2591d1629e Add import/export left rail menu
Summary: See D32311662 for details

Reviewed By: mweststrate

Differential Revision: D32316987

fbshipit-source-id: c2d173f981cce1b148f463d981977e23258ffc02
2021-11-12 07:13:55 -08:00
Andrey Goncharov
32f722264f Add changelog button to welcome screen
Summary:
## Overall goal
Decouple top menu from electron

## Approach

We have two options to solve it:

1. Leave the menu as-is for electron. Add a new menu to the left nav for other target envs.
2. Add a new menu to the left nav for all target envs. Leave only electron-specific options in the electron top menu.

This stack of diffs (D32311662, D32316987, D32329804, TDB) implements the second option. The primary reason is to have unified user-experience. If our users on different platforms have the same experience, it is easier for us to propagate knowledge and debug issues.

## Implementation plan

1. Move changelog to the welcome screen (D32311662)
2. Move import/export functionality to a dedicated menu in the left nav (D32316987)
3. Move plugin actions button to the toolbox with screen recording buttons (D32329804)
4. Collapse some left rail items under a single menu (D32356865)
5. Clean up the rest of electron menu items (D32357953)

## Followup

Return to re-grouping of the left rail buttons and toggles after decapitation

Reviewed By: mweststrate

Differential Revision: D32311662

fbshipit-source-id: e2c4bc1a7bd2c167335fcd6d76276ae7c4947859
2021-11-12 07:13:55 -08:00
dependabot[bot]
34a09a3096 Bump react-virtual from 2.8.0 to 2.8.2 in /desktop (#2999)
Summary:
Bumps [react-virtual](https://github.com/tannerlinsley/react-virtual) from 2.8.0 to 2.8.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tannerlinsley/react-virtual/releases">react-virtual's releases</a>.</em></p>
<blockquote>
<h2>v2.8.2</h2>
<h2><a href="https://github.com/tannerlinsley/react-virtual/compare/v2.8.1...v2.8.2">2.8.2</a> (2021-09-30)</h2>
<h3>Performance Improvements</h3>
<ul>
<li>reuse already measure items, include key into virtualItem (<a href="https://github-redirect.dependabot.com/tannerlinsley/react-virtual/issues/179">https://github.com/facebook/flipper/issues/179</a>) (<a href="8cb22fb46f">8cb22fb</a>)</li>
</ul>
<h2>v2.8.1</h2>
<h2><a href="https://github.com/tannerlinsley/react-virtual/compare/v2.8.0...v2.8.1">2.8.1</a> (2021-08-05)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Page Title (<a href="https://github-redirect.dependabot.com/tannerlinsley/react-virtual/issues/177">https://github.com/facebook/flipper/issues/177</a>) (<a href="38726c8a7d">38726c8</a>)</li>
<li>range calculated only on scroll (<a href="https://github-redirect.dependabot.com/tannerlinsley/react-virtual/issues/166">https://github.com/facebook/flipper/issues/166</a>) (<a href="adf60b3f31">adf60b3</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="8cb22fb46f"><code>8cb22fb</code></a> perf: reuse already measure items, include key into virtualItem (<a href="https://github-redirect.dependabot.com/tannerlinsley/react-virtual/issues/179">https://github.com/facebook/flipper/issues/179</a>)</li>
<li><a href="433d9663ce"><code>433d966</code></a> Update CarbonAds.js</li>
<li><a href="121a5dfad7"><code>121a5df</code></a> docs(index): Fix typo in 'dyanmically' (<a href="https://github-redirect.dependabot.com/tannerlinsley/react-virtual/issues/176">https://github.com/facebook/flipper/issues/176</a>)</li>
<li><a href="adf60b3f31"><code>adf60b3</code></a> fix: range calculated only on scroll (<a href="https://github-redirect.dependabot.com/tannerlinsley/react-virtual/issues/166">https://github.com/facebook/flipper/issues/166</a>)</li>
<li><a href="38726c8a7d"><code>38726c8</code></a> fix: Page Title (<a href="https://github-redirect.dependabot.com/tannerlinsley/react-virtual/issues/177">https://github.com/facebook/flipper/issues/177</a>)</li>
<li><a href="80207b716a"><code>80207b7</code></a> Update index.js</li>
<li><a href="7c2501ee08"><code>7c2501e</code></a> new gh header</li>
<li><a href="36d57d323c"><code>36d57d3</code></a> Update README.md</li>
<li><a href="b72c0291a5"><code>b72c029</code></a> Update overview.md</li>
<li><a href="31ed0e323a"><code>31ed0e3</code></a> docs: fix links</li>
<li>Additional commits viewable in <a href="https://github.com/tannerlinsley/react-virtual/compare/v2.8.0...v2.8.2">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D31991577

Pulled By: mweststrate

fbshipit-source-id: b81c96b80478c4ae92aac26e809eabec8dbe90e9
2021-11-11 12:21:58 -08:00
almouro
5b603ab976 Ensure desktop plugin template tests run (#3039)
Summary:
I've decided to migrate [a desktop plugin](https://github.com/bamlab/react-native-performance) to Sandy.
When doing so, I decided to rise to the challenge from the [Flipper docs](https://fbflipper.com/docs/tutorial/js-custom#testing-plugin-logic):  `we are going to pretend that we always write unit tests first` 😅

However, I've realized that when creating a plugin with `npx flipper-pkg init`, running `yarn jest` directly after creation actually fails.

There are 3 issues solved in the different commits:
1. an absolute import seem to not be resolved, since all the other imports were relative in the file, I changed it as well

2. some dependencies are missing.
They used to be included in the `flipper` dependency but when migrating to use `flipper-plugin` instead, they're not present anymore.
I don't think this is an ideal fix, I would believe a dependency like a `flipper-dev-environment` including all of those would be more appropriate. So I'm open to suggestions to fix/remove of course

3. jest.config needs to be fixed to run in jsdom environment and ensure we can test the react component

## Changelog

Fix: ensure desktop plugin template tests run

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

Test Plan:
I've cloned the repo and run:

```
cd flipper/desktop/pkg
yarn
cd ../../..
./flipper/desktop/pkg/bin/run init
```
I run the tests on the newly package created, but it actually still failed because of the first issue (since it still installed `flipper-plugin` from npm`)

However, by adding this patch, it now runs!
```patch
 diff --git a/node_modules/flipper-plugin/lib/ui/data-table/DataTable.js b/node_modules/flipper-plugin/lib/ui/data-table/DataTable.js
index 2e07ff5..ff3181d 100644
 --- a/node_modules/flipper-plugin/lib/ui/data-table/DataTable.js
+++ b/node_modules/flipper-plugin/lib/ui/data-table/DataTable.js
@@ -39,7 +39,7 @@ const useAssertStableRef_1 = require("../../utils/useAssertStableRef");
 const PluginContext_1 = require("../../plugin/PluginContext");
 const lodash_1 = require("lodash");
 const useInUnitTest_1 = require("../../utils/useInUnitTest");
-const createDataSource_1 = require("flipper-plugin/src/state/createDataSource");
+const createDataSource_1 = require("../../state/createDataSource");
 function DataTable(props) {
     var _a, _b;
     const { onRowStyle, onSelect, onCopyRows, onContextMenu } = props;
```

Reviewed By: aigoncharov

Differential Revision: D32358207

Pulled By: mweststrate

fbshipit-source-id: 7761b4150c24dd5379a24c3c1deeb78bf3dda4ee
2021-11-11 12:07:49 -08:00
Flipper Bot
af581a20a0 Flipper Release: v0.119.0
Summary: Releasing version 0.119.0

Reviewed By: nikoant

Differential Revision: D32309847

fbshipit-source-id: a4c4728c935111fa593ea629b564f2d8d02b9135
2021-11-11 02:44:32 -08:00
Michel Weststrate
8764da7c0b Add error handling to Layout.setHighlighted
Summary: Fixed error generated by monitoring, by adding a proper .catch

Reviewed By: lblasa

Differential Revision: D32278523

fbshipit-source-id: dd14f81d708893a1505ef902e0dc03fee433487b
2021-11-09 05:48:36 -08:00