parsejs_null_safety 2.0.4  parsejs_null_safety: ^2.0.4 copied to clipboard
parsejs_null_safety: ^2.0.4 copied to clipboard
A robust JavaScript parser for Dart with full null safety support. This package provides a complete JavaScript parsing solution that generates Abstract Syntax Trees (ASTs) for JavaScript code, enablin [...]
We analyzed this package 3 days ago, and awarded it 120 pub points (of a possible 160):
 0/10 points: Provide a valid
 0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
 5/5 points: Provide a valid
 5/5 points: Provide a valid README.md
 5/5 points: Provide a valid
 5/5 points: Provide a valid CHANGELOG.md
 10/10 points: Use an OSI-approved license
 10/10 points: Use an OSI-approved license
Detected license: BSD-2-Clause.
 0/10 points: 20% or more of the public API has dartdoc comments
 0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting parsejs_null_safety... Discovering libraries... Linking elements... Precaching local docs for 144956 elements... Initialized dartdoc with 61 libraries Generating docs for library jsparser.dart from package:parsejs_null_safety/jsparser.dart... Generating docs for library parsejs_null_safety.dart from package:parsejs_null_safety/parsejs_null_safety.dart... Documented 2 public libraries in 21.5 seconds ERR: warning: ambiguous reexport of ast.Node, canonicalization candidates: (parsejs_null_safety, parsejs_null_safety) -> parsejs_null_safety (confidence 0.000) from ast.Node: (file:///tmp/pana_TRNIXX/lib/src/ast.dart:9:16) parsejs_null_safety: 1.210 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2000)) parsejs_null_safety: 1.210 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2000)) Use {@canonicalFor ast.Node} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be displayed in navigation for the relevant pages. The flag [251 more lines]
 10/10 points: Package has an example
 10/10 points: Package has an example
 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- 
✓ Android 
- 
✓ iOS 
- 
✓ Windows 
- 
✓ Linux 
- 
✓ macOS 
- 
✓ Web 
 0/0 points: WASM compatibility
 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
 40/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
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: The part-of directive uses a library name.
lib/src/ast_visitor.dart:1:1
  ╷
1 │ part of ast;
  │ ^^^^^^^^^^^^
  ╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/ast_visitor.dart
 0/10 points: All of the package dependencies are supported in the latest version
 0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes | 
|---|---|---|---|---|
| unicode | >=0.0.8 <1.0.0 | 0.3.1 | 1.1.8 | 
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes | 
|---|---|---|---|---|
| lists | - | 1.0.1 | 1.0.1 | Discontinued | 
| meta | - | 1.17.0 | 1.17.0 | 
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `>=0.0.8 <1.0.0` on unicode does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions unicode to update the constraint.
 10/10 points: Package supports latest stable Dart and Flutter SDKs
 10/10 points: Package supports latest stable Dart and Flutter SDKs
 20/20 points: Compatible with dependency constraint lower bounds
 20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.0, Dart 3.9.4.
Check the analysis log for details.