antinvestor_api_settings 1.52.1 copy "antinvestor_api_settings: ^1.52.1" to clipboard
antinvestor_api_settings: ^1.52.1 copied to clipboard

Dart client library for Ant Investor Settings Service - Application settings and configuration

50/ 160
pub points
425
downloads

We analyzed this package 44 hours ago, and awarded it 50 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Failed check 0/10 points: 20% or more of the public API has dartdoc comments

OUT: Documenting antinvestor_api_settings... Discovering libraries... ERR: dartdoc 9.0.0 (/tmp/analyzerLNPACO/pub-cache/global_packages/dartdoc/bin/dartdoc.dart-3.10.4.snapshot) failed: fatal error: unable to locate the input directory at '/tmp/pana_IMHSHC/lib/src/commo[...] #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:218:7) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:205:27) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:82:55) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:198:32) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:281:22)

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

ERROR: Target of URI hasn't been generated: '../../common/v1/common.pb.dart'.

lib/src/settings/v1/settings.connect.client.dart:9:8

  ╷
9 │ import "../../common/v1/common.pb.dart" as commonv1common;
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/settings/v1/settings.connect.client.dart

ERROR: Couldn't infer type parameter 'I'.\n\nTried to infer 'dynamic' for 'I' which doesn't work:\n Type parameter 'I' is declared to extend 'Object' producing 'Object'.\nThe type 'dynamic' was inferred from:\n Parameter 'spec' declared as 'Spec

lib/src/settings/v1/settings.connect.client.dart:61:39

   ╷
61 │     return connect.Client(_transport).server(
   │                                       ^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/settings/v1/settings.connect.client.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
antinvestor_api_common ^1.52.0 1.52.0 1.52.0
connectrpc ^1.0.0 1.0.0 1.0.0
fixnum ^1.1.0 1.1.1 1.1.1
protobuf ^4.2.0 4.2.0 6.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
http2 - 2.3.1 2.3.1
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^4.2.0` on protobuf does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions protobuf to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 5 errors:

  • URI_HAS_NOT_BEEN_GENERATED - lib/src/settings/v1/settings.connect.client.dart:9:8 - Target of URI hasn't been generated: '../../common/v1/common.pb.dart'.
  • COULD_NOT_INFER - lib/src/settings/v1/settings.connect.client.dart:61:39 - Couldn't infer type parameter 'I'.\n\nTried to infer 'dynamic' for 'I' which doesn't work:\n Type parameter 'I' is declared to extend 'Object' producing 'Object'.\nThe type 'dynamic' was inferred from:\n Parameter 'spec' declared as 'Spec<I, O>'\n but argument is 'Spec<dynamic, SearchResponse>'.\n Parameter 'input' declared as 'I'\n but argument is 'InvalidType'.\n\nConsider passing explicit type argument(s) to the generic.\n\n
  • URI_HAS_NOT_BEEN_GENERATED - lib/src/settings/v1/settings.connect.spec.dart:8:8 - Target of URI hasn't been generated: '../../common/v1/common.pb.dart'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.3, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
50
points
425
downloads

Publisher

verified publisherantinvestor.com

Weekly Downloads

Dart client library for Ant Investor Settings Service - Application settings and configuration

Homepage
Repository (GitHub)
View/report issues

Topics

#grpc #protobuf #api-client #settings

License

unknown (license)

Dependencies

antinvestor_api_common, connectrpc, fixnum, protobuf

More

Packages that depend on antinvestor_api_settings