Our official policy is to support the 2 most recent versions of Chrome, Firefox, Safari, and Microsoft Edge. We use browserslist-useragent-regexp to generate a regular expression that matches this browser support.
browserslist-useragent-regexp uses the caniuse-lite database to determine what the 2 most recent versions are, so it's also important that caniuse-lite is updated regularly.
The script also uses the unreleased versions browserslist query to allow beta, alpha, development, canary, etc. versions of browsers. These aren't officially supported, but the people who install and use these versions are typically developers or have more technical knowledge.
caniuse-lite is up to date (run pnpx browserslist@latest --update-db to update caniuse-lite, if needed)pnpm generate-browser-check or node scripts/generate-browser-check (they'll both do the same thing)caniuse-lite update, if needed)