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

Merge branch 'hotfix/1.9.2' into production

This commit is contained in:
Denis Demchenko 2018-02-05 20:30:42 +02:00
commit 641c645d3f
4 changed files with 11 additions and 5 deletions

View File

@ -1,7 +1,10 @@
# Bowser Changelog
### 1.9.2 (February 5, 2018)
- [FIX] Fix `typings.d.ts` — add `osname` flag to the interface
### 1.9.1 (December 22, 2017)
- [FIX] Fix `typings.d.ts` — add `chromium` flag to interface
- [FIX] Fix `typings.d.ts` — add `chromium` flag to the interface
### 1.9.0 (December 20, 2017)
- [ADD] Add a public method `.detect()` (#205)

View File

@ -11,7 +11,7 @@
"ender",
"sniff"
],
"version": "1.9.0",
"version": "1.9.2",
"homepage": "https://github.com/lancedikson/bowser",
"scripts": [
"src/bowser.js"

View File

@ -1,6 +1,6 @@
{
"name": "bowser",
"version": "1.9.1",
"version": "1.9.2",
"description": "Lightweight browser detector",
"keywords": [
"browser",

7
typings.d.ts vendored
View File

@ -79,10 +79,13 @@ declare namespace bowser {
c: boolean;
/** Grade X browser */
x: boolean;
/**A human readable name for this browser. E.g. 'Chrome', '' */
/** A human readable name for this browser. E.g. 'Chrome', '' */
name: string;
/**Version number for the browser. E.g. '32.0' */
/** Version number for the browser. E.g. '32.0' */
version: string|number;
/** Name for this operating system. E.g. 'macOS' */
osname: string;
/** Version number for this operating system. E.g. '10.12.6' */
osversion: string|number;
}