clean-dart-search-bloc icon indicating copy to clipboard operation
clean-dart-search-bloc copied to clipboard

Bump dio, modular_codegen, mockito, build_runner and mobx_codegen

Open dependabot[bot] opened this issue 2 years ago • 0 comments
trafficstars

Bumps dio, modular_codegen, mockito, build_runner and mobx_codegen. These dependencies needed to be updated together. Updates dio from 3.0.9 to 5.0.3

Release notes

Sourced from dio's releases.

dio 5.0.3

What's new

  • Imply List<Map> as JSON content in ImplyContentTypeInterceptor.
  • Fix FormData encoding for collections and objects.

dio 5.0.2

What's new

  • Improve code formats according to linter rules.
  • Remove the force conversion for the response body.
  • Fix DioErrorType.cancel in Interceptors.
  • Fix wrong encoding of collection query parameters.
  • Fix "unsupported operation" error on web platform.

dio 5.0.1

What's new

  • Add ImplyContentTypeInterceptor as a default interceptor.
  • Add Headers.multipartFormDataContentType for headers usage.
  • Fix variable shadowing of withCredentials in browser_adapers.dart.
Commits

Updates modular_codegen from 2.0.0+1 to 3.0.4

Commits

Updates mockito from 4.1.1 to 5.3.0

Changelog

Sourced from mockito's changelog.

5.3.0

  • Introduce a new MockSpec parameter, onMissingStub, which allows specifying three actions to take when a real call is made to a mock method with no matching stub. The two existing behaviors are the default behavior of throwing an exception, and the legacy behavior of returning null. A new behavior is also introduced: returning a legal default value. With this behavior, legal default values are returned for any given type.
  • Deprecate the MockSpec returnNullOnMissingStub parameter in favor of the new onMissingStub parameter.
  • Introduce a new @GenerateNiceMocks annotation, that uses the new "return a legal value" behavior for missing stubs.
  • Add SmartFake class to be used as a return values for unstubbed methods. It remembers where it was created and throws a descriptive error in case the fake is later used.
  • Include required keyword in function types to match overridden function types.

5.2.0

  • Fix generation of methods with return type of FutureOr<T> for generic, potentially nullable T.
  • Support @GenerateMocks annotations on import and export directives.
  • Support analyzer 4.x.

5.1.0

  • In creating mocks for a pre-null-safe library, opt out of null safety in the generated code.
  • Properly generate method overrides for methods with covariant parameters. #506
  • Correctly generate a toString override method for pre-null safe libraries, for which the class-to-mock implements toString with additional parameters.
  • Improve messaging in a MissingStubError, directing to the docs for MockSpec.
  • Fix incorrect error when trying to mock a method with a parameter with inner function types (like in type arguments) which are potentially non-nullable. #476
  • Allow fallback generators to be applied for getters.
  • Support generating a mock class for a class with members with non-nullable unknown return types via a new parameter on MockSpec called unsupportedMembers. See [NULL_SAFETY_README][] for details.

5.0.17

  • Report when a class cannot be mocked because an inherited method or property accessor requires a private type. #446
  • Do not needlessly implement toString unless the class-to-mock implements toString with additional parameters. #461

... (truncated)

Commits

Updates build_runner from 1.10.2 to 2.2.0

Commits

Updates mobx_codegen from 1.1.0+1 to 2.0.4

Commits
  • 333f286 publishing new versions
  • 406b02d fix: make readonly work with computed (#710)
  • bbaa399 Added missing parameter to asyncWhen example (#709)
  • d3c65a6 Fix: ObservableStream.listen() should also keep observable values updated (#708)
  • 76450e4 publishing new versions
  • 7bd0366 docs: add brianrobles204 as a contributor for code, test (#700)
  • fb7414c Bug fix for computed with nullable values (#697)
  • 012af6a docs: add Ascenio as a contributor for doc (#699)
  • 9b4d33d docs: fix typo (#696)
  • 687710b docs: add sno2 as a contributor for doc (#698)
  • Additional commits viewable in compare view

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 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) You can disable automated security fix PRs for this repo from the Security Alerts page.

dependabot[bot] avatar Mar 21 '23 23:03 dependabot[bot]