Commit Graph

3897 Commits

Author SHA1 Message Date
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
John Knox
79b1f8a1c1 Tell FB employees to use MSC instead of downloading
Reviewed By: mweststrate

Differential Revision: D23265192

fbshipit-source-id: 0c8bb5dd281e6d23efe72b708e1954db54f9d5f1
2020-08-24 09:53:04 -07:00
Michel Weststrate
0b528f19ce Escape table names and keys
Summary:
https://github.com/facebook/flipper/issues/1426

Changelog: [Databases] Fixed escaping of column names, see #1426

Reviewed By: jknoxville

Differential Revision: D23293248

fbshipit-source-id: 6acbb87727524ba2bdc7973cad8c124a3ee026e6
2020-08-24 08:08:25 -07:00
John Knox
39a465b8b8 Use idb to poll for devices, if it is installed
Summary:
Bringing the pkd CPU usage fix to open source releases.

Now when idb is installed, Flipper will always use it to check for devices, and only fallback to instruments if not.

Fixes https://github.com/facebook/flipper/issues/1028

Reviewed By: passy

Differential Revision: D23293675

fbshipit-source-id: 6ff3e89167f5f6d4130f197b2a675202334d0e7d
2020-08-24 07:53:00 -07:00
Rakha Kanz Kautsar
573bf8a940 Fix scoped symlink module resolution (#1482)
Summary:
Fixes https://github.com/facebook/flipper/issues/1481

## Changelog

Fix symlinked scoped module resolving to outer directory

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

Test Plan:
Added one more case to the existing test case for `getWatchFolders.ts`

```
❯ yarn run test:debug getWatchFolders
yarn run v1.22.4
$ yarn build:pkg && node --inspect node_modules/.bin/jest --runInBand getWatchFolders
$ cd pkg && yarn build
$ tsc -b
Debugger listening on ws://127.0.0.1:9229/41e16e0b-8a44-42fe-93ac-9dd9d06e418d
For help, see: https://nodejs.org/en/docs/inspector
 PASS  pkg-lib/src/__tests__/getWatchFolders.node.ts
  getWatchFolders
    ✓ getWatchFolders correctly resolves symlinked packages (12 ms)

Test Suites: 1 passed, 1 total
Tests:       1 passed, 1 total
Snapshots:   1 passed, 1 total
Time:        2.358 s
Ran all test suites matching /getWatchFolders/i.
{emoji:2728}  Done in 8.60s.
```

Reviewed By: mweststrate

Differential Revision: D23293357

Pulled By: nikoant

fbshipit-source-id: de2a506693727489238c6f6ec62d07526f8f0c69
2020-08-24 06:14:36 -07:00
Michel Weststrate
8a5860cb78 API reference documentation
Summary:
Documented all exposed Sandy APIs plugin developers should know about.

Honestly didn't proof-read it myself yet, but wanted to publish this diff at least before PTO, so that the information is available to anyone interested / playing with sandy

Reviewed By: jknoxville

Differential Revision: D22976373

fbshipit-source-id: c30918201d2feeb306ca0d9a3ae1ec10bdf7e2f5
2020-08-24 04:57:02 -07:00
Chaiwat Ekkaewnumchai
ecc3a280cf Fix Scroll to Left on When Element Inspected in Middle
Summary:
`scrollTo` used there caused the window to scroll to the most left when a user was inspecting an element which horizontal scroll wasn't in the most left position.

This diff removes the horizontal constrain and only scroll vertically.

Reviewed By: mweststrate

Differential Revision: D23284227

fbshipit-source-id: 7c19cac7496927c631572e222cb1d635dd1f8ea4
2020-08-24 03:36:57 -07:00
Esa Firman
f4c36377df make body option persisted across request selection (#1448)
Summary:
This PR make the formatter body option persisted across request selection as mentioned in [here](https://github.com/facebook/flipper/issues/432)

Close https://github.com/facebook/flipper/issues/432

## Changelog

Make request body option persisted across request selection

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

Test Plan:
1. Select the first request and change the body option from `parsed` to `formatted`

<img width="1432" alt="Screen Shot 2020-08-10 at 19 00 07" src="https://user-images.githubusercontent.com/1691440/89780560-de753c80-db3b-11ea-87d7-92831e16b961.png">

2. Move to second request, still in `formatted`

<img width="1431" alt="Screen Shot 2020-08-10 at 19 00 18" src="https://user-images.githubusercontent.com/1691440/89780573-e9c86800-db3b-11ea-900e-e6d02054e9ba.png">

Reviewed By: cekkaewnumchai

Differential Revision: D23264774

Pulled By: mweststrate

fbshipit-source-id: aed97642d030fa8e01e63d115e79ffb7a702c5e6
2020-08-24 03:34:20 -07:00
Michel Weststrate
223f4ac2c5 Remove startup errors (#1484)
Summary:
This diff removes some irrelevant error messages that are always logged in the OSS build, and got even reported a few times.

The yarn lock file somehow got in a state where emotion/core was included twice (probably due to having a really old yarn version here), causing the logs view to crash. So fixed that manually.

P.S. the fact that the warning in the screenshot does not take the full width is an issue in console-feed component itself, I opened https://github.com/samdenty/console-feed/pull/50 for that

## Changelog

changelog: Removed some irrelevant errors from startup flow

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

Test Plan:
Before

![Screenshot from 2020-08-19 14-18-51](https://user-images.githubusercontent.com/1820292/90639856-33454100-e227-11ea-8d34-94ec4e7ea61d.png)

After

![Screenshot from 2020-08-19 14-11-52](https://user-images.githubusercontent.com/1820292/90639881-3b9d7c00-e227-11ea-9cef-e3a96a89ba9d.png)

Reviewed By: jknoxville

Differential Revision: D23220937

Pulled By: mweststrate

fbshipit-source-id: 5f7b28adfbf99c938ad3abba75f26c6917463510
2020-08-21 10:08:22 -07:00
Michel Weststrate
81eb09e7b0 Unify error notifications (#1483)
Summary:
Note: this is to be stacked upon https://github.com/facebook/flipper/pull/1479

Note: this PR will probably not succeed against FB internal flipper, as I'm pretty sure there are more call sites that need to be updated. So consider this WIP

Currently connection errors are managed in the connection reducers, and are displayed through their own means, the error bar. Showing console.errors is also hooked up to this mechanism in FB internal flipper, but not at all in the OSS version, which means that some connection errors are never shown to the user.

Besides that there is a notification system that is used by for example the crash reporter and plugin updater.

Having effectively (at least) two notifications mechanisms is confusing and error prone. This PR unifies both approaches, and rather than having the connection reducer manage it's own errors, it leverages the more generic notifications reducer. Since, in the previous PR, console errors and warnings have become user facing (even in OSS and production builds, which wasn't the case before), there is no need anymore for a separate error bar.

I left the notifications mechanism itself as-is, but as discussed in the Sandy project the notification screen will probably be overhauled, and the system wide notifications will become in-app notifications.

## Changelog

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

Test Plan: Only updated the unit tests at this point. Manual tests still need to be done.

Reviewed By: passy

Differential Revision: D23220896

Pulled By: mweststrate

fbshipit-source-id: 8ea37cf69ce9605dc232ca90afe9e2f70da26652
2020-08-21 10:08:21 -07:00
Michel Weststrate
76b72f3d77 Fix condition on processing message queues for sandy plugins
Summary:
While converting Bloks-Script plugin, Timur found a bug where the message queue wasn't processed.

Although queue processing was unit tested, the integration into the rendering lifecycle wasn't explicitly tested and missed a TODO that already signalled this should have been implemented.

Added a unit test to verify the bug and fix. Also tested in a running Flipper instance with the converted plugin (next diff)

Reviewed By: jknoxville

Differential Revision: D23263909

fbshipit-source-id: 63783c980247bdf6c93d00a46881d7d0eb291d09
2020-08-21 09:09:34 -07:00
Dominik Wielgórski
6c7748238d Update 'open in ide' menu only if the path for a class is resolved
Summary: If myles is taking too long users might experience issues with multiple tabs open for 'open in diffusion' functionality. This diff addresses this problem by displaying 'open in ide' menu only if the path is already resolved.

Reviewed By: mweststrate

Differential Revision: D23242199

fbshipit-source-id: ffa698110d4c5e0c0e0686fbc56a7eea6b5782e6
2020-08-21 08:57:22 -07:00
Michel Weststrate
744fe01922 Some renames
Summary:
Some non-semantic changes. Mostly an earlier rename that was accidentally done only locally rather than across the codebase

Also support `.spec` test extension, which is more idiomatic Jest, since we don't use the `.node` and `.electron` distinction anymore anyway.

Reviewed By: jknoxville

Differential Revision: D22976438

fbshipit-source-id: f3abedb36cbac1e835295177117ccbca492a67a1
2020-08-20 13:32:47 -07:00
Michel Weststrate
bce3d48e71 Better handle no (valid) plugin selection
Summary: Little ux tweak, there are some rare scenarios where you can end up in an empty plugin screen, made a small message.

Reviewed By: jknoxville

Differential Revision: D22846396

fbshipit-source-id: 0ad19f1c252112d78a5587e6633fee2d9542d5e1
2020-08-20 13:32:47 -07:00
Michel Weststrate
685cc09b3b DeviceLogs plugin to Sandy
Summary:
Converted the DeviceLogs plugin to sandy.

Kept logic and UI the same (so same batching, localstorage mechanisms etc). But used sandy api's for log subscribing, state, and separating the logical part of the component from the UI.

Note that some mechanisms work slightly different, like deeplinking and scrollToBottom handling, to reflect the fact that plugins are now long lived

Reviewed By: jknoxville

Differential Revision: D22845466

fbshipit-source-id: 7c98b2ddd9121dc730768ee1bece7e71bb5bec16
2020-08-20 13:32:47 -07:00
Michel Weststrate
dd15cffa64 Introduced first class console to help users debugging issues (#1479)
Summary:
Handling issues typically start with: did you look at the Electron logs? Since Flipper is such an extensible tool, running in varying environments I think the console should be support as first class concept. Many errors are currently not shown to the user. This PR is a first attempt to fix that.

The implementation is based on https://github.com/samdenty/console-feed, which is used by quite some web based IDE like tools (like codesandbox), and offers a lot of goodies out of the box, like collapsing errors, objects, etc.

Edit: also added a counter keeping track of the amount of errors

N.B. no need to immediately review this diff, I'll import it to phabricator as soon as I can :)

## Changelog

changelog: Introduce 'Debug Logs' section to help users to troubleshoot issues or to provide more accurate reports.

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

Test Plan: ![Screenshot from 2020-08-18 15-29-55](https://user-images.githubusercontent.com/1820292/90526011-c9b22d80-e167-11ea-88cf-7b4e07918a96.png)

Reviewed By: jknoxville

Differential Revision: D23198103

Pulled By: passy

fbshipit-source-id: a2505f9fa59e10676a44ffa33312efe83c7be55d
2020-08-20 13:27:48 -07:00
John Knox
baa29d0b49 Manually fix up imported pages
Summary:
I've gone through all imported pages and fixed all images and links (and anything else) that didn't get converted successfully.

Also changed the new # headings to use ##, because it works better here.

And organized the sidebar like it was on the wiki

Reviewed By: passy

Differential Revision: D23241772

fbshipit-source-id: 7eab8d7d520c5d605525d9b4ad9b12b48ca92bcc
2020-08-20 12:48:57 -07:00
John Knox
c6569470f4 Import internal pages from wiki
Summary:
This is the unadulterated output from running:
`yarn start static-docs-from-wiki --wiki_name Flipper --site_dir xplat/sonar/website`

Reviewed By: passy

Differential Revision: D23241773

fbshipit-source-id: 136e99130c77bedfb66bb31e31a7b331278857bb
2020-08-20 12:48:57 -07:00
GitHub
4228e0dd26 Automated: Update Podfile.lock (#1485)
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/1485

Reviewed By: priteshrnandgaonkar

Differential Revision: D23241704

Pulled By: passy

fbshipit-source-id: 025947bdf480bdee800717396c1317a5926c6210
2020-08-20 08:26:37 -07:00
Michel Weststrate
f342561196 Better error handling (#1478)
Summary:
Show a notification if device connect failed, or if USB debugging hasn't been authorized

When trying to run Flipper on my linux device, it didn't connect to my phone ootb. `adb devices` showed the device, and the flipper console did show an error, which, correctly stated that the device isn't authorized, but I missed the popup on my phone. This hopefully removes one hindrance for others in the future when connecting Flipper to Android.

## Changelog

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

Test Plan:
Before (no hint in Flipper UI):

![Screenshot from 2020-08-18 12-11-27](https://user-images.githubusercontent.com/1820292/90509026-9ca65080-e150-11ea-9119-2ba68633566a.png)

After:
Desktop notification + notification in notifications section

![Screenshot from 2020-08-18 12-47-10](https://user-images.githubusercontent.com/1820292/90509353-1b02f280-e151-11ea-899a-47d59ec93dcc.png)
![Screenshot from 2020-08-18 12-47-40](https://user-images.githubusercontent.com/1820292/90509358-1d654c80-e151-11ea-82c0-e86c5c34390d.png)

(sorry, had a movie, but can't access paste and GH doesn't allow them)

Reviewed By: passy

Differential Revision: D23220915

Pulled By: mweststrate

fbshipit-source-id: 4f4bc8023612301191ece62b9bc2bd008f3bb3cb
2020-08-20 02:58:07 -07:00
root@sandcastle1328.prn2.facebook.com
c38071e9ba Flipper Snapshot Bump: v0.53.1-SNAPSHOT
Summary: Releasing snapshot version 0.53.1-SNAPSHOT

Reviewed By: priteshrnandgaonkar

Differential Revision: D23213489

fbshipit-source-id: 97ceab6b351fd2feea65c0d5fe75ccdd2728881b
2020-08-19 09:28:02 -07:00
root@sandcastle1328.prn2.facebook.com
f1c3bf8697 Flipper Release: v0.53.0
Summary: Releasing version 0.53.0

Reviewed By: priteshrnandgaonkar

Differential Revision: D23213490

fbshipit-source-id: 66dfa59dbae33d372bad9e284f9773e2ab88487b
2020-08-19 08:22:00 -07:00
Pritesh Nandgaonkar
3c3d76be60 Send flipperstate to cert downloader
Summary: Add flipperstate to the cert downloader.

Reviewed By: jknoxville

Differential Revision: D23172851

fbshipit-source-id: f0eb23ec709d656918831c2ee82a6ddb426596e5
2020-08-18 17:16:43 -07:00
Pritesh Nandgaonkar
2e98c7f3c7 Solve the bug where iOS physical device was not detected
Summary:
As per the title

Bug:

{F288338655}

Reviewed By: mweststrate

Differential Revision: D23168390

fbshipit-source-id: e57ac1f22c0a3932fe9948d16cf9fc9cc74ab636
2020-08-18 04:16:15 -07:00
Pascal Hartig
6170bfea41 Upgrade fs-extra
Summary: Bringing this to the latest version everywhere.

Reviewed By: priteshrnandgaonkar

Differential Revision: D23051537

fbshipit-source-id: 5cad59ab6fcc57fc72df8ace985a7b5f39de2bda
2020-08-18 03:32:09 -07:00
dependabot[bot]
10b3c7db0b Bump eslint-plugin-react-hooks from 4.0.4 to 4.1.0 in /flipper-js-client-sdk (#1475)
Summary:
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 4.0.4 to 4.1.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react/blob/master/packages/eslint-plugin-react-hooks/CHANGELOG.md">eslint-plugin-react-hooks's changelog</a>.</em></p>
<blockquote>
<h2>4.1.0</h2>
<ul>
<li><strong>New Violations:</strong> Warn when dependencies change on every render. (<a href="https://github.com/captbaritone">captbaritone</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19590">#19590</a>)</li>
</ul>
<h2>4.0.8</h2>
<ul>
<li>Fixes TypeScript <code>typeof</code> annotation to not be considered a dependency. (<a href="https://github.com/delca85">delca85</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19316">#19316</a>)</li>
</ul>
<h2>4.0.7</h2>
<ul>
<li>Fixes an overly coarse dependency suggestion. (<a href="https://github.com/gaearon">gaearon</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19313">#19313</a>)</li>
</ul>
<h2>4.0.6</h2>
<ul>
<li>Fix crashes and other bugs related to optional chaining. (<a href="https://github.com/gaearon">gaearon</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19273">#19273</a> and <a href="https://github-redirect.dependabot.com/facebook/react/pull/19275">#19275</a>)</li>
</ul>
<h2>4.0.5</h2>
<ul>
<li>Fix a crash when the dependency array has an empty element. (<a href="https://github.com/yeonjuan">yeonjuan</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19145">#19145</a>)</li>
<li>Fix a false positive warning that occurs with optional chaining. (<a href="https://github.com/fredvollmer">fredvollmer</a> in <a href="https://github-redirect.dependabot.com/facebook/react/pull/19061">#19061</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D23161698

Pulled By: passy

fbshipit-source-id: 725c377f627b2555a85487ef39cebe372205d394
2020-08-18 03:28:01 -07:00
dependabot[bot]
156b00ba42 Bump data-encoding from 2.2.0 to 2.3.0 in /packer (#1449)
Summary:
Bumps [data-encoding](https://github.com/ia0/data-encoding) from 2.2.0 to 2.3.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="c0facaff53"><code>c0facaf</code></a> Release 2.3.0</li>
<li><a href="d215bc04cb"><code>d215bc0</code></a> lib: Add encode_append function</li>
<li><a href="07dfc9bde4"><code>07dfc9b</code></a> Remove fuzzit</li>
<li><a href="eaa9e11482"><code>eaa9e11</code></a> Release 2.2.1</li>
<li><a href="5aa1d4709b"><code>5aa1d47</code></a> lib: move cargo.toml badges to readme</li>
<li><a href="b6de71c398"><code>b6de71c</code></a> fix coveralls badge</li>
<li><a href="5d4ce64fbb"><code>5d4ce64</code></a> lib: use tarpaulin</li>
<li><a href="9b53af1e4a"><code>9b53af1</code></a> lib: explicit description</li>
<li><a href="f9d4bc3fc2"><code>f9d4bc3</code></a> lib: Add no-std category in Cargo.toml</li>
<li><a href="168aff449e"><code>168aff4</code></a> Release macro 0.1.8</li>
<li>See full diff in <a href="https://github.com/ia0/data-encoding/compare/v2.2.0...v2.3.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=data-encoding&package-manager=cargo&previous-version=2.2.0&new-version=2.3.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/1449

Reviewed By: mweststrate

Differential Revision: D23161719

Pulled By: passy

fbshipit-source-id: a7512b96ea8336595435f7a1eed5043b1578d642
2020-08-18 03:00:01 -07:00
dependabot[bot]
83227ff771 Bump jest from 26.2.2 to 26.3.0 in /react-native/ReactNativeFlipperExample (#1451)
Summary:
Bumps [jest](https://github.com/facebook/jest) from 26.2.2 to 26.3.0.
<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.3.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-circus, jest-jasmine2]</code> Include <code>failureDetails</code> property in test results (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9496">#9496</a>)</li>
<li><code>[jest-each, jest-jasmine, jest-circus]</code> Add support for <code>.concurrent.each</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9326">#9326</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[jest-config]</code> Add <code>.pnp.js</code> to <code>transformIgnorePatterns</code> defaults (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10383">#10383</a>)</li>
<li><code>[jest-leak-detector]</code> Wait properly for GC runs due to changes in Node 14.7 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10366">#10366</a>)</li>
<li><code>[jest-worker]</code> Downgrade minimum node version to 10.13 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10352">#10352</a>)</li>
<li><code>[docs]</code> Update snapshot testing documentation(<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10359">#10359</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.3.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-circus, jest-jasmine2]</code> Include <code>failureDetails</code> property in test results (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9496">#9496</a>)</li>
<li><code>[jest-each, jest-jasmine, jest-circus]</code> Add support for <code>.concurrent.each</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9326">#9326</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[jest-config]</code> Add <code>.pnp.js</code> to <code>transformIgnorePatterns</code> defaults (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10383">#10383</a>)</li>
<li><code>[jest-leak-detector]</code> Wait properly for GC runs due to changes in Node 14.7 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10366">#10366</a>)</li>
<li><code>[jest-worker]</code> Downgrade minimum node version to 10.13 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10352">#10352</a>)</li>
<li><code>[docs]</code> Update snapshot testing documentation(<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10359">#10359</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3a7e06fe85"><code>3a7e06f</code></a> v26.3.0</li>
<li><a href="df97ce6b99"><code>df97ce6</code></a> chore: update changelog for release</li>
<li><a href="0cb9a027f4"><code>0cb9a02</code></a> chore: bump types/weak</li>
<li><a href="96097ade17"><code>96097ad</code></a> Add <code>.pnp.js</code> to <code>transformIgnorePatterns</code> defaults (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/10383">#10383</a>)</li>
<li><a href="1d5074a274"><code>1d5074a</code></a> Update the term &quot;mobile app&quot; to &quot;web app&quot; in snapshot testing documentation (...</li>
<li><a href="7723ae221a"><code>7723ae2</code></a> chore: bump deps (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/10365">#10365</a>)</li>
<li><a href="c95abca808"><code>c95abca</code></a> feat: support <code>concurrent</code> in Jest Each (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/9326">#9326</a>)</li>
<li><a href="f07775154b"><code>f077751</code></a> fix(leak-detector): wait more ticks for GC to run (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/10366">#10366</a>)</li>
<li><a href="9625826599"><code>9625826</code></a> chore: update <code>ts-expect-error</code> comments and tests (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/10356">#10356</a>)</li>
<li><a href="321838f7d1"><code>321838f</code></a> fix(worker): downgrade minimum required node version to 10.13 (<a href="https://github-redirect.dependabot.com/facebook/jest/issues/10352">#10352</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/jest/compare/v26.2.2...v26.3.0">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.2.2&new-version=26.3.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/1451

Reviewed By: priteshrnandgaonkar

Differential Revision: D23074837

Pulled By: passy

fbshipit-source-id: 0f44f6aa5be6cffcf5b5b10e0dbf0d1b3d12ce1d
2020-08-17 13:39:52 -07:00
Dominik Wielgórski
8aa29d00f2 Display Xcode for CK and Android Studio for Litho Components
Summary:
Detect the framework used for a given component and accordingly, display a proper IDE list.

[FB Only]
changelog: It is now possible to directly open CKComponents from the Layout inspect

Reviewed By: adityasharat

Differential Revision: D23158628

fbshipit-source-id: 305f10752c72eac001334f09bab29264e3e328a6
2020-08-17 10:20:53 -07:00
Dominik Wielgórski
7d0dd3c656 Implemented method to get CKComponent path
Summary:
Added corresponding method for CKComponents which handles two main cases:

- CKSomeComponent_Spec should have corresponding CKSomeComponentSpec.mm

- CKSomeComponent should have corresponding CKSomeComponent.mm

Reviewed By: cuva

Differential Revision: D23158626

fbshipit-source-id: 9d5645a70d838847696aced6bbc947a8c4383f0c
2020-08-17 10:20:53 -07:00
Dominik Wielgórski
41f1a0b454 Extra data send from iOS to Flipper Desktop
Summary: Added `extraInfo` for node descriptor for ios. Analogical to android node descriptor

Reviewed By: cuva, Andrey-Mishanin

Differential Revision: D23105947

fbshipit-source-id: f21541e97d79c0009815f94e733a056320324459
2020-08-17 10:20:53 -07:00
Dominik Wielgórski
939ed27aad Detect if given Component is LithoComponent
Summary: Useful for next diffs: enables to detect whether we have LithoComponent or CKComponent

Reviewed By: adityasharat

Differential Revision: D23128972

fbshipit-source-id: b9aef358c1426df4f05213c42e43402e8cae984f
2020-08-17 10:20:53 -07:00
Dominik Wielgórski
26b54ece5a Add functionality to resolve Litho Components / Sections
Summary:
Few cases to consider:
- SomeComponent.* might correspond to SomeComponentSpec.java
- SomeComponent.* might correspond to SomeComponentSpec.kt
- SomeComponent.* might not have a corresponding Spec file
- SomeComponent.kt (if it's a KComponent) corresponds to SomeComponent.kt

Reviewed By: adityasharat

Differential Revision: D23100032

fbshipit-source-id: f0604f3d1061f0e15fa2f455bdddd4d07ac12305
2020-08-17 10:20:53 -07:00
Dominik Wielgórski
641d39cf94 Added extension to getBestPath API
Summary: Expand API by passing a default extension

Reviewed By: adityasharat

Differential Revision: D23078940

fbshipit-source-id: c9303add194e85deb174a8fc343e37b73f59d1c0
2020-08-17 10:20:53 -07:00
Andrey Mishanin
f40c0b9f1e Add highlight for nodes in tree
Summary:
- Passing the `treeNodeIndexPath` from `FocusInfo` all the way to the `Tree` component.
- Using the index path to find the right node and give it a different visual appearance.

Reviewed By: kevin0571

Differential Revision: D23161057

fbshipit-source-id: 05a95444bb76c1f28a21b42bf477ed9c9929e3b1
2020-08-17 08:04:53 -07:00
Andrey Mishanin
7989b4792a Handling payload
Summary:
- Added `treeNodeIndexPath` to `FocusInfo` which represents the path to the selected node in the component tree.
- Extracting scope root ID from payload to identify the time line track that corresponds to the selected component.
- Finding the most recent 'Tree Build' event on the track so we can be sure the selected component is in the associated component tree.
- Extracting the index path to the selected node in the tree.

Reviewed By: kevin0571

Differential Revision: D23160875

fbshipit-source-id: 8607bf7b34bca1374f9fafded197b35c811f3f75
2020-08-17 08:04:53 -07:00
Andrey Mishanin
4fc63da386 Wrap focusedGenerationId in a type
Summary:
- Use `FocusInfo` type instead of a raw string (I'll add another field to it in the next diff and it made sense to keep the changes separate).
- `userSelectedGenerationId` now has the type of `string | undefined` for consistency.

Reviewed By: fabiomassimo

Differential Revision: D23160820

fbshipit-source-id: f210d93b9ed7cb25eb3c2c8e6e6aadec4dc872d7
2020-08-17 08:04:53 -07:00
Pritesh Nandgaonkar
f626925443 Upload/Download certs zip from Flipper
Summary:
This diff adds upload and download logic for certs. It makes changes on both Flipper Client and Desktop side. With this we enable cert exchange through WWW.

Next Diffs:

1) Add Flipper state in cert provider for more debug data
2) Tests

Reviewed By: jknoxville

Differential Revision: D23092706

fbshipit-source-id: e576253606b64b62848b70203db7e09a3bd77fd9
2020-08-17 06:51:52 -07:00
John Knox
6e0b407063 Make it light mode by default
Summary:
The new version's disableSwitch isn't equivalent to disabling dark mode like it did before. The default is still dark but now there's no way to change it.

This makes the default light again. Would be nice to enable the dark mode switch, we just need someone to make sure the CSS colours have good enough contrast etc. PRs very welcome!

Dark mode:

{F287823751}

Reviewed By: mweststrate

Differential Revision: D23161145

fbshipit-source-id: fa887afbffa8a1e1e753833b2dba618c5f93435f
2020-08-17 06:19:34 -07:00
John Knox
46e9637cf2 Add openssl for windows download link
Summary: Pointed out in https://github.com/facebook/flipper/issues/1440

Reviewed By: passy

Differential Revision: D23132527

fbshipit-source-id: a1357b7c26d0b27f6eedabe2fd2dcfae647a878c
2020-08-17 02:34:43 -07:00
Austin Wang
0d53935b81 Add papercuts link to star rating popup
Summary:
Added papercuts link to the thanks message after user submits a rating within the star rating popup.
Also increased the timeout after submitting ratings from 1500 to 5000, due to the longer thanks message. Also added a dismiss option.

Reviewed By: jknoxville

Differential Revision: D23115320

fbshipit-source-id: 78de3481e5a085949ddbfbdd51ff499b8b567959
2020-08-14 10:35:36 -07:00
John Knox
21a7655322 Upgrade docusaurus version
Summary:
Upgrading to 61 to get support for absolute links with markdown syntax.

All other changes here are required by the new config validators.

Reviewed By: passy

Differential Revision: D23130020

fbshipit-source-id: cadb3c629d6a8e64931a8db0b86621d05ee5c30e
2020-08-14 10:33:02 -07:00
Chaiwat Ekkaewnumchai
1de1390621 Fixed serialize-javascript Vulnerability
Summary: per title

Reviewed By: passy

Differential Revision: D23104200

fbshipit-source-id: f81e7feacbc88cc76bc64343d7e946a18faca1a5
2020-08-14 03:54:57 -07:00
dependabot[bot]
01b2b84444 Bump babel-jest from 26.2.2 to 26.3.0 in /react-native/ReactNativeFlipperExample (#1456)
Summary:
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 26.2.2 to 26.3.0.
<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.3.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-circus, jest-jasmine2]</code> Include <code>failureDetails</code> property in test results (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9496">#9496</a>)</li>
<li><code>[jest-each, jest-jasmine, jest-circus]</code> Add support for <code>.concurrent.each</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9326">#9326</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[jest-config]</code> Add <code>.pnp.js</code> to <code>transformIgnorePatterns</code> defaults (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10383">#10383</a>)</li>
<li><code>[jest-leak-detector]</code> Wait properly for GC runs due to changes in Node 14.7 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10366">#10366</a>)</li>
<li><code>[jest-worker]</code> Downgrade minimum node version to 10.13 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10352">#10352</a>)</li>
<li><code>[docs]</code> Update snapshot testing documentation(<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10359">#10359</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.3.0</h2>
<h3>Features</h3>
<ul>
<li><code>[jest-circus, jest-jasmine2]</code> Include <code>failureDetails</code> property in test results (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9496">#9496</a>)</li>
<li><code>[jest-each, jest-jasmine, jest-circus]</code> Add support for <code>.concurrent.each</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9326">#9326</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[jest-config]</code> Add <code>.pnp.js</code> to <code>transformIgnorePatterns</code> defaults (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10383">#10383</a>)</li>
<li><code>[jest-leak-detector]</code> Wait properly for GC runs due to changes in Node 14.7 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10366">#10366</a>)</li>
<li><code>[jest-worker]</code> Downgrade minimum node version to 10.13 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10352">#10352</a>)</li>
<li><code>[docs]</code> Update snapshot testing documentation(<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10359">#10359</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3a7e06fe85"><code>3a7e06f</code></a> v26.3.0</li>
<li><a href="7723ae221a"><code>7723ae2</code></a> chore: bump deps (<a href="https://github.com/facebook/jest/tree/HEAD/packages/babel-jest/issues/10365">#10365</a>)</li>
<li>See full diff in <a href="https://github.com/facebook/jest/commits/v26.3.0/packages/babel-jest">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: cekkaewnumchai

Differential Revision: D23074843

Pulled By: passy

fbshipit-source-id: b017657033531973362c6e36d77f361c86372134
2020-08-14 02:58:16 -07:00
Samyukta Varshney
fe93bce589 Removing Extra space (#1464)
Summary:
Removing extra space in README.md

## Changelog

Change in README.md

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

Test Plan: Removing extra space between text

Reviewed By: cekkaewnumchai

Differential Revision: D23103953

Pulled By: passy

fbshipit-source-id: e5f0b6338d64ca2384fe1c42efce1604088c6ce7
2020-08-13 08:08:49 -07:00