Comparing version 1.9.2 to 1.9.3
@@ -14,3 +14,3 @@ { | ||
], | ||
"version": "1.9.2", | ||
"version": "1.9.3", | ||
"homepage": "https://github.com/lancedikson/bowser", | ||
@@ -17,0 +17,0 @@ "scripts": [ |
# Bowser Changelog | ||
### 1.9.3 (March 12, 2018) | ||
- [FIX] Fix `typings.d.ts` — add `ipad`, `iphone`, `ipod` flags to the interface | ||
### 1.9.2 (February 5, 2018) | ||
@@ -4,0 +7,0 @@ - [FIX] Fix `typings.d.ts` — add `osname` flag to the interface |
{ | ||
"name": "bowser", | ||
"version": "1.9.2", | ||
"version": "1.9.3", | ||
"description": "Lightweight browser detector", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -11,2 +11,11 @@ // Type definitions for Bowser 1.x | ||
declare namespace bowser { | ||
export interface IBowserPlatform { | ||
ipad: boolean; | ||
ipod: boolean; | ||
iphone: boolean; | ||
/** If a tablet device is detected, the flag tablet is set instead of mobile. */ | ||
tablet: boolean; | ||
/** All detected mobile OSes are additionally flagged mobile, unless it's a tablet */ | ||
mobile: boolean; | ||
} | ||
@@ -43,2 +52,3 @@ export interface IBowserOS { | ||
opera: boolean; | ||
samsungBrowser: boolean; | ||
phantom: boolean; | ||
@@ -70,7 +80,2 @@ blackberry: boolean; | ||
msedge: boolean; | ||
/** If a tablet device is detected, the flag tablet is set instead of mobile. */ | ||
tablet: boolean; | ||
/** All detected mobile OSes are additionally flagged mobile, unless it's a tablet */ | ||
mobile: boolean; | ||
} | ||
@@ -95,3 +100,3 @@ | ||
export interface IBowserDetection extends IBowserGrade, IBowserEngines, IBowserOS, IBowserVersions { } | ||
export interface IBowserDetection extends IBowserGrade, IBowserEngines, IBowserOS, IBowserVersions, IBowserPlatform { } | ||
@@ -98,0 +103,0 @@ export interface IBowserMinVersions { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1443
105725