Skip to main content

apiverve_treasuryyields 1.2.6 copy "apiverve_treasuryyields: ^1.2.6" to clipboard
apiverve_treasuryyields: ^1.2.6 copied to clipboard

Treasury Yields provides current and historical US Treasury constant-maturity market yields across the full curve (1-month through 30-year), plus TIPS real yields. Every plan gets today's full nominal [...]

40/ 160
pub points
57
downloads

We analyzed this package 3 days ago, and awarded it 40 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

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Failed to verify repository URL.

Could not find any pubspec.yaml in the repository.

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: apiverve_treasuryyields,
    • contains a version property, and,
    • does not contain a publish_to property.
Repository URL doesn't exist.

At the time of the analysis https://github.com/apiverve/treasuryyields-api/tree/main/dart was unreachable. Make sure that the website is reachable via HEAD requests.

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: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

OUT: Documenting apiverve_treasuryyields... Discovering libraries... Linking elements... Precaching local docs for 726579 elements... Initialized dartdoc with 400 libraries Generating docs for library apiverve_treasuryyields.dart from package:apiverve_treasuryyields/apiverve_treasuryyields.dart... Documented 1 public library in 20.9 seconds ERR: warning: unresolved doc reference [data] from models.PremiumInfo: (file:///tmp/pana_HMMRJA/lib/src/models.dart:36:7) warning: unresolved doc reference [date] from client.TreasuryyieldsClient: (file:///tmp/pana_HMMRJA/lib/src/client.dart:54:7) warning: unresolved doc reference [type] from client.TreasuryyieldsClient: (file:///tmp/pana_HMMRJA/lib/src/client.dart:54:7) error: file already written at "apiverve_treasuryyields/TreasuryyieldsDataYields/operator_null.html" for symbol models.TreasuryyieldsDataYields.?: (file:///tmp/pana_HMMRJA/lib/src/models.dart:120:6) conflicting with file already generated by models.TreasuryyieldsDataYields.?: (file:///tmp/pana_HMMRJA/lib/src/models.dart:119:6) Dartdoc generates a path and filename to write to for each symbol. [225 more lines]

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
0 / 20trigger folding of the section

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

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 621 issues. Showing the first 2:

ERROR: Expected to find ';'.

lib/src/models.dart:119:3

    ╷
119 │   num? 1mo;
    │   ^^^
    ╵

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

ERROR: Variables must be declared using the keywords 'const', 'final', 'var' or a type name.

lib/src/models.dart:119:3

    ╷
119 │   num? 1mo;
    │   ^^^
    ╵

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

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

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

Package Constraint Compatible Latest Notes
http ^1.1.0 1.6.0 1.6.0
http_parser ^4.0.0 4.1.2 4.1.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
collection - 1.19.1 1.19.1
meta - 1.19.0 1.19.0
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.2 1.1.2

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 449 errors:

  • EXPECTED_TOKEN - lib/src/models.dart:119:3 - Expected to find ';'.
  • MISSING_CONST_FINAL_VAR_OR_TYPE - lib/src/models.dart:119:3 - Variables must be declared using the keywords 'const', 'final', 'var' or a type name.
  • INVALID_OPERATOR - lib/src/models.dart:119:6 - The string '?' isn't a user-definable operator.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.19, Dart 3.14.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
40
points
57
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Treasury Yields provides current and historical US Treasury constant-maturity market yields across the full curve (1-month through 30-year), plus TIPS real yields. Every plan gets today's full nominal curve. Paid plans add history back to 2010, TIPS real yields, day-over-day changes, curve spreads, inversion flags, the curve's shape and breakeven inflation.

License

MIT (license)

Dependencies

http, http_parser

More

Packages that depend on apiverve_treasuryyields