Back to Explore

yargs/y18n

GitHub
1 watchersOpen source

Last release: 4/7/2021

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

  • Active maintenance (evidence-limited): The upstream repo shows a last push on 2026-03-31, but the provided recent updates summaries only go back to 2021, so ongoing maintenance beyond that timeline is not fully evidenced here.
  • Update cadence (uncertain): No recent cadence details are available from the provided summaries (they cluster on 2021-04-07 for v4.0.3, v5.0.7, and v5.0.8), so the apparent cadence after 2021 cannot be concluded from this data.

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v5.0.8

    4/7/2021

    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

    4/7/2021

    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

    4/7/2021

    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).

    Features
  • y18n-v4.0.2

    4/7/2021

    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.

    Security
  • v5.0.6

    4/5/2021

    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

    10/25/2020

    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.

    Security
  • v5.0.4

    10/16/2020

    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

    10/16/2020

    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

    10/1/2020

    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

    9/5/2020

    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.