dquery 2.0.2+1
dquery: ^2.0.2+1 copied to clipboard
DQuery is a porting of jQuery in Dart.
We analyzed this package 47 hours ago, and awarded it 105 pub points (of a possible 140):
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
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
10/10 points: 20% or more of the public API has dartdoc comments
- 104 out of 122 API elements (85.2 %) have documentation comments.
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
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 128 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.18.1 | 0.18.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
clock |
- | 1.1.1 | 1.1.1 |
meta |
- | 1.9.1 | 1.9.1 |
path |
- | 1.8.3 | 1.8.3 |
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: Package is Dart 3 compatible!
Analysed with Pana 0.21.32
, Dart 3.0.2
.