conventional 0.3.1
conventional: ^0.3.1 copied to clipboard
A light-weight library for working with commits that follow the Conventional Commits specification.
We analyzed this package 4 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
101 out of 107 API elements (94.4 %) have documentation comments.
Some symbols that are missing documentation: conventional, conventional.CommitAuthor.CommitAuthor.new, conventional.CommitSections.CommitSections.new, conventional.LintConfig.LintConfig.new, conventional.LintContext.LintContext.new.
10/10 points: Package has an example
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:conventional/conventional.dartthat imports:package:conventional/src/changelog.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: 'separatedBy' is deprecated and shouldn't be used. Use `SeparatedRepeatingParserExtension.plusSeparated` for a better optimized and strongly typed implementation that provides the elements and separators separately.
lib/src/commit_message_parser.dart:74:29
╷
74 │ (char('(') & ref0(id).separatedBy(char('-')).plus().flatten() & char(')'))
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/commit_message_parser.dart
INFO: 'separatedBy' is deprecated and shouldn't be used. Use `SeparatedRepeatingParserExtension.plusSeparated` for a better optimized and strongly typed implementation that provides the elements and separators separately.
lib/src/commit_message_parser.dart:93:24
╷
93 │ ref0(footerLine).separatedBy(newLine, includeSeparators: false).plus();
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/commit_message_parser.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
equatable |
^2.0.0 |
2.0.8 | 2.0.8 | |
petitparser |
^5.0.0 |
5.4.0 | 7.0.1 | |
pub_semver |
^2.0.0 |
2.2.0 | 2.2.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
meta |
- | 1.17.0 | 1.17.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^5.0.0` on petitparser does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions petitparser to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.5, Dart 3.10.7.
Check the analysis log for details.