@spectrum-web-components/shared
Advanced tools
Comparing version 0.15.4-react.54 to 0.15.4
{ | ||
"name": "@spectrum-web-components/shared", | ||
"version": "0.15.4-react.54+c59ca07be", | ||
"version": "0.15.4", | ||
"publishConfig": { | ||
@@ -12,6 +12,6 @@ "access": "public" | ||
"url": "https://github.com/adobe/spectrum-web-components.git", | ||
"directory": "packages/shared" | ||
"directory": "tools/shared" | ||
}, | ||
"author": "", | ||
"homepage": "https://adobe.github.io/spectrum-web-components/components/shared", | ||
"homepage": "https://opensource.adobe.com/spectrum-web-components/tools/shared", | ||
"bugs": { | ||
@@ -93,3 +93,3 @@ "url": "https://github.com/adobe/spectrum-web-components/issues" | ||
"@lit-labs/observers": "^1.0.1", | ||
"@spectrum-web-components/base": "^0.7.3-react.54+c59ca07be", | ||
"@spectrum-web-components/base": "^0.7.3", | ||
"focus-visible": "^5.1.0" | ||
@@ -102,3 +102,3 @@ }, | ||
], | ||
"gitHead": "c59ca07bef1633dd16241d4be7d87b037ce7ddbf" | ||
"gitHead": "02534b6685ff89a21dba86c09b2169f5b30a46f2" | ||
} |
@@ -8,2 +8,4 @@ export declare function isMac(): boolean; | ||
export declare function isChrome(): boolean; | ||
export declare function isFirefox(): boolean; | ||
export declare function isSeamonkey(): boolean; | ||
export declare function isAndroid(): boolean; |
@@ -29,2 +29,8 @@ "use strict"; | ||
} | ||
export function isFirefox() { | ||
return testUserAgent(/Firefox/) && !isSeamonkey(); | ||
} | ||
export function isSeamonkey() { | ||
return testUserAgent(/Seamonkey/); | ||
} | ||
export function isAndroid() { | ||
@@ -31,0 +37,0 @@ return testUserAgent(/Android/); |
@@ -1,2 +0,2 @@ | ||
"use strict";function o(n){return typeof window!="undefined"&&window.navigator!=null?n.test(window.navigator.userAgent):!1}function e(n){return typeof window!="undefined"&&window.navigator!=null?n.test(window.navigator.platform):!1}export function isMac(){return e(/^Mac/)}export function isIPhone(){return e(/^iPhone/)}export function isIPad(){return e(/^iPad/)||isMac()&&navigator.maxTouchPoints>1}export function isIOS(){return isIPhone()||isIPad()}export function isAppleDevice(){return isMac()||isIOS()}export function isWebKit(){return o(/AppleWebKit/)&&!isChrome()}export function isChrome(){return o(/Chrome/)}export function isAndroid(){return o(/Android/)} | ||
"use strict";function n(o){return typeof window!="undefined"&&window.navigator!=null?o.test(window.navigator.userAgent):!1}function e(o){return typeof window!="undefined"&&window.navigator!=null?o.test(window.navigator.platform):!1}export function isMac(){return e(/^Mac/)}export function isIPhone(){return e(/^iPhone/)}export function isIPad(){return e(/^iPad/)||isMac()&&navigator.maxTouchPoints>1}export function isIOS(){return isIPhone()||isIPad()}export function isAppleDevice(){return isMac()||isIOS()}export function isWebKit(){return n(/AppleWebKit/)&&!isChrome()}export function isChrome(){return n(/Chrome/)}export function isFirefox(){return n(/Firefox/)&&!isSeamonkey()}export function isSeamonkey(){return n(/Seamonkey/)}export function isAndroid(){return n(/Android/)} | ||
//# sourceMappingURL=platform.js.map |
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances 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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 2 instances in 1 package
191724
1180
1
0