@shopify/browser
Advanced tools
Comparing version 2.0.9 to 3.0.0-a3-beta.1
@@ -70,2 +70,7 @@ 'use strict'; | ||
get isAndroid() { | ||
const os = this.ua.getOS(); | ||
return os.name && os.name.includes('Android'); | ||
} | ||
get isFirefox() { | ||
@@ -72,0 +77,0 @@ return this.name === 'Firefox'; |
@@ -23,2 +23,3 @@ export interface Options { | ||
get isAndroidChrome(): any; | ||
get isAndroid(): any; | ||
get isFirefox(): boolean; | ||
@@ -25,0 +26,0 @@ get isIE(): any; |
{ | ||
"name": "@shopify/browser", | ||
"version": "2.0.9", | ||
"version": "3.0.0-a3-beta.1", | ||
"license": "MIT", | ||
@@ -24,3 +24,3 @@ "description": "Utilities for extracting browser information from user-agents", | ||
"engines": { | ||
"node": ">=12.14.0" | ||
"node": "^14.17.0 || >=16.0.0" | ||
}, | ||
@@ -45,6 +45,5 @@ "files": [ | ||
"require": "./index.js" | ||
}, | ||
"./*": "./*" | ||
} | ||
}, | ||
"gitHead": "70feded397084daea784a8c5a523a61ac4fdb34c" | ||
"gitHead": "2cf1b229fc5896bbaa43eb4097d0f4a6228f8f96" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
21207
243
1