1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

Merge pull request #340 from nepa/patch-1

Update README.md
This commit is contained in:
Denis Demchenko 2019-07-19 18:11:54 +03:00 committed by GitHub
commit d9b7373f3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,13 +120,13 @@ const isValidBrowser = browser.satisfies({
// or in general // or in general
chrome: "~20.1.1432", chrome: "~20.1.1432",
firefox: ">31", firefox: ">31",
opera: ">=22" opera: ">=22",
// also supports equality operator // also supports equality operator
chrome: "=20.1.1432", // will match particular build only chrome: "=20.1.1432", // will match particular build only
// and loose-equality operator // and loose-equality operator
chrome: "~20" // will match any 20.* sub-version chrome: "~20", // will match any 20.* sub-version
chrome: "~20.1" // will match any 20.1.* sub-version (20.1.19 as well as 20.1.12.42-alpha.1) chrome: "~20.1" // will match any 20.1.* sub-version (20.1.19 as well as 20.1.12.42-alpha.1)
}); });
``` ```