custom_universal_html 2.0.0
custom_universal_html: ^2.0.0 copied to clipboard
A 'dart:html' that works in all platforms, including Flutter and server-side. Eases cross-platform development and HTML / XML processing.
We analyzed this package 2 days ago, and awarded it 60 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: custom_universal_html
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has no matching pubspec.yaml
with name: custom_universal_html
.
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.
10/10 points: 20% or more of the public API has dartdoc comments
36 out of 54 API elements (66.7 %) have documentation comments.
Some symbols that are missing documentation: universal_html.controller.ContentTypeSniffer.ContentTypeSniffer.new
, universal_html.controller.InternalElementData.InternalElementData.new
, universal_html.controller.InternalElementData.client
, universal_html.controller.InternalElementData.offset
, universal_html.controller.InternalElementData.scroll
.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:custom_universal_html/controller.dart
that imports:package:custom_universal_html/src/controller/window_controller.dart
that imports:package:universal_io/io.dart
that imports:package:universal_io/src/_exports_in_browser.dart
that imports:package:universal_io/src/internet_address.dart
that imports:dart:io
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 224 issues. Showing the first 2:
ERROR: Target of URI doesn't exist: 'dart:web_sql'.
lib/src/controller/window_behavior_impl_browser.dart:17:8
╷
17 │ import 'dart:web_sql';
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/controller/window_behavior_impl_browser.dart
ERROR: Undefined class 'SqlDatabase'.
lib/src/controller/window_behavior_impl_browser.dart:692:3
╷
692 │ SqlDatabase openDatabase(
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/controller/window_behavior_impl_browser.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
^2.5.0 |
2.13.0 | 2.13.0 | |
charcode |
^1.2.0 |
1.4.0 | 1.4.0 | |
collection |
^1.15.0 |
1.19.1 | 1.19.1 | |
csslib |
^0.17.0 |
0.17.3 | 1.0.2 | |
html |
^0.15.0 |
0.15.4 | 0.15.6 | |
meta |
^1.3.0 |
1.17.0 | 1.17.0 | |
source_span |
^1.8.0 |
1.10.1 | 1.10.1 | |
typed_data |
^1.3.0 |
1.4.0 | 1.4.0 | |
universal_io |
^2.0.3 |
2.2.2 | 2.2.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
path |
- | 1.9.1 | 1.9.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.17.0` on csslib does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions csslib
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 2 errors:
URI_DOES_NOT_EXIST
-lib/src/controller/window_behavior_impl_browser.dart:17:8
- Target of URI doesn't exist: 'dart:web_sql'.UNDEFINED_CLASS
-lib/src/controller/window_behavior_impl_browser.dart:692:3
- Undefined class 'SqlDatabase'.
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.21
, Dart 3.8.1
.
Check the analysis log for details.