Skip to content

feat: add shared normalization helpers#15

Merged
alyldas merged 1 commit into
mainfrom
feat/shared-normalization-helpers
Jun 22, 2026
Merged

feat: add shared normalization helpers#15
alyldas merged 1 commit into
mainfrom
feat/shared-normalization-helpers

Conversation

@alyldas

@alyldas alyldas commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Summary:

  • Added shared public input normalization for text-like values.
  • Added explicit visible and length-preserving mask character normalization helpers while keeping normalizeMaskChar compatible.
  • Covered nullish input, arbitrary values, empty masks, astral masks, and length-preserving masking behavior.

Tests:

  • npm test
  • npm run check (using a temporary npm cache outside the user home)

Do not merge until maintainer approval.

Closes #14

@alyldas alyldas merged commit b2a8cd8 into main Jun 22, 2026
4 checks passed
@alyldas alyldas deleted the feat/shared-normalization-helpers branch June 22, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Add shared input and mask-character normalization helpers

1 participant