Commit Graph

7486 Commits

Author SHA1 Message Date
dependabot[bot]
142e06cdde Bump eslint from 8.17.0 to 8.21.0 in /js/js-flipper (#3958)
Summary:
Bumps [eslint](https://github.com/eslint/eslint) from 8.17.0 to 8.21.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/eslint/eslint/releases">eslint's releases</a>.</em></p>
<blockquote>
<h2>v8.21.0</h2>
<h2>Features</h2>
<ul>
<li><a href="7b43ea14a8"><code>7b43ea1</code></a> feat: Implement FlatESLint (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16149">#16149</a>) (Nicholas C. Zakas)</li>
<li><a href="92bf49a4b3"><code>92bf49a</code></a> feat: improve the key width calculation in <code>key-spacing</code> rule (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16154">#16154</a>) (Nitin Kumar)</li>
<li><a href="c4615421cb"><code>c461542</code></a> feat: add new <code>allowLineSeparatedGroups</code> option to the <code>sort-keys</code> rule (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16138">#16138</a>) (Nitin Kumar)</li>
<li><a href="1cdcbca8a9"><code>1cdcbca</code></a> feat: add deprecation warnings for legacy API in <code>RuleTester</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16063">#16063</a>) (Nitin Kumar)</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><a href="0396775527"><code>0396775</code></a> fix: lines-around-comment apply <code>allowBlockStart</code> for switch statements (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16153">#16153</a>) (Nitin Kumar)</li>
</ul>
<h2>Documentation</h2>
<ul>
<li><a href="2aadc93272"><code>2aadc93</code></a> docs: add anchors to headings inside docs content (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16134">#16134</a>) (Strek)</li>
</ul>
<h2>Chores</h2>
<ul>
<li><a href="8892511948"><code>8892511</code></a> chore: Upgrade to Espree 9.3.3 (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16173">#16173</a>) (Brandon Mills)</li>
<li><a href="1233beea39"><code>1233bee</code></a> chore: switch to eslint-plugin-node's maintained fork (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16150">#16150</a>) (唯然)</li>
<li><a href="97b95c068d"><code>97b95c0</code></a> chore: upgrade puppeteer v13 (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16151">#16151</a>) (唯然)</li>
</ul>
<h2>v8.20.0</h2>
<h2>Features</h2>
<ul>
<li><a href="ca83178b18"><code>ca83178</code></a> feat: catch preprocess errors (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16105">#16105</a>) (JounQin)</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><a href="30be0ed4d8"><code>30be0ed</code></a> fix: no-warning-comments rule escapes special RegEx characters in terms (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16090">#16090</a>) (Lachlan Hunt)</li>
<li><a href="bfe5e88409"><code>bfe5e88</code></a> fix: ignore spacing before <code>]</code> and <code>}</code> in comma-spacing (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16113">#16113</a>) (Milos Djermanovic)</li>
</ul>
<h2>Documentation</h2>
<ul>
<li><a href="845c4f4027"><code>845c4f4</code></a> docs: Add website team details (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16115">#16115</a>) (Nicholas C. Zakas)</li>
<li><a href="5a0dfdb993"><code>5a0dfdb</code></a> docs: Link to blog post in no-constant-binary-expression (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16112">#16112</a>) (Jordan Eldredge)</li>
<li><a href="bc692a9bf5"><code>bc692a9</code></a> docs: remove install command (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16084">#16084</a>) (Strek)</li>
<li><a href="49ca3f0904"><code>49ca3f0</code></a> docs: don't show toc when content not found (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16095">#16095</a>) (Amaresh  S M)</li>
<li><a href="ba19e3f80a"><code>ba19e3f</code></a> docs: enhance 404 page UI (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16097">#16097</a>) (Amaresh  S M)</li>
<li><a href="a75d3b47b8"><code>a75d3b4</code></a> docs: remove unused meta.docs.category field in working-with-rules page (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16109">#16109</a>) (Brandon Scott)</li>
<li><a href="cdc0206390"><code>cdc0206</code></a> docs: add formatters page edit link (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16094">#16094</a>) (Amaresh  S M)</li>
<li><a href="4d1ed22ded"><code>4d1ed22</code></a> docs: preselect default theme (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16098">#16098</a>) (Strek)</li>
<li><a href="4b79612f0b"><code>4b79612</code></a> docs: add missing correct/incorrect containers (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16087">#16087</a>) (Milos Djermanovic)</li>
<li><a href="09f6acbf21"><code>09f6acb</code></a> docs: fix UI bug on rules index and details pages (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16082">#16082</a>) (Deepshika S)</li>
<li><a href="f5db264931"><code>f5db264</code></a> docs: remove remaining duplicate rule descriptions (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16093">#16093</a>) (Milos Djermanovic)</li>
<li><a href="32a6b2a5ca"><code>32a6b2a</code></a> docs: Add scroll behaviour smooth (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16056">#16056</a>) (Amaresh  S M)</li>
</ul>
<h2>Chores</h2>
<ul>
<li><a href="bbf8df41c9"><code>bbf8df4</code></a> chore: Mark autogenerated release blog post as draft (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16130">#16130</a>) (Nicholas C. Zakas)</li>
<li><a href="eee43067f6"><code>eee4306</code></a> chore: update internal lint dependencies (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16088">#16088</a>) (Bryan Mishkin)</li>
<li><a href="9615a42c9f"><code>9615a42</code></a> chore: update formatter examples template to avoid markdown lint error (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16085">#16085</a>) (Milos Djermanovic)</li>
<li><a href="62541edf58"><code>62541ed</code></a> chore: fix markdown linting error (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16083">#16083</a>) (唯然)</li>
</ul>
<h2>v8.19.0</h2>
<h2>Features</h2>
<ul>
<li><a href="7023628eb3"><code>7023628</code></a> feat: add importNames support for patterns in no-restricted-imports (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16059">#16059</a>) (Brandon Scott)</li>
<li><a href="472c368136"><code>472c368</code></a> feat: fix handling of blockless <code>with</code> statements in indent rule (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16068">#16068</a>) (Milos Djermanovic)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/eslint/eslint/blob/main/CHANGELOG.md">eslint's changelog</a>.</em></p>
<blockquote>
<p>v8.21.0 - August 1, 2022</p>
<ul>
<li><a href="7b43ea14a8"><code>7b43ea1</code></a> feat: Implement FlatESLint (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16149">#16149</a>) (Nicholas C. Zakas)</li>
<li><a href="8892511948"><code>8892511</code></a> chore: Upgrade to Espree 9.3.3 (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16173">#16173</a>) (Brandon Mills)</li>
<li><a href="92bf49a4b3"><code>92bf49a</code></a> feat: improve the key width calculation in <code>key-spacing</code> rule (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16154">#16154</a>) (Nitin Kumar)</li>
<li><a href="c4615421cb"><code>c461542</code></a> feat: add new <code>allowLineSeparatedGroups</code> option to the <code>sort-keys</code> rule (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16138">#16138</a>) (Nitin Kumar)</li>
<li><a href="1cdcbca8a9"><code>1cdcbca</code></a> feat: add deprecation warnings for legacy API in <code>RuleTester</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16063">#16063</a>) (Nitin Kumar)</li>
<li><a href="0396775527"><code>0396775</code></a> fix: lines-around-comment apply <code>allowBlockStart</code> for switch statements (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16153">#16153</a>) (Nitin Kumar)</li>
<li><a href="2aadc93272"><code>2aadc93</code></a> docs: add anchors to headings inside docs content (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16134">#16134</a>) (Strek)</li>
<li><a href="1233beea39"><code>1233bee</code></a> chore: switch to eslint-plugin-node's maintained fork (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16150">#16150</a>) (唯然)</li>
<li><a href="97b95c068d"><code>97b95c0</code></a> chore: upgrade puppeteer v13 (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16151">#16151</a>) (唯然)</li>
</ul>
<p>v8.20.0 - July 16, 2022</p>
<ul>
<li><a href="bbf8df41c9"><code>bbf8df4</code></a> chore: Mark autogenerated release blog post as draft (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16130">#16130</a>) (Nicholas C. Zakas)</li>
<li><a href="845c4f4027"><code>845c4f4</code></a> docs: Add website team details (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16115">#16115</a>) (Nicholas C. Zakas)</li>
<li><a href="5a0dfdb993"><code>5a0dfdb</code></a> docs: Link to blog post in no-constant-binary-expression (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16112">#16112</a>) (Jordan Eldredge)</li>
<li><a href="bc692a9bf5"><code>bc692a9</code></a> docs: remove install command (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16084">#16084</a>) (Strek)</li>
<li><a href="30be0ed4d8"><code>30be0ed</code></a> fix: no-warning-comments rule escapes special RegEx characters in terms (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16090">#16090</a>) (Lachlan Hunt)</li>
<li><a href="ca83178b18"><code>ca83178</code></a> feat: catch preprocess errors (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16105">#16105</a>) (JounQin)</li>
<li><a href="49ca3f0904"><code>49ca3f0</code></a> docs: don't show toc when content not found (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16095">#16095</a>) (Amaresh  S M)</li>
<li><a href="ba19e3f80a"><code>ba19e3f</code></a> docs: enhance 404 page UI (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16097">#16097</a>) (Amaresh  S M)</li>
<li><a href="bfe5e88409"><code>bfe5e88</code></a> fix: ignore spacing before <code>]</code> and <code>}</code> in comma-spacing (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16113">#16113</a>) (Milos Djermanovic)</li>
<li><a href="a75d3b47b8"><code>a75d3b4</code></a> docs: remove unused meta.docs.category field in working-with-rules page (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16109">#16109</a>) (Brandon Scott)</li>
<li><a href="cdc0206390"><code>cdc0206</code></a> docs: add formatters page edit link (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16094">#16094</a>) (Amaresh  S M)</li>
<li><a href="4d1ed22ded"><code>4d1ed22</code></a> docs: preselect default theme (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16098">#16098</a>) (Strek)</li>
<li><a href="4b79612f0b"><code>4b79612</code></a> docs: add missing correct/incorrect containers (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16087">#16087</a>) (Milos Djermanovic)</li>
<li><a href="09f6acbf21"><code>09f6acb</code></a> docs: fix UI bug on rules index and details pages (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16082">#16082</a>) (Deepshika S)</li>
<li><a href="f5db264931"><code>f5db264</code></a> docs: remove remaining duplicate rule descriptions (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16093">#16093</a>) (Milos Djermanovic)</li>
<li><a href="32a6b2a5ca"><code>32a6b2a</code></a> docs: Add scroll behaviour smooth (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16056">#16056</a>) (Amaresh  S M)</li>
<li><a href="eee43067f6"><code>eee4306</code></a> chore: update internal lint dependencies (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16088">#16088</a>) (Bryan Mishkin)</li>
<li><a href="9615a42c9f"><code>9615a42</code></a> chore: update formatter examples template to avoid markdown lint error (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16085">#16085</a>) (Milos Djermanovic)</li>
<li><a href="62541edf58"><code>62541ed</code></a> chore: fix markdown linting error (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16083">#16083</a>) (唯然)</li>
</ul>
<p>v8.19.0 - July 1, 2022</p>
<ul>
<li><a href="7023628eb3"><code>7023628</code></a> feat: add importNames support for patterns in no-restricted-imports (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16059">#16059</a>) (Brandon Scott)</li>
<li><a href="472c368136"><code>472c368</code></a> feat: fix handling of blockless <code>with</code> statements in indent rule (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16068">#16068</a>) (Milos Djermanovic)</li>
<li><a href="fc81848238"><code>fc81848</code></a> fix: throw helpful exception when rule has wrong return type (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16075">#16075</a>) (Bryan Mishkin)</li>
<li><a href="e88493395b"><code>e884933</code></a> chore: use <code>github-slugger</code> for markdown anchors (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16067">#16067</a>) (Strek)</li>
<li><a href="02e9cb01e7"><code>02e9cb0</code></a> chore: revamp carbon ad style (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16078">#16078</a>) (Amaresh  S M)</li>
<li><a href="3ae0574fc7"><code>3ae0574</code></a> docs: Remove duplicate rule descriptions (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16052">#16052</a>) (Amaresh  S M)</li>
<li><a href="b6aee9591e"><code>b6aee95</code></a> chore: remove unwanted comments from rules markdown (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16054">#16054</a>) (Strek)</li>
<li><a href="f50cf436aa"><code>f50cf43</code></a> docs: Add base href to each page to fix relative URLs (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16046">#16046</a>) (Nicholas C. Zakas)</li>
<li><a href="6840940a76"><code>6840940</code></a> chore: correctly use .markdownlintignore in Makefile (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16060">#16060</a>) (Bryan Mishkin)</li>
<li><a href="ae4b449719"><code>ae4b449</code></a> docs: make logo link clickable on small width screens (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16058">#16058</a>) (Milos Djermanovic)</li>
<li><a href="280f898bff"><code>280f898</code></a> docs: use only fenced code blocks (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16044">#16044</a>) (Milos Djermanovic)</li>
<li><a href="f5d63b9e15"><code>f5d63b9</code></a> docs: add listener only if element exists (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16045">#16045</a>) (Amaresh  S M)</li>
<li><a href="8b639ccb2f"><code>8b639cc</code></a> docs: add missing migrating-to-8.0.0 in the user guide (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16048">#16048</a>) (唯然)</li>
<li><a href="b8e68c1f7e"><code>b8e68c1</code></a> docs: Update release process (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16036">#16036</a>) (Nicholas C. Zakas)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="9c53ed4025"><code>9c53ed4</code></a> 8.21.0</li>
<li><a href="fd404a5cb3"><code>fd404a5</code></a> Build: changelog update for 8.21.0</li>
<li><a href="7b43ea14a8"><code>7b43ea1</code></a> feat: Implement FlatESLint (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16149">#16149</a>)</li>
<li><a href="8892511948"><code>8892511</code></a> chore: Upgrade to Espree 9.3.3 (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16173">#16173</a>)</li>
<li><a href="92bf49a4b3"><code>92bf49a</code></a> feat: improve the key width calculation in <code>key-spacing</code> rule (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16154">#16154</a>)</li>
<li><a href="c4615421cb"><code>c461542</code></a> feat: add new <code>allowLineSeparatedGroups</code> option to the <code>sort-keys</code> rule (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16138">#16138</a>)</li>
<li><a href="1cdcbca8a9"><code>1cdcbca</code></a> feat: add deprecation warnings for legacy API in <code>RuleTester</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16063">#16063</a>)</li>
<li><a href="0396775527"><code>0396775</code></a> fix: lines-around-comment apply <code>allowBlockStart</code> for switch statements (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16153">#16153</a>)</li>
<li><a href="2aadc93272"><code>2aadc93</code></a> docs: add anchors to headings inside docs content (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16134">#16134</a>)</li>
<li><a href="1233beea39"><code>1233bee</code></a> chore: switch to eslint-plugin-node's maintained fork (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16150">#16150</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/eslint/eslint/compare/v8.17.0...v8.21.0">compare view</a></li>
</ul>
</details>
<br />

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

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

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

 ---

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

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

</details>

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

Reviewed By: lblasa

Differential Revision: D38315183

Pulled By: LukeDefeo

fbshipit-source-id: 5903cc91d8de04c956c3bf4e0fdf8c99807fb452
2022-08-01 10:33:56 -07:00
Luke De Feo
bea884a682 fix broken link in docs
Summary: .

Reviewed By: lblasa

Differential Revision: D38312702

fbshipit-source-id: d3296dfe65b3ba4242a47179ec08911c500bf2d5
2022-08-01 09:27:19 -07:00
dependabot[bot]
581f6eb36b Bump metro-react-native-babel-preset from 0.71.0 to 0.72.0 in /react-native/ReactNativeFlipperExample (#3954)
Summary:
Bumps [metro-react-native-babel-preset](https://github.com/facebook/metro) from 0.71.0 to 0.72.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.72.0</h2>
<ul>
<li><strong>[Breaking]</strong> Enable React 17 new JSX transform (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/848">facebook/metro#848</a> by <a href="https://github.com/danilobuerger"><code>@​danilobuerger</code></a>)</li>
<li><strong>‌[Breaking]</strong> Add <code>watcher.additionalExts</code> option, enable inclusion of <code>.cjs</code> and <code>.mjs</code> files by default (c1c6d9c09fa92aa2ba71d803fdfa480e4dbb6a51)</li>
<li><strong>[Breaking]</strong> <code>.json</code> files will no longer be implicitly resolved if removed from <code>resolver.sourceExts</code> (a3dc30aa0d54d65d6dbd426662f59b0ec398a612)</li>
<li><strong>[Breaking]</strong> With a default config, any <code>.jsx</code> files will now be resolved before <code>.json</code>, <code>.ts</code>, <code>.tsx</code> (1b479314dc08f2a2e2f76438971f32fcf431ee89)</li>
<li><strong>[Breaking]</strong> Enable strict CLI validation when <code>metro</code> is passed an invalid subcommand or argument (19c4f7edb85f5b61b056580515348ca9715dd361)</li>
<li><strong>[Feature]</strong> Add <code>start</code> alias for <code>serve</code> CLI command (19c4f7edb85f5b61b056580515348ca9715dd361)</li>
</ul>
<p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.71.3%E2%80%A6v0.72.0"><code>v0.71.3...v0.72.0</code></a></p>
<h2>Release v0.71.3</h2>
<ul>
<li><strong>[Fix]</strong> End watchman client on calling MetroFileMap end. (fc042d06bb6db98dd819bb0d22b7d536ee396c24)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/metro/compare/v0.71.2...v0.71.3">https://github.com/facebook/metro/compare/v0.71.2...v0.71.3</a></p>
<h2>Release v0.71.2</h2>
<ul>
<li><strong>[Feature]</strong> Add <a href="https://facebook.github.io/metro/docs/configuration/#requirecycleignorepatterns"><code>requireCycleIgnorePatterns</code></a> option to suppress warnings for require cycles, suppress <code>node_modules</code> by default (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/707">facebook/metro#707</a> by <a href="https://github.com/hsource"><code>@​hsource</code></a>)</li>
<li><strong>[Feature]</strong> Add <a href="https://facebook.github.io/metro/docs/configuration/#watchmandeferstates"><code>deferStates</code></a> option for Watchman (570c38039abc32b758f8d241896b21e28ca4ba83)</li>
<li><strong>[Fix]</strong> Incremental build bug with parallel edges to the same module (fc29a1177f883144674cf85a813b58567f69d545)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
<ul>
<li><strong>[Experimental]</strong> Add <code>unstable_allowRequireContext</code> config option, implement transformer support for  <a href="https://webpack.js.org/guides/dependency-management/#requirecontext"><code>require.context</code></a> (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/821">facebook/metro#821</a> by <a href="https://github.com/EvanBacon"><code>@​EvanBacon</code></a>)</li>
</ul>
<p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.71.1%E2%80%A6v0.71.2"><code>v0.71.1...v0.71.2</code></a></p>
<h2>Release v0.71.1</h2>
<ul>
<li><strong>[Fix]</strong> Add missing <code>.npmignore</code> files (e8bb8fb4035699c83fce4b35aabcaec208513f3c)</li>
<li><strong>[Fix]</strong> Rewrite DeltaBundler garbage collection (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/820">facebook/metro#820</a>)</li>
<li><strong>[Fix]</strong> Remove deprecated Prop Types from lazy imports (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/824">facebook/metro#824</a> by <a href="https://github.com/ecreeth"><code>@​ecreeth</code></a>)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
<ul>
<li><strong>[Experimental]</strong> Expose <code>unstable_fileMapCacheManagerFactory</code> config option (e7419900d2e063f2d531313f810d18c487f807f8)</li>
<li><strong>[Experimental]</strong> Add <code>unstable_perfLogger</code> config option (eec0d7bf00aa707ae210b25218501b3e17dc4bf2)</li>
<li><strong>[Experimental]</strong> Remove <code>unstable_hasteMapModulePath</code> from Metro config (1cae8d8007d04ba62a739a6c4dff991c69af26e4)</li>
</ul>
<p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.70.2%E2%80%A6v0.71.0"><code>v0.71.0...v0.71.1</code></a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d699f9d141"><code>d699f9d</code></a> Release 0.72.0</li>
<li><a href="c1c6d9c09f"><code>c1c6d9c</code></a> Add watcher.additionalExts option, enable inclusion of .cjs and .mjs files by...</li>
<li><a href="a3dc30aa0d"><code>a3dc30a</code></a> Replace hard default of 'json' in sourceExts with package.json WatcherImpl glob</li>
<li><a href="1b479314dc"><code>1b47931</code></a> Add 'jsx' to resolver.sourceExts defaults</li>
<li><a href="75ac509182"><code>75ac509</code></a> update staticdocs</li>
<li><a href="d0ea806173"><code>d0ea806</code></a> Fixed typo causing option to not be applied (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/849">https://github.com/facebook/flipper/issues/849</a>)</li>
<li><a href="1b6dd6f05a"><code>1b6dd6f</code></a> Enable react 17 new jsx transform (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/848">https://github.com/facebook/flipper/issues/848</a>)</li>
<li><a href="b8252d866a"><code>b8252d8</code></a> Added isTurboModule helper function</li>
<li><a href="b6ebccf9e6"><code>b6ebccf</code></a> Remove MaskedViewIOS from react-native-github</li>
<li><a href="419caf7565"><code>419caf7</code></a> Release resolved-env</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/metro/compare/v0.71.0...v0.72.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.71.0&new-version=0.72.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

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

 ---

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

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

</details>

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

Reviewed By: lblasa

Differential Revision: D38315036

Pulled By: LukeDefeo

fbshipit-source-id: 63b08fc89c808951ff159b75fed0693a11322867
2022-08-01 08:44:03 -07:00
Zac Sweers
64c32f62b1 Tag sockets in FlipperSocketImpl (#3928)
Summary:
Resolves https://github.com/facebook/flipper/issues/3926. Open to suggestions on the tag value, just sort of picked one that could be pointed to for anyone that wants to track these in their apps.

## Changelog

Tag sockets used by Flipper to fix strict mode warnings about untagged sockets.

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

Test Plan:
Edit FlipperSampleApplication.java with the following:

```
public class FlipperSampleApplication extends Application {
  Override
  public void onCreate() {

    StrictMode.setThreadPolicy(
            new StrictMode.ThreadPolicy.Builder()
                    .detectAll()
                    .penaltyLog()
                    .build()
    );
    StrictMode.setVmPolicy(
            new StrictMode.VmPolicy.Builder()
                    .detectAll()
                    .penaltyLog()
                    .build()
    );
...
```

That will enable strict mode. Now build/launch the sample application.

Use adb logcat to inspect warnings:

```
 adb logcat -s StrictMode
```

Without tagging the socket, the following warning should be observed:

```
D/StrictMode: StrictMode policy violation: android.os.strictmode.UntaggedSocketViolation: Untagged socket detected; use TrafficStats.setTrafficStatsTag() to track all network usage
```

After applying the fix, that warning should go away.

Reviewed By: lblasa

Differential Revision: D38280819

Pulled By: passy

fbshipit-source-id: 0c841b13237cbcb0ff8b8226fb44655a74b775c6
2022-08-01 08:34:00 -07:00
Simon Marquis
4730c417bc Fix typo in image url in README.md (#3929)
Summary:
Introduced in 40e65901bd

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

Reviewed By: lblasa

Differential Revision: D38314975

Pulled By: LukeDefeo

fbshipit-source-id: 73240f1bd66d9d119b6e726ee45ca2fc7b0bbcc5
2022-08-01 08:20:37 -07:00
facebook-flipper-bot
5788e8db84 Automated: Update Podfile.lock (#3944)
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/3944

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

**Static Docs Preview: flipper**
|[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D38246079/V2/flipper/)|

|**Modified Pages**|
|[docs/getting-started/ios-native](https://our.intern.facebook.com/intern/staticdocs/eph/D38246079/V2/flipper/docs/getting-started/ios-native/)|

Reviewed By: mweststrate

Differential Revision: D38246079

Pulled By: passy

fbshipit-source-id: ac2adadf8fc83e6df3eccc7b93c524039f660cc4
2022-07-29 04:27:56 -07:00
Feiyu Wong
ab49b17c7b Save logs that are shown in logs plugin if persisted logging is enabled
Summary:
This is the second part of the feature which enables data/log persistence by adding a global setting which controls whether the data is wiped when the same device is disconnected and reconnected.

Building on the previous diff, this diff uses the setting from the Redux Store to determine whether to "wipe" the data or not.

Changelog: Added option in Flipper settings to persist device data upon reconnection instead of wiping everything.

Reviewed By: mweststrate

Differential Revision: D38076567

fbshipit-source-id: 83658ac09bc88921a56517e1a1f624d4a4bbc2c5
2022-07-28 13:56:34 -07:00
Feiyu Wong
3ffb25e672 Update UI for enabling persisted logs feature
Summary:
This is the first diff to implement the feature for the Flipper logs plugin to have an option to persist logs in the table between crashes, disconnections, etc.

Since this is not a local change, the UI option for persistence will be located in the settings for the Flipper UI(as seen in the test plan). The setting is associated with the Redux Store `Settings` and is stored globally to be used across all plugins. So the plan is making the persistence pertain to all plugins.

Reviewed By: mweststrate

Differential Revision: D37786988

fbshipit-source-id: 7ffc6077cbca559b3401b16770eda657a6c45620
2022-07-28 13:56:34 -07:00
Aaron Coplan
45f3222b87 Upsell for arc uiqr in Flipper plugin UI
Summary:
This diff updates the Flipper plugin for UIQR+DDR to upsell people to use `arc uiqr` on the "Upload and Get Link" tab. At the moment I'm not showing the upsell on the "Upload Screens to Diff" tab since this functionality isn't really supported through `arc uiqr` yet.

The upsell uses localstorage to maintain its open/close state so it will show up by default but will be permanently dismissed (unless localstorage is cleared somehow :) ).

NOTE: I hacked out this UI using some existing reusable UIQR Flipper components and some extra styling for the background, but definitely open to feedback on the UI!

Differential Revision: D38232117

fbshipit-source-id: e1745e32974bd9e750bbbaaa2f47bafdd0ac87eb
2022-07-28 10:56:39 -07:00
Lorenzo Blasa
4da7419b19 Dismiss set highlight calls for null elements
Summary: ^

Reviewed By: mweststrate

Differential Revision: D38238280

fbshipit-source-id: c48d8ff1c69b5c3d535ce050381ba91f1f405937
2022-07-28 08:00:10 -07:00
Lorenzo Blasa
2916a5fa52 Remove unused code
Summary:
A codemod removed a GK which resulted in this...

This change removes the unused code.

Reviewed By: mweststrate

Differential Revision: D38239893

fbshipit-source-id: 01163e9f5adcc77fff572b47ce1d902dbdadff4d
2022-07-28 06:59:11 -07:00
Feiyu Wong
a47528a726 Icon in search bar to show/hide search results
Summary:
1. Added icon to search bar to manually trigger the hide/show search context/results functionality, which was only triggerable by ctrl(now migrated to ctrl+t) before.
2. Added tool tips to increase visibility of keyboard shortcuts

Changelog: Added icon for showing search result context(only triggered by keyboard shortcut before). Added tool tips to search bar icons.

Reviewed By: mweststrate

Differential Revision: D38207087

fbshipit-source-id: a34c1322294ed8091ea3f90d2f1f206af981c9ca
2022-07-27 12:19:51 -07:00
Feiyu Wong
499275af8a Add keyboard shortcut to support quick selecting recent searches
Summary:
Currently there's no way of quickly selecting recent searches other than manually opening the recent search history and then clicking one of the search terms. This diff seeks to add a new feature that would allow not only a keyboard short cut to open the recent search history drop down but also number the most recent 5 search terms so that the user could quickly select them with a number on their keyboard

Additionally, fixed bug found in terms of the search bar not showing the current search value correctly

`Changelog`: Introduced keyboard shortcut(ctrl + f) option to toggle the search history dropdown along with numbers attached to the options in order to quickly navigate to recent search terms. Have to first enable the option(search shortcut) in menu in order to use the feature. Also added a new button in the options menu that would trigger the search result toggle as triggered by the keyboard shortcut `ctrl` before(`ctrl` + `t` now)

WARNING: The current behavior of "ctrl" toggling back and forth to focus the selected item has been migrated to "ctrl + t" key combo

Reviewed By: mweststrate

Differential Revision: D37685738

fbshipit-source-id: a7ac4dd3dceb846a98258de2d884ebc279ee5995
2022-07-27 11:37:59 -07:00
Pascal Hartig
07e1a856bb v0.5.0
Summary: New version

Reviewed By: lblasa

Differential Revision: D38199257

fbshipit-source-id: 9be9f52d21a50eeceefa16088b73d4c05847b19c
2022-07-27 07:43:12 -07:00
Pascal Hartig
e83f3e4dc7 Remove unnecessary clones
Summary: Follow-up to D38155922. This was done almost entirely by just following suggestions from the compiler. No behaviour changes, just fewer bit-copies in memory.

Reviewed By: lblasa

Differential Revision: D38199244

fbshipit-source-id: 777e9d833d25cb660307380ab88b12a1d4eedf09
2022-07-27 07:43:12 -07:00
Pascal Hartig
6913d6f653 Allow arbitrary packs
Summary:
The limitation to two types is arbitrary and limiting. Instead, we want to be able to create as many cache artifacts as is sensible to improve the caching behaviour.

A lot of unnecessary cloning in here. I might optimise this a bit in the future but it's not really perf critical as this is highly I/O bound.

Reviewed By: lblasa

Differential Revision: D38155922

fbshipit-source-id: 78b86ebff54269c5049e59197f1c25fedfad0111
2022-07-27 07:43:12 -07:00
Pascal Hartig
d73387d80b Add pack target for server linux
Summary: This is needed so we can roll out releases of Flipper Server for Linux.

Reviewed By: lawrencelomax

Differential Revision: D38155968

fbshipit-source-id: 2be032466cb8da867fa555fa545d1f236724461f
2022-07-27 07:43:12 -07:00
Pascal Hartig
3a52589c83 Update readme
Summary: A few small adjustments and updates.

Reviewed By: lawrencelomax

Differential Revision: D38155923

fbshipit-source-id: 1aea5f9b64a6b5e4783fe7bad214df6a74be7d45
2022-07-27 07:43:12 -07:00
Flipper Bot
7bfa24ae7b Flipper Snapshot Bump: v0.156.1-SNAPSHOT
Summary: Releasing snapshot version 0.156.1-SNAPSHOT

Reviewed By: LukeDefeo

Differential Revision: D38198428

fbshipit-source-id: 0fd2bebcc266351e6c47518f865a7eb550f032ab
2022-07-27 04:31:07 -07:00
Flipper Bot
5607276fee Flipper Release: v0.156.0
Summary: Releasing version 0.156.0

Reviewed By: LukeDefeo

Differential Revision: D38198427

fbshipit-source-id: b348e3bc2c4ee18d897841a1ad359db950b15100
2022-07-27 04:31:07 -07:00
Stiopa Koltsov
c915b03159 Remove ::{self}
Summary: Cleanup after reformat one import per line.

Reviewed By: zertosh

Differential Revision: D38169581

fbshipit-source-id: 1e82053b25e4426a983fe7416481611d91e4b484
2022-07-26 14:35:15 -07:00
Luke De Feo
f72406b06c Ensure that highlight always responds to prevent timeouts
Summary: In a previous diff D32278523 (8764da7c0b) The desktop request was changed from send to call. Call expects a response and not all code paths return a response. Most calls to set highlight are timing out.

Reviewed By: mweststrate

Differential Revision: D38074704

fbshipit-source-id: 6e85416d6b6470efaa177ad1b74420c8237366d5
2022-07-25 14:51:41 -07:00
Feiyu Wong
3fbf1215ec Refactored DataView to be the primary data driver for DataTable instead
Summary:
In order to accomplish multi-panel mode, we need to use multiple data views on the same data source so that the filters can be applied differently, etc.

This diff serves to refactor DataTable and some of its associated classes to use DataView as the primary driver for data management. Additionally, the diff refactored the state to allow multi-paneling to be on the DataPanel layer instead of the DataTable layer for ease of usage

This is the last diff of the larger stack which introduces the multi-panel mode feature. A possible next step could be allowing infinite(up to a certain limit) panels to be populated.

Changelog: Introduced side by side view feature for `DataTable`. There is now a new boolean for `DataTable` props called `enableMultiPanels`. If this is passed in, then the table will have an option to open a different "side panel" using a completely different dataview which allows different filters, searches, etc.

Reviewed By: mweststrate

Differential Revision: D37685390

fbshipit-source-id: 51e35f59da1ceba07ba8d379066970b57ab1734e
2022-07-22 09:16:37 -07:00
Anton Kastritskiy
96a23495c9 automatic update for docusaurus-plugin-internaldocs-fb@0.12.2
Reviewed By: jknoxville

Differential Revision: D38074467

fbshipit-source-id: b929f50402ca438c0359bb44ae7de335018a88f9
2022-07-22 09:07:10 -07:00
John Knox
485083750e Fix NPE in ios sdk
Summary: Haven't been able to repro this, but from the stack trace it seems like this NSData object is null in some cases: https://www.internalfb.com/logview/details/instagram_ios_crashes/d0e929eae516ec48380518380cfca9f5/?selected-logview-tab=Employee+Traces

Reviewed By: lblasa

Differential Revision: D37995141

fbshipit-source-id: 937217a7a5b1c7cc992f3f9ca5dc3a7e31165d1c
2022-07-21 05:34:07 -07:00
Sim Sun
a9aabba042 Bump SoLoader version to 0.10.4 in readme
Reviewed By: passy

Differential Revision: D37988370

fbshipit-source-id: 9aac3f0082bf28cebed0ea39eaeae56548998662
2022-07-20 09:42:51 -07:00
Luke De Feo
fd166473e5 update git ignore for android
Reviewed By: passy

Differential Revision: D37992545

fbshipit-source-id: 8dd4586499a74b825221d02a02956dfa18769742
2022-07-20 06:51:09 -07:00
Andrey Goncharov
342bb2bd55 Remove legacy notice for FireAndForgetResponder
Summary:
Quoting lblasa:
History trip:
- It was used at the beginning of times with RSocket.
- RSocket introduced an RPC mechanism so a new responder was introduced which used it, thus making this responder legacy.
- WebSockets is introduced which doesn't have an RPC mechanism by default so this responder became the new non-legacy responder

Reviewed By: lblasa

Differential Revision: D37994288

fbshipit-source-id: 2458aed129058a5bfaafd607e73c52867d9713cf
2022-07-20 06:47:02 -07:00
Andrey Goncharov
55b7ef934c Augument IDB installation instructions for intern users
Reviewed By: passy

Differential Revision: D37994214

fbshipit-source-id: bd36abf1ed024ca1f18fcc5297108e4ca333c578
2022-07-20 06:03:38 -07:00
Andrey Goncharov
f3cb9de5c9 Fix Sidebar resizing handler propagation
Summary: SidebarInteractiveContainer sets mousedown/mouseup handlers. Whenever user tries to select text in child element those are triggered.

Reviewed By: passy

Differential Revision: D37994014

fbshipit-source-id: 5dcf5642b3a92ec50008aa4aad6b9522a09c1527
2022-07-20 06:01:10 -07:00
Ruslan Latypov
88bf980b8e fix more imports
Summary:
There are many files across fbobjc relying on -include_pch and therefore they miss Foundation.h and UIKit.h includes. This diff was generated by a codemod and fixes these missing includes.
More details on the missing imports https://fb.workplace.com/groups/929548250966094/permalink/981237982463787/

Changelog: [Internal]

Reviewed By: yannickl

Differential Revision: D37282740

fbshipit-source-id: 0f419025b3cf2f811e96ff464cb19e8e5a25aa09
2022-07-19 12:53:11 -07:00
Jacy
bd5ac524f5 Update some welcome links (#3902)
Summary:
Some old welcome links are 'Page Not Found'.

## Changelog

Some old links are 'Page Not Found', so update them as follows:
1. Update "Using Flipper" link to 'https://fbflipper.com/docs/features'
2. Update "Add Flipper Support to Your App" link to 'https://fbflipper.com/docs/getting-started'

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

Test Plan: Pass the test on a Mac.

Reviewed By: lblasa

Differential Revision: D37927376

Pulled By: passy

fbshipit-source-id: 0aac129932395e3f2ce3afa8c47cc637f3e814a8
2022-07-19 10:46:28 -07:00
Flipper Bot
53e9cc9b1a Flipper Snapshot Bump: v0.155.1-SNAPSHOT
Summary: Releasing snapshot version 0.155.1-SNAPSHOT

Reviewed By: lblasa

Differential Revision: D37957715

fbshipit-source-id: fd77f2655519e3243830332499c6e76295020fa7
2022-07-19 09:01:42 -07:00
Flipper Bot
e3110be5a6 Flipper Release: v0.155.0
Summary: Releasing version 0.155.0

Reviewed By: lblasa

Differential Revision: D37957716

fbshipit-source-id: f682464ec8737acc3e28197fa3724a6ae150e8cd
2022-07-19 09:01:42 -07:00
Lorenzo Blasa
d4597f455e Add a handler for any errors during highlight
Summary:
^

Ignore the errors as otherwise it may cause unhandled rejection errors.

Reviewed By: aigoncharov

Differential Revision: D37926740

fbshipit-source-id: 50476378b4d254e28af953979fbedad1113e43aa
2022-07-19 06:09:55 -07:00
Alfonso Curbelo
bc74a58aab Update RN iOS setup to include RN 0.68 new Flipper initialization (#3905)
Summary:
When upgrading to RN 0.68, the upgrade helper removes the old Flipper initialization in favor of importing `RCTAppSetupUtils` which abstracts the Flipper initialization.
To be consistent, we should show in the docs that for 0.68 the preferred way is to import `RCTAppSetupUtils` in the AppDelegate.

## Changelog
- RN iOS setup docs has been updated to include the new way to initialize Flipper on React Native 0.68.

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

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

**Static Docs Preview: flipper**
|[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D37927365/V2/flipper/)|

|**Modified Pages**|
|[docs/getting-started/react-native-ios](https://our.intern.facebook.com/intern/staticdocs/eph/D37927365/V2/flipper/docs/getting-started/react-native-ios/)|

Reviewed By: lblasa, cortinico

Differential Revision: D37927365

Pulled By: passy

fbshipit-source-id: c6799e91a217d341eb817abb175ce63ea70c9597
2022-07-19 04:43:54 -07:00
Lorenzo Blasa
04220b6c7e Typo and increase timeout to 45s
Summary:
Observed that a few requests tend to timeout when using Flipper with flipper-server.

Increasing timeout to 45s as to be a bit more flexible.

'exec' operations don't have a timeout when not using flipper-server.

Reviewed By: antonk52

Differential Revision: D37955108

fbshipit-source-id: 5d8ef7f066d6b316e4b485b281a015794b5bd2de
2022-07-19 04:06:03 -07:00
Lorenzo Blasa
c871b221fd Add catch handlers to client calls
Summary:
Client calls return a promise. Not dealing with the error causes promise unhandled rejection errors.

This change adds a catch block and logs the error instead.

Reviewed By: antonk52

Differential Revision: D37955029

fbshipit-source-id: 50cac5a5339961d16868ab2102d3c77790e6943c
2022-07-19 04:05:12 -07:00
Kim JeongHyeok
2bb3f407b5 docs: remove duplicate guide info (#3906)
Summary:
Duplicate info seem to exist in the getting started guide

## Changelog

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

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

**Static Docs Preview: flipper**
|[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D37927352/V2/flipper/)|

|**Modified Pages**|
|[docs/getting-started/react-native](https://our.intern.facebook.com/intern/staticdocs/eph/D37927352/V2/flipper/docs/getting-started/react-native/)|

Reviewed By: lblasa

Differential Revision: D37927352

Pulled By: passy

fbshipit-source-id: 8dae61b1d13bf4d3ab7eb83c140847fc9856daf9
2022-07-19 02:20:10 -07:00
Lorenzo Blasa
860cf332e1 Do not disconnect when there's a 'send' error
Summary:
Historically, RSocket used to raise an error when there was an error during send, most likely because the connection was dead.

With WS, this is no longer the case.

WS connection issues are raised through the according handlers.

Reviewed By: passy

Differential Revision: D37825821

fbshipit-source-id: 7fcda8cf26fb42eb0d8ca03b62482f11c931777f
2022-07-14 10:40:43 -07:00
Lorenzo Blasa
706ad760dc Edit desktop-plugin-structure.mdx using inpage editor
Summary:
This diff has been automatically generated by the inpage editor.
                        If you want to update this diff, go through the preview link that would be attached to the test plan.
                        Please ensure you are editing the same page that was used to create this diff.

Reviewed By: passy

Differential Revision: D37853011

fbshipit-source-id: 1d68d5a80b30bb1b1cdf5703272717dadbe3a977
2022-07-14 10:07:35 -07:00
Lorenzo Blasa
7d936c1ff8 Flipper module skeleton
Summary: Refactor and introduce the Flipper module skeleton. No implementations yet.

Reviewed By: passy

Differential Revision: D36760620

fbshipit-source-id: 5e3f1b5abef6177f27d2c4c8e0fa8ec370364900
2022-07-14 09:57:25 -07:00
Lorenzo Blasa
7977a41fba Add flipper sources to VS Studio solution
Summary:
Nothing interesting here, just adding necessary sources from Flipper into the VS Studio solution.

As a consequence, some warnings had to be turned off as otherwise they're treated as errors and the solution doesn't build.

Reviewed By: passy

Differential Revision: D36760242

fbshipit-source-id: 2f5e615f8a465554dd35c245756f94bcace6e34a
2022-07-14 07:45:09 -07:00
Lorenzo Blasa
57e6662a46 Folly/Boost integration
Summary:
This change brings in Folly and Boost into our solution.

Boost is resolved with NuGet. Folly is resolved by re-using the RNW integration.

For reference:

Flipper depends on Folly. Folly depends on a few things:
- Boost
- FMT
- Glog
- Double-Conversion

Folly from RNW uses some stubs to resolve fmt, glog, and double-conversion. That's OK.

Only Boost needs resolving.

On Visual Studio, we can use the following package managers: NuGet and vcpkg.

Boost can be resolved using either.

Using NuGet as otherwise vcpkg needs to be run locally by anybody wanting to build the solution. NuGet makes things easier.

Reviewed By: aigoncharov

Differential Revision: D36759384

fbshipit-source-id: 31a9a398ce5c5dc2f3def02689ae4bb8c42fbb99
2022-07-14 06:59:11 -07:00
Feiyu Wong
53b89f485a Add Toggle to control showing full search history instead of filtered list
Summary:
This diff adds a new menu option to the Logs plugin which allows for enabling/disabling the automatic filtering of search terms in the search history as user types.

Additionally, fixed bug regarding the search term that's used is not actually showing correctly. This is caused by the search value being set in the input search bar instead of the autoComplete component level

Differential Revision: D37555209

fbshipit-source-id: 8a76299f7e1a4b0a3adfa6a4dd883d17f1e7a442
2022-07-14 06:21:45 -07:00
Lorenzo Blasa
551d0389ae react-native-windows library
Summary:
This change adds the template for a RNW module to the existing react-native flipper project.

Basically, the changes in this diff are the product of executing the react-native-windows init for the existing library.

See:
https://microsoft.github.io/react-native-windows/docs/getting-started

https://microsoft.github.io/react-native-windows/docs/native-modules-setup

Notes:
There's some auto-generated module code contained in this change: ReactNativeModule (.h/.cpp)

allow-large-files

Reviewed By: passy

Differential Revision: D36751772

fbshipit-source-id: 41207bedb00ea147883f6d13336ed6c1da4454d7
2022-07-14 04:19:22 -07:00
Flipper Bot
23f769c8c4 Flipper Snapshot Bump: v0.154.1-SNAPSHOT
Summary: Releasing snapshot version 0.154.1-SNAPSHOT

Reviewed By: jknoxville

Differential Revision: D37813762

fbshipit-source-id: c6364074f1197db78fe085762931762b606c6383
2022-07-13 09:21:01 -07:00
Flipper Bot
14d385827d Flipper Release: v0.154.0
Summary: Releasing version 0.154.0

Reviewed By: jknoxville

Differential Revision: D37813763

fbshipit-source-id: f16392937146a50c7018c2ae5abd18e433059622
2022-07-13 09:21:01 -07:00
Lorenzo Blasa
039b647666 Schedule close on the scheduler
Summary:
^

If Flipper stops, we cannot freely access the client outside of the scheduler.

There may be an scheduled operation that depends on it.

Instead, schedule the stop and wait until it finishes.

Reviewed By: cekkaewnumchai

Differential Revision: D37814820

fbshipit-source-id: 44217b5f623a8d92211a3d72a4a204d674b4bb76
2022-07-13 05:09:34 -07:00
Alex Hunt
e7591b2a81 Set clearLogs accelerator for log-rendering plugins
Summary:
Sets a default key binding of `ctrl+l` to clear the screen within built-in Flipper plugins which display a log view.

Motivation: A small quality of life improvement for developers used to the default "clear screen" binding. This makes our log-rendering plugins consistent with other native apps such as terminals, Chrome DevTools, and many others.

Reviewed By: mweststrate

Differential Revision: D37782638

fbshipit-source-id: 0a85b930faaa0e9468d5391f15092aad7b6057ee
2022-07-13 01:38:55 -07:00