docs(core): refresh stale figures in README#294
Merged
Conversation
The "~2.4 KB gzipped" claim and "~87% global coverage" figure both
drifted out of sync with reality:
- Average gzipped per-language ESM bundle is now ~2.2 KB across the
72 languages (range 1.7-2.9 KB).
- caniuse data for `defaults and supports bigint` is now ~85.5%, no
longer ~87%.
Replace both with rough phrasing ("~2 KB", "any browser with BigInt
support") so future caniuse drift doesn't restale the docs.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Same drift fix as the README change: .browserslistrc cited "~87%" and rollup.config.js cited "~85.9%" — both stale, and they didn't even agree with each other. Replace both with prose that points readers to `npx browserslist --coverage` if they want the current number. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Summary
Three places carried stale or mismatched figures for the same underlying metric:
README.mdREADME.md.browserslistrc:12npx browserslist --coveragerollup.config.js:58Reality check: average gzipped per-language ESM bundle is 2.2 KB across the 72 languages (range 1.7–2.9 KB), and the current caniuse coverage for
defaults and supports bigintis ~85.5%. The three files all cited different numbers (87 / 87 / 85.9), so even before the caniuse drift they weren't internally consistent.Replacing the precise figures with rough phrasing means the next caniuse market-share shift doesn't restale anything.
Spot-checks confirmed the rest of the README is accurate: 72 language files (matches "70+"), every language exports all three forms, UMD shape (
n2words.enUS,.ordinal.enUS,.currency.enUS) matchesrollup.config.js, browser version baselines (Chrome 67+ / FF 68+ / Safari 14+ / Edge 79+) are correct for BigInt support, Node.js 22+ matchesengines.node.Test plan
markdownlint-cli2 README.mdpassesnpx browserslist --coveragestill resolves correctly (config unchanged, only comment edited)