
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
icu_normalizer
Advanced tools
Normalizing text into Unicode Normalization Forms.
This module is published as its own crate (icu_normalizer)
and as part of the icu crate. See the latter for more details on the ICU4X project.
The top level of the crate provides normalization of input into the four normalization forms defined in UAX #15: Unicode Normalization Forms: NFC, NFD, NFKC, and NFKD.
Three kinds of contiguous inputs are supported: known-well-formed UTF-8 (&str), potentially-not-well-formed UTF-8,
and potentially-not-well-formed UTF-16. Additionally, an iterator over char can be wrapped in a normalizing iterator.
The uts46 module provides the combination of mapping and normalization operations for UTS #46: Unicode IDNA
Compatibility Processing. This functionality is not meant to be used by
applications directly. Instead, it is meant as a building block for a full implementation of UTS #46, such as the
idna crate.
The properties module provides the non-recursive canonical decomposition operation on a per char basis and
the canonical compositon operation given two chars. It also provides access to the Canonical Combining Class
property. These operations are primarily meant for HarfBuzz, the types
CanonicalComposition, CanonicalDecomposition,
and CanonicalCombiningClassMap implement the [harfbuzz_traits] if
the harfbuzz_traits Cargo feature is enabled.
Notably, this normalizer does not provide the normalization “quick check” that can result in “maybe” in addition to “yes” and “no”. The normalization checks provided by this crate always give a definitive non-“maybe” answer.
let nfc = icu_normalizer::ComposingNormalizerBorrowed::new_nfc();
assert_eq!(nfc.normalize("a\u{0308}"), "ä");
assert!(nfc.is_normalized("ä"));
let nfd = icu_normalizer::DecomposingNormalizerBorrowed::new_nfd();
assert_eq!(nfd.normalize("ä"), "a\u{0308}");
assert!(!nfd.is_normalized("ä"));
For more information on development, authorship, contributing etc. please visit ICU4X home page.
FAQs
Unknown package
The cargo package icu_normalizer receives a total of 11,350,269 weekly downloads. As such, icu_normalizer popularity was classified as popular.
We found that icu_normalizer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.