dependabot[bot] 9c86aa4e35 Bump mockito-core from 4.6.1 to 4.7.0 (#4004)
Summary:
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.6.1 to 4.7.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/mockito/mockito/releases">mockito-core's releases</a>.</em></p>
<blockquote>
<h2>v4.7.0</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --><em>Changelog generated by <a href="https://github.com/shipkit/shipkit-changelog">Shipkit Changelog Gradle Plugin</a></em><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h4>4.7.0</h4>
<ul>
<li>2022-08-13 - <a href="https://github.com/mockito/mockito/compare/v4.6.1...v4.7.0">33 commit(s)</a> by 198812345678, Andy Coates, Chen Ni, Marius Lichtblau, Nikita Koselev. Developer Advocate, Open Source Ally, Rafael Winterhalter, dependabot[bot], dstango, fishautumn, heqiang</li>
<li>Bump com.diffplug.spotless from 6.9.0 to 6.9.1 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2725">https://github.com/facebook/flipper/issues/2725</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2725">mockito/mockito#2725</a>)</li>
<li>Bump versions.bytebuddy from 1.12.12 to 1.12.13 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2719">https://github.com/facebook/flipper/issues/2719</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2719">mockito/mockito#2719</a>)</li>
<li>Fix Javadoc for Mockito. [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2718">https://github.com/facebook/flipper/issues/2718</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2718">mockito/mockito#2718</a>)</li>
<li>Bump com.diffplug.spotless from 6.8.0 to 6.9.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2717">https://github.com/facebook/flipper/issues/2717</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2717">mockito/mockito#2717</a>)</li>
<li>Fix a typo in comment of InternalRunner.java [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2715">https://github.com/facebook/flipper/issues/2715</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2715">mockito/mockito#2715</a>)</li>
<li>Bump junit-platform-launcher from 1.8.2 to 1.9.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2713">https://github.com/facebook/flipper/issues/2713</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2713">mockito/mockito#2713</a>)</li>
<li>Bump versions.junitJupiter from 5.8.2 to 5.9.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2712">https://github.com/facebook/flipper/issues/2712</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2712">mockito/mockito#2712</a>)</li>
<li>Bump groovy from 3.0.11 to 3.0.12 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2711">https://github.com/facebook/flipper/issues/2711</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2711">mockito/mockito#2711</a>)</li>
<li>Bump shipkit-auto-version from 1.2.0 to 1.2.1 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2709">https://github.com/facebook/flipper/issues/2709</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2709">mockito/mockito#2709</a>)</li>
<li>Bump kotlinVersion from 1.7.0 to 1.7.10 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2705">https://github.com/facebook/flipper/issues/2705</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2705">mockito/mockito#2705</a>)</li>
<li>Bump com.diffplug.spotless from 6.7.2 to 6.8.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2699">https://github.com/facebook/flipper/issues/2699</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2699">mockito/mockito#2699</a>)</li>
<li>Bump versions.bytebuddy from 1.12.11 to 1.12.12 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2695">https://github.com/facebook/flipper/issues/2695</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2695">mockito/mockito#2695</a>)</li>
<li>Makes error message less misleading and points to github for help. Issue <a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2692">https://github.com/facebook/flipper/issues/2692</a> [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2693">https://github.com/facebook/flipper/issues/2693</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2693">mockito/mockito#2693</a>)</li>
<li>Misleading error message when mocking and a class (of a parameter) is not found [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2692">https://github.com/facebook/flipper/issues/2692</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2692">mockito/mockito#2692</a>)</li>
<li>Bump kotlinx-coroutines-core from 1.6.1-native-mt to 1.6.3-native-mt [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2691">https://github.com/facebook/flipper/issues/2691</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2691">mockito/mockito#2691</a>)</li>
<li>Bump versions.bytebuddy from 1.12.10 to 1.12.11 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2690">https://github.com/facebook/flipper/issues/2690</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2690">mockito/mockito#2690</a>)</li>
<li>Fixes <a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2679">https://github.com/facebook/flipper/issues/2679</a> : Update Javadoc [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2689">https://github.com/facebook/flipper/issues/2689</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2689">mockito/mockito#2689</a>)</li>
<li>Bump org.eclipse.osgi from 3.17.200 to 3.18.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2688">https://github.com/facebook/flipper/issues/2688</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2688">mockito/mockito#2688</a>)</li>
<li>RETURNS_SELF: Avoids returning mock when mock type is assignable to method return type, but method return type is Object. [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2687">https://github.com/facebook/flipper/issues/2687</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2687">mockito/mockito#2687</a>)</li>
<li>RETURNS_SELF breaks methods with generic return type [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2686">https://github.com/facebook/flipper/issues/2686</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2686">mockito/mockito#2686</a>)</li>
<li>Fix <a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2616">https://github.com/facebook/flipper/issues/2616</a> wrong stub for nested static [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2685">https://github.com/facebook/flipper/issues/2685</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2685">mockito/mockito#2685</a>)</li>
<li>Bump com.diffplug.spotless from 6.7.0 to 6.7.2 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2684">https://github.com/facebook/flipper/issues/2684</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2684">mockito/mockito#2684</a>)</li>
<li>Avoids starting mocks &quot;half-way&quot; if a superclass constructor is mocked but an unmocked subclass is initiated. [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2682">https://github.com/facebook/flipper/issues/2682</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2682">mockito/mockito#2682</a>)</li>
<li>Fix typo [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2681">https://github.com/facebook/flipper/issues/2681</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2681">mockito/mockito#2681</a>)</li>
<li>Update javadoc of <code>Strictness.STRICT_STUBS</code> [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2679">https://github.com/facebook/flipper/issues/2679</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2679">mockito/mockito#2679</a>)</li>
<li>Bump kotlinVersion from 1.6.21 to 1.7.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2677">https://github.com/facebook/flipper/issues/2677</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2677">mockito/mockito#2677</a>)</li>
<li>Bump biz.aQute.bnd.builder from 6.3.0 to 6.3.1 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2675">https://github.com/facebook/flipper/issues/2675</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2675">mockito/mockito#2675</a>)</li>
<li>Bump biz.aQute.bnd.gradle from 6.3.0 to 6.3.1 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2674">https://github.com/facebook/flipper/issues/2674</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2674">mockito/mockito#2674</a>)</li>
<li>Bump com.diffplug.spotless from 6.6.1 to 6.7.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2672">https://github.com/facebook/flipper/issues/2672</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2672">mockito/mockito#2672</a>)</li>
<li>update CONTRIBUTING.md - stackoverflow [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2671">https://github.com/facebook/flipper/issues/2671</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2671">mockito/mockito#2671</a>)</li>
<li>stackoverflow.com is a non-actionable text, to be replaced with a hyperlink [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2670">https://github.com/facebook/flipper/issues/2670</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2670">mockito/mockito#2670</a>)</li>
<li>Fix typos [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2669">https://github.com/facebook/flipper/issues/2669</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2669">mockito/mockito#2669</a>)</li>
<li>Bump biz.aQute.bnd.gradle from 6.2.0 to 6.3.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2666">https://github.com/facebook/flipper/issues/2666</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2666">mockito/mockito#2666</a>)</li>
<li>Bump biz.aQute.bnd.builder from 6.2.0 to 6.3.0 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2665">https://github.com/facebook/flipper/issues/2665</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2665">mockito/mockito#2665</a>)</li>
<li>Improve Varargs handling in AdditionalAnswers [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2664">https://github.com/facebook/flipper/issues/2664</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2664">mockito/mockito#2664</a>)</li>
<li>Bump appcompat from 1.4.1 to 1.4.2 [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2663">https://github.com/facebook/flipper/issues/2663</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/pull/2663">mockito/mockito#2663</a>)</li>
<li>Varargs methods cause <code>ClassCastException</code> in <code>AnswerFunctionalInterfaces</code> [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2644">https://github.com/facebook/flipper/issues/2644</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2644">mockito/mockito#2644</a>)</li>
<li>Mock static class seems records wrong invocations if called nested method throws exception [(<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2616">https://github.com/facebook/flipper/issues/2616</a>)](<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2616">mockito/mockito#2616</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="70c1fe9f37"><code>70c1fe9</code></a> Bump com.diffplug.spotless from 6.9.0 to 6.9.1 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2725">https://github.com/facebook/flipper/issues/2725</a>)</li>
<li><a href="95b43e5010"><code>95b43e5</code></a> Bump versions.bytebuddy from 1.12.12 to 1.12.13 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2719">https://github.com/facebook/flipper/issues/2719</a>)</li>
<li><a href="b4d8f5aa36"><code>b4d8f5a</code></a> Fix Javadoc for Mockito. (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2718">https://github.com/facebook/flipper/issues/2718</a>)</li>
<li><a href="507ac8770d"><code>507ac87</code></a> Bump com.diffplug.spotless from 6.8.0 to 6.9.0 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2717">https://github.com/facebook/flipper/issues/2717</a>)</li>
<li><a href="6e9c5facf0"><code>6e9c5fa</code></a> Fix typo in comment of InternalRunner.java (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2715">https://github.com/facebook/flipper/issues/2715</a>)</li>
<li><a href="2bcc19a668"><code>2bcc19a</code></a> Bump junit-platform-launcher from 1.8.2 to 1.9.0 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2713">https://github.com/facebook/flipper/issues/2713</a>)</li>
<li><a href="98a0a0bddd"><code>98a0a0b</code></a> Bump versions.junitJupiter from 5.8.2 to 5.9.0 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2712">https://github.com/facebook/flipper/issues/2712</a>)</li>
<li><a href="de63c24352"><code>de63c24</code></a> Bump groovy from 3.0.11 to 3.0.12 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2711">https://github.com/facebook/flipper/issues/2711</a>)</li>
<li><a href="ce8f617574"><code>ce8f617</code></a> Bump shipkit-auto-version from 1.2.0 to 1.2.1 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2709">https://github.com/facebook/flipper/issues/2709</a>)</li>
<li><a href="9bc76015b6"><code>9bc7601</code></a> Bump kotlinVersion from 1.7.0 to 1.7.10 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2705">https://github.com/facebook/flipper/issues/2705</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/mockito/mockito/compare/v4.6.1...v4.7.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.mockito:mockito-core&package-manager=gradle&previous-version=4.6.1&new-version=4.7.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/4004

Reviewed By: passy

Differential Revision: D38781335

Pulled By: mweststrate

fbshipit-source-id: c94e5c6229c18476f0eacece525c645774bd53da
2022-08-17 05:44:23 -07:00
2022-06-16 06:27:01 -07:00
2022-08-10 21:21:39 -07:00
2022-08-17 03:32:56 -07:00
2022-08-03 09:17:20 -07:00
2022-08-10 21:21:39 -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
2022-07-20 06:51:09 -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-08-01 09:27:19 -07: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

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.

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%