fix!: enforce deterministic conversion contracts - #2435
Merged
Conversation
Correct locale handling, locale invariants, CLI parsing, ordinals, and numeric utilities. Freeze initialized locale data and require lint and tests before npm publishing. BREAKING CHANGE: locale defaults, config mutability, utilities, and CLI semantics have changed. Release-As: 6.0.0
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2435 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 139 142 +3
Lines 2087 2158 +71
Branches 236 303 +67
=========================================
+ Hits 2087 2158 +71 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Validate docs, compiled entry points, and package contents before npm publishing. Align release guidance and refresh the approved development-tool dependencies.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Expose locale contract validation and a compact generated manifest. Generate capability documentation directly from shipped locale configs. Enforce drift checks in docs and release workflows, and verify ESM and CommonJS exports. Keep existing conversion bundles byte-for-byte unchanged.
Publish generated numbering-system and named-range metadata for every locale. Add executable conformance checks, drift-proof documentation, and focused quality-gate tooling while keeping full-suite coverage authoritative. BREAKING CHANGE: LocaleManifestEntry now requires the generated metadata property.
Initialize per-locale helper instances lazily and mark package modules as side-effect free. Bundlers can now remove unused entry-point code. Add enforced gzip budgets and refresh documented bundle measurements.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Correct locale handling, locale invariants, CLI parsing, ordinals, and numeric utilities.
Freeze initialized locale data and require lint and tests before npm publishing.
BREAKING CHANGE: locale defaults, config mutability, utilities, and CLI semantics have changed.
Release-As: 6.0.0