icu4x 2.1.0-dev.0 copy "icu4x: ^2.1.0-dev.0" to clipboard
icu4x: ^2.1.0-dev.0 copied to clipboard

Dart bindings for the Rust `icu` internationalization crate.

145/ 160
pub points
442
downloads

We analyzed this package 4 days ago, and awarded it 145 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Failed check 0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:3:182

  ╷
3 │ It draws deeply from the experience of <a href="https://github.com/unicode-org/icu">ICU4C/J</a>, <a href="https://github.com/tc39/ecma402/">ECMA-402</a> and relies on data from the <a href="http://cldr.unicode.org/">CLDR</a> project.</p>
  │                                                                                                                                                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Unicode-3.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

1161 out of 1236 API elements (93.9 %) have documentation comments.

Some symbols that are missing documentation: icu4x, icu4x.BidiMirroringGlyph.BidiMirroringGlyph.new, icu4x.BidiMirroringGlyph.mirrored, icu4x.BidiMirroringGlyph.mirroringGlyph, icu4x.BidiMirroringGlyph.pairedBracketType.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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 does not support platform `Web`.

Because:

  • package:icu4x/icu4x.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:icu4x/icu4x.dart that imports:
  • package:icu4x/src/bindings/lib.g.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: 'TimeZoneVariant' is deprecated and shouldn't be used. type not needed anymore.

lib/src/bindings/TimeZoneInfo.g.dart:38:57

   ╷
38 │   factory TimeZoneInfo(TimeZone id, {UtcOffset? offset, TimeZoneVariant? variant}) {
   │                                                         ^^^^^^^^^^^^^^^
   ╵

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

Partially passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
args ^2.7.0 2.7.0 2.7.0
code_assets ^0.19.9 0.19.10 1.0.0
collection ^1.19.1 1.19.1 1.19.1
crypto ^3.0.6 3.0.7 3.0.7
ffi ^2.1.4 2.1.4 2.1.4
hooks >=0.20.4 <0.20.5 0.20.4 1.0.0
logging ^1.3.0 1.3.0 1.3.0
meta ^1.17.0 1.17.0 1.17.0
native_toolchain_c ^0.17.2 0.17.2 0.17.3
path ^1.9.1 1.9.1 1.9.1
record_use ^0.4.2 0.4.2 0.4.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
pub_semver - 2.2.0 2.2.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
yaml - 3.1.3 3.1.3

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

The constraint `^0.19.9` on code_assets does not support the stable version `1.0.0`, that was published 0 days ago.

When code_assets is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions code_assets to update the constraint.

The constraint `>=0.20.4 <0.20.5` on hooks does not support the stable version `0.20.5`, that was published 11 days ago.

When hooks is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions hooks to update the constraint.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.1, Dart 3.9.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
145
points
442
downloads

Publisher

verified publisherunicode.org

Weekly Downloads

Dart bindings for the Rust `icu` internationalization crate.

Repository (GitHub)
View/report issues
Contributing

Topics

#i18n

Documentation

API reference

License

Unicode-3.0 (license)

Dependencies

args, code_assets, collection, crypto, ffi, hooks, logging, meta, native_toolchain_c, path, record_use

More

Packages that depend on icu4x