slang 2.8.0
slang: ^2.8.0 copied to clipboard
Localization / Internationalization (i18n) solution. Use JSON, YAML or CSV files to create typesafe translations via source generation.
We analyzed this package 3 days ago, and awarded it 130 pub points (of a possible 160):
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: slang
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
slang/pubspec.yaml
from the repository URL mismatch: expected https://github.com/Tienisto/slang
but got https://github.com/slang-i18n/slang
.
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
119 out of 464 API elements (25.6 %) have documentation comments.
Some symbols that are missing documentation: base_decoder
, base_decoder.BaseDecoder
, base_decoder.BaseDecoder.BaseDecoder.new
, brackets_utils
, brackets_utils.BracketRange
.
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 13 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
bin/slang.dart:57:59
╷
57 │ !file.path.contains(buildConfig.inputDirectory!)) return false;
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze bin/slang.dart
INFO: Angle brackets will be interpreted as HTML.
lib/builder/builder/translation_model_builder.dart:16:34
╷
16 │ /// The map must be of type Map<String, dynamic> and all children may of type
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/builder/builder/translation_model_builder.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
collection |
^1.15.0 |
1.19.1 | 1.19.1 | |
csv |
^5.0.1 |
5.1.1 | 6.0.0 | |
yaml |
^3.1.0 |
3.1.3 | 3.1.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^5.0.1` on csv does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions csv
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.22.20
, Dart 3.7.2
.
Check the analysis log for details.