pappes_web_utility 1.0.1 pappes_web_utility: ^1.0.1 copied to clipboard
A library useful for web applications. Currently includes MyHtml which is a class with HTML helper functions and MyJS which is a class with JavaScript helper functions
We analyzed this package 9 hours ago, and awarded it 80 pub points (of a possible 140):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
27 out of 31 API elements (87.1 %) have documentation comments.
Some symbols that are missing documentation: pappes_web_utility.MyHtml
, pappes_web_utility.MyIFrame
, pappes_web_utility.base64Encode
, pappes_web_utility.log
.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Web
These platforms are not supported:
Package not compatible with platform Android
Because:
package:pappes_web_utility/pappes_web_utility.dart
that imports:package:pappes_web_utility/src/pappes_web_utility_base.dart
that imports:package:pappes_web_utility/src/pappes_web_utility_js_wrapper.dart
that imports:package:js/js.dart
that imports:dart:js
Package not compatible with platform iOS
Because:
package:pappes_web_utility/pappes_web_utility.dart
that imports:package:pappes_web_utility/src/pappes_web_utility_base.dart
that imports:package:pappes_web_utility/src/pappes_web_utility_js_wrapper.dart
that imports:package:js/js.dart
that imports:dart:js
Package not compatible with platform Windows
Because:
package:pappes_web_utility/pappes_web_utility.dart
that imports:package:pappes_web_utility/src/pappes_web_utility_base.dart
that imports:package:pappes_web_utility/src/pappes_web_utility_js_wrapper.dart
that imports:package:js/js.dart
that imports:dart:js
Package not compatible with platform Linux
Because:
package:pappes_web_utility/pappes_web_utility.dart
that imports:package:pappes_web_utility/src/pappes_web_utility_base.dart
that imports:package:pappes_web_utility/src/pappes_web_utility_js_wrapper.dart
that imports:package:js/js.dart
that imports:dart:js
Package not compatible with platform macOS
Because:
package:pappes_web_utility/pappes_web_utility.dart
that imports:package:pappes_web_utility/src/pappes_web_utility_base.dart
that imports:package:pappes_web_utility/src/pappes_web_utility_js_wrapper.dart
that imports:package:js/js.dart
that imports:dart:js
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 22 issues. Showing the first 2:
ERROR: The method 'ifNull' isn't defined for the type 'MyHtml'.
lib/src/pappes_web_utility_myhtml.dart:83:35
╷
83 │ finalUrl = setUriSchemeToHttp(ifNull(finalUrl, base64Uri));
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/pappes_web_utility_myhtml.dart
ERROR: The method 'ifNull' isn't defined for the type 'MyHtml'.
lib/src/pappes_web_utility_myhtml.dart:84:16
╷
84 │ finalUrl = ifNull(finalUrl, originalUrl);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/pappes_web_utility_myhtml.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
js |
^0.6.4 |
0.6.7 | 0.7.1 |
logging |
^1.0.2 |
1.2.0 | 1.2.0 |
pappes_utility |
^1.0.2 |
1.0.3 | 1.0.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
meta |
- | 1.14.0 | 1.14.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.6.4` on js does not support the stable version `0.7.0`.
Try running dart pub upgrade --major-versions js
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Dart 3.3.4
.
Check the analysis log for details.