universal_html 2.2.4 universal_html: ^2.2.4 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 7 hours ago, and awarded it 130 pub points (of a possible 160):
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.
10/10 points: 20% or more of the public API has dartdoc comments
2047 out of 8525 API elements (24.0 %) have documentation comments.
Some symbols that are missing documentation: AbortPaymentEvent
, universal_html.AbortPaymentEvent.AbortPaymentEvent
, universal_html.AbortPaymentEvent.respondWith
, AbsoluteOrientationSensor
, universal_html.AbsoluteOrientationSensor.AbsoluteOrientationSensor
.
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:universal_html/controller.dart
that imports:package: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
Package not compatible with runtime wasm
Because:
package:universal_html/controller.dart
that imports:package:universal_html/src/controller/window_controller.dart
that imports:package:universal_io/io.dart
that imports:package:universal_io/src/_exports_in_vm.dart
that imports:package:universal_io/src/new_universal_http_client.dart
that imports:package:universal_io/src/_helpers.dart
that imports:package:universal_io/src/_helpers_impl_elsewhere.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 120 issues. Showing the first 2:
WARNING: The operand can't be null, so the condition is always 'false'.
lib/src/html/dom/css_selectors.dart:282:19
╷
282 │ if (className == null || className.isEmpty) return false;
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/html/dom/css_selectors.dart
INFO: The variable name 'options_OR_x' isn't a lowerCamelCase identifier.
lib/src/controller/window_behavior_impl_browser.dart:739:16
╷
739 │ void scroll([options_OR_x, y, Map? scrollOptions]) {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/controller/window_behavior_impl_browser.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
^2.11.0 |
2.12.0 | 2.12.0 |
charcode |
^1.2.0 |
1.4.0 | 1.4.0 |
collection |
^1.17.1 |
1.19.1 | 1.19.1 |
csslib |
>=0.17.3 <2.0.0 |
1.0.2 | 1.0.2 |
html |
^0.15.3 |
0.15.5 | 0.15.5 |
meta |
^1.9.1 |
1.16.0 | 1.16.0 |
source_span |
^1.9.1 |
1.10.0 | 1.10.0 |
typed_data |
^1.3.2 |
1.4.0 | 1.4.0 |
universal_io |
^2.2.2 |
2.2.2 | 2.2.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
path |
- | 1.9.1 | 1.9.1 |
term_glyph |
- | 1.2.1 | 1.2.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.22.15
, Dart 3.5.4
.
Check the analysis log for details.