slang 3.32.0
slang: ^3.32.0 copied to clipboard
Localization / Internationalization (i18n) solution. Use JSON, YAML, CSV, or ARB 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.
slang/pubspec.yaml from the repository has a repository or homepage field "https://codeberg.org/Tienisto/slang" but cannot be parsed as a repository URL: Invalid repository URL: Could not recognize URL segments: /Tienisto/slang. Please report at pana.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: slang, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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
111 out of 478 API elements (23.2 %) have documentation comments.
Some symbols that are missing documentation: build_model_config, build_model_config.BuildModelConfig.BuildModelConfig.new, build_model_config.BuildModelConfig.contexts, build_model_config.BuildModelConfig.fallbackStrategy, build_model_config.BuildModelConfig.interfaces.
10/10 points: Package has an example and has no issues with screenshots
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 16 issues. Showing the first 2:
INFO: Angle brackets will be interpreted as HTML.
lib/api/translation_overrides.dart:133:30
╷
133 │ /// Replaces every ${_root.<path>} with the real string
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/api/translation_overrides.dart
INFO: Angle brackets will be interpreted as HTML.
lib/builder/builder/translation_model_builder.dart:29:36
╷
29 │ /// 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 <7.0.0 |
6.0.0 | 8.0.0 | |
json2yaml |
^3.0.0 |
3.0.1 | 3.0.1 | |
watcher |
^1.0.2 |
1.2.1 | 1.2.1 | |
yaml |
^3.1.0 |
3.1.3 | 3.1.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
meta |
- | 1.18.2 | 1.18.2 | |
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 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `>=5.0.1 <7.0.0` on csv does not support the stable version `7.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.23.12, Dart 3.11.4.
Check the analysis log for details.