pub_hosted 1.0.1 copy "pub_hosted: ^1.0.1" to clipboard
pub_hosted: ^1.0.1 copied to clipboard

discontinuedreplaced by: dart_pub

A hosted version of the pub tool code for use in other packages

90/ 160
pub points
19
downloads

We analyzed this package 13 days ago, and awarded it 90 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Repository has no matching pubspec.yaml with name: pub_hosted.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: pub_hosted,
    • contains a version property, and,
    • does not contain a publish_to property.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

9 out of 15 API elements (60.0 %) have documentation comments.

Some symbols that are missing documentation: pub, pub.CommandResolutionFailedException.issue, pub.CommandResolutionFailedException.message, pub.DartExecutableWithPackageConfig.DartExecutableWithPackageConfig.new, pub.ResolutionFailedException.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:pub_hosted/pub.dart that imports:
  • package:pub_hosted/src/executable.dart that imports:
  • package:pub_hosted/src/utils.dart that imports:
  • package:pub_hosted/src/pubspec_parse.dart that imports:
  • package:pub_hosted/src/exceptions.dart that imports:
  • package:pub_hosted/src/http.dart that imports:
  • package:pub_hosted/src/source/hosted.dart that imports:
  • package:pub_hosted/src/source/root.dart that imports:
  • package:pub_hosted/src/system_cache.dart that imports:
  • package:pub_hosted/src/source/unknown.dart that imports:
  • package:pub_hosted/src/source.dart that imports:
  • package:pub_hosted/src/source/git.dart that imports:
  • package:pub_hosted/src/source/path.dart that imports:
  • package:pub_hosted/src/pubspec.dart that imports:
  • package:pub_hosted/src/sdk.dart that imports:
  • package:pub_hosted/src/sdk/fuchsia.dart that imports:
  • package:pub_hosted/src/io.dart that imports:
  • package:pub_hosted/src/log.dart that imports:
  • package:pub_hosted/src/progress.dart that imports:
  • dart:io
Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 21 issues. Showing the first 2:

ERROR: Unused import: '../utils.dart'.

lib/src/command/cache_clean.dart:9:8

  ╷
9 │ import '../utils.dart';
  │        ^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/command/cache_clean.dart

ERROR: Unused import: '../utils.dart'.

lib/src/command/downgrade.dart:10:8

   ╷
10 │ import '../utils.dart';
   │        ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/command/downgrade.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
analyzer ^6.3.0 6.4.1 9.0.0
args ^2.4.2 2.7.0 2.7.0
async ^2.11.0 2.13.0 2.13.0
cli_util ^0.4.1 0.4.2 0.4.2
collection ^1.18.0 1.19.1 1.19.1
convert ^3.1.1 3.1.2 3.1.2
crypto ^3.0.3 3.0.7 3.0.7
frontend_server_client ^4.0.0 4.0.0 4.0.0
http ^1.1.2 1.6.0 1.6.0
http_multi_server ^3.2.1 3.2.2 3.2.2
http_parser ^4.0.2 4.1.2 4.1.2
meta ^1.11.0 1.17.0 1.17.0
path ^1.9.0 1.9.1 1.9.1
pool ^1.5.1 1.5.2 1.5.2
pub_semver ^2.1.4 2.2.0 2.2.0
shelf ^1.4.1 1.4.2 1.4.2
source_span ^1.10.0 1.10.1 1.10.1
stack_trace ^1.11.1 1.12.1 1.12.1
tar ^1.0.3 1.0.5 2.0.2
typed_data ^1.3.2 1.4.0 1.4.0
yaml ^3.1.2 3.1.3 3.1.3
yaml_edit ^2.1.1 2.2.3 2.2.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 67.0.0 92.0.0
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
package_config - 2.2.0 2.2.0
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
watcher - 1.2.0 1.2.0
web - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^6.3.0` on analyzer does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions analyzer to update the constraint.

The constraint `^1.0.3` on tar does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions tar to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.3, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
90
points
19
downloads

Publisher

verified publisherrexios.dev

Weekly Downloads

A hosted version of the pub tool code for use in other packages

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

analyzer, args, async, cli_util, collection, convert, crypto, frontend_server_client, http, http_multi_server, http_parser, meta, path, pool, pub_semver, shelf, source_span, stack_trace, tar, typed_data, yaml, yaml_edit

More

Packages that depend on pub_hosted