dart_pubspec_licenses 3.2.0 copy "dart_pubspec_licenses: ^3.2.0" to clipboard
dart_pubspec_licenses: ^3.2.0 copied to clipboard

A library to make it easy to extract OSS license information from Dart packages using pubspec.yaml

120/ 160
pub points
182k
downloads

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

Passed report section
Follow Dart file conventions
30 / 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

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

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

35 out of 36 API elements (97.2 %) have documentation comments.

Some symbols that are missing documentation: dart_pubspec_licenses.Package.Package.new.

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 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:dart_pubspec_licenses/dart_pubspec_licenses.dart that imports:
  • package:dart_pubspec_licenses/src/package.dart that imports:
  • package:pana/src/license.dart that imports:
  • package:pana/src/license_detection/license_detector.dart that imports:
  • dart:isolate
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

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

lib/src/package.dart:3:8

  ╷
3 │ import 'package:pana/src/license.dart' as pana_license;
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest Notes
args ^2.7.0 2.7.0 2.7.0
json_annotation ^4.11.0 4.12.0 4.12.0
pana any 0.23.17 0.23.17
path ^1.9.0 1.9.1 1.9.1
yaml ^3.1.3 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 105.0.0 105.0.0
analyzer - 14.1.0 14.1.0
async - 2.13.1 2.13.1
boolean_selector - 2.1.2 2.1.2
checked_yaml - 2.0.4 2.0.4
cli_config - 0.2.0 0.2.0
cli_util - 0.5.2 0.5.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
coverage - 1.15.1 1.15.1
crypto - 3.0.7 3.0.7
csslib - 1.0.2 1.0.2
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
frontend_server_client - 4.0.0 4.0.0
glob - 2.1.3 2.1.3
html - 0.15.6 0.15.6
http - 1.6.0 1.6.0
http_multi_server - 3.2.2 3.2.2
http_parser - 4.1.2 4.1.2
io - 1.0.5 1.0.5
logging - 1.3.0 1.3.0
markdown - 7.3.1 7.3.1
matcher - 0.12.20 0.12.20
meta - 1.19.0 1.19.0
mime - 2.0.0 2.0.0
node_preamble - 2.0.2 2.0.2
package_config - 3.0.0 3.0.0
pool - 1.5.2 1.5.2
pub_semver - 2.2.0 2.2.0
pubspec_parse - 1.5.0 1.5.0
retry - 3.1.2 3.1.2
safe_url_check - 1.1.2 1.1.2
shelf - 1.4.2 1.4.2
shelf_packages_handler - 3.0.2 3.0.2
shelf_static - 1.1.3 1.1.3
shelf_web_socket - 3.0.0 3.0.0
source_map_stack_trace - 2.1.2 2.1.2
source_maps - 0.10.13 0.10.13
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test - 1.31.2 1.31.2
test_api - 0.7.13 0.7.13
test_core - 0.6.19 0.6.19
typed_data - 1.4.0 1.4.0
vm_service - 15.2.0 15.2.0
watcher - 1.2.1 1.2.1
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3
webkit_inspection_protocol - 1.2.1 1.2.1

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

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 3 errors:

  • MISSING_REQUIRED_ARGUMENT - lib/src/package.dart:204:43 - The named parameter 'relativePath' is required, but there's no corresponding argument.
  • UNCHECKED_USE_OF_NULLABLE_VALUE - lib/src/package.dart:205:20 - The property 'isNotEmpty' can't be unconditionally accessed because the receiver can be 'null'.
  • UNCHECKED_USE_OF_NULLABLE_VALUE - lib/src/package.dart:206:33 - The method 'map' can't be unconditionally invoked because the receiver can be 'null'.

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.17, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
14
likes
120
points
182k
downloads

Documentation

API reference

Publisher

verified publisherespresso3389.jp

Weekly Downloads

A library to make it easy to extract OSS license information from Dart packages using pubspec.yaml

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, json_annotation, pana, path, yaml

More

Packages that depend on dart_pubspec_licenses