dependabot[bot] c1d1788282 Bump eslint from 8.25.0 to 8.28.0 in /js/js-flipper (#4325)
Summary:
Bumps [eslint](https://github.com/eslint/eslint) from 8.25.0 to 8.28.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.28.0</h2>
<h2>Features</h2>
<ul>
<li><a href="63bce44e7b"><code>63bce44</code></a> feat: add <code>ignoreClassFieldInitialValues</code> option to no-magic-numbers (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16539">#16539</a>) (Milos Djermanovic)</li>
<li><a href="8385ecdbbe"><code>8385ecd</code></a> feat: multiline properties in rule <code>key-spacing</code> with option <code>align</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16532">#16532</a>) (Francesco Trotta)</li>
<li><a href="a4e89dbe85"><code>a4e89db</code></a> feat: <code>no-obj-calls</code> support <code>Intl</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16543">#16543</a>) (Sosuke Suzuki)</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><a href="c50ae4f840"><code>c50ae4f</code></a> fix: Ensure that dot files are found with globs. (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16550">#16550</a>) (Nicholas C. Zakas)</li>
<li><a href="9432b67f76"><code>9432b67</code></a> fix: throw error for first unmatched pattern (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16533">#16533</a>) (Milos Djermanovic)</li>
<li><a href="e76c382772"><code>e76c382</code></a> fix: allow <code>* 1</code> when followed by <code>/</code> in no-implicit-coercion (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16522">#16522</a>) (Milos Djermanovic)</li>
</ul>
<h2>Documentation</h2>
<ul>
<li><a href="34c05a779a"><code>34c05a7</code></a> docs: Language Options page intro and tweaks (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16511">#16511</a>) (Ben Perlmutter)</li>
<li><a href="3e663873c9"><code>3e66387</code></a> docs: add intro and edit ignoring files page (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16510">#16510</a>) (Ben Perlmutter)</li>
<li><a href="436f712843"><code>436f712</code></a> docs: fix Header UI inconsistency (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16464">#16464</a>) (Tanuj Kanti)</li>
<li><a href="f743816967"><code>f743816</code></a> docs: switch to wrench emoji for auto-fixable rules (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16545">#16545</a>) (Bryan Mishkin)</li>
<li><a href="bc0547eb14"><code>bc0547e</code></a> docs: improve styles for versions and languages page (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16553">#16553</a>) (Nitin Kumar)</li>
<li><a href="6070f58d80"><code>6070f58</code></a> docs: clarify esquery issue workaround (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16556">#16556</a>) (Milos Djermanovic)</li>
<li><a href="b48e4f89c5"><code>b48e4f8</code></a> docs: Command Line Interface intro and tweaks (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16535">#16535</a>) (Ben Perlmutter)</li>
<li><a href="b92b30f93d"><code>b92b30f</code></a> docs: Add Rules page intro and content tweaks (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16523">#16523</a>) (Ben Perlmutter)</li>
<li><a href="1769b42339"><code>1769b42</code></a> docs: Integrations page introduction (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16548">#16548</a>) (Ben Perlmutter)</li>
<li><a href="a8d0a57cbc"><code>a8d0a57</code></a> docs: make table of contents sticky on desktop (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16506">#16506</a>) (Sam Chen)</li>
<li><a href="a01315a7d8"><code>a01315a</code></a> docs: fix route of japanese translation site (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16542">#16542</a>) (Tanuj Kanti)</li>
<li><a href="0515628539"><code>0515628</code></a> docs: use emoji instead of svg for deprecated rule (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16536">#16536</a>) (Bryan Mishkin)</li>
<li><a href="68f12882fb"><code>68f1288</code></a> docs: set default layouts (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16484">#16484</a>) (Percy Ma)</li>
<li><a href="776827a174"><code>776827a</code></a> docs: init config about specifying shared configs (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16483">#16483</a>) (Percy Ma)</li>
<li><a href="5c39425fc5"><code>5c39425</code></a> docs: fix broken link to plugins (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16520">#16520</a>) (Ádám T. Nagy)</li>
<li><a href="c97c789768"><code>c97c789</code></a> docs: Add missing no-new-native-nonconstructor docs code fence (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16503">#16503</a>) (Brandon Mills)</li>
</ul>
<h2>Chores</h2>
<ul>
<li><a href="e94a4a95ee"><code>e94a4a9</code></a> chore: Add tests to verify <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16038">#16038</a> is fixed (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16538">#16538</a>) (Nicholas C. Zakas)</li>
<li><a href="e13f194f89"><code>e13f194</code></a> chore: stricter validation of <code>meta.docs.description</code> in core rules (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16529">#16529</a>) (Milos Djermanovic)</li>
<li><a href="72dbfbc0c4"><code>72dbfbc</code></a> chore: use <code>pkg</code> parameter in <code>getNpmPackageVersion</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16525">#16525</a>) (webxmsj)</li>
</ul>
<h2>v8.27.0</h2>
<h2>Features</h2>
<ul>
<li><a href="f14587c42b"><code>f14587c</code></a> feat: new <code>no-new-native-nonconstructor</code> rule (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16368">#16368</a>) (Sosuke Suzuki)</li>
<li><a href="978799bd5c"><code>978799b</code></a> feat: add new rule <code>no-empty-static-block</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16325">#16325</a>) (Sosuke Suzuki)</li>
<li><a href="69216ee69c"><code>69216ee</code></a> feat: no-empty suggest to add comment in empty BlockStatement (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16470">#16470</a>) (Nitin Kumar)</li>
<li><a href="319f0a5491"><code>319f0a5</code></a> feat: use <code>context.languageOptions.ecmaVersion</code> in core rules (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16458">#16458</a>) (Milos Djermanovic)</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><a href="c3ce5212f6"><code>c3ce521</code></a> fix: Ensure unmatched glob patterns throw an error (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16462">#16462</a>) (Nicholas C. Zakas)</li>
<li><a href="886a038689"><code>886a038</code></a> fix: handle files with unspecified path in <code>getRulesMetaForResults</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16437">#16437</a>) (Francesco Trotta)</li>
</ul>
<h2>Documentation</h2>
<ul>
<li><a href="ce93b429bf"><code>ce93b42</code></a> docs: Stylelint property-no-unknown (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16497">#16497</a>) (Nick Schonning)</li>
<li><a href="d2cecb4ad2"><code>d2cecb4</code></a> docs: Stylelint declaration-block-no-shorthand-property-overrides (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16498">#16498</a>) (Nick Schonning)</li>
<li><a href="0a92805d77"><code>0a92805</code></a> docs: stylelint color-hex-case (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16496">#16496</a>) (Nick Schonning)</li>
<li><a href="74a5af487a"><code>74a5af4</code></a> docs: fix stylelint error (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16491">#16491</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.28.0 - November 18, 2022</p>
<ul>
<li><a href="34c05a779a"><code>34c05a7</code></a> docs: Language Options page intro and tweaks (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16511">#16511</a>) (Ben Perlmutter)</li>
<li><a href="3e663873c9"><code>3e66387</code></a> docs: add intro and edit ignoring files page (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16510">#16510</a>) (Ben Perlmutter)</li>
<li><a href="436f712843"><code>436f712</code></a> docs: fix Header UI inconsistency (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16464">#16464</a>) (Tanuj Kanti)</li>
<li><a href="f743816967"><code>f743816</code></a> docs: switch to wrench emoji for auto-fixable rules (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16545">#16545</a>) (Bryan Mishkin)</li>
<li><a href="bc0547eb14"><code>bc0547e</code></a> docs: improve styles for versions and languages page (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16553">#16553</a>) (Nitin Kumar)</li>
<li><a href="6070f58d80"><code>6070f58</code></a> docs: clarify esquery issue workaround (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16556">#16556</a>) (Milos Djermanovic)</li>
<li><a href="b48e4f89c5"><code>b48e4f8</code></a> docs: Command Line Interface intro and tweaks (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16535">#16535</a>) (Ben Perlmutter)</li>
<li><a href="b92b30f93d"><code>b92b30f</code></a> docs: Add Rules page intro and content tweaks (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16523">#16523</a>) (Ben Perlmutter)</li>
<li><a href="1769b42339"><code>1769b42</code></a> docs: Integrations page introduction (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16548">#16548</a>) (Ben Perlmutter)</li>
<li><a href="63bce44e7b"><code>63bce44</code></a> feat: add <code>ignoreClassFieldInitialValues</code> option to no-magic-numbers (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16539">#16539</a>) (Milos Djermanovic)</li>
<li><a href="c50ae4f840"><code>c50ae4f</code></a> fix: Ensure that dot files are found with globs. (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16550">#16550</a>) (Nicholas C. Zakas)</li>
<li><a href="a8d0a57cbc"><code>a8d0a57</code></a> docs: make table of contents sticky on desktop (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16506">#16506</a>) (Sam Chen)</li>
<li><a href="9432b67f76"><code>9432b67</code></a> fix: throw error for first unmatched pattern (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16533">#16533</a>) (Milos Djermanovic)</li>
<li><a href="8385ecdbbe"><code>8385ecd</code></a> feat: multiline properties in rule <code>key-spacing</code> with option <code>align</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16532">#16532</a>) (Francesco Trotta)</li>
<li><a href="a4e89dbe85"><code>a4e89db</code></a> feat: <code>no-obj-calls</code> support <code>Intl</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16543">#16543</a>) (Sosuke Suzuki)</li>
<li><a href="a01315a7d8"><code>a01315a</code></a> docs: fix route of japanese translation site (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16542">#16542</a>) (Tanuj Kanti)</li>
<li><a href="e94a4a95ee"><code>e94a4a9</code></a> chore: Add tests to verify <a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16038">#16038</a> is fixed (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16538">#16538</a>) (Nicholas C. Zakas)</li>
<li><a href="0515628539"><code>0515628</code></a> docs: use emoji instead of svg for deprecated rule (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16536">#16536</a>) (Bryan Mishkin)</li>
<li><a href="e76c382772"><code>e76c382</code></a> fix: allow <code>* 1</code> when followed by <code>/</code> in no-implicit-coercion (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16522">#16522</a>) (Milos Djermanovic)</li>
<li><a href="68f12882fb"><code>68f1288</code></a> docs: set default layouts (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16484">#16484</a>) (Percy Ma)</li>
<li><a href="e13f194f89"><code>e13f194</code></a> chore: stricter validation of <code>meta.docs.description</code> in core rules (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16529">#16529</a>) (Milos Djermanovic)</li>
<li><a href="776827a174"><code>776827a</code></a> docs: init config about specifying shared configs (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16483">#16483</a>) (Percy Ma)</li>
<li><a href="72dbfbc0c4"><code>72dbfbc</code></a> chore: use <code>pkg</code> parameter in <code>getNpmPackageVersion</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16525">#16525</a>) (webxmsj)</li>
<li><a href="5c39425fc5"><code>5c39425</code></a> docs: fix broken link to plugins (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16520">#16520</a>) (Ádám T. Nagy)</li>
<li><a href="c97c789768"><code>c97c789</code></a> docs: Add missing no-new-native-nonconstructor docs code fence (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16503">#16503</a>) (Brandon Mills)</li>
</ul>
<p>v8.27.0 - November 6, 2022</p>
<ul>
<li><a href="f14587c42b"><code>f14587c</code></a> feat: new <code>no-new-native-nonconstructor</code> rule (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16368">#16368</a>) (Sosuke Suzuki)</li>
<li><a href="978799bd5c"><code>978799b</code></a> feat: add new rule <code>no-empty-static-block</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16325">#16325</a>) (Sosuke Suzuki)</li>
<li><a href="ce93b429bf"><code>ce93b42</code></a> docs: Stylelint property-no-unknown (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16497">#16497</a>) (Nick Schonning)</li>
<li><a href="d2cecb4ad2"><code>d2cecb4</code></a> docs: Stylelint declaration-block-no-shorthand-property-overrides (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16498">#16498</a>) (Nick Schonning)</li>
<li><a href="0a92805d77"><code>0a92805</code></a> docs: stylelint color-hex-case (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16496">#16496</a>) (Nick Schonning)</li>
<li><a href="c3ce5212f6"><code>c3ce521</code></a> fix: Ensure unmatched glob patterns throw an error (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16462">#16462</a>) (Nicholas C. Zakas)</li>
<li><a href="74a5af487a"><code>74a5af4</code></a> docs: fix stylelint error (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16491">#16491</a>) (Milos Djermanovic)</li>
<li><a href="69216ee69c"><code>69216ee</code></a> feat: no-empty suggest to add comment in empty BlockStatement (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16470">#16470</a>) (Nitin Kumar)</li>
<li><a href="324db1a11e"><code>324db1a</code></a> docs: explicit stylelint color related rules (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16465">#16465</a>) (Nick Schonning)</li>
<li><a href="94dc4f19ba"><code>94dc4f1</code></a> docs: use Stylelint for HTML files (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16468">#16468</a>) (Nick Schonning)</li>
<li><a href="cc6128db4f"><code>cc6128d</code></a> docs: enable stylelint declaration-block-no-duplicate-properties (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16466">#16466</a>) (Nick Schonning)</li>
<li><a href="d03a8bf897"><code>d03a8bf</code></a> docs: Add heading to justification explanation (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16430">#16430</a>) (Maritaria)</li>
<li><a href="886a038689"><code>886a038</code></a> fix: handle files with unspecified path in <code>getRulesMetaForResults</code> (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16437">#16437</a>) (Francesco Trotta)</li>
<li><a href="319f0a5491"><code>319f0a5</code></a> feat: use <code>context.languageOptions.ecmaVersion</code> in core rules (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16458">#16458</a>) (Milos Djermanovic)</li>
<li><a href="8a159686f9"><code>8a15968</code></a> docs: add Stylelint configuration and cleanup (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16379">#16379</a>) (Nick Schonning)</li>
<li><a href="9b0a469d1e"><code>9b0a469</code></a> docs: note commit messages don't support scope (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16435">#16435</a>) (Andy Edwards)</li>
<li><a href="15814057fd"><code>1581405</code></a> docs: improve context.getScope() docs (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16417">#16417</a>) (Ben Perlmutter)</li>
<li><a href="b7971496e9"><code>b797149</code></a> docs: update formatters template (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16454">#16454</a>) (Milos Djermanovic)</li>
<li><a href="5ac4de911f"><code>5ac4de9</code></a> docs: fix link to formatters on the Core Concepts page (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16455">#16455</a>) (Vladislav)</li>
<li><a href="33313ef562"><code>33313ef</code></a> docs: core-concepts: fix link to semi rule (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16453">#16453</a>) (coderaiser)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b8769f192b"><code>b8769f1</code></a> 8.28.0</li>
<li><a href="d2b072313d"><code>d2b0723</code></a> Build: changelog update for 8.28.0</li>
<li><a href="34c05a779a"><code>34c05a7</code></a> docs: Language Options page intro and tweaks (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16511">#16511</a>)</li>
<li><a href="3e663873c9"><code>3e66387</code></a> docs: add intro and edit ignoring files page (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16510">#16510</a>)</li>
<li><a href="436f712843"><code>436f712</code></a> docs: fix Header UI inconsistency (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16464">#16464</a>)</li>
<li><a href="f743816967"><code>f743816</code></a> docs: switch to wrench emoji for auto-fixable rules (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16545">#16545</a>)</li>
<li><a href="bc0547eb14"><code>bc0547e</code></a> docs: improve styles for versions and languages page (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16553">#16553</a>)</li>
<li><a href="6070f58d80"><code>6070f58</code></a> docs: clarify esquery issue workaround (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16556">#16556</a>)</li>
<li><a href="b48e4f89c5"><code>b48e4f8</code></a> docs: Command Line Interface intro and tweaks (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16535">#16535</a>)</li>
<li><a href="b92b30f93d"><code>b92b30f</code></a> docs: Add Rules page intro and content tweaks (<a href="https://github-redirect.dependabot.com/eslint/eslint/issues/16523">#16523</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/eslint/eslint/compare/v8.25.0...v8.28.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.25.0&new-version=8.28.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/4325

Reviewed By: antonk52

Differential Revision: D41578623

Pulled By: mweststrate

fbshipit-source-id: 7d5ee653760203fdea484093bd61e15e705a25a9
2022-11-30 07:43:03 -08:00
2022-11-28 09:45:53 -08:00
2022-11-28 03:46:26 -08:00
2020-07-08 07:10:46 -07:00
2020-11-09 08:24:28 -08:00
2020-03-26 05:53:53 -07:00
2022-09-12 03:48:43 -07:00
2019-09-30 06:41:57 -07:00
2018-06-01 11:03:58 +01:00
2020-04-14 09:21:58 -07:00
2018-07-31 08:15:12 -07:00
2019-08-29 23:21:14 -07:00
2020-11-09 08:24:28 -08:00
2022-02-16 08:22:09 -08:00
2022-02-16 08:22:09 -08:00
2022-02-25 02:33:22 -08:00
2020-08-10 08:47:32 -07:00

logo

Flipper

Android Maven Badge iOS

Flipper (formerly Sonar) is a platform for debugging mobile apps on iOS and Android and, recently, even JS apps in your browser or in Node.js. Visualize, inspect, and control your apps from a simple desktop interface. Use Flipper as is or extend it using the plugin API.

Flipper

Table of Contents

Mobile development

Flipper aims to be your number one companion for mobile app development on iOS and Android. Therefore, we provide a bunch of useful tools, including a log viewer, interactive layout inspector, and network inspector.

Extending Flipper

Flipper is built as a platform. In addition to using the tools already included, you can create your own plugins to visualize and debug data from your mobile apps. Flipper takes care of sending data back and forth, calling functions, and listening for events on the mobile app.

Contributing to Flipper

Both Flipper's desktop app, native mobile SDKs, JS SDKs are open-source and MIT licensed. This enables you to see and understand how we are building plugins, and of course, join the community and help to improve Flipper. We are excited to see what you will build on this platform.

In this repo

This repository includes all parts of Flipper. This includes:

  • Flipper's desktop app built using Electron (/desktop)
  • native Flipper SDKs for iOS (/iOS)
  • native Flipper SDKs for Android (/android)
  • React Native Flipper SDK (/react-native)
  • JS Flipper SDK (/js)
  • Plugins:
    • Logs (/desktop/plugins/public/logs)
    • Layout inspector (/desktop/plugins/public/layout)
    • Network inspector (/desktop/plugins/public/network)
    • Shared Preferences/NSUserDefaults inspector (/desktop/plugins/public/shared_preferences)
  • website and documentation (/website / /docs)

Getting started

Please refer to our Getting Started guide to set up Flipper. Or, (still experimental) run npx flipper-server for a browser based version of Flipper.

Requirements

  • node >= 8
  • yarn >= 1.5
  • iOS developer tools (for developing iOS plugins)
  • Android SDK and adb

Building from Source

Desktop

Running from source

git clone https://github.com/facebook/flipper.git
cd flipper/desktop
yarn
yarn start

NOTE: If you're on Windows, you need to use Yarn 1.5.1 until this issue is resolved.

Building standalone application

Provide either --mac, --win, --linux or any combination of them to yarn build to build a release zip file for the given platform(s). E.g.

yarn build --mac --version $buildNumber

You can find the resulting artifact in the dist/ folder.

iOS SDK + Sample App

cd iOS/Sample
rm -f Podfile.lock
pod install --repo-update
open Sample.xcworkspace
<Run app from xcode>

You can omit --repo-update to speed up the installation, but watch out as you may be building against outdated dependencies.

Android SDK + Sample app

Start up an android emulator and run the following in the project root:

./gradlew :sample:installDebug

React Native SDK + Sample app

Requires RN 0.69+!

cd react-native/ReactNativeFlipperExample
yarn
yarn android

Note that the first 2 steps need to be done only once.

Alternatively, the app can be started on iOS by running yarn ios.

If this is the first time running, you will also need to run pod install --repo-update from the react-native/ReactNativeFlipperExample/ios folder.

React Native Windows (Experimental)

An experimental version of Flipper for React Native Windows is available. The following steps prepare the React Native Flipper project:

cd react-native/react-native-flipper
vcpkg install openssl:x64-uwp openssl:arm-uwp
vcpkg integrate install
yarn install
cd windows
nuget install ReactNativeFlipper/packages.config

In a nutshell, vcpkg is used to install OpenSSL. Nuget is used to install Boost.

Then, the sample application can be built and run as follows:

cd ../../ReactNativeFlipperExample
yarn install
yarn relative-deps
npx react-native run-windows

At the moment there's no available package for React Native Flipper. This means that to integrate Flipper with any other existing applications, an explicit reference to the project needs to be added just as is done with the sample application.

JS SDK + Sample React app

cd js/react-flipper-example
yarn
yarn start

Troubleshooting

Older yarn versions might show an error / hang with the message 'Waiting for the other yarn instance to finish'. If that happens, run the command yarn first separately in the directory react-native/react-native-flipper.

Documentation

Find the full documentation for this project at fbflipper.com.

Our documentation is built with Docusaurus. You can build it locally by running this:

cd website
yarn
yarn start

Contributing

See the CONTRIBUTING file for how to help out.

License

Flipper is MIT licensed, as found in the LICENSE file.

Description
No description provided
Readme 106 MiB
Languages
TypeScript 61.2%
Java 9.9%
Objective-C 7%
Kotlin 5.8%
C++ 4.8%
Other 11.2%