web 1.1.0 web: ^1.1.0 copied to clipboard
Lightweight browser API bindings built around JS interop.
We analyzed this package 4 days ago, and awarded it 140 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 60 to 180 characters to describe the package, what it does, and its target use case.
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
4230 out of 11084 API elements (38.2 %) have documentation comments.
Some symbols that are missing documentation: helpers
, web
, web.$CSS.Hz
, web.$CSS.Q
, web.$CSS.cap
.
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:web/web.dart
that imports:package:web/src/helpers.dart
that imports:package:web/src/helpers/http.dart
that imports:package:web/src/helpers/events/events.dart
that imports:package:web/src/helpers/events/streams.dart
that imports:package:web/src/dom.dart
that imports:package:web/src/dom/xhr.dart
that imports:package:web/src/dom/html.dart
that imports:package:web/src/dom/webmidi.dart
that imports:package:web/src/dom/hr_time.dart
that imports:package:web/src/dom/user_timing.dart
that imports:package:web/src/dom/performance_timeline.dart
that imports:dart:js_interop
Package not compatible with platform iOS
Because:
package:web/web.dart
that imports:package:web/src/helpers.dart
that imports:package:web/src/helpers/http.dart
that imports:package:web/src/helpers/events/events.dart
that imports:package:web/src/helpers/events/streams.dart
that imports:package:web/src/dom.dart
that imports:package:web/src/dom/xhr.dart
that imports:package:web/src/dom/html.dart
that imports:package:web/src/dom/webmidi.dart
that imports:package:web/src/dom/hr_time.dart
that imports:package:web/src/dom/user_timing.dart
that imports:package:web/src/dom/performance_timeline.dart
that imports:dart:js_interop
Package not compatible with platform Windows
Because:
package:web/web.dart
that imports:package:web/src/helpers.dart
that imports:package:web/src/helpers/http.dart
that imports:package:web/src/helpers/events/events.dart
that imports:package:web/src/helpers/events/streams.dart
that imports:package:web/src/dom.dart
that imports:package:web/src/dom/xhr.dart
that imports:package:web/src/dom/html.dart
that imports:package:web/src/dom/webmidi.dart
that imports:package:web/src/dom/hr_time.dart
that imports:package:web/src/dom/user_timing.dart
that imports:package:web/src/dom/performance_timeline.dart
that imports:dart:js_interop
Package not compatible with platform Linux
Because:
package:web/web.dart
that imports:package:web/src/helpers.dart
that imports:package:web/src/helpers/http.dart
that imports:package:web/src/helpers/events/events.dart
that imports:package:web/src/helpers/events/streams.dart
that imports:package:web/src/dom.dart
that imports:package:web/src/dom/xhr.dart
that imports:package:web/src/dom/html.dart
that imports:package:web/src/dom/webmidi.dart
that imports:package:web/src/dom/hr_time.dart
that imports:package:web/src/dom/user_timing.dart
that imports:package:web/src/dom/performance_timeline.dart
that imports:dart:js_interop
Package not compatible with platform macOS
Because:
package:web/web.dart
that imports:package:web/src/helpers.dart
that imports:package:web/src/helpers/http.dart
that imports:package:web/src/helpers/events/events.dart
that imports:package:web/src/helpers/events/streams.dart
that imports:package:web/src/dom.dart
that imports:package:web/src/dom/xhr.dart
that imports:package:web/src/dom/html.dart
that imports:package:web/src/dom/webmidi.dart
that imports:package:web/src/dom/hr_time.dart
that imports:package:web/src/dom/user_timing.dart
that imports:package:web/src/dom/performance_timeline.dart
that imports:dart:js_interop
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 55 issues. Showing the first 2:
INFO: The type name 'ANGLE_instanced_arrays' isn't an UpperCamelCase identifier.
lib/src/dom/angle_instanced_arrays.dart:45:16
╷
45 │ extension type ANGLE_instanced_arrays._(JSObject _) implements JSObject {
│ ^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/dom/angle_instanced_arrays.dart
INFO: The variable name 'CSS' isn't a lowerCamelCase identifier.
lib/src/dom/cssom.dart:1921:19
╷
1921 │ external $CSS get CSS;
│ ^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/dom/cssom.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
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.17
, Dart 3.6.0
.
Check the analysis log for details.