query 2.1.0 copy "query: ^2.1.0" to clipboard
query: ^2.1.0 copied to clipboard

Search query parser to implement customized search. Supports boolean groups, field scopes, ranges, comparisons...

14
likes
120/ 140
pub points
61%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

19 out of 57 API elements (33.3 %) have documentation comments.

Some symbols that are missing documentation: query, query.AndQuery.children, query.AndQuery.eval, query.CompareQuery.eval, query.FieldCompareQuery.eval.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: 'CharacterParser' is deprecated and shouldn't be used. Instead use `SingleCharacterParser`.

lib/src/grammar.dart:180:10

    ╷
180 │   return CharacterParser(const ExtendedWordCharPredicate(), message);
    │          ^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/grammar.dart

INFO: 'CharacterParser' is deprecated and shouldn't be used. Instead use `SingleCharacterParser`.

lib/src/grammar.dart:203:10

    ╷
203 │   return CharacterParser(AnyCharExceptPredicate(except.codeUnits), message)
    │          ^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/grammar.dart

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

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
petitparser ^5.0.0 5.4.0 6.0.2
Transitive dependencies
Package Constraint Compatible Latest
meta - 1.14.0 1.14.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^5.0.0` on petitparser does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions petitparser to update the constraint.

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

Analyzed with Pana 0.22.2, Dart 3.3.3.

Check the analysis log for details.

14
likes
120
pub points
61%
popularity

Publisher

verified publisheragilord.com

Search query parser to implement customized search. Supports boolean groups, field scopes, ranges, comparisons...

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

petitparser

More

Packages that depend on query