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

@commercetools/http-user-agent

Package Overview
Dependencies
Maintainers
8
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercetools/http-user-agent - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

2

dist/commercetools-http-user-agent.umd.min.js

@@ -1,2 +0,2 @@

!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):e.CommercetoolsHttpUserAgent=r()}(this,function(){"use strict";function e(e){if(!e||0===Object.keys(e).length||!{}.hasOwnProperty.call(e,"name"))throw new Error("Missing required option `name`");var t=e.version?e.name+"/"+e.version:e.name,n=void 0;e.libraryName&&!e.libraryVersion?n=e.libraryName:e.libraryName&&e.libraryVersion&&(n=e.libraryName+"/"+e.libraryVersion);var o=void 0;e.contactUrl&&!e.contactEmail?o="(+"+e.contactUrl+")":!e.contactUrl&&e.contactEmail?o="(+"+e.contactEmail+")":e.contactUrl&&e.contactEmail&&(o="(+"+e.contactUrl+"; +"+e.contactEmail+")");return[t,r()?window.navigator.userAgent:"Node.js/"+process.version.slice(1)+" ("+process.platform+"; "+process.arch+")",n,o].filter(function(e){return Boolean(e)}).join(" ")}var r=new Function('try { return typeof window === "object" } catch (e) { return false }');return e});
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):e.CommercetoolsHttpUserAgent=r()}(this,function(){"use strict";var e=new Function('try { return typeof window === "object" } catch (e) { return false }');return function(r){if(!r||0===Object.keys(r).length||!{}.hasOwnProperty.call(r,"name"))throw new Error("Missing required option `name`");var t=r.version?r.name+"/"+r.version:r.name,n=void 0;r.libraryName&&!r.libraryVersion?n=r.libraryName:r.libraryName&&r.libraryVersion&&(n=r.libraryName+"/"+r.libraryVersion);var o=void 0;return r.contactUrl&&!r.contactEmail?o="(+"+r.contactUrl+")":!r.contactUrl&&r.contactEmail?o="(+"+r.contactEmail+")":r.contactUrl&&r.contactEmail&&(o="(+"+r.contactUrl+"; +"+r.contactEmail+")"),[t,e()?window.navigator.userAgent:"Node.js/"+process.version.slice(1)+" ("+process.platform+"; "+process.arch+")",n,o].filter(function(e){return Boolean(e)}).join(" ")}});
//# sourceMappingURL=commercetools-http-user-agent.umd.min.js.map

@@ -7,3 +7,3 @@ {

"name": "@commercetools/http-user-agent",
"version": "1.1.3",
"version": "1.1.4",
"description": "Creates a proper HTTP User-Agent",

@@ -10,0 +10,0 @@ "keywords": [

@@ -5,3 +5,3 @@ # commercetools-http-user-agent

https://commercetools.github.io/nodejs/docs/sdk/api/#http-user-agent
https://commercetools.github.io/nodejs/sdk/api/httpUserAgent.html

@@ -8,0 +8,0 @@ ## Install

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