[[MIRROR from GitHub]] Pure random number generator written in TypeScript

✅ Check for missing imports in test-bundle (#920) master

## Summary This PR adds the missing `uniformFloat32` and `uniformFloat64` distribution exports to the legacy test bundle and implements validation to ensure all package exports are tested. ## Key Changes - Added imports for `uniformFloat32` and `uniformFloat64` distributions to `test-bundle/run-legacy.cjs` - Added test cases for both float distribution functions to verify they return valid number values in the [0, 1] range - Implemented a new CI check in the build workflow that validates all package exports are imported in the test bundle, preventing future regressions ## Implementation Details The new CI validation step: - Extracts all export paths from `package.json` (excluding the package.json export itself) - Converts export paths to their corresponding import names (e.g., `./distribution/uniformFloat32` → `pure-rand/distribution/uniformFloat32`) - Verifies each export is referenced in `test-bundle/run-legacy.cjs` - Fails the build if any export is missing from the test bundle This ensures comprehensive test coverage of all public API exports going forward. https://claude.ai/code/session_01MosXG7JQU1HtiBDhyxCu7Q --------- Co-authored-by: Claude <noreply@anthropic.com>


+24
2 changed files