pusher_channels_flutter 2.5.0
pusher_channels_flutter: ^2.5.0 copied to clipboard
Pusher Channels Flutter Plugin
We analyzed this package 40 hours ago, and awarded it 115 pub points (of a possible 160):
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 50 to 180 characters to describe the package, what it does, and its target use case.
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 3 links are insecure.
README.md:3:1
╷
3 │ <a href="http://twitter.com/Pusher"><img src="https://img.shields.io/badge/twitter-@Pusher-blue.svg?style=flat" alt="Twitter" /></a>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https URLs instead.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting pusher_channels_flutter... Discovering libraries... Linking elements... Precaching local docs for 644140 elements... Initialized dartdoc with 894 libraries Generating docs for library pusher_channels_flutter.dart from package:pusher_channels_flutter/pusher_channels_flutter.dart... Generating docs for library pusher-js/runtimes/react-native/net_info.dart from package:pusher_channels_flutter/pusher-js/runtimes/react-native/net_info.dart... Generating docs for library pusher-js/runtimes/node/net_info.dart from package:pusher_channels_flutter/pusher-js/runtimes/node/net_info.dart... Generating docs for library pusher-js/runtimes/web/dom/dependency_loader.dart from package:pusher_channels_flutter/pusher-js/runtimes/web/dom/dependency_loader.dart... Generating docs for library pusher-js/runtimes/web/dom/jsonp_request.dart from package:pusher_channels_flutter/pusher-js/runtimes/web/dom/jsonp_request.dart... [101 more lines] ERR: warning: runtimes.react_native.net_info has no library level documentation comments from runtimes.react_native.net_info: (file:///tmp/pana_HWPPOP/lib/pusher-js/runtimes/react-native/net_info.dart:1:1) warning: runtimes.node.net_info has no library level documentation comments from runtimes.node.net_info: (file:///tmp/pana_HWPPOP/lib/pusher-js/runtimes/node/net_info.dart:1:1) warning: runtimes.web.dom.dependency_loader has no library level documentation comments from runtimes.web.dom.dependency_loader: (file:///tmp/pana_HWPPOP/lib/pusher-js/runtimes/web/dom/dependency_loader.dart:1:1) warning: runtimes.web.dom.jsonp_request has no library level documentation comments from runtimes.web.dom.jsonp_request: (file:///tmp/pana_HWPPOP/lib/pusher-js/runtimes/web/dom/jsonp_request.dart:1:1) warning: runtimes.web.dom.script_receiver has no library level documentation comments from runtimes.web.dom.script_receiver: (file:///tmp/pana_HWPPOP/lib/pusher-js/runtimes/web/dom/script_receiver.dart:1:1) [222 more lines]
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:pusher_channels_flutter/pusher_channels_flutter.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:pusher_channels_flutter/pusher_channels_flutter.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:pusher_channels_flutter/pusher_channels_flutter.dartthat declares support for platforms:Android,iOS,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.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/pusher_channels_flutter/Package.swift.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 430 issues. Showing the first 2:
INFO: Library names are not necessary.
lib/pusher-js/core/auth/auth_transports.dart:2:9
╷
2 │ library core.auth.auth_transports;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/pusher-js/core/auth/auth_transports.dart
INFO: 'package:js/js.dart' is deprecated and shouldn't be used. Use dart:js_interop instead.
lib/pusher-js/core/auth/auth_transports.dart:4:1
╷
4 │ import "package:js/js.dart";
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/pusher-js/core/auth/auth_transports.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
js |
^0.7.1 |
0.7.2 | 0.7.2 | Discontinued |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- js.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.