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

discontinuedreplaced by: dart_pub

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

0
likes
105/ 160
pub points
51
downloads

We analyzed this package 14 hours ago, and awarded it 105 pub points (of a possible 160):

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

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

Failed to verify repository URL.

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.

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

Failed check 0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:11:33

   ╷
11 │ thing at the same time. Open an <a href="http://github.com/dart-lang/pub/issues/new">issue</a>
   │                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

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.

Failed report section
Provide documentation
10 / 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed 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 check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

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

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 23 issues. Showing the first 2:

WARNING: 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

WARNING: 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.11.0 7.4.2
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.6 3.0.6
frontend_server_client ^4.0.0 4.0.0 4.0.0
http ^1.1.2 1.3.0 1.3.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.16.0 1.16.0
path ^1.9.0 1.9.1 1.9.1
pool ^1.5.1 1.5.1 1.5.1
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.0
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.2 2.2.2
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 76.0.0 82.0.0
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
macros - 0.1.3-main.0 0.1.3-main.0 Discontinued
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.1.1 1.1.1
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.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
105
points
51
downloads

Publisher

verified publisherrexios.dev

Weekly Downloads

A hosted version of the pub tool 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