detect-browser
Advanced tools
Comparing version 4.7.0 to 4.8.0
@@ -25,3 +25,3 @@ /// <reference types="node" /> | ||
} | ||
export declare type Browser = 'aol' | 'edge' | 'yandexbrowser' | 'vivaldi' | 'kakaotalk' | 'samsung' | 'silk' | 'miui' | 'beaker' | 'edge-chromium' | 'chrome' | 'chromium-webview' | 'phantomjs' | 'crios' | 'firefox' | 'fxios' | 'opera-mini' | 'opera' | 'ie' | 'bb10' | 'android' | 'ios' | 'safari' | 'facebook' | 'instagram' | 'ios-webview' | 'searchbot'; | ||
export declare type Browser = 'aol' | 'edge' | 'edge-ios' | 'yandexbrowser' | 'vivaldi' | 'kakaotalk' | 'samsung' | 'silk' | 'miui' | 'beaker' | 'edge-chromium' | 'chrome' | 'chromium-webview' | 'phantomjs' | 'crios' | 'firefox' | 'fxios' | 'opera-mini' | 'opera' | 'ie' | 'bb10' | 'android' | 'ios' | 'safari' | 'facebook' | 'instagram' | 'ios-webview' | 'searchbot'; | ||
export declare type OperatingSystem = 'iOS' | 'Android OS' | 'BlackBerry OS' | 'Windows Mobile' | 'Amazon OS' | 'Windows 3.11' | 'Windows 95' | 'Windows 98' | 'Windows 2000' | 'Windows XP' | 'Windows Server 2003' | 'Windows Vista' | 'Windows 7' | 'Windows 8' | 'Windows 8.1' | 'Windows 10' | 'Windows ME' | 'Open BSD' | 'Sun OS' | 'Linux' | 'Mac OS' | 'QNX' | 'BeOS' | 'OS/2' | 'Chrome OS' | 'Search Bot'; | ||
@@ -28,0 +28,0 @@ export declare function detect(userAgent?: string): BrowserInfo | BotInfo | NodeInfo | null; |
@@ -45,2 +45,3 @@ "use strict"; | ||
['edge', /Edge\/([0-9\._]+)/], | ||
['edge-ios', /EdgiOS\/([0-9\._]+)/], | ||
['yandexbrowser', /YaBrowser\/([0-9\._]+)/], | ||
@@ -47,0 +48,0 @@ ['vivaldi', /Vivaldi\/([0-9\.]+)/], |
{ | ||
"name": "detect-browser", | ||
"version": "4.7.0", | ||
"version": "4.8.0", | ||
"description": "Unpack a browser type and version from the useragent string", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
15097
205