Skip to content

chore(deps): bump mockito from 5.7.0 to 5.8.1 - #1173

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/mockito-5.8.1
Open

chore(deps): bump mockito from 5.7.0 to 5.8.1#1173
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/mockito-5.8.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 13, 2026

Copy link
Copy Markdown
Contributor

Bumps mockito from 5.7.0 to 5.8.1.

Release notes

Sourced from mockito's releases.

package:mockito v5.8.1

  • Cast dummy values for extension types to the extension type so they satisfy static type checking in generic return types like Future<ExtensionType>. #4590
  • Use canonical asset path in generated header comments so symlink paths are excluded. #4545
  • Deterministically select library to import when multiple libraries export the same type. #4549
  • Prefer importing public entrypoints over /src/ implementation libraries when multiple libraries export the same type. #4551
  • Throw InvalidMockitoAnnotationException with a clear message when @GenerateMocks customMocks or @GenerateNiceMocks mocks is not a list literal, instead of crashing with a type cast exception. #4428
  • Remove redundant per-class // ignore: must_be_immutable comment to prevent duplicate_ignore warnings. #4588
  • Clarify in README.md that generated .mocks.dart filenames are based on the source file name. #4599
  • Suppress experimental_member_use warnings in generated mock files. #4602
  • Document missing stub behavior for void and Future<void>.

package:mockito v5.8.0

  • Add support for JS interop extension type mock generation to mockito.
  • It is now an error to generate mocks for non-JS interop extension types. Instead, mock the representation type and cast to the extension type where needed.
  • Remove Mockito version number from generated output.
  • Allow analyzer 14.0.0.
Commits

Dependabot compatibility score

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 commands and options

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [mockito](https://github.com/dart-lang/build/tree/master/builder_pkgs) from 5.7.0 to 5.8.1.
- [Release notes](https://github.com/dart-lang/build/releases)
- [Commits](https://github.com/dart-lang/build/commits/mockito-v5.8.1/builder_pkgs)

---
updated-dependencies:
- dependency-name: mockito
  dependency-version: 5.8.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dart Pull requests that update dart code dependencies Pull requests that update a dependency file labels Aug 13, 2026
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file dart Pull requests that update dart code labels Aug 13, 2026

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants