@jam3/detect
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "@jam3/detect", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "User agent feature detection like Device Orientation, in App Browser Detection, etc", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
import bowser from 'bowser'; | ||
const detector = | ||
export const detector = | ||
typeof window !== 'undefined' | ||
@@ -207,6 +207,10 @@ ? { | ||
export const os = new OS(); | ||
export const browser = new Browser(); | ||
export const device = new Device(); | ||
class Detect { | ||
os = new OS(); | ||
browser = new Browser(); | ||
device = new Device(); | ||
os = os; | ||
browser = browser; | ||
device = device; | ||
detector = detector; | ||
@@ -213,0 +217,0 @@ } |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
68865
1113
0