dquery 4.0.0+1
dquery: ^4.0.0+1 copied to clipboard
DQuery is a porting of jQuery in Dart.
We analyzed this package 2 days ago, and awarded it 105 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 50 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
96 out of 116 API elements (82.8 %) have documentation comments.
Some symbols that are missing documentation: dquery
, dquery.DQuery.DQuery.new
, dquery.DocumentQuery.DocumentQuery.new
, dquery.ElementQuery.ElementQuery.new
, dquery.Query.Query.new
.
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_interop
Package not compatible with platform iOS
Because:
package:dquery/dquery.dart
that imports:dart:js_interop
Package not compatible with platform Windows
Because:
package:dquery/dquery.dart
that imports:dart:js_interop
Package not compatible with platform Linux
Because:
package:dquery/dquery.dart
that imports:dart:js_interop
Package not compatible with platform macOS
Because:
package:dquery/dquery.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 152 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 | Notes |
---|---|---|---|---|
intl |
any |
0.20.2 | 0.20.2 | |
web |
>=1.0.0 |
1.1.1 | 1.1.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
clock |
- | 1.1.2 | 1.1.2 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 11 errors:
UNDEFINED_FUNCTION
-lib/dquery.dart:38:27
- The function 'JSImmutableListWrapper' isn't defined.UNDEFINED_FUNCTION
-lib/dquery.dart:64:27
- The function 'JSImmutableListWrapper' isn't defined.UNDEFINED_METHOD
-lib/src/dquery_impl.dart:135:8
- The method 'JSImmutableListWrapper' isn't defined for the type '_DocumentQuery'.
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.