Commit Graph

3840 Commits

Author SHA1 Message Date
Pascal Hartig
45d1abf2d4 Attempt to upgrade release scripts
Summary:
We got a heads-up from the GitHub support that the way we use our
access tokens is deprecated and will soon stop working.

More details here: https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/

Reviewed By: jknoxville

Differential Revision: D23003718

fbshipit-source-id: e2a493be97cdc81161791a1bb07864853ca5049c
2020-08-11 11:16:31 -07:00
dependabot[bot]
98a33cedd4 Bump prismjs from 1.20.0 to 1.21.0 in /website (#1446)
Summary:
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.20.0 to 1.21.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/PrismJS/prism/releases">prismjs's releases</a>.</em></p>
<blockquote>
<h2>v1.21.0</h2>
<p>Release 1.21.0</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/PrismJS/prism/blob/master/CHANGELOG.md">prismjs's changelog</a>.</em></p>
<blockquote>
<h2>1.21.0 (2020-08-06)</h2>
<h3>New components</h3>
<ul>
<li><strong>.ignore</strong> &amp; <strong>.gitignore</strong> &amp; <strong>.hgignore</strong> &amp; <strong>.npmignore</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2481">#2481</a>) <a href="https://github.com/PrismJS/prism/commit/3fcce6fe"><code>3fcce6fe</code></a></li>
<li><strong>Agda</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2430">#2430</a>) <a href="https://github.com/PrismJS/prism/commit/3a127c7d"><code>3a127c7d</code></a></li>
<li><strong>AL</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2300">#2300</a>) <a href="https://github.com/PrismJS/prism/commit/de21eb64"><code>de21eb64</code></a></li>
<li><strong>Cypher</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2459">#2459</a>) <a href="https://github.com/PrismJS/prism/commit/398e2943"><code>398e2943</code></a></li>
<li><strong>Dhall</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2473">#2473</a>) <a href="https://github.com/PrismJS/prism/commit/649e51e5"><code>649e51e5</code></a></li>
<li><strong>EditorConfig</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2471">#2471</a>) <a href="https://github.com/PrismJS/prism/commit/ed8fff91"><code>ed8fff91</code></a></li>
<li><strong>HLSL</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2318">#2318</a>) <a href="https://github.com/PrismJS/prism/commit/87a5c7ae"><code>87a5c7ae</code></a></li>
<li><strong>JS stack trace</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2418">#2418</a>) <a href="https://github.com/PrismJS/prism/commit/ae0327b3"><code>ae0327b3</code></a></li>
<li><strong>PeopleCode</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2302">#2302</a>) <a href="https://github.com/PrismJS/prism/commit/bd4d8165"><code>bd4d8165</code></a></li>
<li><strong>PureBasic</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2369">#2369</a>) <a href="https://github.com/PrismJS/prism/commit/d0c1c70d"><code>d0c1c70d</code></a></li>
<li><strong>Racket</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2315">#2315</a>) <a href="https://github.com/PrismJS/prism/commit/053016ef"><code>053016ef</code></a></li>
<li><strong>Smali</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2419">#2419</a>) <a href="https://github.com/PrismJS/prism/commit/22eb5cad"><code>22eb5cad</code></a></li>
<li><strong>Structured Text (IEC 61131-3)</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2311">#2311</a>) <a href="https://github.com/PrismJS/prism/commit/8704cdfb"><code>8704cdfb</code></a></li>
<li><strong>UnrealScript</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2305">#2305</a>) <a href="https://github.com/PrismJS/prism/commit/1093ceb3"><code>1093ceb3</code></a></li>
<li><strong>WarpScript</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2307">#2307</a>) <a href="https://github.com/PrismJS/prism/commit/cde5b0fa"><code>cde5b0fa</code></a></li>
<li><strong>XML doc (.net)</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2340">#2340</a>) <a href="https://github.com/PrismJS/prism/commit/caec5e30"><code>caec5e30</code></a></li>
<li><strong>YANG</strong> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2467">#2467</a>) <a href="https://github.com/PrismJS/prism/commit/ed1df1e1"><code>ed1df1e1</code></a></li>
</ul>
<h3>Updated components</h3>
<ul>
<li>Markup &amp; JSON: Added new aliases (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2390">#2390</a>) <a href="https://github.com/PrismJS/prism/commit/9782cfe6"><code>9782cfe6</code></a></li>
<li>Fixed several cases of exponential backtracking (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2268">#2268</a>) <a href="https://github.com/PrismJS/prism/commit/7a554b5f"><code>7a554b5f</code></a></li>
<li><strong>APL</strong>
<ul>
<li>Added <code>⍥</code> (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2409">#2409</a>) <a href="https://github.com/PrismJS/prism/commit/0255cb6a"><code>0255cb6a</code></a></li>
</ul>
</li>
<li><strong>AutoHotkey</strong>
<ul>
<li>Added missing <code>format</code> built-in (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2450">#2450</a>) <a href="https://github.com/PrismJS/prism/commit/7c66cfc4"><code>7c66cfc4</code></a></li>
<li>Improved comments and other improvements (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2412">#2412</a>) <a href="https://github.com/PrismJS/prism/commit/ddf3cc62"><code>ddf3cc62</code></a></li>
<li>Added missing definitions (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2400">#2400</a>) <a href="https://github.com/PrismJS/prism/commit/4fe03676"><code>4fe03676</code></a></li>
</ul>
</li>
<li><strong>Bash</strong>
<ul>
<li>Added <code>composer</code> command (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2298">#2298</a>) <a href="https://github.com/PrismJS/prism/commit/044dd271"><code>044dd271</code></a></li>
</ul>
</li>
<li><strong>Batch</strong>
<ul>
<li>Fix escaped double quote (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2485">#2485</a>) <a href="https://github.com/PrismJS/prism/commit/f0f8210c"><code>f0f8210c</code></a></li>
</ul>
</li>
<li><strong>C</strong>
<ul>
<li>Improved macros and expressions (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2440">#2440</a>) <a href="https://github.com/PrismJS/prism/commit/8a72fa6f"><code>8a72fa6f</code></a></li>
<li>Improved macros (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2320">#2320</a>) <a href="https://github.com/PrismJS/prism/commit/fdcf7ed2"><code>fdcf7ed2</code></a></li>
</ul>
</li>
<li><strong>C#</strong>
<ul>
<li>Improved pattern matching (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2411">#2411</a>) <a href="https://github.com/PrismJS/prism/commit/7f341fc1"><code>7f341fc1</code></a></li>
<li>Fixed adjacent string interpolations (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2402">#2402</a>) <a href="https://github.com/PrismJS/prism/commit/2a2e79ed"><code>2a2e79ed</code></a></li>
</ul>
</li>
<li><strong>C++</strong>
<ul>
<li>Added support for default comparison operator (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2426">#2426</a>) <a href="https://github.com/PrismJS/prism/commit/8e9d161c"><code>8e9d161c</code></a></li>
<li>Improved class name detection (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2348">#2348</a>) <a href="https://github.com/PrismJS/prism/commit/e3fe9040"><code>e3fe9040</code></a></li>
<li>Fixed <code>enum class</code> class names (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2342">#2342</a>) <a href="https://github.com/PrismJS/prism/commit/30b4e254"><code>30b4e254</code></a></li>
</ul>
</li>
<li><strong>Content-Security-Policy</strong>
<ul>
<li>Fixed directives (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2461">#2461</a>) <a href="https://github.com/PrismJS/prism/commit/537a9e80"><code>537a9e80</code></a></li>
</ul>
</li>
<li><strong>CSS</strong>
<ul>
<li>Improved url and added keywords (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2432">#2432</a>) <a href="https://github.com/PrismJS/prism/commit/964de5a1"><code>964de5a1</code></a></li>
</ul>
</li>
</ul>

</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="187c8a607e"><code>187c8a6</code></a> 1.21.0</li>
<li><a href="bf4f323391"><code>bf4f323</code></a> Changelog for v1.21.0 (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2507">#2507</a>)</li>
<li><a href="8bba488020"><code>8bba488</code></a> Previewers: Fixed XSS (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2506">#2506</a>)</li>
<li><a href="158caf5234"><code>158caf5</code></a> JSON: Greedy comments (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2479">#2479</a>)</li>
<li><a href="f0f8210c1a"><code>f0f8210</code></a> Batch: Fix escaped double quote (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2485">#2485</a>)</li>
<li><a href="649e51e562"><code>649e51e</code></a> Added support for Dhall (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2473">#2473</a>)</li>
<li><a href="453079bf96"><code>453079b</code></a> Line Numbers: Fixed class name on website</li>
<li><a href="a0efa40bde"><code>a0efa40</code></a> Fixed Treeview page (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2484">#2484</a>)</li>
<li><a href="78161d607f"><code>78161d6</code></a> VB: Added VBA alias (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2469">#2469</a>)</li>
<li><a href="ed1df1e120"><code>ed1df1e</code></a> Added support for YANG (<a href="https://github-redirect.dependabot.com/PrismJS/prism/issues/2467">#2467</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/PrismJS/prism/compare/v1.20.0...v1.21.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=prismjs&package-manager=npm_and_yarn&previous-version=1.20.0&new-version=1.21.0)](https://help.github.com/articles/configuring-automated-security-fixes)

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

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

 ---

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

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/facebook/flipper/network/alerts).

</details>

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

Reviewed By: jknoxville

Differential Revision: D23022453

Pulled By: passy

fbshipit-source-id: 380eccc7cc85798cb702692813ce14504083ffae
2020-08-11 07:26:40 -07:00
John Knox
b1e16a3160 Move using at facebook wiki page to website
Reviewed By: passy

Differential Revision: D23029433

fbshipit-source-id: bc1559fbeed9ad6838d5793000e6bd5f594bba0b
2020-08-11 03:08:36 -07:00
John Knox
9efcbdceaf Send large responses in chunks
Summary:
It's common for responses to be completely missing in the network inspector. This is because they are larger than can be serialized in one go on some devices, so we drop all messages larger than 1MB.

This changes the android client to send large responses in individually serialized batches. This way we avoid running out of memory and can still send arbitrarily large payloads.

Changelog: Android network inspector can now handle responses large than 1MB.

Reviewed By: passy

Differential Revision: D22999905

fbshipit-source-id: ff4eb8fa72a7e42ea90d12ffe0f20c6d1e58b7e5
2020-08-10 08:47:32 -07:00
Alex Dickson
0065ddedd7 Provide explicit failure reason when connection can't be established
Reviewed By: jknoxville

Differential Revision: D22999785

fbshipit-source-id: 301ec8230a89ee9dbc82d006fa6520d8bac80b3e
2020-08-10 04:31:12 -07:00
Anton Nikolaev
b96f164fd3 Upgrade babel
Summary: Upgraded all babel libraries

Reviewed By: passy

Differential Revision: D23002525

fbshipit-source-id: 03d40fd688f5cdf8284cbfdd184f6b44e95bf1ea
2020-08-07 13:28:59 -07:00
Anton Nikolaev
4a1c2a9ece Custom eslint rule for disallowing cross-package references
Summary:
Added infra for writing and using custom eslint rules and created a rule for disallowing cross-package file imports. Such imports are anti-pattern and they also break standalone plugin bundling.

We still have a bunch of places where Flipper core references code directly from plugins. I've ignored these places for now and added task T71355623 to revisit them.

Reviewed By: passy

Differential Revision: D22998955

fbshipit-source-id: d04cff8fc115ba1300a7e6830306ec134046e927
2020-08-07 10:22:04 -07:00
James Harmon
6989fa608d Add HTTP Status Code to mock response for Route (#1441)
Summary:
Mock requests can currently only return an HTTP Status Code of 200.  This is not sufficient to take full advantage of the mocking feature.  It would be more useful to specify a status code for the response.  Then not only can the original request be tested, but failure of the call could be tested as well.

This is described in Issue https://github.com/facebook/flipper/issues/1423 [https://github.com/facebook/flipper/issues/1423]

Changelog: Allow user to change response code for a mock request

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

Test Plan:
Here is a video demonstrating the change
[Uploading response-status-code.mp4.zip…]

Here is a screenshot showing where the new HTTP status code is entered for the mock request:
![image](https://user-images.githubusercontent.com/337874/89370139-a1c1c500-d6a5-11ea-9a55-e5e99ba37af5.png)

This screenshot shows a mock response with an alternate return code:
![image](https://user-images.githubusercontent.com/337874/89370265-ecdbd800-d6a5-11ea-82e7-10afbd5dd939.png)

Reviewed By: jknoxville

Differential Revision: D22977811

Pulled By: passy

fbshipit-source-id: c1662dd02abeb4546c80a416ed87f8e0dadbf96a
2020-08-07 09:30:10 -07:00
John Knox
5f8ba09534 Add github links to changelog
Summary:
thefutureisnowoldman

Changelog: Changelog entries now link to their GitHub commits

Reviewed By: passy

Differential Revision: D22999105

fbshipit-source-id: 77e4884a3515245ba9296d8c4f59cdcb3c4b098d
2020-08-07 09:27:44 -07:00
GitHub
b5b2bea899 Automated: Update Podfile.lock (#1444)
Summary:
This is an automated PR to update the Podfile.lock.
- Make sure that the Podfile.lock contains latest FlipperKit and Flipper pod versions.
- Also make sure that all the dependencies are updated to the latest one.
- This is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request)

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

Reviewed By: nikoant

Differential Revision: D22998104

Pulled By: passy

fbshipit-source-id: a36d2e8bcf618dabea05e65228433ee33fa78a0d
2020-08-07 09:20:00 -07:00
Dominik Wielgórski
3a628019f7 Detect classes which are Litho Sections
Summary:
Populate class name for Litho Sections.
See D22922106 (86cafb9e80) for reference

Reviewed By: adityasharat

Differential Revision: D22949896

fbshipit-source-id: d804971708cf8c8466dd74eda3e750957dc95fc9
2020-08-06 13:11:27 -07:00
generatedunixname89002005306973
f7ecbdb132 Flipper Snapshot Bump: v0.52.2-SNAPSHOT
Summary: Releasing snapshot version 0.52.2-SNAPSHOT

Reviewed By: passy

Differential Revision: D22976341

fbshipit-source-id: 9a098c2913ef80ba64db9fba91dd2bcfda1e36c1
2020-08-06 10:14:30 -07:00
generatedunixname89002005306973
d15ae99601 Flipper Release: v0.52.1
Summary: Releasing version 0.52.1

Reviewed By: passy

Differential Revision: D22976342

fbshipit-source-id: a4857df03cd1142615754a52f69d0f1578175f18
2020-08-06 10:14:30 -07:00
Anton Nikolaev
dcd1c08dea Expose IDEFileResolver from 'flipper' module to properly import it from 'layout' plugin (#1442)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/1442

Layout plugin cannot be bundled as a standalone package because it imports a file from outside of its folder. This change exposes IDEFileResolver in a proper way so now it's possible to import it from 'flipper'.

Reviewed By: passy

Differential Revision: D22975515

fbshipit-source-id: 8af6d2ca1ceb8627a449e055c8773549dd681b7a
2020-08-06 04:54:14 -07:00
Dominik Wielgórski
95ae98d925 Added "Open in IDE" functionality for Litho Components inside Flipper Layout Plugin
Summary:
Dropdown menu to select IDE in which the Litho Component will be opened.
Some Litho Components do not have corresponding Spec files. Hence, I am first trying to access files with Spec suffix and retrying if fails without the suffix. The number of such files is limited.

[FB Only]
changelog: It is now possible to directly open source files from the Layout inspector

Reviewed By: adityasharat

Differential Revision: D22922126

fbshipit-source-id: e1109c995427755a28ba78a65f5ff98392fb7060
2020-08-05 06:30:49 -07:00
dependabot[bot]
a994683b2e Bump eslint-import-resolver-typescript from 2.0.0 to 2.2.0 in /flipper-js-client-sdk (#1432)
Summary:
Bumps [eslint-import-resolver-typescript](https://github.com/alexgorbatchev/eslint-import-resolver-typescript) from 2.0.0 to 2.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/alexgorbatchev/eslint-import-resolver-typescript/releases">eslint-import-resolver-typescript's releases</a>.</em></p>
<blockquote>
<h2>v2.2.0</h2>
<h2><a href="https://github.com/alexgorbatchev/eslint-import-resolver-typescript/compare/v2.1.0...v2.2.0">2.2.0</a> (2020-07-30)</h2>
<h3>Features</h3>
<ul>
<li>rename option <code>directory</code> to <code>project</code> - close <a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/23">https://github.com/facebook/flipper/issues/23</a> (<a href="a662fc14f6">a662fc1</a>)</li>
</ul>
<h2>v2.1.0</h2>
<h2><a href="https://github.com/alexgorbatchev/eslint-import-resolver-typescript/compare/v2.0.0...v2.1.0">2.1.0</a> (2020-07-30)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>options could be null - close <a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/42">https://github.com/facebook/flipper/issues/42</a> (<a href="81db8eb0ae">81db8eb</a>)</li>
<li>typo (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/40">https://github.com/facebook/flipper/issues/40</a>) (<a href="585509e95f">585509e</a>)</li>
<li>wrong path resolution in multiple eslintrc configurations (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/51">https://github.com/facebook/flipper/issues/51</a>) (<a href="d563eeb2af">d563eeb</a>), closes <a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/50">https://github.com/facebook/flipper/issues/50</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/alexgorbatchev/eslint-import-resolver-typescript/blob/master/CHANGELOG.md">eslint-import-resolver-typescript's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/alexgorbatchev/eslint-import-resolver-typescript/compare/v2.1.0...v2.2.0">2.2.0</a> (2020-07-30)</h2>
<h3>Features</h3>
<ul>
<li>rename option <code>directory</code> to <code>project</code> - close <a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/23">https://github.com/facebook/flipper/issues/23</a> (<a href="a662fc14f6">a662fc1</a>)</li>
</ul>
<h2><a href="https://github.com/alexgorbatchev/eslint-import-resolver-typescript/compare/v2.0.0...v2.1.0">2.1.0</a> (2020-07-30)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>options could be null - close <a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/42">https://github.com/facebook/flipper/issues/42</a> (<a href="81db8eb0ae">81db8eb</a>)</li>
<li>typo (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/40">https://github.com/facebook/flipper/issues/40</a>) (<a href="585509e95f">585509e</a>)</li>
<li>wrong path resolution in multiple eslintrc configurations (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/51">https://github.com/facebook/flipper/issues/51</a>) (<a href="d563eeb2af">d563eeb</a>), closes <a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/50">https://github.com/facebook/flipper/issues/50</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="05f7c0d912"><code>05f7c0d</code></a> chore(release): 2.2.0</li>
<li><a href="a662fc14f6"><code>a662fc1</code></a> feat: rename option <code>directory</code> to <code>project</code> - close <a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/23">https://github.com/facebook/flipper/issues/23</a></li>
<li><a href="d0f19d3920"><code>d0f19d3</code></a> chore(release): 2.1.0</li>
<li><a href="e5e6e6cb3f"><code>e5e6e6c</code></a> chore: bump deps, release v2.1.0 - close <a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/52">https://github.com/facebook/flipper/issues/52</a></li>
<li><a href="f984cef51b"><code>f984cef</code></a> Package filter extensions options (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/49">https://github.com/facebook/flipper/issues/49</a>)</li>
<li><a href="d563eeb2af"><code>d563eeb</code></a> fix: wrong path resolution in multiple eslintrc configurations (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/51">https://github.com/facebook/flipper/issues/51</a>)</li>
<li><a href="afbcdec120"><code>afbcdec</code></a> chore: add prepublishOnly script for security</li>
<li><a href="81db8eb0ae"><code>81db8eb</code></a> fix: options could be null - close <a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/42">https://github.com/facebook/flipper/issues/42</a></li>
<li><a href="03d501771a"><code>03d5017</code></a> test: lint test folders specifically - close <a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/43">https://github.com/facebook/flipper/issues/43</a></li>
<li><a href="585509e95f"><code>585509e</code></a> fix: typo (<a href="https://github-redirect.dependabot.com/alexgorbatchev/eslint-import-resolver-typescript/issues/40">https://github.com/facebook/flipper/issues/40</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/alexgorbatchev/eslint-import-resolver-typescript/compare/v2.0.0...v2.2.0">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~jounqin">jounqin</a>, a new releaser for eslint-import-resolver-typescript since your current version.</p>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-import-resolver-typescript&package-manager=npm_and_yarn&previous-version=2.0.0&new-version=2.2.0)](https://help.github.com/articles/configuring-automated-security-fixes)

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/1432

Reviewed By: mweststrate

Differential Revision: D22920267

Pulled By: passy

fbshipit-source-id: 32ea8109b0ddf4d3a1b0281488efef1fc6533383
2020-08-05 04:36:03 -07:00
dependabot[bot]
00ccd8f42a Bump babel-jest from 24.9.0 to 26.2.2 in /react-native/ReactNativeFlipperExample (#1435)
Summary:
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 24.9.0 to 26.2.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/releases">babel-jest's releases</a>.</em></p>
<blockquote>
<h2>26.2.2</h2>
<h3>Fixes</h3>
<ul>
<li><code>[jest-cli]</code> Use correct file name to override existing jest config on init (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10337">#10337</a>)</li>
<li><code>[jest-haste-map]</code> Properly detect support for native <code>find</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10346">#10346</a>)</li>
</ul>
<h2>26.2.1</h2>
<h3>Fixes</h3>
<ul>
<li><code>[jest-worker]</code> Make sure to work with Node TS typings v12 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10336">#10336</a>)</li>
</ul>
<h2>26.2.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-core, jest-circus, jest-reporter, jest-runner]</code> Added support for reporting individual test cases using jest-circus (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10227">#10227</a>)</li>
<li><code>[jest-config, jest-reporter, jest-runner, jest-test-sequencer]</code> Add <code>slowTestThreshold</code> configuration option (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9366">#9366</a>)</li>
<li><code>[jest-haste-map]</code> Watchman crawler now includes dotfiles (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10075">#10075</a>)</li>
<li><code>[jest-worker]</code> Added support for workers to send custom messages to parent in jest-worker (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10293">#10293</a>)</li>
<li><code>[jest-worker]</code> Support passing <code>resourceLimits</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10335">#10335</a>)</li>
<li><code>[pretty-format]</code> Added support for serializing custom elements (web components) (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10237">#10217</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[expect]</code> Match symbols and bigints in <code>any()</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10223">#10223</a>)</li>
<li><code>[jest-changed-files]</code> Use <code>git diff</code> instead of <code>git log</code> for <code>--changedSince</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10155">#10155</a>)</li>
<li><code>[jest-console]</code> Add missing <code>console.timeLog</code> for compatibility with Node (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10209">#10209</a>)</li>
<li><code>[jest-haste-map]</code> Check <code>find</code> binary supports the <code>-iname</code> parameter (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10308">#10308</a>)</li>
<li><code>[jest-snapshot]</code> Strip added indentation for inline error snapshots (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10217">#10217</a>)</li>
</ul>
<h3>Chore &amp; Maintenance</h3>
<ul>
<li><code>[*]</code> Add missing dependency on <code>types/node</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10248">#10248</a>)</li>
<li><code>[jest-jasmine2]</code> Convert <code>PCancelable</code> to TypeScript (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10215">#10215</a>)</li>
<li><code>[jest-jasmine2]</code> Refine typings of <code>queueRunner</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10215">#10215</a>)</li>
<li><code>[jest-jasmine2]</code> Remove usage of <code>Function</code> type (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10216">#10216</a>)</li>
<li><code>[jest-resolve]</code> Improve types (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10239">#10239</a>)</li>
<li><code>[docs]</code> Clarify the <a href="https://jestjs.io/docs/en/jest-object#jestrequireactualmodulename"><code>jest.requireActual(moduleName)</code></a> example</li>
<li><code>[jest-types]</code> Refine typings of <code>coverageReporters</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10275">#10275</a>)</li>
</ul>
<h2>26.1.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-mock]</code> Export <code>Mock</code>, <code>MockInstance</code>, <code>SpyInstance</code> types (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10138">#10138</a>)</li>
<li><code>[jest-config]</code> Support config files exporting (<code>async</code>) <code>function</code>s (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10001">#10001</a>)</li>
<li><code>[jest-cli, jest-core]</code> Add <code>--selectProjects</code> CLI argument to filter test suites by project name (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/8612">#8612</a>)</li>
<li><code>[jest-cli, jest-init]</code> Add <code>coverageProvider</code> to <code>jest --init</code> prompts (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10044">#10044</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[jest-console]</code> <code>getConsoleOutput</code> to receive global stack trace config and use it to format stack trace (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10081">#10081</a>)</li>
</ul>

</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/blob/master/CHANGELOG.md">babel-jest's changelog</a>.</em></p>
<blockquote>
<h2>26.2.2</h2>
<h3>Fixes</h3>
<ul>
<li><code>[jest-cli]</code> Use correct file name to override existing jest config on init (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10337">#10337</a>)</li>
<li><code>[jest-haste-map]</code> Properly detect support for native <code>find</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10346">#10346</a>)</li>
</ul>
<h2>26.2.1</h2>
<h3>Fixes</h3>
<ul>
<li><code>[jest-worker]</code> Make sure to work with Node TS typings v12 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10336">#10336</a>)</li>
</ul>
<h2>26.2.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-core, jest-circus, jest-reporter, jest-runner]</code> Added support for reporting individual test cases using jest-circus (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10227">#10227</a>)</li>
<li><code>[jest-config, jest-reporter, jest-runner, jest-test-sequencer]</code> Add <code>slowTestThreshold</code> configuration option (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9366">#9366</a>)</li>
<li><code>[jest-haste-map]</code> Watchman crawler now includes dotfiles (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10075">#10075</a>)</li>
<li><code>[jest-worker]</code> Added support for workers to send custom messages to parent in jest-worker (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10293">#10293</a>)</li>
<li><code>[jest-worker]</code> Support passing <code>resourceLimits</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10335">#10335</a>)</li>
<li><code>[pretty-format]</code> Added support for serializing custom elements (web components) (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10237">#10217</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[expect]</code> Match symbols and bigints in <code>any()</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10223">#10223</a>)</li>
<li><code>[jest-changed-files]</code> Use <code>git diff</code> instead of <code>git log</code> for <code>--changedSince</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10155">#10155</a>)</li>
<li><code>[jest-console]</code> Add missing <code>console.timeLog</code> for compatibility with Node (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10209">#10209</a>)</li>
<li><code>[jest-haste-map]</code> Check <code>find</code> binary supports the <code>-iname</code> parameter (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10308">#10308</a>)</li>
<li><code>[jest-snapshot]</code> Strip added indentation for inline error snapshots (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10217">#10217</a>)</li>
</ul>
<h3>Chore &amp; Maintenance</h3>
<ul>
<li><code>[*]</code> Add missing dependency on <code>types/node</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10248">#10248</a>)</li>
<li><code>[jest-jasmine2]</code> Convert <code>PCancelable</code> to TypeScript (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10215">#10215</a>)</li>
<li><code>[jest-jasmine2]</code> Refine typings of <code>queueRunner</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10215">#10215</a>)</li>
<li><code>[jest-jasmine2]</code> Remove usage of <code>Function</code> type (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10216">#10216</a>)</li>
<li><code>[jest-resolve]</code> Improve types (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10239">#10239</a>)</li>
<li><code>[docs]</code> Clarify the <a href="https://jestjs.io/docs/en/jest-object#jestrequireactualmodulename"><code>jest.requireActual(moduleName)</code></a> example</li>
<li><code>[jest-types]</code> Refine typings of <code>coverageReporters</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10275">#10275</a>)</li>
</ul>
<h2>26.1.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-mock]</code> Export <code>Mock</code>, <code>MockInstance</code>, <code>SpyInstance</code> types (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10138">#10138</a>)</li>
<li><code>[jest-config]</code> Support config files exporting (<code>async</code>) <code>function</code>s (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10001">#10001</a>)</li>
<li><code>[jest-cli, jest-core]</code> Add <code>--selectProjects</code> CLI argument to filter test suites by project name (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/8612">#8612</a>)</li>
<li><code>[jest-cli, jest-init]</code> Add <code>coverageProvider</code> to <code>jest --init</code> prompts (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10044">#10044</a>)</li>
</ul>

</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a6a5abb7ef"><code>a6a5abb</code></a> v26.2.2</li>
<li><a href="da61421fae"><code>da61421</code></a> v26.2.1</li>
<li><a href="4a716811a3"><code>4a71681</code></a> v26.2.0</li>
<li><a href="817d8b6aca"><code>817d8b6</code></a> v26.1.0</li>
<li><a href="40b8e1e157"><code>40b8e1e</code></a> v26.0.1</li>
<li><a href="fb04716adb"><code>fb04716</code></a> v26.0.1-alpha.0</li>
<li><a href="343532a21f"><code>343532a</code></a> v26.0.0</li>
<li><a href="68b65afc97"><code>68b65af</code></a> v26.0.0-alpha.2</li>
<li><a href="2bac04ffb8"><code>2bac04f</code></a> v26.0.0-alpha.1</li>
<li><a href="2e8f8d5d22"><code>2e8f8d5</code></a> fix: handle <code>null</code> being passed to <code>createTransformer</code> (<a href="https://github.com/facebook/jest/tree/HEAD/packages/babel-jest/issues/9955">#9955</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/jest/commits/v26.2.2/packages/babel-jest">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~simenb">simenb</a>, a new releaser for babel-jest since your current version.</p>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=babel-jest&package-manager=npm_and_yarn&previous-version=24.9.0&new-version=26.2.2)](https://help.github.com/articles/configuring-automated-security-fixes)

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/1435

Reviewed By: mweststrate

Differential Revision: D22920282

Pulled By: passy

fbshipit-source-id: 53625f58cc3ab21e991b69c9a3c85a6833e7fc34
2020-08-05 03:49:43 -07:00
GitHub
2962fb0320 Automated: Update Podfile.lock (#1439)
Summary:
This is an automated PR to update the Podfile.lock.
- Make sure that the Podfile.lock contains latest FlipperKit and Flipper pod versions.
- Also make sure that all the dependencies are updated to the latest one.
- This is auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request)

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

Reviewed By: mweststrate

Differential Revision: D22925823

Pulled By: passy

fbshipit-source-id: c08f31513b715441a1837963de1e36bf938acb39
2020-08-05 03:16:18 -07:00
Dominik Wielgórski
86cafb9e80 Detect classes which are Litho Components
Summary: Populate class name for Litho Components.

Reviewed By: adityasharat

Differential Revision: D22922106

fbshipit-source-id: e18b748e0e0bd6f511558124a28b4b58d217ded7
2020-08-05 01:49:13 -07:00
Anton Nikolaev
7e84c8e880 Support plugins that contain a scope in their name (#1427)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/1427

Reviewed By: mweststrate

Differential Revision: D22868784

fbshipit-source-id: c332e5b05e3fccb74cf5fdcdecf15b8f2e8c5006
2020-08-04 10:52:59 -07:00
Michel Weststrate
14e6b1078d Some typecast cleanups
Summary: Some cleanup in typecasts

Reviewed By: jknoxville

Differential Revision: D22845467

fbshipit-source-id: 8a23a4800e2baf5e35bc1ac10095235fc8dc5894
2020-08-04 07:47:14 -07:00
Michel Weststrate
7c6065889d support createPaste
Summary:
Added support for `createPaste` in Sandy plugins

Nice minimalistic example of how to expose a Flipper api to Sandy.

Note that some indirection could be removed by having an interface that is shared directly between `BasePluginClient` and `FlipperLib` (e.g. `PublicFlipperLib`). In contrast to `addMenuEntries` from the previous diff, `createPaste` is basically exposed verbatim to Sandy without additional wrapping, so those cases could be made simpler. Maybe will do that later.

Reviewed By: passy

Differential Revision: D22815873

fbshipit-source-id: e6d0773a35341edfe5de0898317eaadf88de79d0
2020-08-04 07:47:14 -07:00
Michel Weststrate
9c202a4a10 Introduce menu entry support
Summary:
[interesting] since it shows how Flipper APIs are exposed through sandy. However, the next diff is a much simpler example of that

This diff adds support for adding menu entries for sandy plugin (renamed keyboard actions to menus, as it always creates a menu entry, but not necessarily a keyboard shortcut)

```

  client.addMenuEntry(
    // custom entry
    {
      label: 'Reset Selection',
      topLevelMenu: 'Edit',
      handler: () => {
        selectedID.set(null);
      },
    },
    // based on built-in action (sets standard label, shortcut)
    {
      action: 'createPaste',
      handler: () => {
        console.log('creating paste');
      },
    },
  );
```

Most of this diff is introducing the concept of FlipperUtils, a set of static Flipper methods (not related to a device or client) that can be used from Sandy. This will for example be used to implement things as `createPaste` as well

Reviewed By: nikoant

Differential Revision: D22766990

fbshipit-source-id: ce90af3b700e6c3d9a779a3bab4673ba356f3933
2020-08-04 07:47:14 -07:00
Michel Weststrate
94eaaf5dca killed the concept of customizable column sets per device in device logs
Summary:
No device was using this feature, so doesn't look like there is a reason to keep it.

...if somebody was about to use this feature, let me know :). But probably, if we need this, a much more simple solution is to determine the visible columns with a simple switch on device type in the logs plugin, even though that is strictly speaking less scalable. But the current solution feels a bit over-engineered for something that is not really used.

Marked [interesting] as I might be missing some background concept which would make this relevant as well.

Reviewed By: jknoxville, nikoant

Differential Revision: D22763507

fbshipit-source-id: ecdbc779cbbfa3b0b72c80b459b12c1a25bf3fc4
2020-08-04 07:47:14 -07:00
Michel Weststrate
d538b66088 Cleaned up deviceType enum
Summary:
The device type enum was mixing two different concepts (emulator vs physical) and (archived vs not), and we already have a separate `isArchived` field. So cleaned this up to not leak it into sandy.

If anybody can think of any unforeseen consequences of this, lemme know :)

Reviewed By: jknoxville

Differential Revision: D22763506

fbshipit-source-id: bd2f7dbd1d2d2e6942ba7c6ddd8dc91ee34d591d
2020-08-04 07:47:13 -07:00
Michel Weststrate
fbb1c78184 Separated index file into smaller files
Summary: More is more. Just moving code, no further changes.

Reviewed By: nikoant

Differential Revision: D22374891

fbshipit-source-id: 65c9af8b4b34ee8e16aeae5705528093e1c800cc
2020-08-04 07:47:13 -07:00
Michel Weststrate
006bf5357f Remove unused field from Logs plugin state
Summary: Didn't understand what that field meant. Turns out, it was never used.

Reviewed By: nikoant

Differential Revision: D22374893

fbshipit-source-id: c36d8f0c1be1b27306347d1c8c8a763c621720a5
2020-08-04 07:08:32 -07:00
Michel Weststrate
a286ef5c62 Remove unused types
Summary: Little cleanup

Reviewed By: nikoant

Differential Revision: D22374892

fbshipit-source-id: 4d561992b36bff212b926c2e52b73c6287851523
2020-08-04 07:08:32 -07:00
Michel Weststrate
642261c0d0 Cleanup and some code reuse between Device- and normal Plugins
Summary: Introducing a base abstract class (blegh) to share some life cycle management between Device- and normal plugins. Cleaned up the test utils a bit as well + some old TODO's that now have been taken care of

Reviewed By: nikoant

Differential Revision: D22727089

fbshipit-source-id: 507816f1bfdbc6e7e71d4bd365b881b6710ca917
2020-08-04 07:08:32 -07:00
Michel Weststrate
b9c9e89b53 Support activate and deactivate in normal plugins
Summary:
Device plugins have an activate and deactivate hook, that reflects the plugin being selected in the UI. Added these same hooks to client plugins as well. In practice they are called at the same times as `onConnect` and `onDisconnect`, except for background plugins, which connect only once, so it is pretty useful to be still able to make the distinction.

Since there is now quite some common functionality between plugins and device plugins, will clean things a bit up in a next diff

[Interesting] as it explains the difference between the different lifecycle methods of plugins, and the impact of being a background plugin

LIfecycle summary:

1. app connects
2. for background plugins: connect them (`onConnect`)
3. user selects a plugin, triggers `onActivate`. will also trigger `onConnect` the plugin if it _isnt_ a bg plugin
4. user selects a different plugin, triggers `onDeactivate`. will also trigger `onDisconnect` if it isn't a bg plugin.
5. app is unloaded. Triggers `onDisconnect` for bg plugins. Triggers `onDestroy` for all plugins,

Reviewed By: jknoxville

Differential Revision: D22724791

fbshipit-source-id: 9fe2e666eb37fa2e0bd00fa61d78d2d4b1080137
2020-08-04 07:08:31 -07:00
Michel Weststrate
f8ff6dc393 added deeplink support to sandy device plugins
Summary:
Make sure device plugins can be deeplinked as well.

(note that the duplication between `Plugin` and `DevicePlugin` is cleaned up again in D22727089, first wanted to make it work and tested, then clean)

DeepLink no longer have to be strings, per popular requests, as that makes direct linking between plugins easier (online links from the outside world have to arrive as strings)

Reviewed By: jknoxville, nikoant

Differential Revision: D22727091

fbshipit-source-id: 523c90b1e1fbf3700fdb4f62699dd57070cbc980
2020-08-04 07:08:31 -07:00
Michel Weststrate
b621dcf754 Make sure sandy device plugins are rendered
Summary: Now that we can load device plugins, let's make sure they are rendered as well.

Reviewed By: passy, nikoant

Differential Revision: D22693927

fbshipit-source-id: 22574ec6e629e6dd66e42193b406ceb7dfcf1836
2020-08-04 07:08:31 -07:00
Michel Weststrate
489dd1521e Make sure Sandy Devices Plugins are loaded in Flipper devices
Summary:
This diff makes sure that devices will actually instantiate applicable sandy device plugins. Similar to how client plugins are owned by Client, device plugins are directly owned by BaseDevice, which significantly simplifies life cycle management and doesn't dispatch updates to all Redux connect components whenever something irrelevant changes.

Also made sure `device.teardown()` is called. That API already existed, but wasn't used or implemented before.

Updated Flipper test utils to support testing device plugins as well (both Sandy and classic ones)

Reviewed By: passy, nikoant

Differential Revision: D22693929

fbshipit-source-id: 73b2b8666ef7a0e748ea89360db84734d37eb5be
2020-08-04 07:08:31 -07:00
Michel Weststrate
1e956e1bf5 Make sure Sandy Device Plugins can be unit testsed
Summary: Add unit tests to verify that the unit test utilities for for Sandy device plugins work as expected. Fixed a bug revealed by that and cleaned up some TODO's

Reviewed By: jknoxville, passy, nikoant

Differential Revision: D22693928

fbshipit-source-id: 93162db19d826d0cd7f642cef1447fd756261ac8
2020-08-04 07:08:31 -07:00
Michel Weststrate
91ed4e31c0 Introduce DevicePlugin APIs
Summary:
This stack introduces Sandy device plugins, they are quite similar to normal plugins, but, a devicePlugin module is organized as

```
export function supportsDevice(device): boolean

export function devicePlugin(devicePluginClient)

export function Component
```

Device plugins get access to the device meta data and can subscribe to the `onLogEntry` callback and `onDestroy` lifecycle.

They will be able to store state just as normal plugins, but can't send or receive methods, so devicePluginClient is a bit limited.

This diff only sets up most of the new data structures, and makes sure everything still compiles and no existing tests fail.

To prevent this diff from becoming to big, actually loading, rendering and testing device plugins will be done in next diffs

Please take a critical look at the api proposed and the (especially) the public names used :)

Reviewed By: passy, nikoant

Differential Revision: D22691351

fbshipit-source-id: bdbbd7f86d14b646fc9a693ad19f33583a76f26d
2020-08-04 07:08:31 -07:00
Daniel Schlaug
6083534025 Fix RSocket podspec including .txt and .md files for compilation (#1438)
Summary:
## Changelog

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

Reviewed By: mweststrate

Differential Revision: D22921702

Pulled By: passy

fbshipit-source-id: c61761e2c1ec783573c96ddf6d68155a4390f7cd
2020-08-04 06:38:07 -07:00
generatedunixname89002005306973
b0159c10ee Flipper Snapshot Bump: v0.52.1-SNAPSHOT
Summary: Releasing snapshot version 0.52.1-SNAPSHOT

Reviewed By: passy

Differential Revision: D22921074

fbshipit-source-id: 95f0b0fd7c01600db1dcdf9ba6ad43e6d5af6354
2020-08-04 06:15:23 -07:00
generatedunixname89002005306973
f01b84be27 Flipper Release: v0.52.0
Summary: Releasing version 0.52.0

Reviewed By: passy

Differential Revision: D22921075

fbshipit-source-id: 4cab9552dcd5ff1a64d20e1e771a4f5173d54860
2020-08-04 06:15:23 -07:00
Michel Weststrate
c802215dd2 Make most text selectable
Summary:
Fix long standing issue where text by default in Flipper is not selectable. Which is super annoying when working with tables, trying to copy error messages, etc etc. Wanted to fix it with ant.design, but got so annoyed by not being able to select an error I needed, that I fixed it now :-P.

This diff makes all text selectable by default, and then bails out for specific elements, like section headers, button captions, the left toolbar (navigation) and top toolbar to preserve the desktop app look & feel.

Fixes a popular papercut issue

Changelog: All text is now selectable by default in Flipper.

Reviewed By: passy

Differential Revision: D22897793

fbshipit-source-id: 7bc50a987e012595956c07d1997959a5480790aa
2020-08-04 03:06:13 -07:00
dependabot[bot]
1e22c03c24 Bump eslint-plugin-react from 7.20.0 to 7.20.5 in /flipper-js-client-sdk (#1433)
Summary:
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.20.0 to 7.20.5.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md">eslint-plugin-react's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.20.4...v7.20.5">7.20.5</a> - 2020.07.28</h2>
<h3>Fixed</h3>
<ul>
<li>[<code>jsx-curly-brace-presence</code>]: disable disallowed JSX text chars check in props (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2710">#2710</a>[] <a href="https://github.com/jzabala">jzabala</a>)</li>
<li>[<code>no-unused-state</code>]: check for class expression (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2712">#2712</a>[] <a href="https://github.com/jzabala">jzabala</a>)</li>
<li>[<code>prop-types</code>]: handle anonymous functions (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2730">#2730</a>[], <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2731">#2731</a>[] <a href="https://github.com/odinho">odinho</a> <a href="https://github.com/wKich">wKich</a> <a href="https://github.com/jzabala">jzabala</a>)</li>
</ul>
<h3>Docs</h3>
<ul>
<li>[Docs] [<code>no-access-state-in-setstate</code>]: fix example (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2724">#2724</a>[] <a href="https://github.com/youngjuning">youngjuning</a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2731">#2731</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2731">yannickcr/eslint-plugin-react#2731</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2730">#2730</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2730">yannickcr/eslint-plugin-react#2730</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2724">#2724</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2724">yannickcr/eslint-plugin-react#2724</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2712">#2712</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2712">yannickcr/eslint-plugin-react#2712</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2710">#2710</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2710">yannickcr/eslint-plugin-react#2710</a></p>
<h2><a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.20.3...v7.20.4">7.20.4</a> - 2020.07.26</h2>
<h3>Fixed</h3>
<ul>
<li>improve algorithm to check if a variable is coming from the pragma (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2706">#2706</a>[] <a href="https://github.com/jzabala">jzabala</a>)</li>
<li>[<code>prop-types</code>]: handle component returning null (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2696">#2696</a>[] <a href="https://github.com/hank121314">hank121314</a>)</li>
<li>[<code>prop-types</code>]/[<code>function-component-definition</code>]: Add check for first letter capitalization in functional component detection (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2699">#2699</a>[] <a href="https://github.com/jzabala">jzabala</a>)</li>
<li>[<code>prop-types</code>]: use variable value in prop type fields defined by variables (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2704">#2704</a>[] <a href="https://github.com/jzabala">jzabala</a>)</li>
<li>[<code>no-typos</code>]: warn on a bindingless <code>react</code> import</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[Tests] <code>boolean-prop-naming</code>: Added test for function invocation of bool (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2697">#2697</a>[] <a href="https://github.com/ajkovar">ajkovar</a>)</li>
<li>[Tests] <code>jsx-curly-brace-presence</code>, <code>jsx-no-comment-textnodes</code>: add passing tests</li>
<li>[Refactor] <code>no-unused-state</code>: avoid a loop</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2704">#2704</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2704">yannickcr/eslint-plugin-react#2704</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2699">#2699</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2699">yannickcr/eslint-plugin-react#2699</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2697">#2697</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2697">yannickcr/eslint-plugin-react#2697</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2696">#2696</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2696">yannickcr/eslint-plugin-react#2696</a></p>
<h2><a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.20.2...v7.20.3">7.20.3</a> - 2020-06-30</h2>
<h3>Fixed</h3>
<ul>
<li>[<code>no-unused-prop-types</code>]/[<code>prop-types</code>]: typescript interface support literal type and only FunctionComponent should have propTypes validation (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2690">#2690</a>[] <a href="https://github.com/hank121314">hank121314</a>)</li>
<li>[<code>no-unused-prop-types</code>]/TypeScript: avoid crash on indexable interface (<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2687">#2687</a>[] <a href="https://github.com/ljharb">ljharb</a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2690">#2690</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/2690">yannickcr/eslint-plugin-react#2690</a>
<a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2687">#2687</a>: <a href="https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/2687">yannickcr/eslint-plugin-react#2687</a></p>
<h2>[7.20.2] - 2020-06-29</h2>
<h3>Fixed</h3>

</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="4c8d8cc0a5"><code>4c8d8cc</code></a> Update CHANGELOG and bump version</li>
<li><a href="253a62aad3"><code>253a62a</code></a> [Tests] <code>no-access-state-in-setstate</code>: add passing tests</li>
<li><a href="f0ff971d78"><code>f0ff971</code></a> [Fix] <code>jsx-curly-brace-presence</code>: disable disallowed JSX text chars check in ...</li>
<li><a href="96309574ac"><code>9630957</code></a> [Fix] <code>no-unused-state</code>: check for class expression</li>
<li><a href="cadee91b7c"><code>cadee91</code></a> [Docs] <code>no-access-state-in-setstate</code>: fix example</li>
<li><a href="e8d2ce9f90"><code>e8d2ce9</code></a> [Fix] <code>prop-types</code>: handle anonymous functions</li>
<li><a href="e20522c0ce"><code>e20522c</code></a> Update CHANGELOG and bump version</li>
<li><a href="bb2b8db251"><code>bb2b8db</code></a> [Tests] <code>jsx-curly-brace-presence</code>, <code>jsx-no-comment-textnodes</code>: add passing t...</li>
<li><a href="e3e767bd04"><code>e3e767b</code></a> [Fix]: improve algorithm to check if a variable is coming from the pragma</li>
<li><a href="c57cc315e4"><code>c57cc31</code></a> [Fix] <code>prop-types</code>: handle component returning null</li>
<li>Additional commits viewable in <a href="https://github.com/yannickcr/eslint-plugin-react/compare/v7.20.0...v7.20.5">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-react&package-manager=npm_and_yarn&previous-version=7.20.0&new-version=7.20.5)](https://help.github.com/articles/configuring-automated-security-fixes)

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/1433

Reviewed By: nikoant

Differential Revision: D22897473

Pulled By: passy

fbshipit-source-id: c113cefbe62b2788554fe061aaae83f206ac2f26
2020-08-04 02:58:16 -07:00
Michel Weststrate
b7cfb509f1 Improve request formatting
Summary:
This diff adds several improvements to displaying requests / responses in the network plugin

1. If there is no formatter rendering the data, the data is rendered 'raw'
2. For binary data, `(binary data)` text is printed, rather than an empty box
3. For request that have an empty request / response, `(empty)` is printed, rather than an empty box
4. If a formatter is applied, we show which formatter was used, which makes it easier to debug / spot / report issues
5. If the graphql formatter can't parse the data because it is truncated, it won't return anything, so that it falls back to the next formatter (urlencoder) to take care of the presentation

Changelog: [Network plugin] Improved presentation of request / response bodies and fixed issues where they would sometimes not be displayed.

Reviewed By: jknoxville

Differential Revision: D22865373

fbshipit-source-id: 912d2f27269a4c9edbf62f2039d46ccf90a008af
2020-08-03 11:39:49 -07:00
John Knox
45d461a3b8 Don't escape and decode network response payloads
Summary:
This was originally done in https://github.com/facebook/flipper/pull/377 to support chinese characters, but it's not clear how it works, or what problem specifically it is trying to solve.

It's causing some problems where valid responses are failing to be "decoded", so I'm removing it.

Reviewed By: mweststrate

Differential Revision: D22866879

fbshipit-source-id: a19a57b0ddba2b9f434eb3c37e6b92da1dfbef01
2020-08-03 10:21:54 -07:00
dependabot[bot]
6458541163 Bump jest from 26.1.0 to 26.2.2 in /react-native/ReactNativeFlipperExample (#1436)
Summary:
Bumps [jest](https://github.com/facebook/jest) from 26.1.0 to 26.2.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/releases">jest's releases</a>.</em></p>
<blockquote>
<h2>26.2.2</h2>
<h3>Fixes</h3>
<ul>
<li><code>[jest-cli]</code> Use correct file name to override existing jest config on init (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10337">#10337</a>)</li>
<li><code>[jest-haste-map]</code> Properly detect support for native <code>find</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10346">#10346</a>)</li>
</ul>
<h2>26.2.1</h2>
<h3>Fixes</h3>
<ul>
<li><code>[jest-worker]</code> Make sure to work with Node TS typings v12 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10336">#10336</a>)</li>
</ul>
<h2>26.2.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-core, jest-circus, jest-reporter, jest-runner]</code> Added support for reporting individual test cases using jest-circus (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10227">#10227</a>)</li>
<li><code>[jest-config, jest-reporter, jest-runner, jest-test-sequencer]</code> Add <code>slowTestThreshold</code> configuration option (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9366">#9366</a>)</li>
<li><code>[jest-haste-map]</code> Watchman crawler now includes dotfiles (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10075">#10075</a>)</li>
<li><code>[jest-worker]</code> Added support for workers to send custom messages to parent in jest-worker (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10293">#10293</a>)</li>
<li><code>[jest-worker]</code> Support passing <code>resourceLimits</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10335">#10335</a>)</li>
<li><code>[pretty-format]</code> Added support for serializing custom elements (web components) (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10237">#10217</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[expect]</code> Match symbols and bigints in <code>any()</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10223">#10223</a>)</li>
<li><code>[jest-changed-files]</code> Use <code>git diff</code> instead of <code>git log</code> for <code>--changedSince</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10155">#10155</a>)</li>
<li><code>[jest-console]</code> Add missing <code>console.timeLog</code> for compatibility with Node (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10209">#10209</a>)</li>
<li><code>[jest-haste-map]</code> Check <code>find</code> binary supports the <code>-iname</code> parameter (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10308">#10308</a>)</li>
<li><code>[jest-snapshot]</code> Strip added indentation for inline error snapshots (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10217">#10217</a>)</li>
</ul>
<h3>Chore &amp; Maintenance</h3>
<ul>
<li><code>[*]</code> Add missing dependency on <code>types/node</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10248">#10248</a>)</li>
<li><code>[jest-jasmine2]</code> Convert <code>PCancelable</code> to TypeScript (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10215">#10215</a>)</li>
<li><code>[jest-jasmine2]</code> Refine typings of <code>queueRunner</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10215">#10215</a>)</li>
<li><code>[jest-jasmine2]</code> Remove usage of <code>Function</code> type (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10216">#10216</a>)</li>
<li><code>[jest-resolve]</code> Improve types (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10239">#10239</a>)</li>
<li><code>[docs]</code> Clarify the <a href="https://jestjs.io/docs/en/jest-object#jestrequireactualmodulename"><code>jest.requireActual(moduleName)</code></a> example</li>
<li><code>[jest-types]</code> Refine typings of <code>coverageReporters</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10275">#10275</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/jest/blob/master/CHANGELOG.md">jest's changelog</a>.</em></p>
<blockquote>
<h2>26.2.2</h2>
<h3>Fixes</h3>
<ul>
<li><code>[jest-cli]</code> Use correct file name to override existing jest config on init (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10337">#10337</a>)</li>
<li><code>[jest-haste-map]</code> Properly detect support for native <code>find</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10346">#10346</a>)</li>
</ul>
<h2>26.2.1</h2>
<h3>Fixes</h3>
<ul>
<li><code>[jest-worker]</code> Make sure to work with Node TS typings v12 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10336">#10336</a>)</li>
</ul>
<h2>26.2.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-core, jest-circus, jest-reporter, jest-runner]</code> Added support for reporting individual test cases using jest-circus (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10227">#10227</a>)</li>
<li><code>[jest-config, jest-reporter, jest-runner, jest-test-sequencer]</code> Add <code>slowTestThreshold</code> configuration option (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9366">#9366</a>)</li>
<li><code>[jest-haste-map]</code> Watchman crawler now includes dotfiles (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10075">#10075</a>)</li>
<li><code>[jest-worker]</code> Added support for workers to send custom messages to parent in jest-worker (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10293">#10293</a>)</li>
<li><code>[jest-worker]</code> Support passing <code>resourceLimits</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10335">#10335</a>)</li>
<li><code>[pretty-format]</code> Added support for serializing custom elements (web components) (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10237">#10217</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[expect]</code> Match symbols and bigints in <code>any()</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10223">#10223</a>)</li>
<li><code>[jest-changed-files]</code> Use <code>git diff</code> instead of <code>git log</code> for <code>--changedSince</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10155">#10155</a>)</li>
<li><code>[jest-console]</code> Add missing <code>console.timeLog</code> for compatibility with Node (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10209">#10209</a>)</li>
<li><code>[jest-haste-map]</code> Check <code>find</code> binary supports the <code>-iname</code> parameter (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10308">#10308</a>)</li>
<li><code>[jest-snapshot]</code> Strip added indentation for inline error snapshots (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10217">#10217</a>)</li>
</ul>
<h3>Chore &amp; Maintenance</h3>
<ul>
<li><code>[*]</code> Add missing dependency on <code>types/node</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10248">#10248</a>)</li>
<li><code>[jest-jasmine2]</code> Convert <code>PCancelable</code> to TypeScript (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10215">#10215</a>)</li>
<li><code>[jest-jasmine2]</code> Refine typings of <code>queueRunner</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10215">#10215</a>)</li>
<li><code>[jest-jasmine2]</code> Remove usage of <code>Function</code> type (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10216">#10216</a>)</li>
<li><code>[jest-resolve]</code> Improve types (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10239">#10239</a>)</li>
<li><code>[docs]</code> Clarify the <a href="https://jestjs.io/docs/en/jest-object#jestrequireactualmodulename"><code>jest.requireActual(moduleName)</code></a> example</li>
<li><code>[jest-types]</code> Refine typings of <code>coverageReporters</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10275">#10275</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a6a5abb7ef"><code>a6a5abb</code></a> v26.2.2</li>
<li><a href="72bba2795d"><code>72bba27</code></a> chore: update changelog for release</li>
<li><a href="2ab3fb2a09"><code>2ab3fb2</code></a> fix: correct check for compatible <code>find</code> binary (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/10346">#10346</a>)</li>
<li><a href="0708dafce3"><code>0708daf</code></a> fix(jest-cli): use correct filename to override config (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/10337">#10337</a>)</li>
<li><a href="104a5710cd"><code>104a571</code></a> chore: update yarn</li>
<li><a href="ca8bf7c8b7"><code>ca8bf7c</code></a> chore: tweak git ignore for yarn</li>
<li><a href="a51f41b434"><code>a51f41b</code></a> chore: update lockfile after publish</li>
<li><a href="da61421fae"><code>da61421</code></a> v26.2.1</li>
<li><a href="3de08dd041"><code>3de08dd</code></a> chore: update changelog for release</li>
<li><a href="2db6aa11ef"><code>2db6aa1</code></a> fix(worker): support v12 node typings (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/10336">#10336</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/jest/compare/v26.1.0...v26.2.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jest&package-manager=npm_and_yarn&previous-version=26.1.0&new-version=26.2.2)](https://help.github.com/articles/configuring-automated-security-fixes)

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/1436

Reviewed By: mweststrate

Differential Revision: D22898235

Pulled By: passy

fbshipit-source-id: 4d9651d84ef46b8804cba95f288b124714268263
2020-08-03 09:47:10 -07:00
dependabot[bot]
3f36198c88 Bump react-native-flipper from 0.49.0 to 0.51.0 in /react-native/ReactNativeFlipperExample (#1419)
Summary:
Bumps [react-native-flipper](https://github.com/facebook/flipper) from 0.49.0 to 0.51.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="5dc98bab9d"><code>5dc98ba</code></a> Flipper Release: v0.51.0</li>
<li><a href="323c9d25d4"><code>323c9d2</code></a> Fix layout of error and doctor bars</li>
<li><a href="9ada27526c"><code>9ada275</code></a> Change RatingButton to use Popover2</li>
<li><a href="d7a6356fb6"><code>d7a6356</code></a> Add Popover2 component</li>
<li><a href="5a56ee65b8"><code>5a56ee6</code></a> Fix contributing image link</li>
<li><a href="ce180a106f"><code>ce180a1</code></a> Log login success rate</li>
<li><a href="6561bc8f16"><code>6561bc8</code></a> Added connection between InAppErrorReporter and Flipper Desktop App via Layou...</li>
<li><a href="9e4c5363c5"><code>9e4c536</code></a> Deep-linking records to other strong records in the Store tab</li>
<li><a href="7d06571cfa"><code>7d06571</code></a> Add marker start and end to App to measure the startup time for Flipper (<a href="https://github-redirect.dependabot.com/facebook/flipper/issues/1398">https://github.com/facebook/flipper/issues/1398</a>)</li>
<li><a href="33cd7d29df"><code>33cd7d2</code></a> Set up coveralls Jest coverage tracking on GitHub (<a href="https://github-redirect.dependabot.com/facebook/flipper/issues/1392">https://github.com/facebook/flipper/issues/1392</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/flipper/compare/v0.49.0...v0.51.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-native-flipper&package-manager=npm_and_yarn&previous-version=0.49.0&new-version=0.51.0)](https://help.github.com/articles/configuring-automated-security-fixes)

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/1419

Reviewed By: mweststrate

Differential Revision: D22896632

Pulled By: passy

fbshipit-source-id: c1a89a86f354befe18a996f6bcdaa6ec74bcf815
2020-08-03 09:44:23 -07:00
dependabot[bot]
5550a3c15e Bump elliptic from 6.5.2 to 6.5.3 in /website (#1430)
Summary:
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
<details>
<summary>Commits</summary>
<ul>
<li><a href="8647803dc3"><code>8647803</code></a> 6.5.3</li>
<li><a href="856fe4d99f"><code>856fe4d</code></a> signature: prevent malleability and overflows</li>
<li>See full diff in <a href="https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=elliptic&package-manager=npm_and_yarn&previous-version=6.5.2&new-version=6.5.3)](https://help.github.com/articles/configuring-automated-security-fixes)

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

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

 ---

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

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/facebook/flipper/network/alerts).

</details>

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

Reviewed By: mweststrate

Differential Revision: D22896630

Pulled By: passy

fbshipit-source-id: 43f12a10528828a1a5b96b0e92e13261b702a4f4
2020-08-03 09:30:27 -07:00
Liran Kurtz
10eca1e7f1 Added Conectivity tab to Zero Rating plugin
Summary: Cennectivity tab should allow setting Mock Connectivity via Flipper

Reviewed By: zaxy78

Differential Revision: D22816950

fbshipit-source-id: 938d8bcaa50ad4f1abe4e253aeac0cd247252b37
2020-08-02 23:37:11 -07:00
Pascal Hartig
6233116fed Add devserver check
Reviewed By: jknoxville

Differential Revision: D22864430

fbshipit-source-id: ce37e6abeb3b152aedb2013bc9cd548807cad7b3
2020-07-31 04:57:19 -07:00
Lucas Santos
1fa518a754 Add initial desktop files
Summary:
This is just an initial setup from Flipper. I just ran `scarf flipper-plugin`, followed the iOS path, removed the native files (as we will use the JS infra directly later on) and submitted. :)

I followed this documentation/tutorial: https://www.internalfb.com/intern/wiki/Flipper/create-new-plugin/

(Followed iOS path, then removed native code as not needed)

Differential Revision: D22754500

fbshipit-source-id: 39130b4ee17c6bc72990eec34c466cfa7a650d17
2020-07-30 12:19:36 -07:00
Dominik Wielgórski
4c4097f0f8 Implemented menu to select ide
Summary:
Added IDE menu functionalities.
Changed minor UX detail - for classes that cannot be opened user will always see 'Can't open' prompt.

Design: https://www.figma.com/file/M0l6qhQqzllIcefVE4tQvG/Error-Reporter-IDE-Selector?node-id=82%3A0

Reviewed By: arpitratan, adityasharat

Differential Revision: D22790328

fbshipit-source-id: 8dfbcf7408c53947909bcf3fa700dee7ae47e14a
2020-07-30 04:30:06 -07:00
Nicole Stiliyan Vukadinova
a37d48d67e Fix the inconsistency in the timestamps for markerStart and markerEnd
Summary: There was in inconsistency in the timestamps used for markerStart and markerEnd, resulting in negative duration being reported in the Scuba table.

Reviewed By: nubbel

Differential Revision: D22791255

fbshipit-source-id: a4a16c6583974a0423b12805fb8d1a22af44cf5c
2020-07-28 07:22:38 -07:00