ens_normalize 1.0.4 copy "ens_normalize: ^1.0.4" to clipboard
ens_normalize: ^1.0.4 copied to clipboard

Ethereum Name Service (ENS) Name Normalizer adapted from namehash labs and adraffy.

3
likes
150/ 160
pub points
91
downloads

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

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

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

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

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

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

Detected license: BSD-3-Clause.

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

14 out of 64 API elements (21.9 %) have documentation comments.

Some symbols that are missing documentation: ens_normalize.CurableSequence.CurableSequence.new, ens_normalize.CurableSequence.index, ens_normalize.CurableSequence.sequence, ens_normalize.CurableSequence.sequenceInfo, ens_normalize.CurableSequence.suggested.

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 not compatible with platform Web

Because:

  • package:ens_normalize/ens_normalize.dart that imports:
  • package:ens_normalize/src/ens_normalize_base.dart that imports:
  • package:ens_normalize/src/normalization.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:ens_normalize/ens_normalize.dart that imports:
  • package:ens_normalize/src/ens_normalize_base.dart that imports:
  • package:ens_normalize/src/normalization.dart that imports:
  • dart:io

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: Angle brackets will be interpreted as HTML.

lib/src/ens_normalize_base.dart:175:19

    ╷
175 │ ///   tokens (List<Token>): A list of Token objects.
    │                   ^^^^^^^
    ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run dart analyze lib/src/ens_normalize_base.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
freezed_annotation ^2.4.1 2.4.4 3.0.0
json_annotation ^4.8.1 4.9.0 4.9.0
tuple ^2.0.2 2.0.2 2.0.2
unorm_dart ^0.3.0 0.3.0 0.3.0
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
meta - 1.16.0 1.16.0

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

The constraint `^2.4.1` on freezed_annotation does not support the stable version `3.0.0`, that was published 29 days ago.

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

Try running dart pub upgrade --major-versions freezed_annotation 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.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jun 29Jul 27Aug 24Sep 21Oct 19Nov 16Dec 14Jan 11Feb 8Mar 80510152025303540>=1.0.0-0 <2.0.0
3
likes
150
points
91
downloads

Publisher

verified publishervariance.space

Weekly Downloads

2024.09.15 - 2025.03.30

Ethereum Name Service (ENS) Name Normalizer adapted from namehash labs and adraffy.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

freezed_annotation, json_annotation, tuple, unorm_dart

More

Packages that depend on ens_normalize