ismobilejs
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A simple JS library that detects mobile devices.", | ||
@@ -9,0 +9,0 @@ "keywords": [ |
export declare type isMobileResult = { | ||
apple: { | ||
apple: { | ||
phone: boolean; | ||
ipod: boolean; | ||
tablet: boolean; | ||
device: boolean; | ||
}; | ||
amazon: { | ||
phone: boolean; | ||
tablet: boolean; | ||
device: boolean; | ||
}; | ||
android: { | ||
phone: boolean; | ||
tablet: boolean; | ||
device: boolean; | ||
}; | ||
windows: { | ||
phone: boolean; | ||
tablet: boolean; | ||
device: boolean; | ||
}; | ||
other: { | ||
blackberry: boolean; | ||
blackberry10: boolean; | ||
opera: boolean; | ||
firefox: boolean; | ||
chrome: boolean; | ||
device: boolean; | ||
}; | ||
phone: boolean; | ||
ipod: boolean; | ||
tablet: boolean; | ||
device: boolean; | ||
}; | ||
amazon: { | ||
phone: boolean; | ||
tablet: boolean; | ||
device: boolean; | ||
}; | ||
android: { | ||
phone: boolean; | ||
tablet: boolean; | ||
device: boolean; | ||
}; | ||
windows: { | ||
phone: boolean; | ||
tablet: boolean; | ||
device: boolean; | ||
}; | ||
other: { | ||
blackberry: boolean; | ||
blackberry10: boolean; | ||
opera: boolean; | ||
firefox: boolean; | ||
chrome: boolean; | ||
device: boolean; | ||
}; | ||
phone: boolean; | ||
tablet: boolean; | ||
any: boolean; | ||
any: boolean; | ||
}; | ||
export default function isMobile(userAgent?: string): isMobileResult; |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
67993
30
1293
0