dquery 3.0.0+1 dquery: ^3.0.0+1 copied to clipboard
DQuery is a porting of jQuery in Dart.
We analyzed this package 18 days ago, and awarded it 125 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.
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 3 links are insecure.
README.md:2:27
╷
2 │ <p>DQuery is a porting of <a href="http://jquery.com/">jQuery</a> in Dart.</p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
97 out of 112 API elements (86.6 %) have documentation comments.
Some symbols that are missing documentation: dquery
, dquery.Query.selector
, dquery.QueryEvent.bubbles
, dquery.QueryEvent.cancelable
, dquery.QueryEvent.code
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:dquery/dquery.dart
that imports:dart:js_util
Package not compatible with platform iOS
Because:
package:dquery/dquery.dart
that imports:dart:js_util
Package not compatible with platform Windows
Because:
package:dquery/dquery.dart
that imports:dart:js_util
Package not compatible with platform Linux
Because:
package:dquery/dquery.dart
that imports:dart:js_util
Package not compatible with platform macOS
Because:
package:dquery/dquery.dart
that imports:dart:js_util
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:dquery/dquery.dart
that imports:dart:js_util
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 139 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
lib/dquery.dart:28:5
╷
28 │ selector = selector.trim();
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/dquery.dart
INFO: Statements in an if should be enclosed in a block.
lib/dquery.dart:31:5
╷
31 │ return ElementQuery([]);
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/dquery.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
intl |
any |
0.19.0 | 0.19.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
clock |
- | 1.1.1 | 1.1.1 |
meta |
- | 1.16.0 | 1.16.0 |
path |
- | 1.9.0 | 1.9.0 |
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.12
, Dart 3.5.3
.
Check the analysis log for details.