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

Platformweb

DQuery is a porting of jQuery in Dart.

2
likes
105/ 160
pub points
270
downloads

We analyzed this package 2 days ago, and awarded it 105 pub points (of a possible 160):

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

Failed check 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.

Failed check 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.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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

Passed check 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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 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.

Weekly downloads

Display as:
By versions:
2
likes
105
points
270
downloads

Publisher

verified publisherquire.io

Weekly Downloads

DQuery is a porting of jQuery in Dart.

Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

intl, web

More

Packages that depend on dquery