dub 0.0.3 copy "dub: ^0.0.3" to clipboard
dub: ^0.0.3 copied to clipboard

Unofficial Dub.co SDK

1
likes
80/ 160
pub points
0%
popularity

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

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

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

497 out of 1298 API elements (38.3 %) have documentation comments.

Some symbols that are missing documentation: dub, dub.AddDomainRequest, dub.AddDomainRequest.AddDomainRequest.fromJson, dub.AddDomainRequest.toJson, dub.AnalyticsApi.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

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

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 1125 issues. Showing the first 2:

ERROR: The returned type 'Object' isn't returnable from a 'AddDomainRequestTypeEnum?' function, as required by the closure's context.

lib/src/model/add_domain_request.g.dart:23:19

   ╷
23 │ ┌                   $enumDecodeNullable(_$AddDomainRequestTypeEnumEnumMap, v) ??
24 │ │                   'redirect'),
   │ └────────────────────────────^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/model/add_domain_request.g.dart

ERROR: The returned type 'Object' isn't returnable from a 'UpdateDomainRequestTypeEnum?' function, as required by the closure's context.

lib/src/model/update_domain_request.g.dart:19:19

   ╷
19 │ ┌                   $enumDecodeNullable(
20 │ │                       _$UpdateDomainRequestTypeEnumEnumMap, v) ??
21 │ │                   'redirect'),
   │ └────────────────────────────^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/model/update_domain_request.g.dart

failed
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest
dio ^5.2.0 5.7.0 5.7.0
json_annotation ^4.4.0 4.9.0 4.9.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
collection - 1.19.1 1.19.1
dio_web_adapter - 2.0.0 2.0.0
http_parser - 4.1.1 4.1.1
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
web - 1.1.0 1.1.0

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • RETURN_OF_INVALID_TYPE_FROM_CLOSURE - lib/src/model/add_domain_request.g.dart:23:19 - The returned type 'Object' isn't returnable from a 'AddDomainRequestTypeEnum?' function, as required by the closure's context.
  • RETURN_OF_INVALID_TYPE_FROM_CLOSURE - lib/src/model/update_domain_request.g.dart:19:19 - The returned type 'Object' isn't returnable from a 'UpdateDomainRequestTypeEnum?' function, as required by the closure's context.

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.22.15, Dart 3.5.4.

Check the analysis log for details.

1
likes
80
pub points
0%
popularity

Publisher

unverified uploader

Unofficial Dub.co SDK

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

dio, json_annotation

More

Packages that depend on dub