jsparser 2.0.1
jsparser: ^2.0.1 copied to clipboard
JavaScript parser originally written by Asger Feldthaus<asger.feldthaus@gmail.com>, upgarded to dart 2.4 by Anurag Vohra <anuragvohraec@gmail.com>
3
likes
100/ 130
pub points
53%
popularity
We analyzed this package 12 days ago, and awarded it 100 pub points (of a possible 130):
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: Package has an example
10/10 points: 20% or more of the public API has dartdoc comments
- 232 out of 625 API elements (37.1 %) have documentation comments.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ MacOS
- ✓ Web
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
INFO: DO use curly braces for all flow control structures.
lib/src/annotations.dart:91:9
╷
91 │ throw "$scope does not have an environment";
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/annotations.dart
INFO: This function has a return type of 'T', but doesn't end with a return statement.
lib/src/ast_visitor.dart:128:3
╷
128 │ defaultNode(Node node) {
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/ast_visitor.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
unicode | >=0.0.8 <1.0.0 | 0.3.1 | 0.3.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: Package does not opt in to null safety.
Package language version (indicated by the sdk constraint `>=2.4.0 <3.0.0`) is less than 2.12.
Consider migrating.
Analysed with Pana 0.21.13
, Dart 2.17.5
.