dependabot[bot] 6362299f9c Bump mockito-core from 3.12.4 to 4.0.0 (#2965)
Summary:
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.12.4 to 4.0.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.0.0</h2>
<h1>Mockito 4: Removing deprecated APIs.</h1>
<p>All of these APIs have been marked as deprecated and have been present
in Mockito for quite a while.</p>
<p>An overview of now-deleted classes/methods:</p>
<ul>
<li><code>org.mockito.Matchers</code> which was an alias for
<code>org.mockito.ArgumentMatchers</code></li>
<li><code>org.mockito.ArgumentMatchers#{anyObject,anyVararg}</code> both which were
aliases for <code>org.mockito.ArgumentMatchers#any</code></li>
<li><code>org.mockito.ArgumentMatchers#any*Of</code>, which were aliases for the same
method name without the Of and the generic parameters (which were
ignored)</li>
<li><code>org.mockito.ArgumentMatchers#{is}{Not}Null(Class)</code> which took a class
which was ignored. Aliases for the same methods without the parameter</li>
<li><code>org.mockito.MockedStatic#verify</code> which had the parameter types reversed</li>
<li><code>org.mockito.Mockito#verifyZeroInteractions</code> an alias of
<code>verifyNoMoreInteractions</code></li>
<li><code>org.mockito.Mockito#debug</code> framework integration API that we later
refactored</li>
<li><code>org.mockito.configuration.AnnotationEngine</code> which was leaking internal
APIs and instead users should use <code>org.mockito.plugins.AnnotationEngine</code></li>
<li><code>org.mockito.exceptions.verification.TooLittleActualInvocations</code> fixed
the grammar from &quot;Little&quot; to &quot;Few&quot;</li>
<li>Numerous internal APIs that we never officially supported and can now
remove</li>
<li><code>org.mockito.plugins.InstantiatorProvider</code> which was leaking internal
APIs and instead users should use InstantiatorProvider2 (we should
probably rename back to remove the number in a future major release)</li>
<li><code>org.mockito.runners</code> a package that hosted several old JUnit runners
which were no longer supported. Users should instead use
<code>org.mockito.junit.MockitoJUnitRunner</code> which is our official JUnit4
runner.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="e8f26b3785"><code>e8f26b3</code></a> Fixes <a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2281">https://github.com/facebook/flipper/issues/2281</a>: Make MockedConstruction stubs close on demand (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2442">https://github.com/facebook/flipper/issues/2442</a>)</li>
<li><a href="bf480c3ec4"><code>bf480c3</code></a> Bump versions.bytebuddy from 1.11.18 to 1.11.19 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2441">https://github.com/facebook/flipper/issues/2441</a>)</li>
<li><a href="d4180a2715"><code>d4180a2</code></a> Update BND plugin to 6.0.0 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2440">https://github.com/facebook/flipper/issues/2440</a>)</li>
<li><a href="7032574ce1"><code>7032574</code></a> Remove all Incubating annotations (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2437">https://github.com/facebook/flipper/issues/2437</a>)</li>
<li><a href="c8dbc10d20"><code>c8dbc10</code></a> Fix spelling in old release notes (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2439">https://github.com/facebook/flipper/issues/2439</a>)</li>
<li><a href="40d6f6840e"><code>40d6f68</code></a> Add test for enum mocking using inline mock maker.</li>
<li><a href="6a50cc458b"><code>6a50cc4</code></a> Run CI on Java 17 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2417">https://github.com/facebook/flipper/issues/2417</a>)</li>
<li><a href="99f8a62536"><code>99f8a62</code></a> Add monospace font fallback for JavaDoc (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2434">https://github.com/facebook/flipper/issues/2434</a>)</li>
<li><a href="651feb3007"><code>651feb3</code></a> Bump versions.junitJupiter from 5.8.0 to 5.8.1 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2430">https://github.com/facebook/flipper/issues/2430</a>)</li>
<li><a href="6db7a02587"><code>6db7a02</code></a> Bump junit-platform-launcher from 1.8.0 to 1.8.1 (<a href="https://github-redirect.dependabot.com/mockito/mockito/issues/2432">https://github.com/facebook/flipper/issues/2432</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/mockito/mockito/compare/v3.12.4...v4.0.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=3.12.4&new-version=4.0.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/2965

Reviewed By: nikoant

Differential Revision: D31545927

Pulled By: passy

fbshipit-source-id: 8fb2447e3903ad213379e0ba0e270ad08e2598c9
2021-10-11 11:57:25 -07:00
2021-10-08 06:55:05 -07:00
2020-07-01 09:12:36 -07:00
2021-10-11 02:32:44 -07:00
2021-10-06 08:32:58 -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
2021-06-29 13:02:05 -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
2020-01-16 06:18:37 -08:00
2020-01-16 06:18:37 -08:00
2019-10-11 13:46:45 -07: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. 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/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.

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%