pub_doctor_web library
Web-safe and WASM-safe exports — no dart:io imports.
Use this library when targeting the browser or compiling with dart2wasm.
For the full CLI experience (scanning, caching, network), import
package:pub_doctor/pub_doctor.dart instead.
Classes
- DiagnosisResult
- The fully evaluated diagnosis for a single dependency.
- IssueResponseSignal
- Measures how quickly a maintainer closes issues on average.
- MaintenanceSignal
- Evaluates how actively a package is maintained by its author(s).
- NullSafetySignal
- Checks whether a package has opted into Dart null safety.
- OpenIssuesSignal
- Evaluates the open issue count and resolution rate for a repository.
- Package
- Package-level metadata baked in at build time.
- PackageMetadata
- All metadata pub_doctor needs to evaluate a single package dependency.
- ProjectDiagnosis
- Aggregated diagnosis for an entire project's dependency graph.
- PubScoreSignal
- Evaluates the pub.dev automated quality score for a package.
- Release
- A single version-and-publication-date pair from a package's release history.
- ReleaseFrequencySignal
- Measures how regularly a package ships new versions.
- RepoHealth
- GitHub-specific health data for a repository.
- RepositoryAvailabilitySignal
- Checks whether the package's declared repository URL is accessible.
- RiskScorer
- Orchestrates all RiskSignals and produces a DiagnosisResult for a single package.
- RiskSignal
- Base class for all risk evaluation signals.
- SdkCompatibilitySignal
- Checks that the package's declared SDK constraint is compatible with the Dart SDK currently installed on the host machine.
- SignalIds
- Stable string identifiers for each RiskSignal.
- SignalResult
- The outcome of a single RiskSignal evaluation.
- Urls
- Base URLs for the external APIs pub_doctor talks to.
- VerificationSignal
- Checks whether the package comes from a verified publisher or has Flutter Favourite status.
- VersionFreshnessSignal
- Compares the project's locked version against the latest published version.
Enums
- PackageVerification
- pub.dev publisher verification tiers for a package.
- RiskLevel
- Five-tier risk classification derived from a package's aggregate score.