Skip to content

Strengthen i18n runtime contracts - #22

Merged
smiggleworth merged 1 commit into
mainfrom
codex/i18n-contract-audits
Aug 24, 2026
Merged

Strengthen i18n runtime contracts#22
smiggleworth merged 1 commit into
mainfrom
codex/i18n-contract-audits

Conversation

@smiggleworth

Copy link
Copy Markdown
Contributor

Summary

  • reject explicitly supplied null directions instead of silently defaulting them to ltr
  • remove orphaned JSDoc left after the service refactor
  • cover complex plural categories, literal placeholder-shaped interpolation, mixed-direction content, strict catalog completeness, hydration-to-locale switching, and missing-key failures
  • compile every public type export directly

Verification

  • npm run check
  • npm run fmt -- --check
  • git diff --check

Closes #15

No package version was changed and no package was published.

@smiggleworth
smiggleworth marked this pull request as ready for review August 24, 2026 13:27
Copilot AI lite review requested due to automatic review settings August 24, 2026 13:27
@smiggleworth
smiggleworth merged commit 0450d8b into main Aug 24, 2026
3 checks passed
@smiggleworth
smiggleworth deleted the codex/i18n-contract-audits branch August 24, 2026 13:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dead, unattached JSDoc comments left in src/index.ts after a refactor

2 participants