dquery 3.0.0+1 copy "dquery: ^3.0.0+1" to clipboard
dquery: ^3.0.0+1 copied to clipboard

Platformweb

DQuery is a porting of jQuery in Dart.

2
likes
105/ 140
pub points
58%
popularity

We analyzed this package 22 hours ago, and awarded it 105 pub points (of a possible 140):

failed
Follow Dart file conventions
15 / 30trigger folding of the section

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.

failed
Provide documentation
10 / 20trigger folding of the section

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.

OK
Platform support
20 / 20trigger folding of the section

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
partial
Pass static analysis
40 / 50trigger folding of the section

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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.14.0 1.14.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

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

2
likes
105
pub points
58%
popularity

Publisher

verified publisherquire.io

DQuery is a porting of jQuery in Dart.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

intl

More

Packages that depend on dquery