Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bowser

Package Overview
Dependencies
Maintainers
2
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bowser - npm Package Compare versions

Comparing version 1.9.2 to 1.9.3

2

bower.json

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc