p-hatan/ mirror

pub repository

mirror.p-hatan.ir

pubspec_parse

0.1.2+1

Simple package for parsing pubspec.yaml files with a type-safe API and rich error reporting.

Download archive

Readme

Build Status

Supports parsing pubspec.yaml files with robust error reporting and support for most of the documented features.

Read more about the pubspec format.

Features and bugs

Please file feature requests and bugs at the issue tracker.

Changelog

0.1.2+1

  • Support the Dart 2 stable release.

0.1.2

  • Allow superfluous version keys with git and path dependencies.
  • Improve errors when unsupported keys are provided in dependencies.
  • Provide better errors with invalid sdk dependency values.
  • Support "scp-like syntax" for Git SSH URIs in the form [user@]host.xz:path/to/repo.git/.

0.1.1

  • Fixed name collision with error type in latest package:json_annotation.
  • Improved parsing of hosted dependencies and environment constraints.

0.1.0

  • Initial release.

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add pubspec_parse
pubspec.yaml
name: pubspec_parse
description: >-
  Simple package for parsing pubspec.yaml files with a type-safe API and rich
  error reporting.
version: 0.1.2+1
homepage: https://github.com/dart-lang/pubspec_parse
author: Dart Team <misc@dartlang.org>

environment:
  sdk: '>=2.0.0-dev.54 <3.0.0'

dependencies:
  json_annotation: ^0.2.9
  pub_semver: ^1.3.2
  yaml: ^2.1.12

dev_dependencies:
  build_runner: ^0.9.0
  json_serializable: ^0.5.8
  path: ^1.5.1
  stack_trace: ^1.9.2
  test: ^1.0.0
  test_descriptor: ^1.0.3
  test_process: ^1.0.2

Version history

VersionPublishedArchiveSHA-256
0.1.02018-06-04T18:21:40.198430ZDownload739c9a8155d7f44cfd40a14216205bc028198de11cb2b44f963f9f11f0e004c6
0.1.12018-06-08T22:45:31.541593ZDownload218a071c5f6f91b66035e20a65283306ea5e52ed70b0f487f08153a6c4e3b345
0.1.22018-06-20T00:04:24.860374ZDownload006c48e99d6c452473ac9c6c65e01a84ed93a7ddbb1b3873e14ca74a51a8a865
0.1.2+12018-07-23T15:27:04.451213ZDownload85c68d1a3d3e0dd4fc80c51d1d92ec489ff8f578d9926123fc7323ea036ded12
0.1.2+22018-07-24T23:32:05.161512ZDownload5b637e7561dc7f64f78af77f2a6ecfee84da022cf442df74578d71c0751df72c
0.1.2+32018-10-23T21:34:41.991093ZDownload46994784e0e97348a580ae190cead0d05f319caa6d97b0570f4a675c57171444
0.1.32018-12-20T19:27:35.969027ZDownload6a60a08ba1bee18b3b4d5d1d62e2ea9538639546dcfcf23574eb77b9afa61a5b
0.1.42019-01-08T15:37:34.453511ZDownload0efddc6cb6e302bf9cbab53baeadc3245dbabf1f2a941bd8a4e512ed54559270
0.1.52019-08-08T00:17:33.719510ZDownloade274c9f1defcff2e45b1734d03f3c9c1591a4fa448c92069057326ec889bbe04
0.1.62020-12-08T21:06:21.643212ZDownload638e15f7188fce557273f67a8d90ed073bf74e1b093f80a1cf48009aac47455b
0.1.72020-12-08T22:03:48.544321ZDownload5e5ef959100457b6243b4ff2ed1de7a1400df60c06ce23ed4f02671e236262cd
0.1.82021-02-08T21:57:36.907725ZDownloadd65b4c44175a6882692fae384be22c3eed8b9235bb758d8984b11fec55848b8c
1.0.02021-03-02T17:31:21.371940ZDownload358c5ce09744e0e08b3f5f38c53d7d26a8219dd641718f8500f49cfa56240358
1.1.02021-09-15T14:59:45.778087ZDownload0e01f805457ef610ccaf8d18067596afc34107a27149778b06b2083edbc140c1
1.2.02021-12-07T12:10:23.024645ZDownload3686efe4a4613a4449b1a4ae08670aadbd3376f2e78d93e3f8f0919db02a7256
1.2.12022-08-18T13:23:03.918941ZDownload75f6614d6dde2dc68948dffbaa4fe5dae32cd700eb9fb763fe11dfb45a3c4d0a
1.2.22023-02-28T13:46:22.796955ZDownloadec85d7d55339d85f44ec2b682a82fea340071e8978257e5a43e69f79e98ef50c
1.2.32023-05-04T12:39:27.619143ZDownloadc63b2876e58e194e4b0828fcb080ad0e06d051cb607a6be51a9e084f47cb9367
1.3.02024-05-28T22:01:40.697594ZDownloadc799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8
1.4.02024-12-20T13:21:46.303309ZDownload81876843eb50dc2e1e5b151792c9a985c5ed2536914115ed04e9c8528f6647b0
1.5.02025-01-07T18:20:43.523664ZDownload0560ba233314abbed0a48a2956f7f022cce7c3e1e73df540277da7544cad4082
1.6.02026-08-28T20:42:44.890663ZDownloadc38b81cbf34450b67e0265d73433569d12e34782e30ed769c9cc99c9d5f2e796
1.7.02026-10-21T20:13:21.475969ZDownload9ac81c01ffd6a9cf9b2713288834fbaaf6aebde05ffdf02d380e68b8e06f27d8

Dependencies

json_annotation "^0.2.9"

pub_semver "^1.3.2"

yaml "^2.1.12"