Commit Graph

2223 Commits

Author SHA1 Message Date
dependabot[bot]
42374cb10d Bump glob from 7.1.7 to 7.2.0 in /desktop (#2918)
Summary:
Bumps [glob](https://github.com/isaacs/node-glob) from 7.1.7 to 7.2.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="3bfec21dd1"><code>3bfec21</code></a> 7.2.0</li>
<li><a href="df4598a75a"><code>df4598a</code></a> Add fs option to allow passing virtual filesystem</li>
<li>See full diff in <a href="https://github.com/isaacs/node-glob/compare/v7.1.7...v7.2.0">compare view</a></li>
</ul>
</details>
<br />

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

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

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

 ---

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

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

</details>

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

Reviewed By: mweststrate

Differential Revision: D31240061

Pulled By: passy

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

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

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

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

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

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

 ---

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

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

</details>

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

Reviewed By: timur-valiev

Differential Revision: D30961755

Pulled By: mweststrate

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

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

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

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

 ---

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

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

</details>

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

Reviewed By: timur-valiev

Differential Revision: D30961750

Pulled By: mweststrate

fbshipit-source-id: 2c7a43755e840713b2233abbad7ce131785268b8
2021-09-29 04:38:38 -07:00
dependabot[bot]
49e6cfe08d Bump app-builder-lib from 22.11.1 to 22.14.2 in /desktop (#2845)
Summary:
allow-large-files

Bumps [app-builder-lib](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib) from 22.11.1 to 22.14.2.
<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.2</h2>
<h1><a href="https://github.com/electron-userland/electron-builder/compare/v22.13.1...v22.14.2">electron-builder@22.14.2</a> (2021-09-10)</h1>
<h3>Bug Fixes</h3>
<ul>
<li>(mac) Fix intel mac upgrade flow when both x64 and arm64 published (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6212">#6212</a>) (<a href="0c21cd6966">0c21cd6</a>)</li>
<li>Add support for nested file extensions (such as <code>.dmg.blockmap</code>) to Keygen publisher (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6234">#6234</a>) (<a href="369f1fa793">369f1fa</a>), closes <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6229">#6229</a></li>
</ul>
<h3>Features</h3>
<ul>
<li>adding Bitbucket publisher and autoupdater (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6228">#6228</a>) (<a href="a945321647">a945321</a>)</li>
</ul>
<h2>22.13.1</h2>
<h1><a href="https://github.com/electron-userland/electron-builder/compare/v22.13.0...v22.13.1">electron-builder@22.13.1</a> (2021-08-27)</h1>
<h3>Bug Fixes</h3>
<ul>
<li>Adding snapStore to AllPublishOptions for generating Configuration schema (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6193">#6193</a>) (<a href="7f933d0004">7f933d0</a>)</li>
<li>Support Windows 11 in VMs (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6185">#6185</a>) (<a href="f6a3053563">f6a3053</a>)</li>
</ul>
<h2>22.13.0</h2>
<h1><a href="https://github.com/electron-userland/electron-builder/compare/v22.12.1...v22.13.0">electron-builder@22.13.0</a> (2021-08-25)</h1>
<h3>Features</h3>
<ul>
<li>add <code>beforePack</code> hook (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6176">#6176</a>) (<a href="6f42f646c9">6f42f64</a>)</li>
<li>Adding Keygen as an official publisher/updater for electron-builder (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6167">#6167</a>) (<a href="f45110cbf6">f45110c</a>)</li>
</ul>
<h2>22.12.1</h2>
<h1><a href="https://github.com/electron-userland/electron-builder/compare/v22.12.0...v22.12.1">electron-builder@22.12.1</a> (2021-08-22)</h1>
<p><strong>electron-updater@4.4.6 @ next</strong></p>
<h3>Bug Fixes</h3>
<ul>
<li>console log data for electron-updater blockmaps are far too large (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6143">#6143</a>) (<a href="ae363e5195">ae363e5</a>)</li>
<li><strong>deploy:</strong> remove zulip release message (<a href="695f89a7b1">695f89a</a>)</li>
<li><strong>electron-updater:</strong> <code>null</code> object error when MacUpdater logs server port before it is listening (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6149">#6149</a>) (<a href="ca0e8454b8">ca0e845</a>)</li>
<li><strong>electron-updater:</strong> fix import errors (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6140">#6140</a>) (<a href="a3f2cd1565">a3f2cd1</a>), closes <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6134">#6134</a></li>
<li>replace deprecated --cache-min option (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6165">#6165</a>) (<a href="c02ccbb973">c02ccbb</a>)</li>
<li><strong>windows:</strong> detect node path correctly on windows with cross-spawn (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6069">#6069</a>) (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6172">#6172</a>) (<a href="6c945bd597">6c945bd</a>)</li>
<li>workaround vite replacing process.env in updater (<a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/issues/6160">#6160</a>) (<a href="a3c72b2481">a3c72b2</a>)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</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.2</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6248">#6248</a> <a href="f3590355c6"><code>f3590355</code></a> Thanks <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a>! - fix: dmg-license as an optional dependency while still enabling docs site to build properly</li>
</ul>
<h2>22.14.1</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6244">#6244</a> <a href="8ccb2da5d4"><code>8ccb2da5</code></a> Thanks <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a>! - fix: dmg-license optional dependency</li>
</ul>
<h2>22.14.0</h2>
<h3>Minor Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6228">#6228</a> <a href="a945321647"><code>a9453216</code></a> Thanks <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a>! - feat: adding Bitbucket publisher and autoupdater</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies [<a href="a945321647"><code>a9453216</code></a>]:
<ul>
<li>builder-util-runtime@8.9.0</li>
<li>builder-util@22.14.0</li>
<li>electron-publish@22.14.0</li>
</ul>
</li>
</ul>
<h2>22.13.1</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6185">#6185</a> <a href="f6a3053563"><code>f6a30535</code></a> Thanks <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a>! - fix: Support Windows 11 in VMs</li>
</ul>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6193">#6193</a> <a href="7f933d0004"><code>7f933d00</code></a> Thanks <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a>! - fix: adding snapStore to AllPublishOptions so that it properly is generated via <code>pnpm schema</code></p>
</li>
<li>
<p>Updated dependencies [<a href="7f933d0004"><code>7f933d00</code></a>]:</p>
<ul>
<li>builder-util-runtime@8.8.1</li>
<li>builder-util@22.13.1</li>
<li>electron-publish@22.13.1</li>
</ul>
</li>
</ul>
<h2>22.13.0</h2>
<h3>Minor Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6176">#6176</a> <a href="6f42f646c9"><code>6f42f646</code></a> Thanks <a href="https://github.com/gaodeng"><code>@​gaodeng</code></a>! - feat: add <code>beforePack</code> hook to build process with the same payload interface as that of <code>afterPack</code></li>
</ul>
<ul>
<li><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6167">#6167</a> <a href="f45110cbf6"><code>f45110cb</code></a> Thanks <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a>! - feat: Adding Keygen as an official publisher/updater for electron-builder (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6167">#6167</a>)</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies [<a href="f45110cbf6"><code>f45110cb</code></a>]:
<ul>
<li>builder-util@22.13.0</li>
</ul>
</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="8bd1f3e9f8"><code>8bd1f3e</code></a> chore(deploy): Release (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6250">#6250</a>)</li>
<li><a href="f3590355c6"><code>f359035</code></a> fix: dmg-license-dependency (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6248">#6248</a>)</li>
<li><a href="36e32a45b0"><code>36e32a4</code></a> chore(deploy): Release 22.14.1 (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6245">#6245</a>)</li>
<li><a href="8ccb2da5d4"><code>8ccb2da</code></a> fix: dmg-license optional dependency (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6244">#6244</a>)</li>
<li><a href="45a0fe1eb8"><code>45a0fe1</code></a> chore(deploy): Release 22.14.0 (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6242">#6242</a>)</li>
<li><a href="a945321647"><code>a945321</code></a> feat: adding Bitbucket publisher and autoupdater (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6228">#6228</a>)</li>
<li><a href="369f1fa793"><code>369f1fa</code></a> fix: Add support for nested file extensions (such as <code>.dmg.blockmap</code>) to Keyg...</li>
<li><a href="05738084a7"><code>0573808</code></a> chore(docs): Updating/migrating docs branch and automating docs deployment (#...</li>
<li><a href="55c1164e2a"><code>55c1164</code></a> chore(deps): update dependency <code>@​types/js-yaml</code> to v4.0.3 (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6206">#6206</a>)</li>
<li><a href="8afe680c62"><code>8afe680</code></a> chore(deps): update dependency <code>@​types/ejs</code> to v3.1.0 (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6209">#6209</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/electron-userland/electron-builder/commits/v22.14.2/packages/app-builder-lib">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~onegoldfishh">onegoldfishh</a>, a new releaser for app-builder-lib since your current version.</p>
</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.11.1&new-version=22.14.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/2845

Test Plan:
Did run `yarn build --mac && yarn open-dist`

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

Reviewed By: timur-valiev

Differential Revision: D30961709

Pulled By: mweststrate

fbshipit-source-id: 1d85a79929bb502739d02d8ea9841371744040b1
2021-09-29 04:38:38 -07:00
dependabot[bot]
b150367830 Bump eslint-plugin-flowtype from 5.9.2 to 5.10.0 in /desktop (#2919)
Summary:
Bumps [eslint-plugin-flowtype](https://github.com/gajus/eslint-plugin-flowtype) from 5.9.2 to 5.10.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/gajus/eslint-plugin-flowtype/releases">eslint-plugin-flowtype's releases</a>.</em></p>
<blockquote>
<h2>v5.10.0</h2>
<h1><a href="https://github.com/gajus/eslint-plugin-flowtype/compare/v5.9.2...v5.10.0">5.10.0</a> (2021-09-14)</h1>
<h3>Features</h3>
<ul>
<li>add new rule sort-type-union-intersection-members (<a href="https://github-redirect.dependabot.com/gajus/eslint-plugin-flowtype/issues/501">https://github.com/facebook/flipper/issues/501</a>) (<a href="fa4207de7f">fa4207d</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="fa4207de7f"><code>fa4207d</code></a> feat: add new rule sort-type-union-intersection-members (<a href="https://github-redirect.dependabot.com/gajus/eslint-plugin-flowtype/issues/501">https://github.com/facebook/flipper/issues/501</a>)</li>
<li>See full diff in <a href="https://github.com/gajus/eslint-plugin-flowtype/compare/v5.9.2...v5.10.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D31240053

Pulled By: passy

fbshipit-source-id: 71b8e62821f1efffbccdc6db4f6c29b5a7ac15be
2021-09-29 03:23:14 -07:00
Ananya Arun
e974b28c8f Add no device found error msg to guide
Summary:
Added noDeviceErrorMsg as a JSX.Element that will display 'No device found' if there are no devices detected. It is an empty JSX.Element otherwise and nothing is displayed as shown in the video.

I am using a JS variable as a JSX element in this diff. This simplifies the if else checks needed inside return, and reused the same styling we have.

Reviewed By: mweststrate

Differential Revision: D31193647

fbshipit-source-id: dea96232785c9e2987be1513fa3462452c996e66
2021-09-28 09:57:49 -07:00
Pascal Hartig
c2848df7f2 Update instruments check
Summary: We no longer need to check for instruments but it's useful to check if we have xctrace as it was added somewhat recently to xcrun.

Reviewed By: mweststrate

Differential Revision: D31232872

fbshipit-source-id: 0f496c56520bf752cf7dbd5005c7832c80c2bc26
2021-09-28 08:21:34 -07:00
Joseph Chereshnovsky
795a3d30a0 Migrate away from deprecated instruments utility (#2903)
Summary:
The "instruments" utility was deprecated in Xcode 12 and removed now from Xcode 13, causing all the iOS 15 / Xcode 13  builds to fail to work with Flipper.

See deprecation notice here: https://developer.apple.com/documentation/xcode-release-notes/xcode-12-release-notes

> The instruments command is now deprecated in favor of its replacement: xctrace. Use xctrace to record, import, and export data from Instruments .trace files. (36641078)

The corresponding bug was reported here:
https://github.com/facebook/flipper/issues/2896

That call should be replaced with `xcrun xctrace` run and that is what we are doing here.

IMPORTANT: There was a workaround on killing the stale `instruments` proceses and that utility function is removed as part of this PR, as `instruments` were slow and inefficient, marked for deprecation more than a year ago. `xctrace` should not have that kind of issue and it doesn't make sense to keep this workaround now.

## Changelog

The "instruments" call replaced with `xcrun xctrace` use, to align with deprecation introduced in Xcode 12 and offer Xcode 13 compatibility.

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

Test Plan:
In order to test this we should run the Flipper desktop app and make sure it connects to the Simulator started out of Xcode 13
It fails to do so in `master` version right now, see https://github.com/facebook/flipper/issues/2896

Reviewed By: mweststrate

Differential Revision: D31150276

Pulled By: passy

fbshipit-source-id: 0b45ae23c15a8481a91b1effe814176b04adbf3e
2021-09-28 08:21:34 -07:00
dependabot[bot]
18fbde50f2 Bump @babel/core from 7.14.8 to 7.15.5 in /desktop (#2888)
Summary:
Bumps [babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.8 to 7.15.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/releases"><code>@​babel/core</code>'s releases</a>.</em></p>
<blockquote>
<h2>v7.15.5 (2021-09-04)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13727">#13727</a> Disallow <code>#a in #b in c</code> and similar expressions (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>↩️ Revert</h4>
<ul>
<li><code>babel-core</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13732">#13732</a> Revert &quot;fix: non breaking align options naming&quot; (<a href="https://github.com/fedeci"><code>@​fedeci</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 3</h4>
<ul>
<li>Babel Bot (<a href="https://github.com/babel-bot"><code>@​babel-bot</code></a>)</li>
<li>Federico Ciardi (<a href="https://github.com/fedeci"><code>@​fedeci</code></a>)</li>
<li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
<h2>v7.15.4 (2021-09-02)</h2>
<p>Thanks <a href="https://github.com/flyinox"><code>@​flyinox</code></a>, <a href="https://github.com/komyg"><code>@​komyg</code></a>, and <a href="https://github.com/meskill"><code>@​meskill</code></a> for your first PRs!</p>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-helper-create-class-features-plugin</code>, <code>babel-helpers</code>, <code>babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining</code>, <code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-private-methods</code>, <code>babel-plugin-proposal-private-property-in-object</code>, <code>babel-preset-env</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13601">#13601</a> Disallow reinitializing private elements (<a href="https://github.com/komyg"><code>@​komyg</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13638">#13638</a> [eslint] Allow <code>&quot;latest&quot;</code> as <code>ecmaVersion</code> (<a href="https://github.com/fisker"><code>@​fisker</code></a>)</li>
<li><code>babel-traverse</code>, <code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13723">#13723</a> <code>getBindingIdentifiers</code> should return params for private methods (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13715">#13715</a> [babel 8] fix: stricter rest element builder check (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-compilation-targets</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13697">#13697</a> fix: pass <code>browserslistEnv</code> to <code>resolveTargets</code> (<a href="https://github.com/meskill"><code>@​meskill</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-private-property-in-object</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13656">#13656</a> fix: fix static private field shadowed by local variable (<a href="https://github.com/colinaaa"><code>@​colinaaa</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-transform-typescript</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13664">#13664</a> [ts] Fix transform for nested namespaces shorthand syntax (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13680">#13680</a> fix(babel-parser): delete <code>static</code> property from class static block for TS (<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13695">#13695</a> fix: assure left bracket is not consumed after dot (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-core</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13532">#13532</a> fix: non breaking align options naming (<a href="https://github.com/fedeci"><code>@​fedeci</code></a>)</li>
</ul>
</li>
</ul>
<h4>📝 Documentation</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13691">#13691</a> add missing ExportNamespaceSpecifier in spec.md (<a href="https://github.com/flyinox"><code>@​flyinox</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-static-block</code>, <code>babel-plugin-proposal-private-property-in-object</code>, <code>babel-plugin-syntax-class-static-block</code>, <code>babel-plugin-syntax-private-property-in-object</code>, <code>babel-plugin-syntax-top-level-await</code>, <code>babel-plugin-transform-modules-commonjs</code>, <code>babel-plugin-transform-modules-systemjs</code>, <code>babel-preset-env</code>, <code>babel-standalone</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13717">#13717</a> archive stage 4 parser plugins (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏃‍♀️ Performance</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/core</code>'s changelog</a>.</em></p>
<blockquote>
<h2>v7.15.5 (2021-09-04)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13727">#13727</a> Disallow <code>#a in #b in c</code> and similar expressions (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>↩️ Revert</h4>
<ul>
<li><code>babel-core</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13732">#13732</a> Revert &quot;fix: non breaking align options naming&quot; (<a href="https://github.com/fedeci"><code>@​fedeci</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.15.4 (2021-09-02)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-helper-create-class-features-plugin</code>, <code>babel-helpers</code>, <code>babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining</code>, <code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-private-methods</code>, <code>babel-plugin-proposal-private-property-in-object</code>, <code>babel-preset-env</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13601">#13601</a> Disallow reinitializing private elements (<a href="https://github.com/komyg"><code>@​komyg</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13638">#13638</a> [eslint] Allow <code>&quot;latest&quot;</code> as <code>ecmaVersion</code> (<a href="https://github.com/fisker"><code>@​fisker</code></a>)</li>
<li><code>babel-traverse</code>, <code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13723">#13723</a> <code>getBindingIdentifiers</code> should return params for private methods (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13715">#13715</a> [babel 8] fix: stricter rest element builder check (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-compilation-targets</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13697">#13697</a> fix: pass <code>browserslistEnv</code> to <code>resolveTargets</code> (<a href="https://github.com/meskill"><code>@​meskill</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-private-property-in-object</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13656">#13656</a> fix: fix static private field shadowed by local variable (<a href="https://github.com/colinaaa"><code>@​colinaaa</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-transform-typescript</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13664">#13664</a> [ts] Fix transform for nested namespaces shorthand syntax (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13680">#13680</a> fix(babel-parser): delete <code>static</code> property from class static block for TS (<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13695">#13695</a> fix: assure left bracket is not consumed after dot (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-core</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13532">#13532</a> fix: non breaking align options naming (<a href="https://github.com/fedeci"><code>@​fedeci</code></a>)</li>
</ul>
</li>
</ul>
<h4>📝 Documentation</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13691">#13691</a> add missing ExportNamespaceSpecifier in spec.md (<a href="https://github.com/flyinox"><code>@​flyinox</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-proposal-class-static-block</code>, <code>babel-plugin-proposal-private-property-in-object</code>, <code>babel-plugin-syntax-class-static-block</code>, <code>babel-plugin-syntax-private-property-in-object</code>, <code>babel-plugin-syntax-top-level-await</code>, <code>babel-plugin-transform-modules-commonjs</code>, <code>babel-plugin-transform-modules-systemjs</code>, <code>babel-preset-env</code>, <code>babel-standalone</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13717">#13717</a> archive stage 4 parser plugins (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏃‍♀️ Performance</h4>
<ul>
<li><code>babel-core</code>, <code>babel-generator</code>, <code>babel-helper-annotate-as-pure</code>, <code>babel-helper-builder-binary-assignment-operator-visitor</code>, <code>babel-helper-builder-react-jsx</code>, <code>babel-helper-define-map</code>, <code>babel-helper-explode-assignable-expression</code>, <code>babel-helper-function-name</code>, <code>babel-helper-get-function-arity</code>, <code>babel-helper-hoist-variables</code>, <code>babel-helper-member-expression-to-functions</code>, <code>babel-helper-module-imports</code>, <code>babel-helper-module-transforms</code>, <code>babel-helper-optimise-call-expression</code>, <code>babel-helper-remap-async-to-generator</code>, <code>babel-helper-replace-supers</code>, <code>babel-helper-simple-access</code>, <code>babel-helper-skip-transparent-expression-wrappers</code>, <code>babel-helper-split-export-declaration</code>, <code>babel-helper-wrap-function</code>, <code>babel-helpers</code>, <code>babel-preset-env</code>, <code>babel-template</code>, <code>babel-traverse</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13685">#13685</a> Use named imports for babel types (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-cli</code>, <code>babel-helper-define-map</code>, <code>babel-helpers</code>, <code>babel-node</code>, <code>babel-parser</code>, <code>babel-plugin-proposal-async-generator-functions</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-transform-classes</code>, <code>babel-plugin-transform-for-of</code>, <code>babel-plugin-transform-modules-systemjs</code>, <code>babel-plugin-transform-parameters</code>, <code>babel-traverse</code>, <code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13609">#13609</a> perf: partially replace <code>.concat</code> with <code>.push</code> (<a href="https://github.com/fedeci"><code>@​fedeci</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.15.3 (2021-08-11)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-helpers</code>, <code>babel-plugin-transform-classes</code></li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="e82e43ca33"><code>e82e43c</code></a> v7.15.5</li>
<li><a href="66cadea103"><code>66cadea</code></a> Revert &quot;fix: non breaking align options naming&quot; (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/13732">#13732</a>)</li>
<li><a href="b2376757d7"><code>b237675</code></a> v7.15.4</li>
<li><a href="51a0caa8a2"><code>51a0caa</code></a> fix: set parserOpts.sourceFilename from root sourceFileName (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/13532">#13532</a>)</li>
<li><a href="614b486780"><code>614b486</code></a> Use named imports for babel types (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/13685">#13685</a>)</li>
<li><a href="b00bd94ad8"><code>b00bd94</code></a> convert <code>babel/helpers</code> to typescript (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/13679">#13679</a>)</li>
<li><a href="6912f968a6"><code>6912f96</code></a> v7.15.0</li>
<li><a href="7e50ee2d82"><code>7e50ee2</code></a> feat: add <code>noIncompleteNsImportDetection</code> assumption to `plugin-transform-mod...</li>
<li>See full diff in <a href="https://github.com/babel/babel/commits/v7.15.5/packages/babel-core">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D31203895

Pulled By: passy

fbshipit-source-id: 765827c207ad586d1debc145824a6799b2698cec
2021-09-27 12:42:28 -07:00
dependabot[bot]
28ce9097f2 Bump inquirer from 8.1.2 to 8.1.5 in /desktop (#2889)
Summary:
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 8.1.2 to 8.1.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/SBoudrias/Inquirer.js/releases">inquirer's releases</a>.</em></p>
<blockquote>
<h2>inquirer@8.1.5</h2>
<p>Fix older Node version compatibility issue.</p>
<h2>inquirer@8.1.4</h2>
<ul>
<li>Fix an error being thrown inside the <code>rawlist</code> prompt</li>
</ul>
<h2>inquirer@8.1.3</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Fix password prompt appearing when doing async filtering/validation</li>
<li>User being prompted a question even though it was answered when using nested answer object format.</li>
<li>Fix extra space appearing when using custom prefix.</li>
</ul>
<p>And bump of all dependencies.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="ef99bd4dd6"><code>ef99bd4</code></a> Publish</li>
<li><a href="8648ee840e"><code>8648ee8</code></a> compatibility fix <a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1042">https://github.com/facebook/flipper/issues/1042</a> (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1048">https://github.com/facebook/flipper/issues/1048</a>)</li>
<li><a href="47dfcaff27"><code>47dfcaf</code></a> Publish</li>
<li><a href="5d47d7e46c"><code>5d47d7e</code></a> fix of <a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1042">https://github.com/facebook/flipper/issues/1042</a> rawlist throw (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1045">https://github.com/facebook/flipper/issues/1045</a>)</li>
<li><a href="8e0b3d4c76"><code>8e0b3d4</code></a> Publish</li>
<li><a href="fb17654a37"><code>fb17654</code></a> Update Travis</li>
<li><a href="77deb7e2b8"><code>77deb7e</code></a> Bump dependencies</li>
<li><a href="aea90fd85c"><code>aea90fd</code></a> fixes issue <a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1024">https://github.com/facebook/flipper/issues/1024</a> do not prompt on prefilled nested answers (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1028">#1028</a>)</li>
<li><a href="822e98daf9"><code>822e98d</code></a> Add prefix extra space only when not empty (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1033">https://github.com/facebook/flipper/issues/1033</a>)</li>
<li><a href="e0197afd23"><code>e0197af</code></a> do not display password on async filter/validation, fixes <a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1022">https://github.com/facebook/flipper/issues/1022</a> (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1027">https://github.com/facebook/flipper/issues/1027</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.1.2...inquirer@8.1.5">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D31203905

Pulled By: passy

fbshipit-source-id: c787ad5fcadca3102338b9803864d45271c06582
2021-09-27 12:42:28 -07:00
dependabot[bot]
169feb6dc6 Bump @testing-library/react from 12.0.0 to 12.1.0 in /desktop (#2887)
Summary:
Bumps [testing-library/react](https://github.com/testing-library/react-testing-library) from 12.0.0 to 12.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/testing-library/react-testing-library/releases"><code>@​testing-library/react</code>'s releases</a>.</em></p>
<blockquote>
<h2>v12.1.0</h2>
<h1><a href="https://github.com/testing-library/react-testing-library/compare/v12.0.0...v12.1.0">12.1.0</a> (2021-09-11)</h1>
<h3>Features</h3>
<ul>
<li>improve JSDocs for RenderOptions (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/909">https://github.com/facebook/flipper/issues/909</a>) (<a href="fbacb0da99">fbacb0d</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3325061cac"><code>3325061</code></a> docs: add ImADrafter as a contributor for doc (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/961">https://github.com/facebook/flipper/issues/961</a>)</li>
<li><a href="fbacb0da99"><code>fbacb0d</code></a> feat: improve JSDocs for RenderOptions (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/909">https://github.com/facebook/flipper/issues/909</a>)</li>
<li><a href="071a6fdc1d"><code>071a6fd</code></a> test: Format codebase with prettier (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/959">https://github.com/facebook/flipper/issues/959</a>)</li>
<li><a href="68fd459149"><code>68fd459</code></a> test: Ensure broken node 16.9.0 isn't used (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/960">https://github.com/facebook/flipper/issues/960</a>)</li>
<li><a href="8f3bd3c34f"><code>8f3bd3c</code></a> docs: add leschdom as a contributor for doc (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/941">https://github.com/facebook/flipper/issues/941</a>)</li>
<li><a href="801edaa0d6"><code>801edaa</code></a> docs(CONTRIBUTING): update links (<a href="https://github-redirect.dependabot.com/testing-library/react-testing-library/issues/932">https://github.com/facebook/flipper/issues/932</a>)</li>
<li>See full diff in <a href="https://github.com/testing-library/react-testing-library/compare/v12.0.0...v12.1.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D31203906

Pulled By: passy

fbshipit-source-id: a4d9c57c36dc5949396df841742a17f51a42c079
2021-09-27 12:42:27 -07:00
Michel Weststrate
f98526a2c9 Added unit tests to protect against broken startup sequence
Summary: Add unit tests to test errors thrown from plugins during initialisation, as follow up for D31127969 (a72e46c792). From the 4 tests cases added (first load plugin then device, device then plugin, first load plugin then client, first client then plugin), the first case was indeed failing before the mentioned diff and not registering the device.

Reviewed By: passy

Differential Revision: D31142583

fbshipit-source-id: 8e44c667316192231d1bb5e4d76c5bf1207ba835
2021-09-27 12:16:20 -07:00
Pascal Hartig
f6af85ee7e Upgrade prettier rules
Summary:
The jsx specific one was deprecated in favour of the more generic
`bracketSameLine`.

Reviewed By: mweststrate

Differential Revision: D31204490

fbshipit-source-id: 28e5c9b583e57bef7f348c7f06605d4180ef18cf
2021-09-27 08:25:20 -07:00
dependabot[bot]
5d910f662a Bump prettier from 2.3.2 to 2.4.1 in /desktop (#2892)
Summary:
Bumps [prettier](https://github.com/prettier/prettier) from 2.3.2 to 2.4.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/prettier/prettier/releases">prettier's releases</a>.</em></p>
<blockquote>
<h2>2.4.1</h2>
<p>{emoji:1f517} <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#241">Changelog</a></p>
<h2>2.4.0</h2>
<p><a href="https://github.com/prettier/prettier/compare/2.3.2...2.4.0">diff</a></p>
<p><a href="https://prettier.io/blog/2021/09/09/2.4.0.html">Release note</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md">prettier's changelog</a>.</em></p>
<blockquote>
<h1>2.4.1</h1>
<p><a href="https://github.com/prettier/prettier/compare/2.4.0...2.4.1">diff</a></p>
<h4>Fix wildcard syntax in <code>forward</code> (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/11482">#11482</a>) (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/11487">#11487</a> by <a href="https://github.com/niksy"><code>@​niksy</code></a>)</h4>

<pre lang="scss"><code>// Input
forward &quot;library&quot; as btn-*;
<p>// Prettier 2.4.0
<a href="https://github.com/forward"><code>@​forward</code></a> &quot;library&quot; as btn- *;</p>
<p>// Prettier 2.4.1
<a href="https://github.com/forward"><code>@​forward</code></a> &quot;library&quot; as btn-*;
</code></pre></p>
<h4>Add new CLI option <code>debug-print-ast</code> (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/11514">#11514</a> by <a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>)</h4>
<p>A new <code>--debug-print-ast</code> CLI flag for debugging.</p>
<h1>2.4.0</h1>
<p><a href="https://github.com/prettier/prettier/compare/2.3.2...2.4.0">diff</a></p>
<p>{emoji:1f517} <a href="https://prettier.io/blog/2021/09/09/2.4.0.html">Release Notes</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="7ced9e6654"><code>7ced9e6</code></a> Release 2.4.1</li>
<li><a href="59b5eb4e1f"><code>59b5eb4</code></a> Fix wildcard syntax in <code>forward</code> (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11482">#11482</a>) (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11487">#11487</a>)</li>
<li><a href="aa63269743"><code>aa63269</code></a> Add new CLI option <code>debug-print-ast</code> (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11514">#11514</a>)</li>
<li><a href="ae33e494a9"><code>ae33e49</code></a> fix(docs): lint-staged install instructions (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11363">#11363</a>)</li>
<li><a href="a1a7502f4f"><code>a1a7502</code></a> Update integrating-with-linters.md (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11399">#11399</a>)</li>
<li><a href="f63e15d1cd"><code>f63e15d</code></a> Build(deps): Bump typescript from 4.4.2 to 4.4.3 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11507">#11507</a>)</li>
<li><a href="dec24722d6"><code>dec2472</code></a> Build(deps-dev): Bump <code>@​babel/preset-env</code> from 7.15.4 to 7.15.6 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11499">#11499</a>)</li>
<li><a href="ac3912cd47"><code>ac3912c</code></a> Build(deps-dev): Bump eslint-plugin-unicorn from 35.0.0 to 36.0.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11504">#11504</a>)</li>
<li><a href="bf5a027794"><code>bf5a027</code></a> Revert workaround for node 16.9 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11493">#11493</a>)</li>
<li><a href="ddee8dbaae"><code>ddee8db</code></a> Build(deps): Bump espree from 8.0.0 to 9.0.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11509">#11509</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/2.3.2...2.4.1">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D31150434

Pulled By: passy

fbshipit-source-id: 9babc0c91c931330dad615e74598cc29a713dbf4
2021-09-27 06:31:53 -07:00
Pascal Hartig
89435533a1 Bump babel deps
Summary: Only patch ones to be safe.

Reviewed By: nikoant

Differential Revision: D31203884

fbshipit-source-id: c81787a6a4d7f711a6928e0cfaa16a226eeede29
2021-09-27 05:34:41 -07:00
Michel Weststrate
b539f4d870 Fix startLogging / stopLogging for ArchivedDevice
Summary:
Unit test would fail on trying to emit server commands when creating a ArchivedDevice. But archived devices can silently ignore log start commands, which fixes the failing test as well.

Example failing run: https://github.com/facebook/flipper/runs/3685776120

I'm not sure why the test wasn't _always_ failing

Reviewed By: lblasa

Differential Revision: D31142584

fbshipit-source-id: 57106ecdace9f72444eaf68ee9fa024c84556a1c
2021-09-27 02:16:45 -07:00
Michel Weststrate
987755bb09 Improve device destruction code [8/n]
Summary: Some cleanup in device destruction code. This diff wraps up the stack that decouples device management from the UI. Next steps are client management, and system management (file access / command execution)

Reviewed By: passy

Differential Revision: D31084036

fbshipit-source-id: 93efee7dba2193589d3c08c51128ce03de5eff7f
2021-09-27 02:12:53 -07:00
Flipper Bot
597cb6b1da Flipper Release: v0.112.0
Summary: Releasing version 0.112.0

Reviewed By: nikoant

Differential Revision: D31140851

fbshipit-source-id: 18106a3f0c0383f8f32a7abf30866d9a72c912a4
2021-09-23 04:21:42 -07:00
Michel Weststrate
a72e46c792 Fix error handling in plugin loading
Summary: If a device plugin throw an error in it's initialization, it would prevent the device itself from being registered. This fixes that. As shown in the comments of for example: https://fb.workplace.com/groups/flippersupport/permalink/1218627761951213/

Reviewed By: ananyaarun

Differential Revision: D31127969

fbshipit-source-id: 9824d23b275f1f9e866f841035961e4707ff8e04
2021-09-23 02:52:54 -07:00
Hilal Alsibai
40f20f6785 Introduce an internal FDS Flipper plugin
Summary: Adding a Flipper plugin that is isolated to design systems engineering / FDS. This is essentially our dumping grounds of useful utilities for FDS. The first thing I've added is the ability to dump / view the ui tracker hierarchy, which will be useful for development / debugging.

Differential Revision: D31076277

fbshipit-source-id: 5aff639368945796dc3ebab603dadb8d43d7b699
2021-09-22 19:02:55 -07:00
Flipper Bot
2fc156c15a Flipper Release: v0.111.0
Summary: Releasing version 0.111.0

Reviewed By: nikoant

Differential Revision: D31107620

fbshipit-source-id: 3651b4e38c4311d895af411a15925eb99bef1382
2021-09-22 09:28:02 -07:00
Michel Weststrate
3882357579 Factor out realDevice [7/n]
Summary: `device.realDevice` was the escape hatch used in Sandy plugins to give access to device specific features like taking screenshots, clearing logs or accessing `adb`. Since in decapitated Flipper that won't be possible anymore (since plugins run in the client but device implementations on the server), all escape hatches have been bridged in this stack, and we can get of the `realDevice` interaction, by explicitly exposing those cases, which makes it type safe as well.

Reviewed By: passy

Differential Revision: D31079509

fbshipit-source-id: c9ec2e044d0dec0ccb1de287cf424907b198f818
2021-09-22 09:03:33 -07:00
Michel Weststrate
11a27f9e1a Support forward command [6/n]
Summary: Support the adb forward command

Reviewed By: jameslawson

Differential Revision: D31055957

fbshipit-source-id: bc0593320d0e187ddfc8120c1684746f9e9c4cf5
2021-09-22 09:03:33 -07:00
Michel Weststrate
8cf182cc26 Restore adb executeShell [5/n]
Summary: Expose executeShell explicitly through the device interface

Reviewed By: jameslawson

Differential Revision: D31055959

fbshipit-source-id: b14395d0783ede265c6ae39c397ea93a85a78336
2021-09-22 09:03:32 -07:00
Michel Weststrate
4463e7ede2 Restore metro functionality [4/n]
Summary: Restored Metro functionality; progress reports, metro logs, RN/Hermes debugging, reload / dev menu button

Reviewed By: passy

Differential Revision: D31055958

fbshipit-source-id: c243035c343c14718a9afe275c8f5f36a1aa3a94
2021-09-22 09:03:32 -07:00
Michel Weststrate
3428ce2968 Restore device icons [3/n]
Summary: Restored support for device icons which was disabled in previous diff

Reviewed By: passy

Differential Revision: D31054802

fbshipit-source-id: 107a53f06159211534cb9a2316340af7a7ca530a
2021-09-22 09:03:32 -07:00
Michel Weststrate
2d838efd4d Separate device in server and client version [2/n]
Summary:
This stack takes care of handling care of moving all device interactions over the (possible) async channel FlipperServer. The FlipperServer interface (see previous diff) allows listening to specific server events using `on`, and emit commands to be executed by the server by using `exec` (e.g. `exec('take-screenshot', serial) => Promise<buffer>`).

FlipperServerImpl implements this interface on the server side.

The device implementations are split as follows

```
server / backend process:

ServerDevice
- iOSDevice
- AndroidDevice
- MetroDevice
- DummyDevice
- Mac/Windows Device

frontend / ui:

BaseDevice: a normal connected, device, implements device apis as they already existed
- ArchivedDevice (note that this doesn't have a server counterpart)
- TestDevice (for unit tests, with stubbed backend communication)

```

All features of devices are for simplicity unified (since the deviations are small), where specific device types might not implement certain features like taking screenshots or running shell commands.

To avoid making this diff unnecessarily big, some open Todo's will be addressed later in this stack, and it shouldn't be landed alone.

Reviewed By: timur-valiev

Differential Revision: D30909346

fbshipit-source-id: cce0bee94fdd5db59bebe3577a6084219a038719
2021-09-22 09:03:32 -07:00
Michel Weststrate
845d0755f1 Move common types to flipper-plugin [1/n]
Summary: This is the first diff in a stack of many where server and UI logic is further decoupled to be only communication through an event listener / emitting commands, where all data going over these media is json serializable. In this diff we extract the common interfaces that are to be used by both server and UI layer.

Reviewed By: passy

Differential Revision: D30899609

fbshipit-source-id: dc3c783707d47671f1d0f5dbf99cde17a8f69062
2021-09-22 09:03:32 -07:00
Alex Yur
d5aaa0034d Improve UI when no devices connected
Summary: Remove empty dropdown when no devices connected. Show 'No devices available' test instead.

Reviewed By: passy

Differential Revision: D31088007

fbshipit-source-id: 8a3bf0e8fbff04c7dfe2581f95576b3ab5ed4bcb
2021-09-21 11:44:35 -07:00
Pascal Hartig
5252dac50a Revert globby upgrade (#2868)
Summary:
Fixes https://github.com/facebook/flipper/issues/2710

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

Test Plan:
cd pkg; yarn && yarn run run help

No longer shows ESM error.

Reviewed By: lblasa

Differential Revision: D31027581

Pulled By: mweststrate

fbshipit-source-id: 04d669df3645c5b3ae727d521243a82dea701152
2021-09-20 02:23:02 -07:00
Wenhuan Li
4244563b67 fix take screenshot button state
Summary: Take screenshot button state is not reset after screenshot taken. So Flipper can only take 1 screenshot per session.

Reviewed By: mweststrate

Differential Revision: D31018526

fbshipit-source-id: dc7b00f26c77ec94a8a15047f5ae835acdb710c7
2021-09-17 11:24:08 -07:00
Flipper Bot
5e10baa43f Flipper Release: v0.110.0
Summary: Releasing version 0.110.0

Reviewed By: mweststrate

Differential Revision: D31020264

fbshipit-source-id: e161705979fda9f95ddd212d5f35ede4bb8f49c3
2021-09-17 09:23:20 -07:00
Michel Weststrate
c865446312 Fixed issue where ADB would be initialised, despite being disabled in settings
Summary:
As reported here: https://github.com/facebook/flipper/issues/2873, ADB would be initialised, even when disabled explicitly, resulting in an error if ADB could not be found.

Changelog: Fix: made sure that the "Android disabled" setting is respected.

Reviewed By: lblasa

Differential Revision: D31019099

fbshipit-source-id: 9d57945f2c21655426da42eb976dd46d8605d007
2021-09-17 07:24:57 -07:00
Michel Weststrate
d7da816e36 Fixed issue where plugins weren't reset properly when reconnecting a device
Summary: If a device disconnects and reconnects while keeping the plugin open, a new pluginInstance is available, but the React component would not be remounted since both the old and new pluginInstance have the same identifier (device/client/plugin). This change makes sure that if a different pluginInstance arrives, the rendering will be reinitialised as well.

Reviewed By: lblasa

Differential Revision: D31018845

fbshipit-source-id: ac09e7ac519c7aebfb4f8dc0cc7c6cda6fbbf633
2021-09-17 07:24:57 -07:00
Michel Weststrate
dcac1db50f Cleanup android utilities
Summary: Some code simplification. The validation functions are not async, so don't need promises. By combining the internal and non internal files, a lot of utilities can be kept local instead of exposing them

Reviewed By: lblasa

Differential Revision: D31018355

fbshipit-source-id: be568a70fc84971dbce82a8478495edf7dafb4a5
2021-09-17 07:24:57 -07:00
Michel Weststrate
236bc44609 Fix SparkAR connection
Summary:
Changelog: Fixed skyline no longer connecting to Flipper

Per https://fb.workplace.com/groups/flippersupport/permalink/1214902038990452/. Reverts a change introduced here: https://www.internalfb.com/diff/D30838947 (d8f77db632)?transaction_fbid=439205157417044

Reviewed By: lblasa

Differential Revision: D30992087

fbshipit-source-id: 529f473807b53137b20fd39c37be95e6d7ec0c6d
2021-09-17 05:23:15 -07:00
Michel Weststrate
3ee8aef154 Fix bug in iOSDevice detection if both physical and emulator are active
Summary:
When connecting both to an iOS emulator and physical device, the emulator devices would continuesly be replaced, and Flipper would print the warning

`Tried to replace still connected device XXX with a new instance`

Fixed the logical mistake that causes it. Not sure if this caused any actual bugs, but at least it was incorrect.

Reviewed By: lblasa

Differential Revision: D31015451

fbshipit-source-id: 32dd29043e9dc48357fdbf68cde930d3be11419a
2021-09-17 05:23:15 -07:00
Michel Weststrate
5739e0c943 Fix CSR exchange exception disappearing in the void
Summary: I accidentally wrote a cert at the wrong location, but noticed that there was never raised an exception. Added error handing to surface the error. Seems the underlying RSocket implementation silently eats errors that escape from handlers....

Reviewed By: lblasa

Differential Revision: D31015168

fbshipit-source-id: 38480921c3cf33f3a5d91eb2ed4e3a912fdf74a7
2021-09-17 05:23:14 -07:00
Michel Weststrate
41286ce4b8 Some minor logging fine tuning
Summary: Per title

Reviewed By: lblasa

Differential Revision: D31015170

fbshipit-source-id: 5e50c9cb7b3d65eb745be8f33ef38cbb226e8bbc
2021-09-17 05:23:14 -07:00
Michel Weststrate
e771394350 Fix timeout handlers being shared across connections
Summary: If multiple apps connect simultanously, they could overwrite or cancel each other timeoutHandles, leading to potential incorrect messages.

Reviewed By: lblasa

Differential Revision: D31015171

fbshipit-source-id: 1d498a90c8a7a1847d2a961fc944d2f74e734cc2
2021-09-17 05:23:14 -07:00
Julio Cesar Sevarolli Assis
cbee595229 Enhancing types for Device
Summary: While investigating Flipper to unblock D30990411. I found this untyped `device` field. This field is exactly the `Device` type in 'adbkit', so I did a small refactor to type it.

Reviewed By: timur-valiev

Differential Revision: D30996427

fbshipit-source-id: 9972a865c2dee009088635e57ef512969f404ddf
2021-09-17 05:23:14 -07:00
Mathias Fleig Mortensen
094c320c5c Ignore react-vis types missing
Reviewed By: defHLT

Differential Revision: D30993257

fbshipit-source-id: 32d7f6af837f47407e10e3c3bd744071d6b374e6
2021-09-17 04:23:27 -07:00
Mathias Fleig Mortensen
b62cd63f58 Add typing for TreemapPoint functions
Reviewed By: timur-valiev

Differential Revision: D30992497

fbshipit-source-id: 616f11d34d2904655f74c9313a511b8e14a13524
2021-09-17 04:23:27 -07:00
Wenhuan Li
eb04011887 Limit ADB error display for 10 seconds
Summary: So that error message won't displayed forever.

Reviewed By: lblasa

Differential Revision: D30991434

fbshipit-source-id: 2cb5c9f983e11e021acb818ad4e245530757eee4
2021-09-16 07:02:06 -07:00
Flipper Bot
fbe2b590d1 Flipper Release: v0.109.0
Summary: Releasing version 0.109.0

Reviewed By: mweststrate

Differential Revision: D30988723

fbshipit-source-id: 795fef1a475eb3c15ee323626a92e76345239af0
2021-09-16 05:45:15 -07:00
Michel Weststrate
9ebdf2e9ac Add warnings on how to handle offline emulators
Summary:
My emulators stopped showing up, but I noticed they were still listed in adb devices as 'offline'. Seems to be a weird ADB issue, changing the developer settings on the emulator fixed that for me, so linked to the SO answer where I found the solution.

Changelog: Added warning about offline emulators in ADB

Reviewed By: nikoant

Differential Revision: D30957786

fbshipit-source-id: 5468a983b5364c0fe868610978c09382f6b43d91
2021-09-16 02:22:31 -07:00
Michel Weststrate
8e899a90a4 Make sure the same client doesn't end up twice in the device list
Summary: Noticed in a support post that uninitialised devices could end up multiple times in the connecting list.

Reviewed By: timur-valiev

Differential Revision: D30957447

fbshipit-source-id: 11a2e3a9c52083245e66ebfb1899c00aeae6eb7e
2021-09-15 14:46:11 -07:00
Michel Weststrate
94a7b4360d add error handing to ADB client creation
Summary:
Noticed there are uncaught exception if adb cannot be found, that don't make it to the UI, but just cause no devices to be detected.

While testing, found that the unsafeClient fallback we use doesn't find the devices either. So it is unclear to me if it is helping in any case, and figured we'd better provide early signal to the user to set up adb correctly, rather than jumping through hoops and trying to work without it.

Changelog: Handle the absence of ADB better

Reviewed By: timur-valiev

Differential Revision: D30957220

fbshipit-source-id: 4d9a89bffefa96d3861d3f26224b4c74c19abd37
2021-09-15 14:46:11 -07:00
Lorenzo Blasa
1390bf4a33 Define alt ports for web socket connections
Summary:
The changes below add the notion of alternative ports to Flipper.

These alternative ports are meant to and will be used to connect via WebSocket instead of RSocket. The name does not suggest that as to make as generic as possible so that they can be reused for different purposes in the future.

Reviewed By: passy

Differential Revision: D30898874

fbshipit-source-id: 5eed8c61b41b502c859192aaac59c284b7b36228
2021-09-15 07:59:55 -07:00
Mathias Fleig Mortensen
6359c82be1 Add memory consumption treemap tab
Summary: There are some issues with label positioning, but overall works.

Reviewed By: defHLT

Differential Revision: D29588329

fbshipit-source-id: 5c2e8f6f139d997559111fa2ad124ae1d695b36a
2021-09-15 07:47:34 -07:00