Skip to content

Commit

Permalink
Upgrade Browserslist to 2.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-eb committed May 2, 2017
1 parent 1f10589 commit b9bb0ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dist"
],
"dependencies": {
"browserslist": "^1.3.6",
"browserslist": "^2.0.0",
"caniuse-lite": "^1.0.0",
"lodash.memoize": "^4.1.2",
"lodash.uniq": "^4.5.0"
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ test("find tests", (t) => {

test("getLatestStableBrowsers tests", (t) => {
t.ok(caniuse.getLatestStableBrowsers().length, "it should return an array of results")
t.ok(caniuse.getLatestStableBrowsers().every((browser) => browser.match(/[A-z_]+ [0-9]+/)), "every entry is correctly formed")
t.ok(caniuse.getLatestStableBrowsers().every((browser) => browser.match(/[A-z_]+ ([0-9\.\-]+|all)/)), "every entry is correctly formed")
t.end()
})

Expand Down

0 comments on commit b9bb0ac

Please sign in to comment.