Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: web-platform-dx/baseline-browser-mapping
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.10.44
Choose a base ref
...
head repository: web-platform-dx/baseline-browser-mapping
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.11.0
Choose a head ref
  • 1 commit
  • 27 files changed
  • 2 contributors

Commits on Jul 21, 2026

  1. feat: add getTimeline() and refactor data compression (#137)

    This PR does three things:
    
    * feat: Adds a new `getTimeline()` method for getting the series of minimum browser changes, either grouped by date or by browser.
    * refactor: Substantial refactoring of the data compression process that replaces the full list of browsers from `@mdn/browser-compat-data` and `downstream-browsers.json` and features from `web-features` (in their very pared down form) with a change-list timeline that reflects which versions supported Baseline (newly available) on a given date.  Thanks to @swwind for the idea!
    * refactor: Some common functions have been moved to a `util.ts` module for use in other scripts. 
    * fix: Removes `process.exit()` calls when unsupported option combinations are passed to getCompatibleVersions() and `getAllVersions()` in favour of throwing an `Error`.  There is a small security risk with `process.exit()` calls that sites accepting unsanitised inputs could be the subject of attacks.  Unsupported config options now throw and Error which should allow for more graceful handling.  Thanks to @bnbdr for flagging this as vulnerability CVE-2026-45819 .
    
    Fixes #134 
    
    ---------
    
    Co-authored-by: swwind <i@sww.moe>
    tonypconway and swwind authored Jul 21, 2026
    Configuration menu
    Copy the full SHA
    de733e2 View commit details
    Browse the repository at this point in the history
Loading