draw 1.1.0 copy "draw: ^1.1.0" to clipboard
draw: ^1.1.0 copied to clipboard

A fully-featured Reddit API wrapper for Dart, inspired by PRAW.

21
likes
135/ 160
pub points
85
downloads

We analyzed this package 3 days ago, and awarded it 135 pub points (of a possible 160):

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

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

Failed check 0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:162:87

    ╷
162 │ <p>The format of <code>draw.ini</code> configuration files is very similar to that of <a href="http://praw.readthedocs.io/en/latest/getting_started/configuration/prawini.html">praw.ini files used by PRAW</a>, although there may be some minor differences due to the .ini parser used by DRAW.</p>
    │                                                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

Use https URLs instead.

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

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

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

575 out of 831 API elements (69.2 %) have documentation comments.

Some symbols that are missing documentation: draw, draw.Authenticator.Authenticator.new, draw.Authenticator.Authenticator.restore, draw.BaseListingMixin.path, draw.BaseListingMixin.reddit.

Passed check 10/10 points: Package has 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.dev/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 28 issues. Showing the first 2:

INFO: Dangling library doc comment.

lib/src/config_file_reader.dart:1:1

  ╷
1 │ /// Copyright (c) 2019, the Dart Reddit API Wrapper project authors.
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: Dangling library doc comment.

lib/src/config_file_reader_io.dart:1:1

  ╷
1 │ /// Copyright (c) 2019, the Dart Reddit API Wrapper project authors.
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/config_file_reader_io.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
collection ^1.15.0 1.19.1 1.19.1
color ^3.0.0 3.0.0 3.0.0
http ^0.13.0 0.13.6 1.4.0
http_parser ^4.0.0 4.1.2 4.1.2
ini ^2.1.0 2.1.0 2.1.0
logging ^1.0.1 1.3.0 1.3.0
oauth2 ^2.0.0 2.0.2 2.0.3
path ^1.4.2 1.9.1 1.9.1
quiver ^3.0.0 3.2.2 3.2.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
crypto - 3.0.6 3.0.6
matcher - 0.12.17 0.12.17
meta - 1.17.0 1.17.0
source_span - 1.10.1 1.10.1
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_api - 0.7.6 0.7.6
typed_data - 1.4.0 1.4.0

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

The constraint `^0.13.0` on http does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions http 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.22.21, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
21
likes
135
points
85
downloads

Publisher

unverified uploader

Weekly Downloads

A fully-featured Reddit API wrapper for Dart, inspired by PRAW.

Repository (GitHub)
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

collection, color, http, http_parser, ini, logging, oauth2, path, quiver

More

Packages that depend on draw