Summary: Bumps [babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.12.13 to 7.13.13. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/babel/babel/releases"><code>@babel/preset-react's releases</code></a>.</em></p> <blockquote> <h2>v7.13.12 (2021-03-22)</h2> <p>Thanks <a href="https://github.com/hajnalbendeguz"><code>@hajnalbendeguz</code></a> for your first PR!</p> <h4>🐛 Bug Fix</h4> <ul> <li><code>babel-standalone</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13017">#13017</a> Fix importing polyfill plugins in the Rollup bundle (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining</code>, <code>babel-plugin-proposal-optional-chaining</code>, <code>babel-preset-env</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13009">#13009</a> Implement babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12971">#12971</a> fix: do not throw when creating type annotation based on bigint (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-preset-env</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13008">#13008</a> Update compat data (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> </ul> <h4>💅 Polish</h4> <ul> <li><code>babel-plugin-transform-react-jsx</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12983">#12983</a> Improve error message when not providing a value for JSX key (<a href="https://github.com/hajnalbendeguz"><code>@hajnalbendeguz</code></a>)</li> </ul> </li> </ul> <h4>🏠 Internal</h4> <ul> <li><code>babel-compat-data</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13024">#13024</a> Remove lodash from babel-compat-data (<a href="https://github.com/jridgewell"><code>@jridgewell</code></a>)</li> </ul> </li> <li><code>babel-node</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13025">#13025</a> Remove <code>lodash</code> from <code>babel/node</code> tests (<a href="https://github.com/jridgewell"><code>@jridgewell</code></a>)</li> </ul> </li> <li><code>babel-helper-module-transforms</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13022">#13022</a> Remove <code>lodash/chunk</code> (<a href="https://github.com/jridgewell"><code>@jridgewell</code></a>)</li> </ul> </li> <li><code>babel-plugin-transform-proto-to-assign</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13026">#13026</a> Remove lodash/pull (<a href="https://github.com/jridgewell"><code>@jridgewell</code></a>)</li> </ul> </li> <li><code>babel-helper-define-map</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13023">#13023</a> Remove lodash/has (<a href="https://github.com/jridgewell"><code>@jridgewell</code></a>)</li> </ul> </li> </ul> <h4>Committers: 6</h4> <ul> <li>Bogdan Savluk (<a href="https://github.com/zxbodya"><code>@zxbodya</code></a>)</li> <li>Huáng Jùnliàng (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> <li>Justin Ridgewell (<a href="https://github.com/jridgewell"><code>@jridgewell</code></a>)</li> <li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> <li>Sosuke Suzuki (<a href="https://github.com/sosukesuzuki"><code>@sosukesuzuki</code></a>)</li> <li><a href="https://github.com/hajnalbendeguz"><code>@hajnalbendeguz</code></a></li> </ul> <h2>v7.13.11 (2021-03-15)</h2> <h4>👓 Spec Compliance</h4> <ul> <li><code>babel-parser</code>, <code>babel-plugin-proposal-class-static-block</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12738">#12738</a> Support multiple static blocks (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> </ul> <h4>🐛 Bug Fix</h4> <ul> <li><code>babel-compat-data</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13000">#13000</a> Point to CJS files in <code>babel/compat-data</code>'s <code>exports</code> (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12962">#12962</a> Parse type imports in TSImportEqualsDeclaration (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-helper-compilation-targets</code></li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/babel/babel/blob/main/CHANGELOG.md"><code>@babel/preset-react's changelog</code></a>.</em></p> <blockquote> <h2>v7.13.13 (2021-03-26)</h2> <h4>👓 Spec Compliance</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12441">#12441</a> Disallow await before exponential (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> </ul> <h4>🐛 Bug Fix</h4> <ul> <li><code>babel-core</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13031">#13031</a> Correctly handle relative <code>browserslistConfigFile</code> paths (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-core</code>, <code>babel-preset-env</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13028">#13028</a> Resolve <code>.browserslistrc</code> as a project-wide file (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-plugin-transform-react-constant-elements</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13054">#13054</a> fix: constant variables only enable constant react elements (<a href="https://github.com/cgood92"><code>@cgood92</code></a>)</li> </ul> </li> <li><code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13046">#13046</a> fix(types): add missing range for BaseNode (<a href="https://github.com/JounQin"><code>@JounQin</code></a>)</li> </ul> </li> <li><code>babel-node</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13037">#13037</a> fix: make babel-node spawned process bubble msg (<a href="https://github.com/lambertkevin"><code>@lambertkevin</code></a>)</li> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13037">#13037</a> fix: make babel-node spawned process bubble msg (<a href="https://github.com/lambertkevin"><code>@lambertkevin</code></a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12933">#12933</a> fix(ts): parenthesized assert and assign (<a href="https://github.com/fedeci"><code>@fedeci</code></a>)</li> </ul> </li> </ul> <h4>💅 Polish</h4> <ul> <li><code>babel-cli</code>, <code>babel-core</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12954">#12954</a> Do not bail on SHOW_CONFIG_FOR matches (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> </ul> <h4>🏠 Internal</h4> <ul> <li><code>babel-core</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13021">#13021</a> Remove lodash sortBy use (<a href="https://github.com/jridgewell"><code>@jridgewell</code></a>)</li> </ul> </li> <li>Other <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13055">#13055</a> Replace CircleCI badge by GitHub CI (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-traverse</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13044">#13044</a> Expand type definitions for path.{get,set}Data to cover symbols (<a href="https://github.com/addaleax"><code>@addaleax</code></a>)</li> </ul> </li> </ul> <h4>🏃♀️ Performance</h4> <ul> <li><code>babel-core</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13040">#13040</a> Set <code>rootMode: "root"</code> in <code>loadPartialConfig</code> (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> </ul> <h2>v7.13.12 (2021-03-22)</h2> <h4>🐛 Bug Fix</h4> <ul> <li><code>babel-standalone</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13017">#13017</a> Fix importing polyfill plugins in the Rollup bundle (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining</code>, <code>babel-plugin-proposal-optional-chaining</code>, <code>babel-preset-env</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13009">#13009</a> Implement babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12971">#12971</a> fix: do not throw when creating type annotation based on bigint (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-compat-data</code>, <code>babel-preset-env</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13008">#13008</a> Update compat data (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> </ul> <h4>💅 Polish</h4> <ul> <li><code>babel-plugin-transform-react-jsx</code></li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="2f8203f190"><code>2f8203f</code></a> v7.13.13</li> <li><a href="1e3ef05685"><code>1e3ef05</code></a> [babel 8] Type checking preset-react options (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react/issues/12741">#12741</a>)</li> <li><a href="d04842a700"><code>d04842a</code></a> Avoid using CJS globals in internal source files (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react/issues/12963">#12963</a>)</li> <li>See full diff in <a href="https://github.com/babel/babel/commits/v7.13.13/packages/babel-preset-react">compare view</a></li> </ul> </details> <br /> [](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/2133 Reviewed By: passy Differential Revision: D27396026 Pulled By: mweststrate fbshipit-source-id: 217ed9257cac7f9e8173ef2964024b7287698272
Flipper
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.
Table of Contents
- Mobile development
- Extending Flipper
- Contributing to Flipper
- In this repo
- Getting started
- Building from Source
- iOS SDK + Sample App
- Android SDK + Sample app
- Documentation
- Contributing
- License
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)
- Logs (
- 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.
