Back to Explore

browserslist/update-db

GitHub
2 watchersOpen source

Last release:

CLI tool that updates caniuse-lite using browser data from Browserslist configuration. It is useful for keeping queries like “last 2 versions” or “>1%” current and helping polyfill tools like Autoprefixer or Babel use up to date browser information.

Project status

  • The repository appears to be maintained, with an upstream push on 2026-05-20, but the last published updates shown here are from 2025-12-16 (v1.2.3), so end-user cadence has slowed since then.
  • Update cadence based on the shown version history is moderate and somewhat clustered (not continuous): multiple updates in early December 2025 (v1.2.1 to v1.2.3), with the previous notable update earlier in 2025 (v1.1.4 on 2025-10-22), and then a long gap from 2025-12-16 to today (2026-06-09) with no new version listed.

AI summary generated

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

Recent updates

  • 1.2.3

    Release 1.2.3 claims to fix bun support. The code change updates how the tool fetches caniuse-lite metadata when running under Bun, switching the invoked CLI command. The release also bumps several development-only dependencies.

  • 1.2.2

    Release 1.2.2 updates how the tool runs pnpm to refresh caniuse-lite data. The main change is adjusting the pnpm update command to include a depth setting.

  • 1.2.1

    Release 1.2.1 addresses a pnpm-specific failure (`ERR_PNPM_NO_PACKAGE_IN_DEPENDENCIES`) when the Browserslist setup is older. The code change modifies how the pnpm update command is constructed before running it.

  • 1.2.0

    Release 1.2.0 extends the updater to also refresh baseline-related data in addition to caniuse-lite. Concretely, the CLI now includes `baseline-browser-mapping` in the package manager commands it runs to update and clean up dependencies.

    Features
  • 1.1.4

    Release 1.1.4 updates the pnpm code path for updating caniuse-lite and refreshes CI configuration and development dependencies. The release notes only mention a pnpm/package.json related fix, but the diff shows additional CI and dependency-related changes not called out.

  • 1.1.3

    Release 1.1.3 claims to fix Bun support. The code diff shows a change in lockfile detection logic for Bun, alongside CI and dev dependency updates.

    Breaking
  • 1.1.2

    Release 1.1.2 primarily adjusts the CLI output when browser list diffing fails, making the error message less intense and more user-friendly. The code changes also include CI tooling upgrades and dependency version bumps that are not described in the release notes.

  • 1.1.1

    Release 1.1.1 is described as a types-only fix. The diff shows a TypeScript declaration change for the main exported function, along with multiple dependency and tooling version bumps.

    Breaking
  • 1.1.0

    Release 1.1.0 adds support for Bun by detecting bun.lockb and updating caniuse-lite using Bun. The update logic also retrieves the latest caniuse-lite metadata for Bun mode via an npm command. CI and tests were updated to install and exercise Bun.

    Features
  • 1.0.16

    Release 1.0.16 is presented as a fix for old Node.js support. The code changes show compatibility updates around how Node core modules are imported, plus a small runtime dependency bump and larger dev tool (linting) dependency upgrades.