dependabot[bot] e22ef757d5 Bump eslint-plugin-import from 2.22.1 to 2.23.2 in /flipper-js-client-sdk (#2319)
Summary:
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.22.1 to 2.23.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/benmosher/eslint-plugin-import/releases">eslint-plugin-import's releases</a>.</em></p>
<blockquote>
<h2>v2.23.0</h2>
<p><a href="https://github.com/benmosher/eslint-plugin-import/blob/v2.23.0/CHANGELOG.md#2230---2021-05-13">https://github.com/benmosher/eslint-plugin-import/blob/v2.23.0/CHANGELOG.md#2230---2021-05-13</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md">eslint-plugin-import's changelog</a>.</em></p>
<blockquote>
<h2>[2.23.2] - 2021-05-15</h2>
<h3>Changed</h3>
<ul>
<li>[meta] add <code>safe-publish-latest</code>; use <code>prepublishOnly</code> script for npm 7+</li>
</ul>
<h2>[2.23.1] - 2021-05-14</h2>
<h3>Fixed</h3>
<ul>
<li>[<code>newline-after-import</code>]: fix crash with <code>export {}</code> syntax (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2063">https://github.com/facebook/flipper/issues/2063</a>, <a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2056">https://github.com/facebook/flipper/issues/2056</a>, thanks [<a href="https://github.com/ljharb"><code>@​ljharb</code></a>])</li>
<li><code>ExportMap</code>: do not crash when tsconfig lacks <code>.compilerOptions</code> (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2067">https://github.com/facebook/flipper/issues/2067</a>, thanks [<a href="https://github.com/ljharb"><code>@​ljharb</code></a>])</li>
<li>[<code>order</code>]: fix alphabetical sorting (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2071">https://github.com/facebook/flipper/issues/2071</a>, thanks [<a href="https://github.com/grit96"><code>@​grit96</code></a>])</li>
</ul>
<h2>[2.23.0] - 2021-05-13</h2>
<h3>Added</h3>
<ul>
<li>[<code>no-commonjs</code>]: Also detect require calls with expressionless template literals: <code>require(`x`)</code> (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1958">https://github.com/facebook/flipper/issues/1958</a>, thanks [<a href="https://github.com/FloEdelmann"><code>@​FloEdelmann</code></a>])</li>
<li>[<code>no-internal-modules</code>]: Add <code>forbid</code> option (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1846">https://github.com/facebook/flipper/issues/1846</a>, thanks [<a href="https://github.com/guillaumewuip"><code>@​guillaumewuip</code></a>])</li>
<li>add [<code>no-relative-packages</code>] (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1860">https://github.com/facebook/flipper/issues/1860</a>, <a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/966">https://github.com/facebook/flipper/issues/966</a>, thanks [<a href="https://github.com/tapayne88"><code>@​tapayne88</code></a>] [<a href="https://github.com/panrafal"><code>@​panrafal</code></a>])</li>
<li>add [<code>no-import-module-exports</code>] rule: report import declarations with CommonJS exports (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/804">https://github.com/facebook/flipper/issues/804</a>, thanks [<a href="https://github.com/kentcdodds"><code>@​kentcdodds</code></a>] and [<a href="https://github.com/ttmarek"><code>@​ttmarek</code></a>])</li>
<li>[<code>no-unused-modules</code>]: Support destructuring assignment for <code>export</code>. (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1997">https://github.com/facebook/flipper/issues/1997</a>, thanks [<a href="https://github.com/s-h-a-d-o-w"><code>@​s-h-a-d-o-w</code></a>])</li>
<li>[<code>order</code>]: support type imports (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2021">https://github.com/facebook/flipper/issues/2021</a>, thanks [<a href="https://github.com/grit96"><code>@​grit96</code></a>])</li>
<li>[<code>order</code>]: Add <code>warnOnUnassignedImports</code> option to enable warnings for out of order unassigned imports (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1990">https://github.com/facebook/flipper/issues/1990</a>, thanks [<a href="https://github.com/hayes"><code>@​hayes</code></a>])</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[<code>export</code>]/TypeScript: properly detect export specifiers as children of a TS module block (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1889">https://github.com/facebook/flipper/issues/1889</a>, thanks [<a href="https://github.com/andreubotella"><code>@​andreubotella</code></a>])</li>
<li>[<code>order</code>]: ignore non-module-level requires (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1940">https://github.com/facebook/flipper/issues/1940</a>, thanks [<a href="https://github.com/golopot"><code>@​golopot</code></a>])</li>
<li>[<code>no-webpack-loader-syntax</code>]/TypeScript: avoid crash on missing name (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1947">https://github.com/facebook/flipper/issues/1947</a>, thanks [<a href="https://github.com/leonardodino"><code>@​leonardodino</code></a>])</li>
<li>[<code>no-extraneous-dependencies</code>]: Add package.json cache (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1948">https://github.com/facebook/flipper/issues/1948</a>, thanks [<a href="https://github.com/fa93hws"><code>@​fa93hws</code></a>])</li>
<li>[<code>prefer-default-export</code>]: handle empty array destructuring (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1965">https://github.com/facebook/flipper/issues/1965</a>, thanks [<a href="https://github.com/ljharb"><code>@​ljharb</code></a>])</li>
<li>[<code>no-unused-modules</code>]: make type imports mark a module as used (fixes <a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1924">https://github.com/facebook/flipper/issues/1924</a>) (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1974">https://github.com/facebook/flipper/issues/1974</a>, thanks [<a href="https://github.com/cherryblossom000"><code>@​cherryblossom000</code></a>])</li>
<li>[<code>no-cycle</code>]: fix perf regression (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1944">https://github.com/facebook/flipper/issues/1944</a>, thanks [<a href="https://github.com/Blasz"><code>@​Blasz</code></a>])</li>
<li>[<code>first</code>]: fix handling of <code>import = require</code> (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1963">https://github.com/facebook/flipper/issues/1963</a>, thanks [<a href="https://github.com/MatthiasKunnen"><code>@​MatthiasKunnen</code></a>])</li>
<li>[<code>no-cycle</code>]/[<code>extensions</code>]: fix isExternalModule usage (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1696">https://github.com/facebook/flipper/issues/1696</a>, thanks [<a href="https://github.com/paztis"><code>@​paztis</code></a>])</li>
<li>[<code>extensions</code>]/[<code>no-cycle</code>]/[<code>no-extraneous-dependencies</code>]: Correct module real path resolution (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1696">https://github.com/facebook/flipper/issues/1696</a>, thanks [<a href="https://github.com/paztis"><code>@​paztis</code></a>])</li>
<li>[<code>no-named-default</code>]: ignore Flow import type and typeof (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1983">https://github.com/facebook/flipper/issues/1983</a>, thanks [<a href="https://github.com/christianvuerings"><code>@​christianvuerings</code></a>])</li>
<li>[<code>no-extraneous-dependencies</code>]: Exclude flow <code>typeof</code> imports (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1534">https://github.com/facebook/flipper/issues/1534</a>, thanks [<a href="https://github.com/devongovett"><code>@​devongovett</code></a>])</li>
<li>[<code>newline-after-import</code>]: respect decorator annotations (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1985">https://github.com/facebook/flipper/issues/1985</a>, thanks [<a href="https://github.com/lilling"><code>@​lilling</code></a>])</li>
<li>[<code>no-restricted-paths</code>]: enhance performance for zones with <code>except</code> paths (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2022">https://github.com/facebook/flipper/issues/2022</a>, thanks [<a href="https://github.com/malykhinvi"><code>@​malykhinvi</code></a>])</li>
<li>[<code>no-unresolved</code>]: check import() (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2026">https://github.com/facebook/flipper/issues/2026</a>, thanks [<a href="https://github.com/aladdin-add"><code>@​aladdin-add</code></a>])</li>
</ul>
<h3>Changed</h3>
<ul>
<li>[Generic Import Callback] Make callback for all imports once in rules (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1237">https://github.com/facebook/flipper/issues/1237</a>, thanks [<a href="https://github.com/ljqx"><code>@​ljqx</code></a>])</li>
<li>[Docs] [<code>no-named-as-default</code>]: add semicolon (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1897">https://github.com/facebook/flipper/issues/1897</a>, thanks [<a href="https://github.com/bicstone"><code>@​bicstone</code></a>])</li>
<li>[Docs] <code>no-extraneous-dependencies</code>: correct peerDependencies option default to <code>true</code> (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1993">https://github.com/facebook/flipper/issues/1993</a>, thanks [<a href="https://github.com/dwardu"><code>@​dwardu</code></a>])</li>
<li>[Docs] <code>order</code>: Document options required to match ordering example (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1992">https://github.com/facebook/flipper/issues/1992</a>, thanks [<a href="https://github.com/silviogutierrez"><code>@​silviogutierrez</code></a>])</li>
<li>[Tests] <code>no-unresolved</code>: add tests for <code>import()</code> (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2012">https://github.com/facebook/flipper/issues/2012</a>, thanks [<a href="https://github.com/davidbonnet"><code>@​davidbonnet</code></a>])</li>
<li>[Docs] Add import/recommended ruleset to README (<a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2034">https://github.com/facebook/flipper/issues/2034</a>, thanks [<a href="https://github.com/edemaine"><code>@​edemaine</code></a>])</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a332f20fa2"><code>a332f20</code></a> Bump to v2.23.2</li>
<li><a href="5af181f13f"><code>5af181f</code></a> [meta] add <code>safe-publish-latest</code>; use <code>prepublishOnly</code> script for npm 7+</li>
<li><a href="8431b46a8b"><code>8431b46</code></a> Bump to v2.23.1</li>
<li><a href="83f3c3eca6"><code>83f3c3e</code></a> [Fix] <code>order</code>: fix alphabetical sorting</li>
<li><a href="821354381f"><code>8213543</code></a> [Tests] add missing fixture from d903477f4e31be71e016f8af56cbe2a8d4f11c9c</li>
<li><a href="d903477f4e"><code>d903477</code></a> [Fix] ExportMap: do not crash when tsconfig lacks <code>.compilerOptions</code></li>
<li><a href="dd0e8cbcb4"><code>dd0e8cb</code></a> [meta] correct <a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2065">https://github.com/facebook/flipper/issues/2065</a> -&gt; <a href="https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/2056">https://github.com/facebook/flipper/issues/2056</a></li>
<li><a href="8d7ec179c2"><code>8d7ec17</code></a> [Fix] <code>newline-after-import</code>: fix crash with <code>export {}</code> syntax</li>
<li><a href="e9e755d085"><code>e9e755d</code></a> Bump to v2.23.0</li>
<li><a href="7b264c0547"><code>7b264c0</code></a> [resolvers/webpack] v0.13.1</li>
<li>Additional commits viewable in <a href="https://github.com/benmosher/eslint-plugin-import/compare/v2.22.1...v2.23.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-import&package-manager=npm_and_yarn&previous-version=2.22.1&new-version=2.23.2)](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/2319

Reviewed By: priteshrnandgaonkar

Differential Revision: D28474726

Pulled By: mweststrate

fbshipit-source-id: 804e1128063002e1fdd058b7d7cb036156425f0e
2021-05-18 06:42:09 -07:00
2020-07-01 09:12:36 -07:00
2021-05-14 13:41:51 -07:00
2021-05-10 03:39:46 -07: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
2019-09-30 06:41:57 -07:00
2018-06-01 11:03:58 +01:00
2021-05-17 07:29:49 -07: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-07-24 03:38:05 -07:00
2020-11-09 08:24:28 -08:00
2020-01-16 06:18:37 -08:00
2020-01-16 06:18:37 -08:00
2019-10-11 13:46:45 -07:00
2021-02-12 04:36:10 -08:00
2020-08-10 08:47:32 -07:00

logo

Flipper

Build Status Android Maven Badge iOS

Flipper (formerly Sonar) is a platform for debugging mobile apps on iOS and Android. 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 and native mobile 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)
  • Plugins:
    • Logs (/desktop/src/device-plugins/logs)
    • Layout inspector (/desktop/plugins/layout)
    • Network inspector (/desktop/plugins/network)
    • Shared Preferences/NSUserDefaults inspector (/desktop/plugins/shared_preferences)
  • website and documentation (/website / /docs)

Getting started

Please refer to our Getting Started guide to set up 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

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.

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%