Summary: Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.20.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/axios/axios/releases">axios's releases</a>.</em></p> <blockquote> <h2>v0.20.0</h2> <p>Release of 0.20.0-pre as a full release with no other changes.</p> <h2>v0.20.0-0</h2> <h3>0.20.0-pre (July 15, 2020)</h3> <p>Fixes and Functionality:</p> <ul> <li>Fixing response with utf-8 BOM can not parse to json (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2419">#2419</a>) <ul> <li>fix: remove byte order marker (UTF-8 BOM) when transform response</li> <li>fix: remove BOM only utf-8</li> <li>test: utf-8 BOM</li> <li>fix: incorrect param name</li> </ul> </li> <li>Refactor mergeConfig without utils.deepMerge (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2844">#2844</a>) <ul> <li>Adding failing test</li> <li>Fixing <a href="https://github-redirect.dependabot.com/axios/axios/issues/2587">#2587</a> default custom config persisting</li> <li>Adding Concat keys and filter duplicates</li> <li>Fixed value from CPE</li> <li>update for review feedbacks</li> <li>no deepMerge</li> <li>only merge between plain objects</li> <li>fix rename</li> <li>always merge config by mergeConfig</li> <li>extract function mergeDeepProperties</li> <li>refactor mergeConfig with all keys, and add special logic for validateStatus</li> <li>add test for resetting headers</li> <li>add lots of tests and fix a bug</li> <li>should not inherit <code>data</code></li> <li>use simple toString</li> </ul> </li> <li>Fixing overwrite Blob/File type as Content-Type in browser. (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1773">#1773</a>)</li> <li>Fixing an issue that type 'null' is not assignable to validateStatus (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2773">#2773</a>)</li> <li>Fixing special char encoding (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1671">#1671</a>) <ul> <li>removing @ character from replacement list since it is a reserved character</li> <li>Updating buildURL test to not include the @ character</li> <li>Removing console logs</li> </ul> </li> <li>Fixing password encoding with special characters in basic authentication (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1492">https://github.com/facebook/flipper/issues/1492</a>) <ul> <li>Fixing password encoding with special characters in basic authentication</li> <li>Adding test to check if password with non-Latin1 characters pass</li> </ul> </li> <li>Fixing 'Network Error' in react native android (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1487">https://github.com/facebook/flipper/issues/1487</a>) There is a bug in react native Android platform when using get method. It will trigger a 'Network Error' when passing the requestData which is an empty string to request.send function. So if the requestData is an empty string we can set it to null as well to fix the bug.</li> <li>Fixing Cookie Helper with Asyc Components (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1105">https://github.com/facebook/flipper/issues/1105</a>) (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1107">https://github.com/facebook/flipper/issues/1107</a>)</li> <li>Fixing 'progressEvent' type (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2851">#2851</a>) <ul> <li>Fix 'progressEvent' type</li> <li>Update axios.ts</li> </ul> </li> <li>Fixing getting local files (file://) failed (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2470">#2470</a>) <ul> <li>fix issue <a href="https://github-redirect.dependabot.com/axios/axios/issues/2416">#2416</a>, <a href="https://github-redirect.dependabot.com/axios/axios/issues/2396">#2396</a></li> <li>fix Eslint warn</li> <li>Modify judgment conditions</li> <li>add unit test</li> <li>update unit test</li> </ul> </li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/axios/axios/blob/master/CHANGELOG.md">axios's changelog</a>.</em></p> <blockquote> <h3>0.20.0 (August 20, 2020)</h3> <p>Release of 0.20.0-pre as a full release with no other changes.</p> <h3>0.20.0-pre (July 15, 2020)</h3> <p>Fixes and Functionality:</p> <ul> <li>Fixing response with utf-8 BOM can not parse to json (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2419">#2419</a>) <ul> <li>fix: remove byte order marker (UTF-8 BOM) when transform response</li> <li>fix: remove BOM only utf-8</li> <li>test: utf-8 BOM</li> <li>fix: incorrect param name</li> </ul> </li> <li>Refactor mergeConfig without utils.deepMerge (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2844">#2844</a>) <ul> <li>Adding failing test</li> <li>Fixing <a href="https://github-redirect.dependabot.com/axios/axios/issues/2587">#2587</a> default custom config persisting</li> <li>Adding Concat keys and filter duplicates</li> <li>Fixed value from CPE</li> <li>update for review feedbacks</li> <li>no deepMerge</li> <li>only merge between plain objects</li> <li>fix rename</li> <li>always merge config by mergeConfig</li> <li>extract function mergeDeepProperties</li> <li>refactor mergeConfig with all keys, and add special logic for validateStatus</li> <li>add test for resetting headers</li> <li>add lots of tests and fix a bug</li> <li>should not inherit <code>data</code></li> <li>use simple toString</li> </ul> </li> <li>Fixing overwrite Blob/File type as Content-Type in browser. (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1773">#1773</a>)</li> <li>Fixing an issue that type 'null' is not assignable to validateStatus (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2773">#2773</a>)</li> <li>Fixing special char encoding (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1671">#1671</a>) <ul> <li>removing @ character from replacement list since it is a reserved character</li> <li>Updating buildURL test to not include the @ character</li> <li>Removing console logs</li> </ul> </li> <li>Fixing password encoding with special characters in basic authentication (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1492">https://github.com/facebook/flipper/issues/1492</a>) <ul> <li>Fixing password encoding with special characters in basic authentication</li> <li>Adding test to check if password with non-Latin1 characters pass</li> </ul> </li> <li>Fixing 'Network Error' in react native android (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1487">https://github.com/facebook/flipper/issues/1487</a>) There is a bug in react native Android platform when using get method. It will trigger a 'Network Error' when passing the requestData which is an empty string to request.send function. So if the requestData is an empty string we can set it to null as well to fix the bug.</li> <li>Fixing Cookie Helper with Asyc Components (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1105">https://github.com/facebook/flipper/issues/1105</a>) (<a href="https://github-redirect.dependabot.com/axios/axios/pull/1107">https://github.com/facebook/flipper/issues/1107</a>)</li> <li>Fixing 'progressEvent' type (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2851">#2851</a>) <ul> <li>Fix 'progressEvent' type</li> <li>Update axios.ts</li> </ul> </li> <li>Fixing getting local files (file://) failed (<a href="https://github-redirect.dependabot.com/axios/axios/pull/2470">#2470</a>) <ul> <li>fix issue <a href="https://github-redirect.dependabot.com/axios/axios/issues/2416">#2416</a>, <a href="https://github-redirect.dependabot.com/axios/axios/issues/2396">#2396</a></li> <li>fix Eslint warn</li> <li>Modify judgment conditions</li> <li>add unit test</li> <li>update unit test</li> </ul> </li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="0d87655624"><code>0d87655</code></a> Releasing 0.20.0</li> <li><a href="cd27741ff6"><code>cd27741</code></a> Updating changelog for 0.20.0 release</li> <li><a href="ffea03453f"><code>ffea034</code></a> Releasing 0.20.0-0</li> <li><a href="fe147fbd3b"><code>fe147fb</code></a> Updating changlog for 0.20.0 beta release</li> <li><a href="16aa2ce7fa"><code>16aa2ce</code></a> Fixing response with utf-8 BOM can not parse to json (<a href="https://github-redirect.dependabot.com/axios/axios/issues/2419">#2419</a>)</li> <li><a href="c4300a88cf"><code>c4300a8</code></a> Adding support for URLSearchParams in node (<a href="https://github-redirect.dependabot.com/axios/axios/issues/1900">#1900</a>)</li> <li><a href="bed6783452"><code>bed6783</code></a> add table of content (preview) (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3050">#3050</a>)</li> <li><a href="c70fab9d56"><code>c70fab9</code></a> Fix stale bot config (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3049">#3049</a>)</li> <li><a href="5b08fc4ac7"><code>5b08fc4</code></a> Add days and change name to work (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3035">#3035</a>)</li> <li><a href="1768c23da0"><code>1768c23</code></a> Update close-issues.yml (<a href="https://github-redirect.dependabot.com/axios/axios/issues/3031">#3031</a>)</li> <li>Additional commits viewable in <a href="https://github.com/axios/axios/compare/v0.19.2...v0.20.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates) 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/1558 Reviewed By: cekkaewnumchai Differential Revision: D24112920 Pulled By: mweststrate fbshipit-source-id: 3e3e21501ac69a72dcdb2655c012c86372d94047
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.
