Commit Graph

5235 Commits

Author SHA1 Message Date
dependabot[bot]
e18dd53f4a Bump gradle from 4.2.0 to 4.2.1 (#2325)
Summary:
Bumps gradle from 4.2.0 to 4.2.1.

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.android.tools.build:gradle&package-manager=gradle&previous-version=4.2.0&new-version=4.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

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

 ---

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

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

</details>

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

Reviewed By: priteshrnandgaonkar

Differential Revision: D28474742

Pulled By: mweststrate

fbshipit-source-id: fa58186520441ea86ae7204e63843a028c3b53e8
2021-05-18 06:42:10 -07:00
dependabot[bot]
59093abf9f Bump @babel/core from 7.14.0 to 7.14.2 in /react-native/ReactNativeFlipperExample (#2323)
Summary:
Bumps [babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.0 to 7.14.2.
<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.14.2 (2021-05-12)</h2>
<p>Thanks <a href="https://github.com/liuyenwei"><code>@​liuyenwei</code></a>, <a href="https://github.com/quickgiant"><code>@​quickgiant</code></a>, <a href="https://github.com/serut"><code>@​serut</code></a>, and <a href="https://github.com/trinangkur"><code>@​trinangkur</code></a> for your first PRs!</p>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-node</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13295">#13295</a> Fix: Only create <code>babel/node</code> IPC channel when needed (<a href="https://github.com/quickgiant"><code>@​quickgiant</code></a>)</li>
</ul>
</li>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13284">#13284</a> Parse attributes of import expression with estree plugin (<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13261">#13261</a> Fix invalid identifier name on unfinished escape (<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/13275">#13275</a> Support objects from other contexts in <code>t.valueToNode</code> (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13274">#13274</a> [eslint] Don't crash on multiple <code>babel/parser</code> copies (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-generator</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13269">#13269</a> Print parentheses around identifier <code>let</code> where necessary (<a href="https://github.com/Zalathar"><code>@​Zalathar</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>babel-helper-module-transforms</code>, <code>babel-plugin-transform-modules-commonjs</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13296">#13296</a> Better error for <code>export * as ns</code> without the correct plugin (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>📝 Documentation</h4>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13253">#13253</a> [DOC] Add missing Monorepo configuration (<a href="https://github.com/serut"><code>@​serut</code></a>)</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13289">#13289</a> Update lodash version for fixing security vulnerability (<a href="https://github.com/trinangkur"><code>@​trinangkur</code></a>)</li>
</ul>
</li>
<li><code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13264">#13264</a> [babel-types] Update <code>matchesPattern</code> to account for <code>this</code> (<a href="https://github.com/liuyenwei"><code>@​liuyenwei</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏃‍♀️ Performance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13262">#13262</a> Faster identifier tokenizing (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13256">#13256</a> Refactor private name tokenizing (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 9</h4>
<ul>
<li>Babel Bot (<a href="https://github.com/babel-bot"><code>@​babel-bot</code></a>)</li>
<li>Clark Jacobsohn (<a href="https://github.com/quickgiant"><code>@​quickgiant</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>Stuart Cook (<a href="https://github.com/Zalathar"><code>@​Zalathar</code></a>)</li>
<li>Trinangkur Chatterjee (<a href="https://github.com/trinangkur"><code>@​trinangkur</code></a>)</li>
<li>Yen-Wei Liu (<a href="https://github.com/liuyenwei"><code>@​liuyenwei</code></a>)</li>
<li><a href="https://github.com/serut"><code>@​serut</code></a></li>
</ul>
<h2>v7.14.1 (2021-05-04)</h2>
<p>Thanks <a href="https://github.com/aancer-rca"><code>@​aancer-rca</code></a> for your first PR to Babel.</p>
<h4>🐛 Bug Fix</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.14.2 (2021-05-12)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-node</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13295">#13295</a> Fix: Only create <code>babel/node</code> IPC channel when needed (<a href="https://github.com/quickgiant"><code>@​quickgiant</code></a>)</li>
</ul>
</li>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13284">#13284</a> Parse attributes of import expression with estree plugin (<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13261">#13261</a> Fix invalid identifier name on unfinished escape (<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/13275">#13275</a> Support objects from other contexts in <code>t.valueToNode</code> (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13274">#13274</a> [eslint] Don't crash on multiple <code>babel/parser</code> copies (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-generator</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13269">#13269</a> Print parentheses around identifier <code>let</code> where necessary (<a href="https://github.com/Zalathar"><code>@​Zalathar</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>babel-helper-module-transforms</code>, <code>babel-plugin-transform-modules-commonjs</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13296">#13296</a> Better error for <code>export * as ns</code> without the correct plugin (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>📝 Documentation</h4>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13253">#13253</a> [DOC] Add missing Monorepo configuration (<a href="https://github.com/serut"><code>@​serut</code></a>)</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13289">#13289</a> Update lodash version for fixing security vulnerability (<a href="https://github.com/trinangkur"><code>@​trinangkur</code></a>)</li>
</ul>
</li>
<li><code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13264">#13264</a> [babel-types] Update <code>matchesPattern</code> to account for <code>this</code> (<a href="https://github.com/liuyenwei"><code>@​liuyenwei</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏃‍♀️ Performance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13262">#13262</a> Faster identifier tokenizing (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13256">#13256</a> Refactor private name tokenizing (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.14.1 (2021-05-04)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13243">#13243</a> Parse static blocks with typescript plugin (<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-transform-block-scoping</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13248">#13248</a> Fix plugin-transform-block-scoping const violations (<a href="https://github.com/overlookmotel"><code>@​overlookmotel</code></a>)</li>
</ul>
</li>
<li><code>babel-generator</code>, <code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13244">#13244</a> Parse <code>for await (async of ...)</code> (<a href="https://github.com/Zalathar"><code>@​Zalathar</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-create-class-features-plugin</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13237">#13237</a> fix: Typo in <code>babel/helper-create-class-features-plugin</code> (<a href="https://github.com/aancer-rca"><code>@​aancer-rca</code></a>)</li>
</ul>
</li>
</ul>
<h4>📝 Documentation</h4>
<ul>
<li><code>babel-types</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13151">#13151</a> Add alias docs for <code>@​babel/types</code> (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-parser</code></li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="7512095c84"><code>7512095</code></a> v7.14.2</li>
<li><a href="b2d9156cc6"><code>b2d9156</code></a> Update to Prettier 2.3 (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/13288">#13288</a>)</li>
<li><a href="910b1f266f"><code>910b1f2</code></a> Archive <code>babel/plugin-syntax-class-properties</code> (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/13232">#13232</a>)</li>
<li>See full diff in <a href="https://github.com/babel/babel/commits/v7.14.2/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.0&new-version=7.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/2323

Reviewed By: priteshrnandgaonkar

Differential Revision: D28474739

Pulled By: mweststrate

fbshipit-source-id: 4233bb8ef4651329d4a0a11b32025651e3a0d019
2021-05-18 06:42:10 -07:00
dependabot[bot]
205ad32eb7 Bump mockito-core from 3.9.0 to 3.10.0 (#2326)
Summary:
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.9.0 to 3.10.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/mockito/mockito/releases">mockito-core's releases</a>.</em></p>
<blockquote>
<h2>v3.10.0</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h4>3.10.0</h4>
<ul>
<li>2021-05-12 - <a href="https://github.com/mockito/mockito/compare/HEAD...v3.10.0">0 commit(s)</a> by</li>
<li>No notable improvements. No pull requests (issues) were referenced from commits.</li>
</ul>
<h2>v3.9.10</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h4>3.9.10</h4>
<ul>
<li>2021-04-29 - <a href="https://github.com/mockito/mockito/compare/v3.9.7...v3.9.10">3 commit(s)</a> by Ismaël Mejía, Tim van der Lippe, dependabot[bot]</li>
<li>Remove ASM dependency [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2279">https://github.com/facebook/flipper/issues/2279</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2279">mockito/mockito#2279</a>)</li>
<li>Apply automated ErrorProne fixes [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2277">https://github.com/facebook/flipper/issues/2277</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2277">mockito/mockito#2277</a>)</li>
<li>Bump kotlinx-coroutines-core from 1.4.2-native-mt to 1.4.3-native-mt [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2276">https://github.com/facebook/flipper/issues/2276</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2276">mockito/mockito#2276</a>)</li>
</ul>
<h2>v3.9.9</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h4>3.9.9</h4>
<ul>
<li>2021-04-29 - <a href="https://github.com/mockito/mockito/compare/v3.9.7...v3.9.9">2 commit(s)</a> by Ismaël Mejía, dependabot[bot]</li>
<li>Remove ASM dependency [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2279">https://github.com/facebook/flipper/issues/2279</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2279">mockito/mockito#2279</a>)</li>
<li>Bump kotlinx-coroutines-core from 1.4.2-native-mt to 1.4.3-native-mt [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2276">https://github.com/facebook/flipper/issues/2276</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2276">mockito/mockito#2276</a>)</li>
</ul>
<h2>v3.9.7</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h4>3.9.7</h4>
<ul>
<li>2021-04-23 - <a href="https://github.com/mockito/mockito/compare/v3.9.3...v3.9.7">4 commit(s)</a> by Michael Vitz, dependabot[bot]</li>
<li>Fixes <a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2273">https://github.com/facebook/flipper/issues/2273</a> : Add missing parenthesis to javadoc example [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2274">https://github.com/facebook/flipper/issues/2274</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2274">mockito/mockito#2274</a>)</li>
<li>Example in javadoc of ArgumentMatcher has missing parenthesis [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2273">https://github.com/facebook/flipper/issues/2273</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2273">mockito/mockito#2273</a>)</li>
<li>Bump groovy from 3.0.7 to 3.0.8 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2271">https://github.com/facebook/flipper/issues/2271</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2271">mockito/mockito#2271</a>)</li>
<li>Bump shipkit-changelog from 1.1.13 to 1.1.15 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2270">https://github.com/facebook/flipper/issues/2270</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2270">mockito/mockito#2270</a>)</li>
<li>Bump versions.bytebuddy from 1.10.20 to 1.11.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2269">https://github.com/facebook/flipper/issues/2269</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2269">mockito/mockito#2269</a>)</li>
</ul>
<h2>v3.9.3</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h4>3.9.3</h4>
<ul>
<li>2021-04-14 - <a href="https://github.com/mockito/mockito/compare/v3.9.2...v3.9.3">1 commit(s)</a> by A248</li>
<li>Include cause when FieldReader fails to access field [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2267">https://github.com/facebook/flipper/issues/2267</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2267">mockito/mockito#2267</a>)</li>
<li>Swallowed illegal access exceptions make it harder to debug modularity-related issues [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2266">https://github.com/facebook/flipper/issues/2266</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2266">mockito/mockito#2266</a>)</li>
</ul>
<h2>v3.9.2</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h4>3.9.2</h4>
<ul>
<li>2021-04-12 - <a href="https://github.com/mockito/mockito/compare/v3.9.0...v3.9.2">2 commit(s)</a> by dependabot[bot], devin040</li>
<li>Fixes <a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2242">https://github.com/facebook/flipper/issues/2242</a> : Make exceptions for Inorder.verify more standard / spec… [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2263">https://github.com/facebook/flipper/issues/2263</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2263">mockito/mockito#2263</a>)</li>
<li>Bump shipkit-auto-version from 1.1.5 to 1.1.8 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2261">https://github.com/facebook/flipper/issues/2261</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2261">mockito/mockito#2261</a>)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="544cc758bb"><code>544cc75</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2292">https://github.com/facebook/flipper/issues/2292</a> from mockito/fix-stackoverflow</li>
<li><a href="a53876d6b1"><code>a53876d</code></a> Fix stackoverflow in ArgumentsAreDifferent reporting</li>
<li><a href="067ff2446a"><code>067ff24</code></a> Bump biz.aQute.bnd.gradle from 5.2.0 to 5.3.0 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2291">https://github.com/facebook/flipper/issues/2291</a>)</li>
<li><a href="ff29c0bf84"><code>ff29c0b</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2243">https://github.com/facebook/flipper/issues/2243</a> from mockito/ci</li>
<li><a href="1e20c6966d"><code>1e20c69</code></a> Fixed CI triggers</li>
<li><a href="f25e466029"><code>f25e466</code></a> Fixed issue in iml</li>
<li><a href="78b821c933"><code>78b821c</code></a> Fixed bug in yml</li>
<li><a href="cef375d00c"><code>cef375d</code></a> Minor fixes, locked versions</li>
<li><a href="17239aec26"><code>17239ae</code></a> Updated readme</li>
<li><a href="4392c42dc1"><code>4392c42</code></a> Added release summary</li>
<li>Additional commits viewable in <a href="https://github.com/mockito/mockito/compare/v3.9.0...v3.10.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.mockito:mockito-core&package-manager=gradle&previous-version=3.9.0&new-version=3.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/2326

Reviewed By: priteshrnandgaonkar

Differential Revision: D28474746

Pulled By: mweststrate

fbshipit-source-id: 70a4f75f16928fe4584f5690b55faa49480a0baf
2021-05-18 06:42:10 -07:00
dependabot[bot]
e0b6135903 Bump protobuf-java from 3.16.0 to 3.17.0 (#2324)
Summary:
Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.16.0 to 3.17.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/protocolbuffers/protobuf/releases">protobuf-java's releases</a>.</em></p>
<blockquote>
<h2>Protocol Buffers v3.17.0</h2>
<h1>Protocol Compiler</h1>
<ul>
<li>Fix the generated source information for reserved values in Enums.</li>
</ul>
<h1>C++</h1>
<ul>
<li>Fix -Wunused-parameter in map<!-- raw HTML omitted --> fields (fixes <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8494">#8494</a>) (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8500">#8500</a>)</li>
<li>Use byteswap.h when building against musl libc (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8503">#8503</a>)</li>
<li>Fix -Wundefined-inline error when using SharedCtor() or SharedDtor() (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8532">#8532</a>)</li>
<li>Fix bug where <code>Descriptor::DebugString()</code> printed proto3 synthetic oneofs.</li>
<li>Provide stable versions of <code>SortAndUnique()</code>.</li>
<li>Make sure to cache proto3 optional message fields when they are cleared.</li>
<li>Expose UnsafeArena methods to Reflection.</li>
<li>Use std::string::empty() rather than std::string::size() &gt; 0.</li>
</ul>
<h1>Kotlin</h1>
<ul>
<li>Restrict extension setter and getter operators to non-nullable T.</li>
</ul>
<h1>Java</h1>
<ul>
<li>updating GSON and Guava to more recent versions (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8524">#8524</a>)</li>
<li>Reduce the time spent evaluating isExtensionNumber by storing the extension
ranges in a TreeMap for faster queries. This is particularly relevant for
protos which define a large number of extension ranges, for example when
each tag is defined as an extension.</li>
<li>Fix java bytecode estimation logic for optional fields.</li>
<li>Optimize Descriptor.isExtensionNumber.</li>
</ul>
<h1>Python</h1>
<ul>
<li>Add MethodDescriptor.CopyToProto() (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8327">#8327</a>)</li>
<li>Remove unused python_protobuf.{cc,h} (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8513">#8513</a>)</li>
<li>Start publishing python aarch64 manylinux wheels normally (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8530">#8530</a>)</li>
<li>Fix constness issue detected by MSVC standard conforming mode (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8568">#8568</a>)</li>
<li>Make JSON parsing match C++ and Java when multiple fields from the same
oneof are present and all but one is null.</li>
</ul>
<h1>Ruby</h1>
<ul>
<li>Add support for proto3 json_name in compiler and field definitions (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8356">#8356</a>)</li>
<li>Fixed memory leak of Ruby arena objects. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8461">#8461</a>)</li>
<li>Fix source gem compilation (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8471">#8471</a>)</li>
<li>Fix various exceptions in Ruby on 64-bit Windows (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8563">#8563</a>)</li>
<li>Fix crash when calculating Message hash values on 64-bit Windows (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8565">#8565</a>)</li>
</ul>
<h1>Conformance Tests</h1>
<ul>
<li>Added a conformance test for the case of multiple fields from the same
oneof.</li>
</ul>
<h1>Other</h1>
<ul>
<li>Open sourcing kotlin protos (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8272">#8272</a>)</li>
<li>Use a newer version of rules_proto, with the new rule <code>proto_descriptor_set</code> (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8469">#8469</a>)</li>
</ul>
<h2>Protocol Buffers v3.17.0-rc2</h2>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="652d99a8ee"><code>652d99a</code></a> Update protobuf version (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8606">#8606</a>)</li>
<li><a href="ca295506c5"><code>ca29550</code></a> Make the dist_install test use Java 8 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8609">#8609</a>)</li>
<li><a href="0aabf89420"><code>0aabf89</code></a> Remove some redundant language prefixes from the changelog for 3.17</li>
<li><a href="5a9367ac57"><code>5a9367a</code></a> Update tests.sh to skip the Kotlin tests on Oracle 7</li>
<li><a href="a4866d34f9"><code>a4866d3</code></a> Updated .gitignore to include Kotlin directories</li>
<li><a href="ca7f54aa1a"><code>ca7f54a</code></a> Fix -Wunused-parameter in java_names.h (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8601">#8601</a>)</li>
<li><a href="f807c02226"><code>f807c02</code></a> Update protobuf version to 3.17.0-rc2 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8586">#8586</a>)</li>
<li><a href="90d4f31438"><code>90d4f31</code></a> Fix newly appeared -Wunused-parameter (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8587">#8587</a>)</li>
<li><a href="3546d29a00"><code>3546d29</code></a> Add the kotlin and kotlin-lite directories to the main pom.xml (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8585">#8585</a>)</li>
<li><a href="e211ad3300"><code>e211ad3</code></a> Updated CHANGES.txt and PHP changelog for 3.17.0 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8583">#8583</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/protocolbuffers/protobuf/compare/v3.16.0...v3.17.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.protobuf:protobuf-java&package-manager=gradle&previous-version=3.16.0&new-version=3.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/2324

Reviewed By: priteshrnandgaonkar

Differential Revision: D28474740

Pulled By: mweststrate

fbshipit-source-id: 8fb147a530a93e9dc7217f39a89eeb733aaf0148
2021-05-18 06:42:10 -07:00
dependabot[bot]
1d05f32372 Bump @typescript-eslint/eslint-plugin from 4.22.1 to 4.23.0 in /flipper-js-client-sdk (#2320)
Summary:
Bumps [typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.22.1 to 4.23.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/eslint-plugin</code>'s releases</a>.</em></p>
<blockquote>
<h2>v4.23.0</h2>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.22.1...v4.23.0">4.23.0</a> (2021-05-10)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>scope-manager:</strong> fix visiting TSAsExpression in assignment (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3355">#3355</a>) (<a href="87521a0241">87521a0</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>experimental-utils:</strong> Include <code>getCwd()</code> in <code>RuleContext</code> type (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3308">#3308</a>) (<a href="2b75c11d69">2b75c11</a>)</li>
<li>refactor to split AST specification out as its own module (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2911">#2911</a>) (<a href="25ea953cc6">25ea953</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md"><code>@​typescript-eslint/eslint-plugin</code>'s changelog</a>.</em></p>
<blockquote>
<h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v4.22.1...v4.23.0">4.23.0</a> (2021-05-10)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>scope-manager:</strong> fix visiting TSAsExpression in assignment (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/3355">#3355</a>) (<a href="87521a0241">87521a0</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li>refactor to split AST specification out as its own module (<a href="https://github-redirect.dependabot.com/typescript-eslint/typescript-eslint/issues/2911">#2911</a>) (<a href="25ea953cc6">25ea953</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="18d8151e54"><code>18d8151</code></a> chore: publish v4.23.0</li>
<li><a href="87521a0241"><code>87521a0</code></a> fix(scope-manager): fix visiting TSAsExpression in assignment (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/3355">#3355</a>)</li>
<li><a href="25ea953cc6"><code>25ea953</code></a> feat: refactor to split AST specification out as its own module (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin/issues/2911">#2911</a>)</li>
<li>See full diff in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v4.23.0/packages/eslint-plugin">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: priteshrnandgaonkar

Differential Revision: D28474729

Pulled By: mweststrate

fbshipit-source-id: 77d05a62f00c50fbd61698322e7b0273af8fbd9f
2021-05-18 06:42:09 -07:00
dependabot[bot]
e22ef757d5 Bump eslint-plugin-import from 2.22.1 to 2.23.2 in /flipper-js-client-sdk (#2319)
Summary:
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.22.1 to 2.23.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/benmosher/eslint-plugin-import/releases">eslint-plugin-import's releases</a>.</em></p>
<blockquote>
<h2>v2.23.0</h2>
<p><a href="https://github.com/benmosher/eslint-plugin-import/blob/v2.23.0/CHANGELOG.md#2230---2021-05-13">https://github.com/benmosher/eslint-plugin-import/blob/v2.23.0/CHANGELOG.md#2230---2021-05-13</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md">eslint-plugin-import's changelog</a>.</em></p>
<blockquote>
<h2>[2.23.2] - 2021-05-15</h2>
<h3>Changed</h3>
<ul>
<li>[meta] add <code>safe-publish-latest</code>; use <code>prepublishOnly</code> script for npm 7+</li>
</ul>
<h2>[2.23.1] - 2021-05-14</h2>
<h3>Fixed</h3>
<ul>
<li>[<code>newline-after-import</code>]: fix crash with <code>export {}</code> syntax (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2063">https://github.com/facebook/flipper/issues/2063</a>, <a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2056">https://github.com/facebook/flipper/issues/2056</a>, thanks [<a href="https://github.com/ljharb"><code>@​ljharb</code></a>])</li>
<li><code>ExportMap</code>: do not crash when tsconfig lacks <code>.compilerOptions</code> (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2067">https://github.com/facebook/flipper/issues/2067</a>, thanks [<a href="https://github.com/ljharb"><code>@​ljharb</code></a>])</li>
<li>[<code>order</code>]: fix alphabetical sorting (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2071">https://github.com/facebook/flipper/issues/2071</a>, thanks [<a href="https://github.com/grit96"><code>@​grit96</code></a>])</li>
</ul>
<h2>[2.23.0] - 2021-05-13</h2>
<h3>Added</h3>
<ul>
<li>[<code>no-commonjs</code>]: Also detect require calls with expressionless template literals: <code>require(`x`)</code> (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1958">https://github.com/facebook/flipper/issues/1958</a>, thanks [<a href="https://github.com/FloEdelmann"><code>@​FloEdelmann</code></a>])</li>
<li>[<code>no-internal-modules</code>]: Add <code>forbid</code> option (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1846">https://github.com/facebook/flipper/issues/1846</a>, thanks [<a href="https://github.com/guillaumewuip"><code>@​guillaumewuip</code></a>])</li>
<li>add [<code>no-relative-packages</code>] (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1860">https://github.com/facebook/flipper/issues/1860</a>, <a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/966">https://github.com/facebook/flipper/issues/966</a>, thanks [<a href="https://github.com/tapayne88"><code>@​tapayne88</code></a>] [<a href="https://github.com/panrafal"><code>@​panrafal</code></a>])</li>
<li>add [<code>no-import-module-exports</code>] rule: report import declarations with CommonJS exports (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/804">https://github.com/facebook/flipper/issues/804</a>, thanks [<a href="https://github.com/kentcdodds"><code>@​kentcdodds</code></a>] and [<a href="https://github.com/ttmarek"><code>@​ttmarek</code></a>])</li>
<li>[<code>no-unused-modules</code>]: Support destructuring assignment for <code>export</code>. (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1997">https://github.com/facebook/flipper/issues/1997</a>, thanks [<a href="https://github.com/s-h-a-d-o-w"><code>@​s-h-a-d-o-w</code></a>])</li>
<li>[<code>order</code>]: support type imports (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2021">https://github.com/facebook/flipper/issues/2021</a>, thanks [<a href="https://github.com/grit96"><code>@​grit96</code></a>])</li>
<li>[<code>order</code>]: Add <code>warnOnUnassignedImports</code> option to enable warnings for out of order unassigned imports (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1990">https://github.com/facebook/flipper/issues/1990</a>, thanks [<a href="https://github.com/hayes"><code>@​hayes</code></a>])</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[<code>export</code>]/TypeScript: properly detect export specifiers as children of a TS module block (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1889">https://github.com/facebook/flipper/issues/1889</a>, thanks [<a href="https://github.com/andreubotella"><code>@​andreubotella</code></a>])</li>
<li>[<code>order</code>]: ignore non-module-level requires (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1940">https://github.com/facebook/flipper/issues/1940</a>, thanks [<a href="https://github.com/golopot"><code>@​golopot</code></a>])</li>
<li>[<code>no-webpack-loader-syntax</code>]/TypeScript: avoid crash on missing name (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1947">https://github.com/facebook/flipper/issues/1947</a>, thanks [<a href="https://github.com/leonardodino"><code>@​leonardodino</code></a>])</li>
<li>[<code>no-extraneous-dependencies</code>]: Add package.json cache (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1948">https://github.com/facebook/flipper/issues/1948</a>, thanks [<a href="https://github.com/fa93hws"><code>@​fa93hws</code></a>])</li>
<li>[<code>prefer-default-export</code>]: handle empty array destructuring (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1965">https://github.com/facebook/flipper/issues/1965</a>, thanks [<a href="https://github.com/ljharb"><code>@​ljharb</code></a>])</li>
<li>[<code>no-unused-modules</code>]: make type imports mark a module as used (fixes <a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1924">https://github.com/facebook/flipper/issues/1924</a>) (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1974">https://github.com/facebook/flipper/issues/1974</a>, thanks [<a href="https://github.com/cherryblossom000"><code>@​cherryblossom000</code></a>])</li>
<li>[<code>no-cycle</code>]: fix perf regression (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1944">https://github.com/facebook/flipper/issues/1944</a>, thanks [<a href="https://github.com/Blasz"><code>@​Blasz</code></a>])</li>
<li>[<code>first</code>]: fix handling of <code>import = require</code> (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1963">https://github.com/facebook/flipper/issues/1963</a>, thanks [<a href="https://github.com/MatthiasKunnen"><code>@​MatthiasKunnen</code></a>])</li>
<li>[<code>no-cycle</code>]/[<code>extensions</code>]: fix isExternalModule usage (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1696">https://github.com/facebook/flipper/issues/1696</a>, thanks [<a href="https://github.com/paztis"><code>@​paztis</code></a>])</li>
<li>[<code>extensions</code>]/[<code>no-cycle</code>]/[<code>no-extraneous-dependencies</code>]: Correct module real path resolution (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1696">https://github.com/facebook/flipper/issues/1696</a>, thanks [<a href="https://github.com/paztis"><code>@​paztis</code></a>])</li>
<li>[<code>no-named-default</code>]: ignore Flow import type and typeof (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1983">https://github.com/facebook/flipper/issues/1983</a>, thanks [<a href="https://github.com/christianvuerings"><code>@​christianvuerings</code></a>])</li>
<li>[<code>no-extraneous-dependencies</code>]: Exclude flow <code>typeof</code> imports (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1534">https://github.com/facebook/flipper/issues/1534</a>, thanks [<a href="https://github.com/devongovett"><code>@​devongovett</code></a>])</li>
<li>[<code>newline-after-import</code>]: respect decorator annotations (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1985">https://github.com/facebook/flipper/issues/1985</a>, thanks [<a href="https://github.com/lilling"><code>@​lilling</code></a>])</li>
<li>[<code>no-restricted-paths</code>]: enhance performance for zones with <code>except</code> paths (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2022">https://github.com/facebook/flipper/issues/2022</a>, thanks [<a href="https://github.com/malykhinvi"><code>@​malykhinvi</code></a>])</li>
<li>[<code>no-unresolved</code>]: check import() (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2026">https://github.com/facebook/flipper/issues/2026</a>, thanks [<a href="https://github.com/aladdin-add"><code>@​aladdin-add</code></a>])</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[Generic Import Callback] Make callback for all imports once in rules (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1237">https://github.com/facebook/flipper/issues/1237</a>, thanks [<a href="https://github.com/ljqx"><code>@​ljqx</code></a>])</li>
<li>[Docs] [<code>no-named-as-default</code>]: add semicolon (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1897">https://github.com/facebook/flipper/issues/1897</a>, thanks [<a href="https://github.com/bicstone"><code>@​bicstone</code></a>])</li>
<li>[Docs] <code>no-extraneous-dependencies</code>: correct peerDependencies option default to <code>true</code> (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1993">https://github.com/facebook/flipper/issues/1993</a>, thanks [<a href="https://github.com/dwardu"><code>@​dwardu</code></a>])</li>
<li>[Docs] <code>order</code>: Document options required to match ordering example (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1992">https://github.com/facebook/flipper/issues/1992</a>, thanks [<a href="https://github.com/silviogutierrez"><code>@​silviogutierrez</code></a>])</li>
<li>[Tests] <code>no-unresolved</code>: add tests for <code>import()</code> (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2012">https://github.com/facebook/flipper/issues/2012</a>, thanks [<a href="https://github.com/davidbonnet"><code>@​davidbonnet</code></a>])</li>
<li>[Docs] Add import/recommended ruleset to README (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2034">https://github.com/facebook/flipper/issues/2034</a>, thanks [<a href="https://github.com/edemaine"><code>@​edemaine</code></a>])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a332f20fa2"><code>a332f20</code></a> Bump to v2.23.2</li>
<li><a href="5af181f13f"><code>5af181f</code></a> [meta] add <code>safe-publish-latest</code>; use <code>prepublishOnly</code> script for npm 7+</li>
<li><a href="8431b46a8b"><code>8431b46</code></a> Bump to v2.23.1</li>
<li><a href="83f3c3eca6"><code>83f3c3e</code></a> [Fix] <code>order</code>: fix alphabetical sorting</li>
<li><a href="821354381f"><code>8213543</code></a> [Tests] add missing fixture from d903477f4e31be71e016f8af56cbe2a8d4f11c9c</li>
<li><a href="d903477f4e"><code>d903477</code></a> [Fix] ExportMap: do not crash when tsconfig lacks <code>.compilerOptions</code></li>
<li><a href="dd0e8cbcb4"><code>dd0e8cb</code></a> [meta] correct <a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2065">https://github.com/facebook/flipper/issues/2065</a> -&gt; <a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2056">https://github.com/facebook/flipper/issues/2056</a></li>
<li><a href="8d7ec179c2"><code>8d7ec17</code></a> [Fix] <code>newline-after-import</code>: fix crash with <code>export {}</code> syntax</li>
<li><a href="e9e755d085"><code>e9e755d</code></a> Bump to v2.23.0</li>
<li><a href="7b264c0547"><code>7b264c0</code></a> [resolvers/webpack] v0.13.1</li>
<li>Additional commits viewable in <a href="https://github.com/benmosher/eslint-plugin-import/compare/v2.22.1...v2.23.2">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: priteshrnandgaonkar

Differential Revision: D28474726

Pulled By: mweststrate

fbshipit-source-id: 804e1128063002e1fdd058b7d7cb036156425f0e
2021-05-18 06:42:09 -07:00
dependabot[bot]
25df99fe84 Bump sha2 from 0.9.4 to 0.9.5 in /packer (#2317)
Summary:
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.9.4 to 0.9.5.
<details>
<summary>Commits</summary>
<ul>
<li><a href="06586d8ee8"><code>06586d8</code></a> sha-1 v0.9.6 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/271">https://github.com/facebook/flipper/issues/271</a>)</li>
<li><a href="ca27667a75"><code>ca27667</code></a> sha1+sha2: use cpufeatures v0.1.1 crate release (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/269">https://github.com/facebook/flipper/issues/269</a>)</li>
<li><a href="12493fc7af"><code>12493fc</code></a> sha1: use <code>cpufeatures</code> to detect SHA-1 on <code>aarch64</code> (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/268">https://github.com/facebook/flipper/issues/268</a>)</li>
<li><a href="d13936a82a"><code>d13936a</code></a> sha2: use <code>cpufeatures</code> to detect <code>sha2</code> on <code>aarch64</code> (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/267">https://github.com/facebook/flipper/issues/267</a>)</li>
<li><a href="15a0468e98"><code>15a0468</code></a> sha2: fix missing documentation on compression functions (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/266">https://github.com/facebook/flipper/issues/266</a>)</li>
<li>See full diff in <a href="https://github.com/RustCrypto/hashes/compare/sha2-v0.9.4...sha2-v0.9.5">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sha2&package-manager=cargo&previous-version=0.9.4&new-version=0.9.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/2317

Reviewed By: priteshrnandgaonkar

Differential Revision: D28474715

Pulled By: mweststrate

fbshipit-source-id: 247e731fb57d326f2ed389eb3fcb5af3638e9bf6
2021-05-18 06:42:09 -07:00
dependabot[bot]
54b20d997d Bump serde from 1.0.125 to 1.0.126 in /packer (#2316)
Summary:
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.125 to 1.0.126.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/serde/releases">serde's releases</a>.</em></p>
<blockquote>
<h2>v1.0.126</h2>
<ul>
<li>Resolve conflict with <code>forbid(future_incompatible)</code> lint setting in generated code (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2026">https://github.com/facebook/flipper/issues/2026</a>, thanks <a href="https://github.com/hyd-dev"><code>@​hyd-dev</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d9c338ec4a"><code>d9c338e</code></a> Release 1.0.126</li>
<li><a href="699bf3a75d"><code>699bf3a</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2026">https://github.com/facebook/flipper/issues/2026</a> from hyd-dev/warning</li>
<li><a href="dd29825217"><code>dd29825</code></a> Allow only <code>unused_extern_crates</code> instead of the whole <code>rust_2018_idioms</code> lin...</li>
<li><a href="6366f17da7"><code>6366f17</code></a> Ignore clone_instead_of_copied pedantic clippy lint</li>
<li><a href="1120e5af4a"><code>1120e5a</code></a> Remove suppression of removed clippy lint</li>
<li><a href="1093f7e232"><code>1093f7e</code></a> Resolve flat_map_option pedantic clippy lint</li>
<li><a href="2ea132b8c4"><code>2ea132b</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2018">https://github.com/facebook/flipper/issues/2018</a> from dtolnay/nonascii</li>
<li><a href="2ebc771b88"><code>2ebc771</code></a> Remove non_ascii_idents feature gate from test suite</li>
<li><a href="c17c4eef18"><code>c17c4ee</code></a> Unify stable and beta CI workflow</li>
<li><a href="7aa4950504"><code>7aa4950</code></a> Release serde_derive_internals 0.26.0</li>
<li>Additional commits viewable in <a href="https://github.com/serde-rs/serde/compare/v1.0.125...v1.0.126">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde&package-manager=cargo&previous-version=1.0.125&new-version=1.0.126)](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/2316

Reviewed By: priteshrnandgaonkar

Differential Revision: D28474711

Pulled By: mweststrate

fbshipit-source-id: 0172750d99c20ddbd123d4093e6fc853694debd6
2021-05-18 06:42:09 -07:00
Mathias Fleig Mortensen
996e8ab87c Migrate Images plugin to ant.design
Summary: {gif:xcsasxxe}

Reviewed By: mweststrate

Differential Revision: D28463799

fbshipit-source-id: 280eaaf0ad5858b3507055a278d1f98fd5668fd0
2021-05-18 04:13:16 -07:00
Pascal Hartig
6e206fc054 Fix icon fetching
Reviewed By: nikoant

Differential Revision: D28505372

fbshipit-source-id: e0b001ae56cd9014bd830630ae354ad4d76c2588
2021-05-18 03:45:31 -07:00
Pritesh Nandgaonkar
d8539102d9 Update documentation for flipper iOS getting started
Summary: This diff updates the installation instruction for iOS with a warning.

Reviewed By: passy

Differential Revision: D28475964

fbshipit-source-id: 02362b58abb1fb8360cde0a9848461a18b93eb47
2021-05-17 15:16:19 -07:00
Andrey Petrov
69ed3b0210 Add databases under /files to the list of databases visible by default in Flipper Database Plugin
Summary: Traverse recursively the /files directory and show all databases with .db extension in Flipper. Traversal depth is limited to 5 by default for performance reasons.

Reviewed By: mweststrate

Differential Revision: D28451609

fbshipit-source-id: de27c855fee220e0b79061c9b2df1eba6f5ef2af
2021-05-17 10:47:34 -07:00
Pascal Hartig
6279cc68b1 Upgrade to Gradle 7 (#2279)
Summary:
Depends on https://github.com/facebook/flipper/issues/2277. Fixes https://github.com/facebook/flipper/issues/2221.

The maven plugin is no longer exposed and implied by https://developer.android.com/studio/build/maven-publish-plugin.

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

Test Plan: ./gradlew uploadArchives -PdryRun=true

Reviewed By: priteshrnandgaonkar

Differential Revision: D28473692

Pulled By: passy

fbshipit-source-id: 3d95122fecebfeac8bfa5173c5c633eee3f13311
2021-05-17 07:29:49 -07:00
Michel Weststrate
0227a7ab8a Fix performance issue
Summary:
Fix performance issue in rendering sidebars

Noticed during debugging that sidebars are continuously re-rendering if the mouse is on top of them, which is caused by the mouseMove handler of resizable containers always updating the state with a fresh object, causing a render (see yellow rectangles in test plan). Short circuited this by checking if the resize state should actually change and bailing out otherwise.

Reviewed By: nikoant

Differential Revision: D28441431

fbshipit-source-id: b3f125f3a392a5cf9b021a6636ba39b5a23d541c
2021-05-17 05:32:39 -07:00
Michel Weststrate
b947a65c51 Fix Network serialization
Summary:
Changelog: [Network] Fix import / export of binary data

Introduced proper serialization of binary data when creating a Flipper export.
Implements / solves https://github.com/facebook/flipper/issues/2308

Reviewed By: nikoant

Differential Revision: D28441021

fbshipit-source-id: 90b524bf2a5d85e373073b50a3ccf2bb29628ee0
2021-05-17 03:17:00 -07:00
Michel Weststrate
5242a81e94 Fix elements jumping around when making a selection
Summary:
Minor usability improvements, addresses: https://fb.workplace.com/groups/flippersupport/permalink/1133169680497022/.

Handcrafted scroll detection, to make sure elements aren't scroll unnecessarily

Reviewed By: nikoant

Differential Revision: D28438078

fbshipit-source-id: 037f1456a5b6f37a0ea1b9e8318e54b3fad382ec
2021-05-17 03:17:00 -07:00
Flipper Bot
3e55ccf42f Flipper Snapshot Bump: v0.90.3-SNAPSHOT
Summary: Releasing snapshot version 0.90.3-SNAPSHOT

Reviewed By: passy

Differential Revision: D28447386

fbshipit-source-id: 1ae0dc5ebb2cde54f53eff4094569a19f7c78bc7
2021-05-14 13:41:51 -07:00
Flipper Bot
877de95ca9 Flipper Release: v0.90.2
Summary: Releasing version 0.90.2

Reviewed By: passy

Differential Revision: D28447388

fbshipit-source-id: 7c7e943d3199c592f09eec617571a4cdfecbb4b5
2021-05-14 13:41:51 -07:00
Pascal Hartig
140d93341e "Fix" "typo" that's blocking Android releases (#2312)
Summary:
Bit of an odd one. Our publishing plugin changed what fields
it expect to define the license of the project. That has caused
Maven Central to reject our uploads:

af0de22a5a/src/main/kotlin/com/vanniktech/maven/publish/legacy/BaseSetup.kt (L70)

I hope this is a temporary "fix".

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

Test Plan: Uploaded to my local maven m2 and now the fields are back.

Reviewed By: mweststrate

Differential Revision: D28446988

Pulled By: passy

fbshipit-source-id: 3944198cb73935d60a61dc9f4dc4383108faa6f9
2021-05-14 13:14:36 -07:00
Anton Nikolaev
0212da0ba5 Re-applied patch for new version of @emotion/cache
Summary: Current patch was created for the previous version and patch-package shows warning about that on each yarn install. This diff re-applies the patch for the new version by invoking `patch-package emotion/cache` as suggested in the warning.

Reviewed By: passy

Differential Revision: D28443089

fbshipit-source-id: 277f8cdb1fb675b19685d9e98cdfdae6878b9ebc
2021-05-14 10:25:21 -07:00
Anton Nikolaev
366752f424 Enforce version "0.0.0" in plugin sources
Summary: I've noticed that two plugins had wrong versions set and because of that they always published with the same version and not auto-updated. This diff fixes that and also adds safeguard which shows error on "yarn install" if some plugin packages has version set to something different from "0.0.0".

Reviewed By: passy

Differential Revision: D28443509

fbshipit-source-id: d982dbe05fa876717799d9464f900f2173b32f70
2021-05-14 10:23:11 -07:00
Flipper Bot
580f4c7048 Flipper Snapshot Bump: v0.90.2-SNAPSHOT
Summary: Releasing snapshot version 0.90.2-SNAPSHOT

Reviewed By: passy

Differential Revision: D28441601

fbshipit-source-id: 6494c88cb782a8c6e93d7b6262a67876efbe7891
2021-05-14 07:34:52 -07:00
Flipper Bot
ba3e4500e8 Flipper Release: v0.90.1
Summary: Releasing version 0.90.1

Reviewed By: passy

Differential Revision: D28441602

fbshipit-source-id: c4d1798e493bcd43617b896d1faba9e943b35635
2021-05-14 07:34:52 -07:00
Pascal Hartig
ab93c24dd6 Fix publishing pipeline (hopefully) (#2311)
Summary:
https://github.com/facebook/flipper/runs/2574198766?check_suite_focus=true
shows that the env vars aren't getting picked up. There's some sort
of transformation syntax (https://docs.gradle.org/current/userguide/build_environment.html#sec:project_properties)
which I thought this would follow but didn't.

I'm merging this now with the already existing gradle.properties update
we do. I also tested locally that this approach works.

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

Test Plan:
Updated my local gradle.properties accordingly and re-uploaded the 0.90
release.

Reviewed By: nikoant

Differential Revision: D28440724

Pulled By: passy

fbshipit-source-id: 9f7238b61fe309eea087b5d6a063788e9ea76e85
2021-05-14 06:57:13 -07:00
Pascal Hartig
b797fec6cc Daily dep bump
Summary: A bump a day keeps the dependabot away.

Reviewed By: mweststrate

Differential Revision: D28387658

fbshipit-source-id: 5b38b260c3a29b12ea942f18266d5ba74c16d4a1
2021-05-14 05:46:19 -07:00
Flipper Bot
24342dd6f4 Flipper Snapshot Bump: v0.90.1-SNAPSHOT
Summary: Releasing snapshot version 0.90.1-SNAPSHOT

Reviewed By: mweststrate

Differential Revision: D28424373

fbshipit-source-id: a3abf68c15668be4b12f9519ba08714be3539032
2021-05-13 15:33:42 -07:00
Flipper Bot
0a3b817429 Flipper Release: v0.90.0
Summary: Releasing version 0.90.0

Reviewed By: mweststrate

Differential Revision: D28424374

fbshipit-source-id: 1ce8cde0fff12cdb6ff973d6824e065d6b735079
2021-05-13 15:33:42 -07:00
Michel Weststrate
9261f0dd40 Fix scroll bar regression
Summary:
Changelog: [Logs] Fix regression causing the scrollbars to be hidden. This diff fixes a regression where the Logs plugin was no longer scrollable (and scrolls indefinitely, killing perf).

As reported in https://fb.workplace.com/groups/flippersupport/permalink/1133775743769749/

The cause of the problem is the swap between the `PluginContainer` and `outOfContentsContainer`.

The deeper root that caused in the first place, is that containers use a `flex: 1` layout, which gets interpreted as `flex: 1 1 0%` (grow, shrink, 0% by default), where it was always inteded to be `flex: 1 1 0` (grow, shrink, by default zero pixels). In practice that difference usually doesn't matter. But sometimes it does... See https://stackoverflow.com/a/42630660/1983583

My whole life has been a lie up to this point.

Will trigger a new release after landing this.

Reviewed By: nikoant

Differential Revision: D28422966

fbshipit-source-id: 3ebd5f8ae76e032c5d698154b021df8ebef2c757
2021-05-13 13:52:39 -07:00
Anton Nikolaev
b5d8f6c63d Output unpacked plugin dir in addition to tar from "build-plugin" command
Summary: "plugin-build" command will produce dir with unpacked plugin sources in addition to tar package. This is required because for publishing to Marketplace we need to retrieve few files from the output package, like "readme.md" and "package.json" and it's better to have it already unpacked rather than pack and then unpack to get these files.

Reviewed By: passy

Differential Revision: D28409930

fbshipit-source-id: 51c8eeb848a72850a2f126eb91a563d52851ed41
2021-05-13 05:32:07 -07:00
Chaiwat Ekkaewnumchai
5afd38165d Remove supportDesign in build.gradle (#2305)
Summary:
dependabot notifies to upgrade `"com.google.android.material:material:1.0.0-rc01"` (D28323842), but none references this. This diff tries to remove it as it's unused

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

Reviewed By: passy, fabiomassimo

Differential Revision: D28375893

fbshipit-source-id: 5963ad81b8008e5836dd59a1e09d8cdeb4f8eafe
2021-05-13 04:31:00 -07:00
Flipper Bot
5d93a64ef6 Flipper Snapshot Bump: v0.89.1-SNAPSHOT
Summary: Releasing snapshot version 0.89.1-SNAPSHOT

Reviewed By: mweststrate

Differential Revision: D28408534

fbshipit-source-id: 90d68c25ca8d76f72f4258b08ba8a7d4c54b4400
2021-05-13 02:16:10 -07:00
Flipper Bot
b8177afbc7 Flipper Release: v0.89.0
Summary: Releasing version 0.89.0

Reviewed By: mweststrate

Differential Revision: D28408535

fbshipit-source-id: 602c6c6f416393e294fdaa10b24071d97f3ac0c2
2021-05-13 02:16:10 -07:00
dependabot[bot]
0de4f11e15 Bump react-markdown from 5.0.3 to 6.0.2 in /desktop (#2298)
Summary:
Bumps [react-markdown](https://github.com/remarkjs/react-markdown) from 5.0.3 to 6.0.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/remarkjs/react-markdown/releases">react-markdown's releases</a>.</em></p>
<blockquote>
<h2>6.0.0</h2>
<p>Please see <a href="https://github.com/remarkjs/react-markdown/blob/main/changelog.md#600---2021-04-15"><code>changelog.md</code></a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/remarkjs/react-markdown/blob/main/changelog.md">react-markdown's changelog</a>.</em></p>
<blockquote>
<h2>6.0.2 - 2021-05-06</h2>
<ul>
<li><a href="https://github.com/remarkjs/react-markdown/commit/cefc02d"><code>cefc02d</code></a>
Add string type for <code>className</code>s</li>
<li><a href="https://github.com/remarkjs/react-markdown/commit/6355e45"><code>6355e45</code></a>
Fix to pass <code>vfile</code> to plugins</li>
<li><a href="https://github.com/remarkjs/react-markdown/commit/5cf6e1b"><code>5cf6e1b</code></a>
Fix to add warning when non-strings are given as <code>children</code></li>
</ul>
<h2>6.0.1 - 2021-04-23</h2>
<ul>
<li><a href="https://github.com/remarkjs/react-markdown/commit/2e956be"><code>2e956be</code></a>
Fix whitespace in table elements</li>
<li><a href="https://github.com/remarkjs/react-markdown/commit/d36048a"><code>d36048a</code></a>
Add architecture section to readme</li>
</ul>
<h2>6.0.0 - 2021-04-15</h2>
<p>Welcome to version 6.
This a major release and therefore contains breaking changes.</p>
<h3>Change <code>renderers</code> to <code>components</code></h3>
<p><code>react-markdown</code> used to let you define components for <em>markdown</em> constructs
(<code>link</code>, <code>delete</code>, <code>break</code>, etc).
This proved complex as users didn’t know about those names or markdown
peculiarities (such as that there are fully formed links <em>and</em> link references).</p>
<p>See [<strong><a href="https://github-redirect.dependabot.com/remarkjs/react-markdown/issues/549">GH-549</a></strong>](<a href="https://github-redirect.dependabot.com/remarkjs/react-markdown/issues/549">remarkjs/react-markdown#549</a>) for more
on why this changed.
See <a href="https://github.com/remarkjs/react-markdown#appendix-b-components"><strong>Appendix B: Components</strong> in
<code>readme.md</code></a>
for more on components.</p>

<p>Before (<strong>broken</strong>):</p>
<pre lang="jsx"><code>&lt;Markdown
  renderers={{
    // Use a fancy hr
    thematicBreak: ({node, ...props}) =&gt; &lt;MyFancyRule {...props} /&gt;
  }}
&gt;{`***`}&lt;/Markdown&gt;
</code></pre>
<p>Now (<strong>fixed</strong>):</p>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="8ed18dafa8"><code>8ed18da</code></a> 6.0.2</li>
<li><a href="cefc02d749"><code>cefc02d</code></a> Add string type for <code>className</code>s</li>
<li><a href="6355e45179"><code>6355e45</code></a> Fix to pass <code>vfile</code> to plugins</li>
<li><a href="5cf6e1b18f"><code>5cf6e1b</code></a> Fix to add warning when non-strings are given as <code>children</code></li>
<li><a href="592599fda4"><code>592599f</code></a> Update dev-dependencies</li>
<li><a href="15b4757082"><code>15b4757</code></a> 6.0.1</li>
<li><a href="4f5e62aa13"><code>4f5e62a</code></a> Fix unneeded <code>ts-ignore</code></li>
<li><a href="2e956be119"><code>2e956be</code></a> Fix whitespace in table elements</li>
<li><a href="d36048a6cb"><code>d36048a</code></a> Add architecture section to readme</li>
<li><a href="a2b611babc"><code>a2b611b</code></a> Update <code>react-syntax-highlighter</code> example</li>
<li>Additional commits viewable in <a href="https://github.com/remarkjs/react-markdown/compare/5.0.3...6.0.2">compare view</a></li>
</ul>
</details>
<br />

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

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

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

 ---

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

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

</details>

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

Reviewed By: mweststrate

Differential Revision: D28323791

Pulled By: cekkaewnumchai

fbshipit-source-id: c5582e7cd357eb5f3c93c7c3d2df81bb2818e105
2021-05-12 15:10:48 -07:00
Michel Weststrate
96cbc81e63 Fix connection and DOM management of React DevTools
Summary:
This diff fixes several existing issues in the React DevTools:

Every time the user opened the plugin we re-instantiated the devtools, which has a few problems: 1) it looses all state (e.g. selection), and 2) this causes the tools to start a websocket listener on a new port, that was never cleaned up, or ever used, since React Native always connects to port 8097 anyway.

To preserve the state the idea of the original implementation was to move the devTools out of the current view, without disposing it. This actually didn't work in practice due to a faulty implementation, causing a full reinialization of the tools every time. Addressed this by reusing the mechanism that is used by the Hermes debugger tools as well.

By properly managing the port (e.g. closing it), there is no need to start (in vain) the devTools on a random port.

Port reversal for physical devices needs to happen only once, in principle upon connecting the device, so moved it to the device logic, which also avoids the need to hack into the global Flipper store.

Avoiding recreating the devTools makes plugin switching near instant, instead of needing to wait for a few seconds until the devTools connect.

When multiple apps are connected the behavior is now consistent: the application that refreshed last will be the one visible in the devTools. (That is still pretty suboptimal, but at least predicable and not a use case that is requested / supported in the DevTools themselves atm)

There is still ugly DOM business going on, did put that in a stand alone component for now.
Didn't extract the shared logic with Hermes plugin yet, but did verify both are still working correctly.

Changelog: [React DevTools] Several improvements that should improve the overal experience, the plugin should load much quicker and behave more predictably.

Reviewed By: bvaughn

Differential Revision: D28382587

fbshipit-source-id: 0f2787b24fa2afdf5014dbf1d79240606405199a
2021-05-12 14:21:53 -07:00
Michel Weststrate
ab17bbd555 Allow using global devTools
Summary:
Currently Flipper embeds the React devTools, and as a result the version of the React devTools is strictly coupled to the Flipper version. This is troublesome when connecting to (slightly) older React Native versions, that use a different version of the tools. That results in errors like this one:

{F615263497}

This diff introduces a feature to use globally installed devTools instead of the embedded ones, giving users the flexibility to pick their own version.

{F615263580}

This addresses

https://fb.workplace.com/groups/flippersupport/permalink/1125669971246993/
https://github.com/facebook/flipper/issues/2250
https://github.com/facebook/flipper/issues/2224

Changelog: [React DevTools] It is now possible to switch between the embedded and globally installed version of the React DevTools. This will enable the React DevTools to connect to older RN versions. Fixes #2250, #2224

Reviewed By: passy

Differential Revision: D28382586

fbshipit-source-id: a5386a5043933acda5aab2db74078bf7ceb105ca
2021-05-12 14:21:53 -07:00
Michel Weststrate
4062950fbe Convert React DevTools to Sandy
Summary:
Converted ReactDevTools to Sandy, no real semantic changes. Will add those in next diffs.

Made some minor flow optimizations.

The port forwarding setup interacted directly with the Flipper store, so made an escape hatch for that. Will clean that up again in next diffs.

Reviewed By: passy

Differential Revision: D28380055

fbshipit-source-id: 053979fd10bf3b62089a4f1e27b0e02b4b05e2e1
2021-05-12 14:21:53 -07:00
Anton Nikolaev
e7670e4e42 Fix retrieving versions for release builds
Summary: Fixed release build version retrieval

Reviewed By: passy, cekkaewnumchai

Differential Revision: D28378502

fbshipit-source-id: 345e7fac327a072a5c84cfa92bf4af78b6829654
2021-05-12 07:49:14 -07:00
dependabot[bot]
e6f68a9fce Bump protobuf-java from 3.15.8 to 3.16.0 (#2294)
Summary:
Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.15.8 to 3.16.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/protocolbuffers/protobuf/releases">protobuf-java's releases</a>.</em></p>
<blockquote>
<h2>Protocol Buffers v3.16.0</h2>
<h1>C++</h1>
<ul>
<li>Fix compiler warnings issue found in conformance_test_runner <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8189">#8189</a> (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8190">#8190</a>)</li>
<li>Fix MinGW-w64 build issues. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8286">#8286</a>)</li>
<li>[Protoc] C++ Resolved an issue where NO_DESTROY and CONSTINIT are in incorrect order (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8296">#8296</a>)</li>
<li>Fix PROTOBUF_CONSTINIT macro redefinition (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8323">#8323</a>)</li>
<li>Delete StringPiecePod (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8353">#8353</a>)</li>
<li>Fix gcc error: comparison of unsigned expression in '&gt;= 0' is always … (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8309">#8309</a>)</li>
<li>Fix cmake install on iOS (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8301">#8301</a>)</li>
<li>Create a CMake option to control whether or not RTTI is enabled (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8347">#8347</a>)</li>
<li>Fix endian.h location on FreeBSD (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8351">#8351</a>)</li>
<li>Refactor util::Status (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8354">#8354</a>)</li>
<li>Make util::Status more similar to absl::Status (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8405">#8405</a>)</li>
<li>Fix -Wsuggest-destructor-override for generated C++ proto classes. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8408">#8408</a>)</li>
<li>Refactor StatusOr and StringPiece (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8406">#8406</a>)</li>
<li>Refactor uint128 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8416">#8416</a>)</li>
<li>The ::pb namespace is no longer exposed due to conflicts.</li>
<li>Allow MessageDifferencer::TreatAsSet() (and friends) to override previous
calls instead of crashing.</li>
<li>Reduce the size of generated proto headers for protos with <code>string</code> or
<code>bytes</code> fields.</li>
<li>Move arena() operation on uncommon path to out-of-line routine</li>
<li>For iterator-pair function parameter types, take both iterators by value.</li>
<li>Code-space savings and perhaps some modest performance improvements in
RepeatedPtrField.</li>
<li>Eliminate nullptr check from every tag parse.</li>
<li>Remove unused _$name$<em>cached_byte_size</em> fields.</li>
<li>Serialize extension ranges together when not broken by a proto field in the
middle.</li>
<li>Do out-of-line allocation and deallocation of string object in ArenaString.</li>
<li>Streamline ParseContext::ParseMessage<!-- raw HTML omitted --> to avoid code bloat and improve
performance.</li>
<li>New member functions RepeatedField::Assign, RepeatedPtrField::{Add, Assign}.</li>
<li>Fix undefined behavior warning due to innocuous uninitialization of value
on an error path.</li>
<li>Avoid expensive inlined code space for encoding message length for messages
<blockquote>
<p>= 128 bytes and instead do a procedure call to a shared out-of-line routine.</p>
</blockquote>
</li>
<li>util::DefaultFieldComparator will be final in a future version of protobuf.
Subclasses should inherit from SimpleFieldComparator instead.</li>
</ul>
<h1>C#</h1>
<ul>
<li>Add .NET 5 target and improve WriteString performance with SIMD (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8147">#8147</a>)</li>
</ul>
<h1>Java</h1>
<ul>
<li>deps: update JUnit and Truth (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8319">#8319</a>)</li>
<li>Detect invalid overflow of byteLimit and return InvalidProtocolBufferException as documented.</li>
<li>Exceptions thrown while reading from an InputStream in parseFrom are now
included as causes.</li>
<li>Support potentially more efficient proto parsing from RopeByteStrings.</li>
<li>Clarify runtime of ByteString.Output.toStringBuffer().</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="2dc747c574"><code>2dc747c</code></a> Update PHP release notes and update version to 3.16.0 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8573">#8573</a>)</li>
<li><a href="debc03dfc5"><code>debc03d</code></a> Update protobuf version to 3.16.0-rc2 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8556">#8556</a>)</li>
<li><a href="17b0fb9149"><code>17b0fb9</code></a> Make update_version.py compatible with Python 3 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8555">#8555</a>)</li>
<li><a href="4aa425c6c5"><code>4aa425c</code></a> Cherry-pick <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8356">#8356</a> into 3.16.x (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8518">#8518</a>)</li>
<li><a href="e8b78f8208"><code>e8b78f8</code></a> Fixed memory leak of Ruby arena objects. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8465">#8465</a>)</li>
<li><a href="7689f00ba8"><code>7689f00</code></a> Update protobuf version (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8448">#8448</a>)</li>
<li><a href="6099c6505d"><code>6099c65</code></a> Updated CHANGES.txt for 3.16.0 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8456">#8456</a>)</li>
<li><a href="c9343864a2"><code>c934386</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8447">#8447</a> from acozzette/merge-3-15-x</li>
<li><a href="600799912a"><code>6007999</code></a> Revert &quot;[C++] Refactor uint128 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8416">#8416</a>)&quot;</li>
<li><a href="87aa9adb86"><code>87aa9ad</code></a> Merge branch 'master' into 3.15.x</li>
<li>Additional commits viewable in <a href="https://github.com/protocolbuffers/protobuf/compare/v3.15.8...v3.16.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.protobuf:protobuf-java&package-manager=gradle&previous-version=3.15.8&new-version=3.16.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/2294

Reviewed By: mweststrate

Differential Revision: D28323900

Pulled By: cekkaewnumchai

fbshipit-source-id: cdc69a052fb303d46c29d68bf9137aa4ba28f428
2021-05-12 07:49:14 -07:00
dependabot[bot]
dd25b69d66 Bump gradle from 4.1.3 to 4.2.0 (#2293)
Summary:
Bumps gradle from 4.1.3 to 4.2.0.

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.android.tools.build:gradle&package-manager=gradle&previous-version=4.1.3&new-version=4.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/2293

Reviewed By: passy

Differential Revision: D28323838

Pulled By: cekkaewnumchai

fbshipit-source-id: 260e664a4abb9c9acbb45ecdff734c16ab6c8596
2021-05-12 07:49:14 -07:00
Chaiwat Ekkaewnumchai
23f15c525a Upgrade docusaurus to Upgrade postcss Vulnerability
Summary: Because of the `postcss` vulnerability, I tried to update postcss directly. However, forcing version 8 with previous version of docusaurus threw error. Hence, I upgraded docusaurus instead.

Reviewed By: jknoxville

Differential Revision: D28350050

fbshipit-source-id: ce37a01e3ec817fb006100691bc1d9b1cc33db17
2021-05-12 07:49:14 -07:00
Anton Nikolaev
443152aae7 Fix antd patch
Summary: Current master is broken, because every click to button treated as two clicks. That leads to weird issues, e.g. enabling / disabling plugins doesn't work because it quickly enables plugin and then disables it back so it looks like nothing happens.

Reviewed By: passy

Differential Revision: D28364660

fbshipit-source-id: 1ded86c42b6a4a78f3a0f29c942b852f16b4f2d3
2021-05-12 07:49:13 -07:00
Anton Nikolaev
ef091e7a07 Allow specifying min required Flipper version on "build-plugin" command call
Summary: Added an arg for "build-plugin" command to easily set min required flipper version when plugin is packaged. Before that we only saved engine version in Marketplace metadata, but it's better to save it into the package as well, so we can check compatibility for installed packages even when we have no Marketplace metadata for them.

Reviewed By: passy

Differential Revision: D28350276

fbshipit-source-id: 916d891540263a1f99c1f6d2033eb13e1c36d78f
2021-05-12 07:49:13 -07:00
Anton Nikolaev
c0c9363a1f Ignore flipper version when computing plugin checksum
Summary: To be able to save min required Flipper version into the package.json, we need to ignore it when computing hashsum. Otherwise hashsum of plugin will depend on the current Flipper version and so bumping Flipper will change hashsums of all plugins.

Reviewed By: passy

Differential Revision: D28342965

fbshipit-source-id: 289ec7e673bce1f2b1cbb402b56c5b1b31fd84da
2021-05-12 07:49:13 -07:00
Anton Nikolaev
a8ca142c9a Load only compatible plugins on startup
Summary: We currently filtering out incompatible versions from marketplace. This diff also add filtering for incompatible installed plugins on Flipper startup to ensure we always load the latest compatible version.

Reviewed By: passy

Differential Revision: D28341891

fbshipit-source-id: 83afc14a3c07e1763e1bd146251e6d3b71a66248
2021-05-12 07:49:13 -07:00
Anton Nikolaev
252322f525 Fix a bug with duplicated device plugins in "Detected in App" list
Summary: When crash reporter plugin is not installed in Flipper, it can appear duplicated in "Detected in App" list. This diff fixes that.

Reviewed By: passy

Differential Revision: D28325072

fbshipit-source-id: 92011f1f10c6633fbd31ea886fe53f352057f4f8
2021-05-12 07:49:13 -07:00
Anton Nikolaev
00851c6b5d Fix bug with plugin re-installation after uninstallation
Summary:
Fixed a bug when plugin installation status wouldn't be saved between sessions when plugin uninstalled and then re-installed again. Before the fix, after Flipper restart, such plugin was uninstalled again because its package name was not removed from "uninstalledPlugins" state. This was because plugin id was used by mistake instead of name in few places.

To try avoiding this issue in future I've also renamed "uninstalledPlugins" to "uninstalledPluginNames" to make it more clear than package name should be used there rather than ID. As this field is persisted, I also added migration which moves data to the renamed field.

Reviewed By: passy

Differential Revision: D28314447

fbshipit-source-id: fbe3edc258b78fe7fbb0d966f93aabcdf3b66d4b
2021-05-12 07:49:13 -07:00
Anton Nikolaev
22974130c8 Fix metro patches after updating metro version
Summary: There was a warning in console on `yarn install` saying that patches should be reapplied because "metro" and "metro-runtime" updated, so I called `patch-package metro metro-runtime` to re-apply patches.

Reviewed By: passy

Differential Revision: D28312817

fbshipit-source-id: 5e8bcee2d75a50099e71ad9c2812c14ee2c7ce9c
2021-05-12 07:49:13 -07:00
Anton Nikolaev
0dce247741 Fix bug with unnecessary plugin auto-update attempts
Summary: I've noticed that Flipper is trying to schedule auto-update for some plugins on every startup even though they are already updated. I found this happens because of a race condition when the auto-updater can be triggered before plugins initialised. This diff fixes that.

Reviewed By: passy

Differential Revision: D28312086

fbshipit-source-id: 66b0bd2aa9dfede1737d565b1e7e7845c940405e
2021-05-12 07:49:13 -07:00
Anton Nikolaev
32f276b499 Configure jest to automatically pick changes in typescript modules without need to compile them using tsc
Summary: Right now, if you are changing something in one of the modules, e.g. in "flipper-plugin", you'll need to compile the changed module using `tsc` before running tests, otherwise `jest` won't pick up the changes. `yarn test` has a step to run `tsc` before tests, however when tests are started simply by `jest` command, e.g. by VSCode plugin, then `tsc` is not automatically called before tests. This diff makes things easier by configuring `jest` to automatically transpile imported modules. This means simply running `jest` command will automatically pick up and automatically transpile all the changes.

Reviewed By: passy

Differential Revision: D28310318

fbshipit-source-id: 77e9b91daa59a46ce64b1b70eb9a998d7b72de00
2021-05-12 07:49:13 -07:00
Anton Nikolaev
28fd8da615 Install only compatible plugins
Summary: Currently, when user installs a new plugin which was not installed before that, Flipper always takes the latest available version of it. This is not correct, because the latest version might be incompatible with the currently running version of Flipper. To avoid that, instead of always using just the latest version we will be using the most recent version which is compatible with the current Flipper version.

Reviewed By: passy

Differential Revision: D28306505

fbshipit-source-id: 4258a456d6a5d92cbf48af55c0efb17ecf560b57
2021-05-12 07:49:13 -07:00