Commit Graph

3941 Commits

Author SHA1 Message Date
John Knox
f33d4b3f9e Add internaldocs-fb-helpers lib
Summary:
This adds a new npm package "internaldocs-fb-helpers", and shows example usage in the flipper package.

This will stop everyone from having to inline the function definitions everywhere as is currently the case.

(It's using the old internaldocs name, to match the existing docusaurus-plugin-internaldocs-fb package - I don't think that's a big deal.)

It currently exports two methods:

* `fbContent(internalContent, publicContent)`
  * Allows you to return internal or external content based on build variant.
  * Has named args so you don't accidentally put internal stuff in the external arg.

* `isInternal(): boolean`
  * Not strictly necessary, but helps if you want to write your docs using an boolean variable rather than a switching function every time.

* `fbInternalOnly(internalContent)`
  * Convenience method for when you want internal content, or nothing.

I could have put these inside the existing docusaurus plugin, but that has docu v2 as a peer dependency, and I want these helpers to work on v1 as well, so made it a standalone package.

Reviewed By: passy

Differential Revision: D23474462

fbshipit-source-id: 22e5be6de2f3233deb298f1542a06e3575b6555a
2020-09-07 03:41:10 -07:00
Paco Estevez Garcia
d4d2937c80 Fix setting layoutParams fromLayout Editor
Summary:
The function `setLayoutParams` expects the values to be set to be at array position 0+, and they were on position 1+ instead.

This effectively prevented users from setting LayoutParameters.

Reviewed By: muraziz

Differential Revision: D23538531

fbshipit-source-id: cc828363ee8d7408d1df29d98c37b09893826bb1
2020-09-06 12:58:24 -07:00
Paco Estevez Garcia
842fe6df5c Add picker for ViewDescriptor
Summary: This diff uses the new picker defined in EnumMapping for regular Android View properties.

Reviewed By: muraziz

Differential Revision: D23538532

fbshipit-source-id: be5b776453e7322fb13a5f9e6a66a1f8d1243e79
2020-09-06 12:58:24 -07:00
Paco Estevez Garcia
c78bac3d90 Add picker support for EnumMapping
Summary: This diff makes EnumMapping compatible with the new Layout widget "picker"

Reviewed By: muraziz

Differential Revision: D23538548

fbshipit-source-id: 7bdb01648c1ad5e2d0d7594c98df5ed89d893702
2020-09-06 12:58:24 -07:00
Dominik Wielgórski
5b4403b400 Splitting the 'OpenInIDE' API to 'resolvePath' and 'open' APIs
Summary: Detect if resolved path is properly computed and accordingly display a success or error notification within InAppErrorReporter.

Reviewed By: arpitratan

Differential Revision: D23425001

fbshipit-source-id: 4ca903a8b9e83dc0e11bb823537f56678dd85b76
2020-09-04 08:34:04 -07:00
Anton Nikolaev
374648975c Pin "bl" package version to 4.0.3 to fix vulerability alert
Summary: Pin "bl" package version to 4.0.3 to fix vulerability alert

Reviewed By: jknoxville

Differential Revision: D23499959

fbshipit-source-id: ae1b14d0a66d45c1b0364456071f4a8616625996
2020-09-03 09:39:02 -07:00
Paco Estevez Garcia
a49ceff441 Remove implicit dependency on Androidx
Summary: This change removes the dependency of FlipperEditor from AndroidX, which prevents it from moving to the Litho repository

Reviewed By: Andrey-Mishanin

Differential Revision: D23475867

fbshipit-source-id: a330c676859ed9ce9a0ab186dd206310d2eccca5
2020-09-03 07:42:18 -07:00
dependabot[bot]
d8863d91a2 Bump react-native-flipper from 0.53.0 to 0.54.0 in /react-native/ReactNativeFlipperExample (#1507)
Summary:
Bumps [react-native-flipper](https://github.com/facebook/flipper) from 0.53.0 to 0.54.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="36825675d1"><code>3682567</code></a> Flipper Release: v0.54.0</li>
<li><a href="96803821ec"><code>9680382</code></a> Bump babel/core from 7.10.4 to 7.11.4 in /react-native/ReactNativeFlipperExa...</li>
<li><a href="8309ebcdcf"><code>8309ebc</code></a> Bump metro-react-native-babel-preset from 0.58.0 to 0.63.0 in /react-native/R...</li>
<li><a href="b109fc4d3e"><code>b109fc4</code></a> FQN Cleanup</li>
<li><a href="47d3dd6413"><code>47d3dd6</code></a> Load routes to device during init (<a href="https://github-redirect.dependabot.com/facebook/flipper/issues/1491">https://github.com/facebook/flipper/issues/1491</a>)</li>
<li><a href="3e95645f45"><code>3e95645</code></a> Fix release builds on Android, take 2 (<a href="https://github-redirect.dependabot.com/facebook/flipper/issues/1329">https://github.com/facebook/flipper/issues/1329</a>)</li>
<li><a href="79b1f8a1c1"><code>79b1f8a</code></a> Tell FB employees to use MSC instead of downloading</li>
<li><a href="0b528f19ce"><code>0b528f1</code></a> Escape table names and keys</li>
<li><a href="39a465b8b8"><code>39a465b</code></a> Use idb to poll for devices, if it is installed</li>
<li><a href="573bf8a940"><code>573bf8a</code></a> Fix scoped symlink module resolution (<a href="https://github-redirect.dependabot.com/facebook/flipper/issues/1482">https://github.com/facebook/flipper/issues/1482</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/flipper/compare/v0.53.0...v0.54.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.53.0&new-version=0.54.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates)

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

Reviewed By: mweststrate

Differential Revision: D23473019

Pulled By: nikoant

fbshipit-source-id: d0ec59dfc2aa7ae0d041cd77132cf8c16be68060
2020-09-03 07:08:12 -07:00
GitHub
49bc745d80 Automated: Update Podfile.lock (#1511)
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/1511

Reviewed By: priteshrnandgaonkar

Differential Revision: D23473025

Pulled By: nikoant

fbshipit-source-id: 16b36f2d952f47186b261b27b0bf2cabaab6a0c7
2020-09-03 07:02:49 -07:00
Rakha Kanz Kautsar
23afff9e2b flipper-js-client-sdk: fix undefined this on connectPlugin and disconnectPlugin (#1506)
Summary:
`this` is not defined for `connectPlugin` and `disconnectPlugin` because `Array.prototype.map` [replace `this` to `undefined` if not specified](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map):

> If a thisArg parameter is provided, it will be used as callback's this value. Otherwise, the value undefined will be used as its this value. The this value ultimately observable by callback is determined according to the usual rules for determining the this seen by a function.

![image](https://user-images.githubusercontent.com/1536976/91691584-72b24c80-eb9a-11ea-88f1-984f2be8ab4a.png)

## Changelog

flipper-js-client-sdk: Fix undefined this due to array map

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

Test Plan: Tried creating custom client and connecting to websocket server

Reviewed By: mweststrate

Differential Revision: D23473033

Pulled By: nikoant

fbshipit-source-id: bbfd9117da8aa8c7b491e219f98d17ccea48c0fd
2020-09-02 07:21:26 -07:00
Pascal Hartig
787e578a33 Document PACK download mechanism
Summary:
This is a first stab at documenting the new core distribution mechanism.
There are definitely areas I just brush over that should be expanded further,
but hopefully the release process and testing steps at the end help to clarify
some of the issues we've seen recently.

Reviewed By: mweststrate

Differential Revision: D23453713

fbshipit-source-id: 9efcfca1fbdbf5606080510c3e80bd19b49caf10
2020-09-02 06:13:47 -07:00
Michel Weststrate
1a8566c988 Make sure images are rendered
Summary: iOS counterpart for D23370743

Reviewed By: jknoxville

Differential Revision: D23397044

fbshipit-source-id: b38113615ef8c14b26700ec638b173061c75cd7e
2020-09-02 05:13:07 -07:00
Michel Weststrate
2d7c464f3e Increase OkhttpInterceptor default body size
Summary:
The default max body size for the OkHttpInterceptor that is reported to Flipper seems unreasonably small, as most images, graphql responses etc are bigger. Increased it to 1MB

Since the network plugin doesn't do any work if it is not explicitly enabled in Flipper, this should not lead to further performance regression / starvation.

Reviewed By: jknoxville

Differential Revision: D23375720

fbshipit-source-id: e901105209aec7108d61fc20295a149c5582f22d
2020-09-02 05:13:07 -07:00
Michel Weststrate
cd197aeaaf Make sure network plugin doesn't crash on invalid URLs
Summary: In the attached task an IPv6 address ended up in the URL send from IG. Since that URL couldn't be parsed, it crashed the network plugin. This change makes sure the plugin doesn't crash on invalid urls.

Reviewed By: cekkaewnumchai

Differential Revision: D23344503

fbshipit-source-id: c7ac2068e407a764d59e632bef1be7c4239c8c8a
2020-09-02 05:13:06 -07:00
Michel Weststrate
2f7a84115c Fix image rendering
Summary:
Images in the network plugin are rarely displayed in the network plugin, as it tries to use the public url to preview it. However, that won't if the endpoint is behind authentication, idempotent, etc. This diff changes the behavior to instead send the network body to flipper and use that to preview.

Changelog: [Network] Fixed image preview

Reviewed By: jknoxville, passy

Differential Revision: D23370743

fbshipit-source-id: 0070e9e38c10a5761b9f7190467e26f01a7b2471
2020-09-02 05:13:06 -07:00
Michel Weststrate
9785a03ebd Summary:
See D23051239

Since the crash reporter endpoint does not exist anymore, and no data was reported there, removing the corresponding code from Flipper as well.

This also fixes the last remaining startup warning as well :)

Reviewed By: priteshrnandgaonkar

Differential Revision: D23472612

fbshipit-source-id: 7ce9f6a0261cdfe197a7da9b28a86407299effec
2020-09-02 04:27:17 -07:00
root@sandcastle1585.atn1.facebook.com
70d28bc60d Flipper Snapshot Bump: v0.55.1-SNAPSHOT
Summary: Releasing snapshot version 0.55.1-SNAPSHOT

Reviewed By: priteshrnandgaonkar

Differential Revision: D23444760

fbshipit-source-id: d9048529ca57a1b29739b9c121b2b1f7249b4b01
2020-09-01 03:54:11 -07:00
root@sandcastle1585.atn1.facebook.com
66692dd722 Flipper Release: v0.55.0
Summary: Releasing version 0.55.0

Reviewed By: priteshrnandgaonkar

Differential Revision: D23444759

fbshipit-source-id: b569ff8e8dce76028e323f906e7415689ae8b1c5
2020-09-01 03:54:11 -07:00
Paco Estevez Garcia
ff3584e2e0 Add support for tagged messages on the Layout Inspector
Summary:
Related diff [CK]: D23243009

This diff adds support for a protocol for layout messages where the type is recursively encoded as:

```
{
 kind: "type",
 data: ???
}
```

The meat of the diff is on FlipperEditor.java, SetDataOperations.java and InspectorFlipperPlugin.java. The others are there just for a change on an interface.

We check if the message adheres to the new encoding, otherwise we fall back to the old behavior. If it's the new encoding, the message is traversed recursively flattening the types to EditorValue using the type hints provided.

Reviewed By: muraziz

Differential Revision: D23243009

fbshipit-source-id: 0f313455885930f3beaaadb66f3bf394f109ea23
2020-08-28 08:56:21 -07:00
Paco Estevez Garcia
19b5b65081 Add picker types for Yoga Layout values
Summary: This diff converts several flexbox properties to picker values

Reviewed By: colriot

Differential Revision: D23396217

fbshipit-source-id: 581a609a5e6da85c40d4a20c81f020e1832f2f4c
2020-08-28 07:45:41 -07:00
Paco Estevez Garcia
ee809fe112 Add support for the Picker widget in Android
Summary: Adds support in Flipper for the picker widget. The way it reaches Flipper is a bit nasty, using `toString` to produce a JSON value.

Reviewed By: passy

Differential Revision: D23294091

fbshipit-source-id: e3398e6fb474e46bdaac1960aeaf57e201946413
2020-08-28 07:45:41 -07:00
Pritesh Nandgaonkar
cf29bee5fa Add analytics for cert exchange step
Summary: This diff adds analytics for events like uploading certs, zipping certs.Also logs the payload data received in trusted and untrusted request handlers. It will be helpful to debug the issues through this events.

Reviewed By: jknoxville

Differential Revision: D23374024

fbshipit-source-id: 6fa709bbf05e1b99ed1882be953abbd968eefc6e
2020-08-28 07:18:42 -07:00
Dominik Wielgórski
610d06cbec Try to invoke Myles while the layout plugin is launching
Summary:
The first launch of Myles might produce a lag connected with the fact that Myles daemon needs to start (mainly, set up a Watchman subscription and depending on what state Watchman is in, it could take ~10 secs to initialise).
Therefore, trying to invoke Myles as soon as the Layout Plugin is enabled.

Reviewed By: mweststrate

Differential Revision: D23371702

fbshipit-source-id: 59ee3fb20b2df1330ff4048462f342ce2e12210a
2020-08-28 06:19:15 -07:00
Paco Estevez Garcia
d2ceb1238c Add picker for string values in the Layout Editor
Summary: This diff adds a new PoC widget for the Layout Editor to select a string from a picker. It takes a Set of values and uses them as representation. One of them is considered selected.

Reviewed By: muraziz

Differential Revision: D23374681

fbshipit-source-id: 324a3dd74a6b16edb77b862345d5288dd714fea1
2020-08-28 05:26:21 -07:00
Michel Weststrate
0a09699e07 Fix links in in react-native-flipper readme (#1505)
Summary:
Fixes https://github.com/facebook/flipper/issues/1504. Used fully qualified urls to make sure that they resolve when viewed both on NPM and Github

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

Reviewed By: jknoxville

Differential Revision: D23395491

Pulled By: mweststrate

fbshipit-source-id: 31064c20a6b1621ca020ec95801a51d5731afa62
2020-08-28 05:07:45 -07:00
Pascal Hartig
4550726a99 Fix Android build (#1503)
Summary:
This started failing in early August when this was deployed:
https://support.circleci.com/hc/en-us/articles/360048152911-Java-Builds-Fail-With-Unrecognized-VM-option-UseCGroupMemoryLimitForHeap-

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

Test Plan: CI

Reviewed By: priteshrnandgaonkar

Differential Revision: D23373472

Pulled By: passy

fbshipit-source-id: 94c185293f1abf3831e3ea2f2f09e59e434ade93
2020-08-27 09:38:49 -07:00
Pritesh Nandgaonkar
be641441d9 Add access token as a param in cdn link and minor improvements
Summary:
This fixes two issues. One issue where the recent change of cdn to lookaside hostname broke our build download process. More about this can be found [here](https://fb.workplace.com/groups/flipperfyi/permalink/772986153467682/).
It also fixes a bug which occurred on a retry when an error happened. Recently I made changes where, if the build is downloaded then retrying shouldn't redownload it. But we used to remove the downloaded builds after install phase, so this diff just removes the build when the download is successfull.

Reviewed By: nikoant

Differential Revision: D23372251

fbshipit-source-id: b57e69f65a20fc123191962d60165a62859d4ef7
2020-08-27 08:54:17 -07:00
dependabot[bot]
6b0c579d4a Bump prettier from 2.0.5 to 2.1.0 in /flipper-js-client-sdk (#1494)
Summary:
Bumps [prettier](https://github.com/prettier/prettier) from 2.0.5 to 2.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/prettier/prettier/releases">prettier's releases</a>.</em></p>
<blockquote>
<h1>2.1.0</h1>
<p><a href="https://github.com/prettier/prettier/compare/2.0.5...2.1.0">diff</a></p>
<p>{emoji:1f517} <a href="https://prettier.io/blog/2020/08/24/2.1.0.html">Release Notes</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/prettier/prettier/blob/master/CHANGELOG.md">prettier's changelog</a>.</em></p>
<blockquote>
<h1>2.1.0</h1>
<p><a href="https://github.com/prettier/prettier/compare/2.0.5...2.1.0">diff</a></p>
<p>{emoji:1f517} <a href="https://prettier.io/blog/2020/08/24/2.1.0.html">Release Notes</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6365138f40"><code>6365138</code></a> Release 2.1.0</li>
<li><a href="5223b78dcd"><code>5223b78</code></a> Build: Quick fix for <a href="https://github-redirect.dependabot.com/prettier/prettier/issues/8639">#8639</a> (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9035">#9035</a>)</li>
<li><a href="a365d728fe"><code>a365d72</code></a> Build(deps-dev): Bump glimmer/reference from 0.58.0 to 0.59.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9032">#9032</a>)</li>
<li><a href="cdc566f5ae"><code>cdc566f</code></a> Build(deps): Bump remark-footnotes from 1.0.0 to 2.0.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9034">#9034</a>)</li>
<li><a href="e2f265047a"><code>e2f2650</code></a> Build(deps): Bump unified from 9.1.0 to 9.2.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9031">#9031</a>)</li>
<li><a href="d27927c9a9"><code>d27927c</code></a> Build(deps): Bump flow-parser from 0.131.0 to 0.132.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9027">#9027</a>)</li>
<li><a href="fa2935998b"><code>fa29359</code></a> Build(deps-dev): Bump jest from 26.4.1 to 26.4.2 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9030">#9030</a>)</li>
<li><a href="f6eac26592"><code>f6eac26</code></a> Build(deps-dev): Bump rollup from 2.26.4 to 2.26.5 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9029">#9029</a>)</li>
<li><a href="d693a44b17"><code>d693a44</code></a> Build(deps): Bump glimmer/syntax from 0.58.0 to 0.59.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9033">#9033</a>)</li>
<li><a href="c4e9dd9c36"><code>c4e9dd9</code></a> Continuation of revert 7889 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/9024">#9024</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/2.0.5...2.1.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/~sosukesuzuki">sosukesuzuki</a>, a new releaser for prettier since your current version.</p>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D23294310

Pulled By: mweststrate

fbshipit-source-id: 2ed98860f373bc6ac67942b47644ce2c712068cf
2020-08-27 06:20:22 -07:00
Paco Estevez Garcia
d488b308de Add support for tagged messages on the Layout Inspector
Summary:
Related diff [Litho]: D23243009

This diff adds support for a protocol for layout messages where the type is recursively encoded as:

```
{
 kind: "type",
 data: ???
}
```

We check if the message adheres to the new encoding, otherwise we fall back to the old behavior. If it's the new encoding, the message is traversed recursively flattening the types to EditorValue using the type hints provided.

Reviewed By: Andrey-Mishanin

Differential Revision: D23319619

fbshipit-source-id: 79e8886f8f5a0aea4ec32938f1d5cd2fd645a297
2020-08-27 05:34:27 -07:00
Anton Nikolaev
5b2fc65101 Flipper opens two copies of React devtools for react-native
Summary: https://github.com/facebook/flipper/issues/1391

Reviewed By: mweststrate

Differential Revision: D23369774

fbshipit-source-id: 25b406d90a91dbf6c2b28ffdbdb44ed1bec8fffe
2020-08-27 03:48:27 -07:00
Pascal Hartig
97adea5423 fbjni 0.0.4 (#1428)
Summary:
Just released a new version.

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

Test Plan:
`./gradlew :android:installDebug`

However, I'm tethering right now and this is taking ages so I haven't
been able to complete this.

Reviewed By: mweststrate

Differential Revision: D23295098

Pulled By: passy

fbshipit-source-id: aa53fa1c47f0b02d2c8b9f12d66b1c600a37075b
2020-08-27 03:45:40 -07:00
Timur Valiev
7632d8acf6 Bundles inspector - copy bundle button
Summary:
Adding a copy button next to search box. Copy nt or bloks raw bundle.
Before that we had a contxt menu on left side bar, which didn;t look good when we have only one active bundles (check appden comments in diff bellow)

Reviewed By: mweststrate

Differential Revision: D23345480

fbshipit-source-id: 919e7fec1d1884f5e8980c3b6cc5a94eb3d69be1
2020-08-26 09:18:03 -07:00
GitHub
a127e1944c Automated: Update Podfile.lock (#1500)
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/1500

Reviewed By: jknoxville

Differential Revision: D23343573

Pulled By: mweststrate

fbshipit-source-id: 2193996ad1cb9983a64ce41851ee9ff4e49404d3
2020-08-26 08:36:37 -07:00
John Knox
91f474d7a8 Update plugin version for all consumers
Summary:
Updates the static docs plugin everywhere.

Done by running `./update-all-users.sh 0.3.6` inside `fbsource/xplat/staticdocs/`

Reviewed By: mweststrate

Differential Revision: D23343132

fbshipit-source-id: 2deaec1f8a4ead43475d77f40b7bf35e6b25f994
2020-08-26 08:12:22 -07:00
Pritesh Nandgaonkar
dc4e224bfb Show possible remediation steps for known errors in a notification
Summary: This diff fires a notification with a remediation suggestion when the client takes a long time to connect back, for both WW and FS_ACCESS case

Reviewed By: mweststrate

Differential Revision: D23321067

fbshipit-source-id: 17ab93974e9571a0ba78af05c624eeb0522637c6
2020-08-26 07:56:58 -07:00
Timur Valiev
ce12c4e3df Make self inspection available for all devs - internal and open source
Summary:
Flipper self inspection is being used by internal devs for a month now and peeple seems happy with it :) Let's make it available to open source devs!

changelog: Flipper Self inspection - Flipper Messages plugin added to dev builds to show messages sent/received from clients

Reviewed By: jknoxville

Differential Revision: D23345560

fbshipit-source-id: 95bac52b966a78fbfa8e4d4c4e15d9d45ca960f7
2020-08-26 07:54:06 -07:00
Nicole Stiliyan Vukadinova
381f31526c Change replace the QuickPerformanceLogger class with the QPLCore
Summary: Now that the vanilla JS QuickPerformanceLoggerCore was created with the core methods from QPL, we are using this in Flipper so that we have one source of truth

Reviewed By: nubbel

Differential Revision: D23128231

fbshipit-source-id: 16841aab2563509c7184a09ecb8d3f534c53e896
2020-08-26 03:49:34 -07:00
dependabot[bot]
74cd039044 Bump react-native-flipper from 0.51.0 to 0.53.0 in /react-native/ReactNativeFlipperExample (#1496)
Summary:
Bumps [react-native-flipper](https://github.com/facebook/flipper) from 0.51.0 to 0.53.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="f1c3bf8697"><code>f1c3bf8</code></a> Flipper Release: v0.53.0</li>
<li><a href="3c3d76be60"><code>3c3d76b</code></a> Send flipperstate to cert downloader</li>
<li><a href="2e98c7f3c7"><code>2e98c7f</code></a> Solve the bug where iOS physical device was not detected</li>
<li><a href="6170bfea41"><code>6170bfe</code></a> Upgrade fs-extra</li>
<li><a href="10b3c7db0b"><code>10b3c7d</code></a> Bump eslint-plugin-react-hooks from 4.0.4 to 4.1.0 in /flipper-js-client-sdk ...</li>
<li><a href="156b00ba42"><code>156b00b</code></a> Bump data-encoding from 2.2.0 to 2.3.0 in /packer (<a href="https://github-redirect.dependabot.com/facebook/flipper/issues/1449">https://github.com/facebook/flipper/issues/1449</a>)</li>
<li><a href="83227ff771"><code>83227ff</code></a> Bump jest from 26.2.2 to 26.3.0 in /react-native/ReactNativeFlipperExample (#...</li>
<li><a href="8aa29d00f2"><code>8aa29d0</code></a> Display Xcode for CK and Android Studio for Litho Components</li>
<li><a href="7d0dd3c656"><code>7d0dd3c</code></a> Implemented method to get CKComponent path</li>
<li><a href="41f1a0b454"><code>41f1a0b</code></a> Extra data send from iOS to Flipper Desktop</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/flipper/compare/v0.51.0...v0.53.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.51.0&new-version=0.53.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/1496

Reviewed By: passy

Differential Revision: D23294300

Pulled By: mweststrate

fbshipit-source-id: b4a40dff10814ad3ae3d0947ca7c6bbdaf6f5207
2020-08-26 03:40:56 -07:00
dependabot[bot]
a60f165cd0 Bump typescript from 3.9.5 to 4.0.2 in /flipper-js-client-sdk (#1493)
Summary:
allow-large-files

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.5 to 4.0.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/Microsoft/TypeScript/releases">typescript's releases</a>.</em></p>
<blockquote>
<h2>TypeScript 4.0</h2>
<p>For release notes, check out the <a href="https://devblogs.microsoft.com/typescript/announcing-typescript-4-0-rc/">release announcement</a>.</p>
<p>For the complete list of fixed issues, check out the</p>
<ul>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+4.0.0%22+is%3Aclosed+">fixed issues query for Typescript v4.0.0 (Beta)</a>.</li>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+4.0.1%22+is%3Aclosed+">fixed issues query for Typescript v4.0.1 (RC)</a>.</li>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+4.0.2%22+is%3Aclosed+">fixed issues query for Typescript v4.0.2</a>.</li>
</ul>
<p>Downloads are available on:</p>
<ul>
<li><a href="https://www.npmjs.com/package/typescript">npm</a></li>
<li><a href="https://marketplace.visualstudio.com/items?itemName=TypeScriptTeam.TypeScript-40">Visual Studio 2017/2019</a> (<a href="https://github.com/Microsoft/TypeScript/wiki/Updating-TypeScript-in-Visual-Studio-2017">Select new version in project options</a>)</li>
<li><a href="https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild">NuGet package</a></li>
</ul>
<h2>TypeScript 4.0 Beta</h2>
<p>For release notes, check out the <a href="https://devblogs.microsoft.com/typescript/announcing-typescript-4-0-beta/">release announcement</a>.</p>
<p>For the complete list of fixed issues, check out the</p>
<ul>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+4.0%22+is%3Aclosed+">fixed issues query for Typescript v4.0-beta</a>.</li>
</ul>
<p>Downloads are available on:</p>
<ul>
<li><a href="https://www.npmjs.com/package/typescript">npm</a></li>
<li><a href="https://marketplace.visualstudio.com/items?itemName=TypeScriptTeam.TypeScript-40beta">Visual Studio 2017/2019</a> (<a href="https://github.com/Microsoft/TypeScript/wiki/Updating-TypeScript-in-Visual-Studio-2017">Select new version in project options</a>)</li>
<li><a href="https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild">NuGet package</a></li>
</ul>
<h2>TypeScript 3.9.7</h2>
<p>For release notes, check out the <a href="https://devblogs.microsoft.com/typescript/announcing-typescript-3-9/">release announcement</a>.</p>
<p>For the complete list of fixed issues, check out the</p>
<ul>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+3.9.0%22+is%3Aclosed+">fixed issues query for Typescript v3.9.0 (Beta)</a>.</li>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+3.9.1%22+is%3Aclosed+">fixed issues query for Typescript v3.9.1 (RC)</a>.</li>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+3.9.2%22+is%3Aclosed+">fixed issues query for Typescript v3.9.2 (Final)</a>.</li>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+3.9.3%22+is%3Aclosed+">fixed issues query for Typescript v3.9.3 (patch release)</a>.</li>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+3.9.5%22+is%3Aclosed+">fixed issues query for Typescript v3.9.5 (patch release)</a>.</li>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+3.9.6%22+is%3Aclosed+">fixed issues query for Typescript v3.9.6 (patch release)</a>.</li>
<li><a href="https://github.com/Microsoft/TypeScript/issues?q=milestone%3A%22TypeScript+3.9.7%22+is%3Aclosed+">fixed issues query for Typescript v3.9.7 (patch release)</a>.</li>
</ul>
<p>(note, 3.9.4 was intentionally skipped due to minor complications in publishing)</p>
<p>Downloads are available on:</p>
<ul>
<li><a href="https://www.npmjs.com/package/typescript">npm</a></li>
<li><a href="https://marketplace.visualstudio.com/items?itemName=TypeScriptTeam.TypeScript-397">Visual Studio 2017/2019</a> (<a href="https://github.com/Microsoft/TypeScript/wiki/Updating-TypeScript-in-Visual-Studio-2017">Select new version in project options</a>)</li>
<li><a href="https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild">NuGet package</a></li>
</ul>
<h2>TypeScript 3.9.6</h2>
<p>For release notes, check out the <a href="https://devblogs.microsoft.com/typescript/announcing-typescript-3-9/">release announcement</a>.</p>

</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="912cbdfcb6"><code>912cbdf</code></a> Update LKG</li>
<li><a href="076db46a3f"><code>076db46</code></a> Cherry-pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/40072">#40072</a> into release-4.0 (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/40076">#40076</a>)</li>
<li><a href="c9c6cd29b6"><code>c9c6cd2</code></a> Bump version to 4.0.2 and LKG</li>
<li><a href="5f5dac0280"><code>5f5dac0</code></a> Add '(approximate)' to the beginning of quick info requests in PartialSemanti...</li>
<li><a href="10304555e7"><code>1030455</code></a> Ensure file, include and exclude specs used are strings  (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/40041">#40041</a>)</li>
<li><a href="edaa8aa9c0"><code>edaa8aa</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/39989">#39989</a> from amcasey/pinned-release-4.0</li>
<li><a href="f88f3065fa"><code>f88f306</code></a> Update LKG</li>
<li><a href="a1925515e2"><code>a192551</code></a> Cherry-pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/40026">#40026</a> into release-4.0 (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/40028">#40028</a>)</li>
<li><a href="6620b251ef"><code>6620b25</code></a> � Pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/40005">#40005</a> (feat(40004): Missing Compiler API p...) into release-4.0 (#...</li>
<li><a href="7558de69b1"><code>7558de6</code></a> Cherry-pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/39702">#39702</a> into release-4.0 (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/39985">#39985</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/Microsoft/TypeScript/compare/v3.9.5...v4.0.2">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D23294311

Pulled By: mweststrate

fbshipit-source-id: 7dcdcb9f7387c9114da2123fd3c1c10229cb76b8
2020-08-26 03:38:36 -07:00
dependabot[bot]
419afc96c3 Bump jest from 26.4.0 to 26.4.2 in /react-native/ReactNativeFlipperExample (#1495)
Summary:
Bumps [jest](https://github.com/facebook/jest) from 26.4.0 to 26.4.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.4.2</h2>
<h3>Fixes</h3>
<ul>
<li><code>[expect]</code> Fix <code>toMatchObject</code> to work with inherited class getters (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10381">#10381</a>)</li>
<li><code>[pretty-format]</code> Lower minimum node version to &gt;= 10 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10435">#10435</a>)</li>
</ul>
<h2>26.4.1</h2>
<h3>Fixes</h3>
<ul>
<li><code>[jest-core]</code> Don't report ELDHistogram as open handle (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10417">#10417</a>)</li>
<li><code>[jest-matcher-utils]</code> Fix diffing object contain readonly symbol key object (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10414">#10414</a>)</li>
<li><code>[jest-reporters]</code> Fixes notify reporter on Linux (using notify-send) (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10400">#10393</a>)</li>
<li><code>[jest-snapshot]</code> Correctly handles arrays and property matchers in snapshots (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10404">#10404</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.4.2</h2>
<h3>Fixes</h3>
<ul>
<li><code>[expect]</code> Fix <code>toMatchObject</code> to work with inherited class getters (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10381">#10381</a>)</li>
<li><code>[pretty-format]</code> Lower minimum node version to &gt;= 10 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10435">#10435</a>)</li>
</ul>
<h2>26.4.1</h2>
<h3>Fixes</h3>
<ul>
<li><code>[jest-core]</code> Don't report ELDHistogram as open handle (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10417">#10417</a>)</li>
<li><code>[jest-matcher-utils]</code> Fix diffing object contain readonly symbol key object (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10414">#10414</a>)</li>
<li><code>[jest-reporters]</code> Fixes notify reporter on Linux (using notify-send) (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10400">#10393</a>)</li>
<li><code>[jest-snapshot]</code> Correctly handles arrays and property matchers in snapshots (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10404">#10404</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="2586a79826"><code>2586a79</code></a> v26.4.2</li>
<li><a href="b7580fc86d"><code>b7580fc</code></a> chore: update changelog for release</li>
<li><a href="09e967bb73"><code>09e967b</code></a> fix: lower minimum node version for pretty-format (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/10435">#10435</a>)</li>
<li><a href="5c6480b95d"><code>5c6480b</code></a> fix: toMatchObject works with super getters (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/10381">#10381</a>)</li>
<li><a href="a8addf8e22"><code>a8addf8</code></a> chore: update lockfile after publish</li>
<li><a href="e1d51deea8"><code>e1d51de</code></a> v26.4.1</li>
<li><a href="9ce81a53c1"><code>9ce81a5</code></a> chore: update changelog for release</li>
<li><a href="4a9ebb4e9b"><code>4a9ebb4</code></a> fix: skip <code>ELDHISTOGRAM</code> for <code>--detectOpenHandles</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/10417">#10417</a>)</li>
<li><a href="2e30f52a8e"><code>2e30f52</code></a> Fix diffing object contain readonly symbol key object (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/10414">#10414</a>)</li>
<li><a href="200adc053a"><code>200adc0</code></a> Implement tests for type definitions in Jest (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/10407">#10407</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/jest/compare/v26.4.0...v26.4.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.4.0&new-version=26.4.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/1495

Reviewed By: passy

Differential Revision: D23294306

Pulled By: mweststrate

fbshipit-source-id: edb6df81d206ea75a15a657f1fdf318eceae0bb3
2020-08-26 03:11:33 -07:00
Pritesh Nandgaonkar
73e3cfe4a1 Minor Bug fixes
Summary: With this change, I verified that our enterprise wilde app is able to connect to Flipper.

Reviewed By: jknoxville

Differential Revision: D23318335

fbshipit-source-id: cc952297ead1e8afcb1d9f5062e593e51e8ce893
2020-08-25 09:37:45 -07:00
Michel Weststrate
8d4ff8d48e Fixed several UI issues in Databases plugin
Summary:
This diff improves showing details in the databases plugin in a few ways:

1. if there is large content, it is no longer rendered of screen
1. the section is now scrollable
1. made layout vertical rather than horizontal to have more space vor values
1. show the type of a value
1. better detection of JSON versus non-json values (primitives would be picked up as json, but in contrast binary ascii such as used in instagram wouldn't). This fixes also string to be rendered incorrectly by accidentally parsing them as numbers, such as can be seen in https://fb.workplace.com/groups/flippersupport/permalink/948112715669387/

Changelog: [Databases] Fixed several layout issues when inspecting rows, and added better JSON support and support for larger responses.

Reviewed By: cekkaewnumchai

Differential Revision: D23317689

fbshipit-source-id: 47ab5164e25da003e0d1a4ae7ccb1537b637e572
2020-08-25 08:49:24 -07:00
Michel Weststrate
7f9d4c35a0 Allow for larger ascii responses
Summary: See linked task, data larger than 5KB would always be reported as blob. Increased this limit to 100KB, since if the user is looking at this data, it is proactively requested so it is fine if it is larger

Reviewed By: jknoxville

Differential Revision: D23317197

fbshipit-source-id: f563a980fa9567ac7e2f950b83c1888a7b295d77
2020-08-25 08:49:24 -07:00
root@sandcastle962.atn2.facebook.com
6490687333 Flipper Snapshot Bump: v0.54.1-SNAPSHOT
Summary: Releasing snapshot version 0.54.1-SNAPSHOT

Reviewed By: mweststrate

Differential Revision: D23314242

fbshipit-source-id: c3910eb05475dd012205b80cc01f322c5f2015ea
2020-08-25 08:25:04 -07:00
root@sandcastle962.atn2.facebook.com
36825675d1 Flipper Release: v0.54.0
Summary: Releasing version 0.54.0

Reviewed By: mweststrate

Differential Revision: D23314243

fbshipit-source-id: ce2561b356f082613f656fedac9c08b440845bb1
2020-08-25 08:25:04 -07:00
dependabot[bot]
96803821ec Bump @babel/core from 7.10.4 to 7.11.4 in /react-native/ReactNativeFlipperExample (#1497)
Summary:
Bumps [babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.4 to 7.11.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/releases">babel/core's releases</a>.</em></p>
<blockquote>
<h2>v7.11.4 (2020-08-20)</h2>
<p>Thanks <a href="https://github.com/Monchi">Monchi</a> for their first PR to Babel!</p>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-helper-replace-supers</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11985">#11985</a> fix: declare babel/traverse as a dependency (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
<li><code>babel-core</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11974">#11974</a> Ensure <code>import()</code> is not transpiled in <code>babel-core</code> published source (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11979">#11979</a> Throw error on invalid flow async generic arrow syntax (<a href="https://github.com/existentialism">existentialism</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11955">#11955</a> Fix parsing type casted generic flow arrow exprs (<a href="https://github.com/existentialism">existentialism</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11973">#11973</a> fix: do not transform ClassPrivateMethods in estree (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11941">#11941</a> fix: push new token context when braceHashL is seen (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11943">#11943</a> fix: reset EndLocation for catch param (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11978">#11978</a> fix: do not mutate newTypes (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11970">#11970</a> fix: ensure defaults are set in babel/eslint-parser (<a href="https://github.com/kaicataldo">kaicataldo</a>)</li>
</ul>
</li>
<li><code>babel-generator</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11947">#11947</a> fix: disallow line break between async and property (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11952">#11952</a> Move legacy node version tests to GitHub actions (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11936">#11936</a> chore: do not push version commit on lerna version (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11923">#11923</a> Add more parser test cases (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11944">#11944</a> Simplify tokenizer update context (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11945">#11945</a> chore: enable flowcheck on CI (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11930">#11930</a> Refactor [In] production parameter tracking (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11953">#11953</a> chore: remove obsolete comment (<a href="https://github.com/jamescdavis">jamescdavis</a>)</li>
</ul>
</li>
<li><code>babel-helper-transform-fixture-test-runner</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11951">#11951</a> chore: build babel-polyfill-dist on make watch (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
<li><code>babel-core</code>, <code>babel-helper-transform-fixture-test-runner</code>, <code>babel-plugin-proposal-object-rest-spread</code>, <code>babel-plugin-transform-block-scoping</code>, <code>babel-plugin-transform-classes</code>, <code>babel-plugin-transform-destructuring</code>, <code>babel-plugin-transform-react-jsx-source</code>, <code>babel-plugin-transform-spread</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11531">#11531</a> Isolated exec tests (<a href="https://github.com/jridgewell">jridgewell</a>)</li>
</ul>
</li>
<li><code>babel-helper-bindify-decorators</code>, <code>babel-helper-call-delegate</code>, <code>babel-helper-explode-assignable-expression</code>, <code>babel-helper-explode-class</code>, <code>babel-helper-remap-async-to-generator</code>, <code>babel-helper-replace-supers</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11937">#11937</a> Move some babel/traverse from deps to devDeps (<a href="https://github.com/Monchi">Monchi</a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 6</h4>
<ul>
<li>Brian Ng (<a href="https://github.com/existentialism">existentialism</a>)</li>
<li>Huáng Jùnliàng (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li>James C. Davis (<a href="https://github.com/jamescdavis">jamescdavis</a>)</li>
<li>Justin Ridgewell (<a href="https://github.com/jridgewell">jridgewell</a>)</li>
<li>Kai Cataldo (<a href="https://github.com/kaicataldo">kaicataldo</a>)</li>
<li>Yuku Kotani (<a href="https://github.com/Monchi">Monchi</a>)</li>
</ul>
<h2>v7.11.3 (2020-08-08)</h2>
<p>Thanks <a href="https://github.com/AleksRap">AleksRap</a> for their first PR!</p>

</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/blob/main/CHANGELOG.md">babel/core's changelog</a>.</em></p>
<blockquote>
<h2>v7.11.4 (2020-08-20)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-helper-replace-supers</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11985">#11985</a> fix: declare babel/traverse as a dependency (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
<li><code>babel-core</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11974">#11974</a> Ensure <code>import()</code> is not transpiled in <code>babel-core</code> published source (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11979">#11979</a> Throw error on invalid flow async generic arrow syntax (<a href="https://github.com/existentialism">existentialism</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11955">#11955</a> Fix parsing type casted generic flow arrow exprs (<a href="https://github.com/existentialism">existentialism</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11973">#11973</a> fix: do not transform ClassPrivateMethods in estree (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11941">#11941</a> fix: push new token context when braceHashL is seen (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11943">#11943</a> fix: reset EndLocation for catch param (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11978">#11978</a> fix: do not mutate newTypes (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11970">#11970</a> fix: ensure defaults are set in babel/eslint-parser (<a href="https://github.com/kaicataldo">kaicataldo</a>)</li>
</ul>
</li>
<li><code>babel-generator</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11947">#11947</a> fix: disallow line break between async and property (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li>Other
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11952">#11952</a> Move legacy node version tests to GitHub actions (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11936">#11936</a> chore: do not push version commit on lerna version (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11923">#11923</a> Add more parser test cases (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11944">#11944</a> Simplify tokenizer update context (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11945">#11945</a> chore: enable flowcheck on CI (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11930">#11930</a> Refactor [In] production parameter tracking (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11953">#11953</a> chore: remove obsolete comment (<a href="https://github.com/jamescdavis">jamescdavis</a>)</li>
</ul>
</li>
<li><code>babel-helper-transform-fixture-test-runner</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11951">#11951</a> chore: build babel-polyfill-dist on make watch (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
<li><code>babel-core</code>, <code>babel-helper-transform-fixture-test-runner</code>, <code>babel-plugin-proposal-object-rest-spread</code>, <code>babel-plugin-transform-block-scoping</code>, <code>babel-plugin-transform-classes</code>, <code>babel-plugin-transform-destructuring</code>, <code>babel-plugin-transform-react-jsx-source</code>, <code>babel-plugin-transform-spread</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11531">#11531</a> Isolated exec tests (<a href="https://github.com/jridgewell">jridgewell</a>)</li>
</ul>
</li>
<li><code>babel-helper-bindify-decorators</code>, <code>babel-helper-call-delegate</code>, <code>babel-helper-explode-assignable-expression</code>, <code>babel-helper-explode-class</code>, <code>babel-helper-remap-async-to-generator</code>, <code>babel-helper-replace-supers</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11937">#11937</a> Move some babel/traverse from deps to devDeps (<a href="https://github.com/Monchi">Monchi</a>)</li>
</ul>
</li>
</ul>
<h2>v7.11.3 (2020-08-08)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11932">#11932</a> fix: add ImportExpression visitorKeys (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11921">#11921</a> refactor: add recoverable error on accessorIsGenerator (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
</ul>
</li>
</ul>
<h4>🏠 Internal</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11919">#11919</a> refactor: simplify smart pipeline parsing (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11922">#11922</a> simplify isLookaheadRelational method (<a href="https://github.com/JLHwung">JLHwung</a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11917">#11917</a> Support ConditionalExpressions in dry-error-messages rule (<a href="https://github.com/existentialism">existentialism</a>)</li>
</ul>
</li>
</ul>

</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="90b1989569"><code>90b1989</code></a> v7.11.4</li>
<li><a href="565cfff486"><code>565cfff</code></a> chore: test against workspace babel/core</li>
<li><a href="4be67fb19a"><code>4be67fb</code></a> Ensure <code>import()</code> is not transpiled in <code>babel-core</code> published source (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/11974">#11974</a>)</li>
<li><a href="a5bc48661b"><code>a5bc486</code></a> Isolated exec tests (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/11531">#11531</a>)</li>
<li><a href="953ae82159"><code>953ae82</code></a> v7.11.1</li>
<li><a href="c29138fd72"><code>c29138f</code></a> Do not cache non-existent files forever (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/11906">#11906</a>)</li>
<li><a href="45fdb87747"><code>45fdb87</code></a> v7.11.0</li>
<li><a href="164a93945d"><code>164a939</code></a> add showConfig support (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/11588">#11588</a>)</li>
<li><a href="b651a6f6ab"><code>b651a6f</code></a> Enable logical assignment by default in babel/parser (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/11860">#11860</a>) (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/11869">#11869</a>)</li>
<li><a href="059e9124ff"><code>059e912</code></a> Add decimal parsing support (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-core/issues/11640">#11640</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/babel/babel/commits/v7.11.4/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.10.4&new-version=7.11.4)](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/1497

Reviewed By: passy

Differential Revision: D23294296

Pulled By: mweststrate

fbshipit-source-id: 997f9eee9726060bbdbef43593c425f378cc013b
2020-08-25 07:10:25 -07:00
dependabot[bot]
8309ebcdcf Bump metro-react-native-babel-preset from 0.58.0 to 0.63.0 in /react-native/ReactNativeFlipperExample (#1498)
Summary:
Bumps [metro-react-native-babel-preset](https://github.com/facebook/metro) from 0.58.0 to 0.63.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/metro/releases">metro-react-native-babel-preset's releases</a>.</em></p>
<blockquote>
<h2>Release v0.63.0</h2>
<ul>
<li>[fix] Change initialisation logo and text from RN to Metro</li>
</ul>
<h2>Release v0.62.0</h2>
<ul>
<li>[feature] Add onBundleBuilt to ServerOptions</li>
</ul>
<h2>Release v0.61.0</h2>
<p>Contains all changes since 0.60.0:</p>
<ul>
<li>[Feature]: Add support for blockList and array of regexs</li>
<li>[Fix]: Change order of imports to be the same as in source files</li>
<li>[Feature]: Add new secureServerOptions option to runServer</li>
<li>[Feature]: Add inline-requires option</li>
<li>[PetPeeve]: Metro server =&gt; Metro</li>
</ul>
<p>See <a href="https://github.com/facebook/metro/compare/0.60.0...0.61.0">0.59.0...0.60.0</a> for a full list of changes.</p>
<h2>v0.60.0</h2>
<p>Contains all changes since 0.59.0:</p>
<ul>
<li>[Fix] metro-source-map: propagate sourcesContent when composing source maps (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/574">https://github.com/facebook/flipper/issues/574</a> (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/574">facebook/metro#574</a>))</li>
<li>[Fix] Preserve source locations in import-export-plugin</li>
<li>[Change] Resolve path-based configuration options in Metro's config normalizer</li>
<li>[Feature] metro-memory-fs: Implement realpath.native</li>
<li>[Feature] metro-memory-fs: Implement fs.truncate</li>
<li>[Feature] metro-memory-fs: Implement fs.link (<a href="http://fs.link/">http://fs.link/</a>)</li>
<li>[Feature] metro-memory-fs: Implement fs.rename</li>
<li>[Feature] metro-memory-fs: Implement readdir(withFileTypes)</li>
<li>[Feature] Move HttpGetStore to open source</li>
<li>[Fix] MultipartResponse to allow for binary data to be sent</li>
<li>[Fix] Size attribution in metro-symbolicate</li>
<li>[Fix] Links website Docs in Help page. (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/563">https://github.com/facebook/flipper/issues/563</a> (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/563">facebook/metro#563</a>))</li>
<li>[Change] Enable loose mode for babel/plugin-proposal-object-rest-spread</li>
<li>[Fix] Pass config overrides to metro.config.js function (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/559">https://github.com/facebook/flipper/issues/559</a> (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/559">facebook/metro#559</a>))</li>
<li>[Fix] Added bundler property to babel caller (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/558">https://github.com/facebook/flipper/issues/558</a> (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/558">facebook/metro#558</a>))</li>
<li>[Feature] Add rewriteRequestUrl option</li>
<li>[New] Add unstable_transformProfile as URL param</li>
<li>[Fix] DependencyGraph.resolveDependency resolves to the same module when imported from .. (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/556">https://github.com/facebook/flipper/issues/556</a> (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/556">facebook/metro#556</a>))</li>
<li>[New] Add support for bytecode compilation &amp; bytecode bundles (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/546">https://github.com/facebook/flipper/issues/546</a> (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/546">facebook/metro#546</a>))</li>
<li>[Fix] Send bundle progress immediately</li>
<li>[New] New metro-hermes-compiler package <a href="https://github.com/allow-large-files">allow-large-files</a> (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/545">https://github.com/facebook/flipper/issues/545</a> (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/545">facebook/metro#545</a>))</li>
<li>[New] Create metro-transform-worker package</li>
<li>[Fix] Add getDependencies function that automatically cleans up unused graphs</li>
<li>[New] Create metro-transform-plugins package</li>
<li>[Breaking Change] Change transform worker from a class to an object interface</li>
<li>[Fix] DependencyGraph.resolveDependency resolves to the same module when imported from . (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/540">https://github.com/facebook/flipper/issues/540</a> (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/540">facebook/metro#540</a>))</li>
<li>[Security] Fix security vulnerabilities in third-party dependencies</li>
<li>[Removed] Remove hmrEnabled option</li>
</ul>
<p>See <a href="https://github.com/facebook/metro/compare/0.59.0...0.60.0">0.59.0...0.60.0</a> for a full list of changes.</p>

</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b9bacd51d0"><code>b9bacd5</code></a> Metro release v0.63.0</li>
<li><a href="c106b6540e"><code>c106b65</code></a> Change initialisation logo and text</li>
<li><a href="be719b29c0"><code>be719b2</code></a> remove redundant deprecated-utility setting from flow configs</li>
<li><a href="9236feba99"><code>9236feb</code></a> Turn off template literal and shorthand properties transform for hermes-canary</li>
<li><a href="6b82e8443c"><code>6b82e84</code></a> Create a <code>metro-runtime</code> module</li>
<li><a href="18883f6caa"><code>18883f6</code></a> Fix up package.json files.</li>
<li><a href="921b73e4d0"><code>921b73e</code></a> Remove autogenerated table of contents (deprecated in docusaurus v2)</li>
<li><a href="eb9b02572b"><code>eb9b025</code></a> Update configuration page with examples</li>
<li><a href="00a5a6d8d6"><code>00a5a6d</code></a> Fix troubleshooting and help pages</li>
<li><a href="c73eaf88f8"><code>c73eaf8</code></a> Update docusaurus version</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/metro/compare/0.58.0...v0.63.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=metro-react-native-babel-preset&package-manager=npm_and_yarn&previous-version=0.58.0&new-version=0.63.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/1498

Reviewed By: passy

Differential Revision: D23294293

Pulled By: mweststrate

fbshipit-source-id: b12b3c2c511e34a76da38887f89d4ce7373b88c6
2020-08-25 07:00:37 -07:00
Paco Estevez Garcia
b109fc4d3e FQN Cleanup
Summary: Fixing a silly missing import

Reviewed By: muraziz

Differential Revision: D23265033

fbshipit-source-id: 0e78d19314df853d2c512535650d3294bf3099e0
2020-08-25 04:28:51 -07:00
James Harmon
47d3dd6413 Load routes to device during init (#1491)
Summary:
This is a replacement for PR https://github.com/facebook/flipper/pull/1486 which had the wrong username

When the network plugin is loaded, the route table in the device is empty.  It needs to be populated with whatever routes have already been created and saved in local storage.  Otherwise, the user would need to modify the routes to force an update.

Issue is described here - https://github.com/facebook/flipper/issues/1476

## Changelog

Routes updated in device when plugin is initialized

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

Test Plan:
1. Create a mock for the get request in the sample Android app
2. Kill the app
3. Start the app
4. Issue the get request in the app
5. Verify that the request is mocked in the Network plugin

![image](https://user-images.githubusercontent.com/69264583/90853263-37648200-e33f-11ea-8ab1-afc09395e62e.png)

Reviewed By: passy

Differential Revision: D23292355

Pulled By: mweststrate

fbshipit-source-id: 2fe16e9067a627cae02a4b1db422952d364fd036
2020-08-24 14:56:32 -07:00
Caleb Clarke
3e95645f45 Fix release builds on Android, take 2 (#1329)
Summary:
Changelog: Fixed react-native-flipper causing Android release builds to fail

https://github.com/facebook/flipper/issues/1325 made progress but did not quite fix https://github.com/facebook/flipper/issues/1303. Android Release builds would still fail because `PackageList` depended on `FlipperPackage` and couldn't find it in release builds. There doesn't appear to be a clear way to set up a debug-only package with React Native's Android autolinking (see https://github.com/react-native-community/cli/issues/1211), so this change creates an empty `FlipperPackage` to satisfy that dependency, while still avoiding bundling the Flipper library into the release build.

(manual linking also works, but seems less-desirable for consumers of the library)

## Changelog

Add an empty `FlipperPackage` to the `release` folder to satisfy the reference put in `PackageList` by the autolinker for release builds.

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

Test Plan:
Verified that release builds did fail without this change (using ReactNativeFlipperExample app)

Successfully built a React Native Android Release app from Android Studio using this library and verified that the APK still did not contain Flipper. Built debug and verified that Flipper still worked as before.

Reviewed By: passy

Differential Revision: D23292543

Pulled By: mweststrate

fbshipit-source-id: cb897a0e6dcdc04e29d676596447ca9dd68182c8
2020-08-24 14:46:11 -07:00