pubnub 5.1.0 copy "pubnub: ^5.1.0" to clipboard
pubnub: ^5.1.0 copied to clipboard

PubNub SDK v5 for Dart lang (with Flutter support) that allows you to create real-time applications

50
likes
110/ 160
pub points
9.65k
downloads

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

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

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

337 out of 572 API elements (58.9 %) have documentation comments.

Some symbols that are missing documentation: Access Manager, Basic Features, Exceptions, Files, Objects.

10/10 points: Package has an example

OK
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

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 22 issues. Showing the first 2:

INFO: Missing a corresponding override of 'hashCode'.

lib/src/core/crypto/cipher_key.dart:26:17

   ╷
26 │   bool operator ==(Object other) {
   │                 ^^
   ╵

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

INFO: Missing a deprecation message.

lib/src/core/message/base_message.dart:22:3

   ╷
22 │   @deprecated
   │   ^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
async ^2.5.0 2.12.0 2.12.0
cbor ^4.0.0 4.1.0 6.3.3
convert ^3.0.0 3.1.2 3.1.2
crypto ^3.0.0 3.0.6 3.0.6
encrypt ^5.0.1 5.0.3 5.0.3
form_data ^1.0.0-nullsafety.1 1.0.0-nullsafety.1 1.0.0-nullsafety.1
meta ^1.3.0 1.16.0 1.16.0
pedantic ^1.11.0 1.11.1 1.11.1
pool ^1.5.0 1.5.1 1.5.1
xml ^6.1.0 6.5.0 6.5.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
asn1lib - 1.5.8 1.5.8
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
js - 0.7.1 0.7.1
path - 1.9.1 1.9.1
petitparser - 6.0.2 6.0.2
pointycastle - 3.9.1 3.9.1
stack_trace - 1.12.1 1.12.1
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 `^4.0.0` on cbor does not support the stable version `5.0.0`.

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

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 1 error:

  • UNDEFINED_GETTER - lib/src/dx/_utils/exceptions.dart:11:60 - The getter 'value' isn't defined for the type 'XmlElement'.

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

Check the analysis log for details.

50
likes
110
points
9.65k
downloads

Publisher

verified publisherpubnub.com

Weekly Downloads

PubNub SDK v5 for Dart lang (with Flutter support) that allows you to create real-time applications

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

async, cbor, convert, crypto, encrypt, form_data, meta, pedantic, pool, xml

More

Packages that depend on pubnub