y18n is a “bare-bones” internationalization (i18n) library used by yargs. It provides localized string functions, supports pluralization, and can read and update JSON language files in a configured locales directory.
Project status
- Maintenance status: Upstream shows at least one recent push on 2026-03-31, but the provided published updates for
yargs/y18nare from 2021-04-07 (plus earlier tags in 2020). Based on the evidence here, it looks quiet between 2021 and today, with any maintenance happening outside the included release history. - Update cadence (apparent): Earlier updates occurred in short bursts in Sept to Oct 2020 (multiple tags), followed by a cluster of updates on 2021-04-07 (v4.0.2 to v5.0.8). After that, the provided updates do not show any new published versions.
AI summary generated
Recent updates
v5.0.8
Release y18n v5.0.8 primarily updates the package version and changelog to document a Deno-related bug fix. No actual runtime source code changes are shown in the provided diff, aside from versioning and documentation.
y18n-v4.0.3
Release y18n-v4.0.3 contains a documented bug fix related to Node 10 enforcement. The code changes in this version primarily adjust how the library stores its internal translation cache, and add tests covering prototype pollution scenarios. Those prototype-pollution related behavioral changes are not mentioned in the release notes.
v5.0.7
The v5.0.7 release notes only mention a Deno-related publishing/build tweak (“force release for deno”). However, the actual diff from v4.0.3 to v5.0.7 shows a much larger packaging and implementation refactor, including moving from a single CJS entry (index.js) to a TS-built, ESM-and-CJS distribution with platform shims (Node and Deno).
Featuresy18n-v4.0.2
This release notes only document a security-related bug fix about ensuring a backport entry exists. The provided code diff, however, shows changes to release automation and release-please configuration, with no application/library source changes visible.
Securityv5.0.6
Release y18n v5.0.6 includes a webpack-related bug fix intended to prevent failures when `fs.readFileSync` is not available in bundled environments. The runtime code changes are very small and primarily add a guard around synchronous locale file reading.
v4.0.1
This release is centered on fixing a prototype pollution vulnerability. The actual code change hardens the internal locale cache against polluted object prototypes and adds regression tests to ensure __proto__-related locales do not leak onto Object.prototype.
Securityv5.0.4
v5.0.4 is a packaging-focused patch release for y18n. The release notes describe a fix to the package.json `exports` field to address Node.js 13.0 and 13.1 resolution behavior.
v5.0.3
This release (v5.0.3) is a small packaging fix for Node.js compatibility around the package.json "exports" field. The documented change is specifically intended to address Node 13.0-13.6 needing a string fallback for CommonJS resolution.
v5.0.2
Release v5.0.2 makes a small bug-fix style update related to Deno type definitions. The only functional code change is a TypeScript import adjustment, and the rest is documentation and version metadata.
v5.0.1
v5.0.1 is a small patch release for y18n. The documented change is a fix related to the package entry point path, specifically that main previously pointed at an older index path.