puppeteer 2.25.1
puppeteer: ^2.25.1 copied to clipboard
A high-level API to control headless Chrome over the DevTools Protocol. This is a port of Puppeteer in Dart.
We analyzed this package 15 hours ago, and awarded it 130 pub points (of a possible 160):
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.
10/10 points: 20% or more of the public API has dartdoc comments
3105 out of 6056 API elements (51.3 %) have documentation comments.
Some symbols that are missing documentation: accessibility, accessibility.AXNodeData.AXNodeData.fromJson, accessibility.AXNodeData.AXNodeData.new, accessibility.AXNodeData.toJson, accessibility.AXNodeId.AXNodeId.fromJson.
10/10 points: Package has an example
10/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:puppeteer/puppeteer.dartthat declares support for platforms:Windows,Linux,macOS,Web.
Package does not support platform `iOS`.
Because:
package:puppeteer/puppeteer.dartthat declares support for platforms:Windows,Linux,macOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:puppeteer/puppeteer.dartthat imports:package:puppeteer/src/target.dartthat imports:package:puppeteer/src/page/worker.dartthat imports:package:puppeteer/src/page/execution_context.dartthat imports:package:puppeteer/src/page/page.dartthat imports:package:puppeteer/src/page/network_manager.dartthat imports:package:puppeteer/src/page/frame_manager.dartthat imports:package:puppeteer/src/page/js_handle.dartthat imports:package:puppeteer/src/page/helper.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:puppeteer/puppeteer.dartthat imports:package:puppeteer/src/target.dartthat imports:package:puppeteer/src/target_manager.dartthat imports:package:puppeteer/src/connection.dartthat imports:package:puppeteer/src/websocket.dartthat imports:package:puppeteer/src/websocket_io.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 14 issues. Showing the first 2:
INFO: Angle brackets will be interpreted as HTML.
lib/protocol/network.dart:3653:68
╷
3653 │ /// Signed exchange header integrity hash in the form of "sha256-<base64-hash-value>".
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/protocol/network.dart
INFO: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.
lib/src/browser.dart:360:18
╷
360 │ return pages.whereNotNull().toList();
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/browser.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
^3.0.0 |
3.6.1 | 4.0.9 | |
async |
^2.5.0 |
2.13.1 | 2.13.1 | |
collection |
^1.15.0 |
1.19.1 | 1.19.1 | |
http |
^0.13.0 |
0.13.6 | 1.6.0 | |
logging |
^1.0.0 |
1.3.0 | 1.3.0 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 | |
petitparser |
^5.1.0 |
5.4.0 | 7.0.2 | |
pool |
^1.5.0 |
1.5.2 | 1.5.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
- | 3.0.7 | 3.0.7 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
meta |
- | 1.18.3 | 1.18.3 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^3.0.0` on archive does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions archive to update the constraint.
The constraint `^0.13.0` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.14, Dart 3.12.2.
Check the analysis log for details.