antinvestor_api_common 1.52.0 copy "antinvestor_api_common: ^1.52.0" to clipboard
antinvestor_api_common: ^1.52.0 copied to clipboard

Common types and utilities shared across all Ant Investor API services - Token management, authentication interceptors, and JWT utilities

120/ 160
pub points
707
downloads

We analyzed this package 2 days ago, and awarded it 120 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
10 / 20trigger folding of the section

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

680 out of 1042 API elements (65.3 %) have documentation comments.

Some symbols that are missing documentation: antinvestor_api_common.Any$json, antinvestor_api_common.Any.Any.fromBuffer, antinvestor_api_common.Any.Any.fromJson, antinvestor_api_common.Any.Any.new, antinvestor_api_common.Any.clearTypeUrl.

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

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 62 issues. Showing the first 2:

INFO: Import of a library in the 'lib/src' directory of another package.

lib/src/google/protobuf/any.pb.dart:15:8

   ╷
15 │ import 'package:protobuf/src/protobuf/mixins/well_known.dart' as $mixin;
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/google/protobuf/any.pb.dart

INFO: Angle brackets will be interpreted as HTML.

lib/src/google/protobuf/descriptor.pb.dart:2066:15

     ╷
2066 │   ///      map<KeyType, ValueType> map_field = 1;
     │               ^^^^^^^^^^^^^^^^^^^^
     ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/google/protobuf/descriptor.pb.dart

Failed report section
Support up-to-date dependencies
30 / 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
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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.3, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
707
downloads

Publisher

verified publisherantinvestor.com

Weekly Downloads

Common types and utilities shared across all Ant Investor API services - Token management, authentication interceptors, and JWT utilities

Homepage
Repository (GitHub)
View/report issues

Topics

#api-client #authentication #antinvestor #utilities

Documentation

API reference

License

unknown (license)

Dependencies

connectrpc, fixnum, protobuf

More

Packages that depend on antinvestor_api_common