phone_numbers_parser 6.0.0
phone_numbers_parser: ^6.0.0 copied to clipboard
Dart library for parsing phone numbers. Inspired by Google's libphonenumber and PhoneNumberKit for ios.
We analyzed this package 7 days ago, and awarded it 130 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
37 out of 58 API elements (63.8 %) have documentation comments.
Some symbols that are missing documentation: phone_number_parser.Code
, phone_number_parser.IsoCode
, phone_number_parser.IsoCode.fromJson
, phone_number_parser.IsoCode.toJson
, phone_number_parser.PhoneNumber.PhoneNumber.fromJson
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
This package is compatible with runtime wasm
, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: This API is available since SDK 2.15.0, but constraints '>=2.14.0 <3.0.0' don't guarantee it.
lib/src/models/phone_number.dart:220:26
╷
220 │ 'isoCode': isoCode.name,
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/phone_number.dart
WARNING: This API is available since SDK 2.15.0, but constraints '>=2.14.0 <3.0.0' don't guarantee it.
lib/src/models/phone_number.dart:227:31
╷
227 │ isoCode: IsoCode.values.byName(map['isoCode']),
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/phone_number.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
dart_countries |
^3.0.2 |
3.0.3 | 3.0.3 | Discontinued |
meta |
^1.7.0 |
1.16.0 | 1.16.0 | |
phone_number_metadata |
^5.0.3 |
5.0.5 | 5.0.5 | Discontinued |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
path |
- | 1.9.1 | 1.9.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- dart_countries
- phone_number_metadata.
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.22.20
, Dart 3.7.2
.
Check the analysis log for details.