Skip to content

Commit

Permalink
Merge branch 'hotfix/1.4.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
lancedikson committed Jul 26, 2016
2 parents 47dc65a + f32dc38 commit 94da04f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Bowser Changelog


### 1.4.2 (July 26, 2016)

- [FIX] Fix missing `isUnsupportedBrowser` in typings description
- [DOC] Fix `check`'s declaration in README

### 1.4.1 (July 7, 2016)

- [FIX] Fix `strictMode` logic for `isUnsupportedBrowser`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Use it to get object with detected flags of your current browser.
### bowser._detect(ua `:String`)`:Object`
Use it to get object with detected flags from User Agent string.

### bowser.check(minVersions`:Object`, strictMode`:Boolean`)`:Boolean`
### bowser.check(minVersions`:Object`, strictMode`:Boolean`, [ua]`:String`)`:Boolean`
Use it to check if browser supported.

```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"sniff",
"detection"
],
"version": "1.4.1",
"version": "1.4.2",
"homepage": "https://github.com/ded/bowser",
"author": "Dustin Diaz <[email protected]> (http://dustindiaz.com)",
"main": "./src/bowser.js",
Expand Down
1 change: 1 addition & 0 deletions typings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const windows: boolean
export const windowsphone: boolean

export function test(browserList: Flag[]): boolean
export function isUnsupportedBrowser(minVersions:Object, strictMode?:Boolean, ua?:string): boolean

export type Flag = "a" | "b" | "c" | "android" | "bada" | "blackberry"
| "chrome" | "firefox" | "gecko" | "ios" | "msie"
Expand Down

0 comments on commit 94da04f

Please sign in to comment.