pusher_http_dart 1.0.1 icon indicating copy to clipboard operation
pusher_http_dart: ^1.0.1 copied to clipboard

Pusher HTTP Dart Library based on https://github.com/adaojunior/pusher

1
likes
95/ 140
pub points
30%
popularity

We analyzed this package 5 days ago, and awarded it 95 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
25 / 30icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in README.md should be secure. 3 links are insecure.

README.md:5:69

  ╷
5 │ <p>In order to use this library, you need to have a free account on <a href="http://pusher.com">http://pusher.com</a>. After registering, you will need the application credentials for your app.</p>
  │                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 24 out of 35 API elements (68.6 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger 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
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

INFO: DO use curly braces for all flow control structures.

lib/src/validation.dart:11:5

   ╷
11 │ ┌     throw new FormatException(
12 │ └         "socket_id $socketId was not in the form: ${socketIdRegex.toString()}");
   ╵

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

INFO: DO use curly braces for all flow control structures.

lib/src/validation.dart:18:5

   ╷
18 │ ┌     throw new ArgumentError(
19 │ └         "The length of the channel name was greater than the allowed $channelNameMaxLength characters");
   ╵

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
crypto^2.0.62.1.53.0.2
http^0.12.0+10.12.20.13.5
Transitive dependencies
PackageConstraintCompatibleLatest
charcode-1.3.11.3.1
collection-1.17.01.17.0
convert-2.1.13.1.1
http_parser-3.1.44.0.2
path-1.8.21.8.2
pedantic-1.11.11.11.1
source_span-1.9.11.9.1
string_scanner-1.2.01.2.0
term_glyph-1.2.11.2.1
typed_data-1.3.11.3.1

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

The constraint ^2.0.6 on crypto does not support the stable version 3.0.0.

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

The constraint ^0.12.0+1 on http does not support the stable version 0.13.0.

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

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

icon indicating section status
Support sound null safety
0 / 20icon to trigger folding of the section

0/20 points: Package does not opt in to null safety.

Package language version (indicated by the sdk constraint >=2.1.0 <3.0.0) is less than 2.12.

Consider migrating.

Analysed with Pana 0.21.21, Dart 2.18.4.

1
likes
95
pub points
30%
popularity

Publisher

verified publisher iconwirk.fr

Pusher HTTP Dart Library based on https://github.com/adaojunior/pusher

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

crypto, http

More

Packages that depend on pusher_http_dart