Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

universal-user-agent

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

universal-user-agent - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

7

dist-src/browser.js
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 @@

12

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc