Back to Explore

browserslist/update-db

GitHub
3 updates · last 90 days3 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 source (browserslist/update-db) appears actively maintained, with an upstream GitHub push on 2026-08-10 and subsequent updates released within days (1.3.0 on 2026-08-06, 1.3.1 on 2026-08-10).
  • Update cadence looks bursty rather than steady. After multiple updates in late 2025, there was a gap of about 7 months before 2026-08-06, followed by a quick follow-up on 2026-08-10.

AI summary generated

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

Recent updates

  • 1.3.2

    Release 1.3.2 focuses on fixing version detection and improving compatibility with multiple package managers, including npm, Bun, and Deno, plus improved handling of missing binaries. It also updates the CLI --version output formatting and adjusts pnpm 12 behavior.

  • 1.3.1

    Release 1.3.1 claims to fix Bun support. The code changes show that the Bun update strategy was redesigned to work around Bun's inability to update transitive dependencies by name.

  • 1.3.0

    This release adds the ability to update caniuse-lite when a Deno lockfile (deno.lock) is present, using Deno commands to fetch the latest version and update dependencies. The codebase also includes broader CI/test and development tooling changes to support the new Deno mode.

    Features
  • 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.