universal-user-agent
Advanced tools
Comparing version 4.0.0 to 4.0.1
export function getUserAgent() { | ||
return navigator.userAgent; | ||
try { | ||
return navigator.userAgent; | ||
} | ||
catch (e) { | ||
return "<environment unknown>"; | ||
} | ||
} |
function getUserAgent() { | ||
return navigator.userAgent; | ||
try { | ||
return navigator.userAgent; | ||
} | ||
catch (e) { | ||
return "<environment unknown>"; | ||
} | ||
} | ||
@@ -4,0 +9,0 @@ |
{ | ||
"name": "universal-user-agent", | ||
"description": "Get a user agent string in both browser and node", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"license": "ISC", | ||
@@ -20,9 +20,9 @@ "files": [ | ||
"@pika/pack": "^0.5.0", | ||
"@pika/plugin-build-node": "^0.6.0", | ||
"@pika/plugin-ts-standard-pkg": "^0.6.0", | ||
"@types/jest": "^24.0.18", | ||
"@pika/plugin-build-node": "^0.9.1", | ||
"@pika/plugin-ts-standard-pkg": "^0.9.1", | ||
"@types/jest": "^25.1.0", | ||
"jest": "^24.9.0", | ||
"prettier": "^1.18.2", | ||
"semantic-release": "^15.9.15", | ||
"ts-jest": "^24.0.2", | ||
"semantic-release": "^17.0.0", | ||
"ts-jest": "^25.1.0", | ||
"typescript": "^3.6.2" | ||
@@ -29,0 +29,0 @@ }, |
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
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
5258
50