pdfjs 2.12.0 pdfjs: ^2.12.0 copied to clipboard
Dart bindings for Mozilla's PDF.js library
We analyzed this package 6 days ago, and awarded it 75 pub points (of a possible 140):
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.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
No `CHANGELOG.md` found.
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
9 out of 146 API elements (6.2 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
Some symbols that are missing documentation: pdfjs
, pdfjs.AnnotationLayerBuilder
, pdfjs.AnnotationLayerBuilder.AnnotationLayerBuilder
, pdfjs.AnnotationLayerBuilder.render
, pdfjs.AnnotationLayerBuilderIntent
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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:pdfjs/pdfjs.dart
that imports:dart:js
Package not compatible with platform iOS
Because:
package:pdfjs/pdfjs.dart
that imports:dart:js
Package not compatible with platform Windows
Because:
package:pdfjs/pdfjs.dart
that imports:dart:js
Package not compatible with platform Linux
Because:
package:pdfjs/pdfjs.dart
that imports:dart:js
Package not compatible with platform macOS
Because:
package:pdfjs/pdfjs.dart
that imports:dart:js
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 29 issues. Showing the first 2:
WARNING: Missing case clause for 'null'.
lib/src/pdf_page_view.dart:32:5
╷
32 │ switch (renderer) {
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/pdf_page_view.dart
INFO: The part-of directive uses a library name.
lib/src/document_init_parameters.dart:15:1
╷
15 │ part of pdfjs;
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/document_init_parameters.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
quiver |
^3.0.0 |
3.2.1 | 3.2.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
boolean_selector |
- | 2.1.1 | 2.1.1 |
collection |
- | 1.18.0 | 1.18.0 |
matcher |
- | 0.12.16+1 | 0.12.16+1 |
meta |
- | 1.14.0 | 1.14.0 |
path |
- | 1.9.0 | 1.9.0 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.11.1 | 1.11.1 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test_api |
- | 0.7.1 | 0.7.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
Analyzed with Pana 0.22.3
, Dart 3.3.3
.
Check the analysis log for details.