Socket
Socket
Sign inDemoInstall

@aws-sdk/util-user-agent-browser

Package Overview
Dependencies
Maintainers
5
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/util-user-agent-browser - npm Package Compare versions

Comparing version 3.342.0 to 3.345.0

1

dist-cjs/index.js

@@ -13,2 +13,3 @@ "use strict";

["aws-sdk-js", clientVersion],
["ua", "2.0"],
[`os/${((_b = parsedUA === null || parsedUA === void 0 ? void 0 : parsedUA.os) === null || _b === void 0 ? void 0 : _b.name) || "other"}`, (_c = parsedUA === null || parsedUA === void 0 ? void 0 : parsedUA.os) === null || _c === void 0 ? void 0 : _c.version],

@@ -15,0 +16,0 @@ ["lang/js"],

@@ -7,2 +7,3 @@ "use strict";

["aws-sdk-js", clientVersion],
["ua", "2.0"],
["os/other"],

@@ -9,0 +10,0 @@ ["lang/js"],

@@ -8,2 +8,3 @@ import bowser from "bowser";

["aws-sdk-js", clientVersion],
["ua", "2.0"],
[`os/${parsedUA?.os?.name || "other"}`, parsedUA?.os?.version],

@@ -10,0 +11,0 @@ ["lang/js"],

export const defaultUserAgent = ({ serviceId, clientVersion }) => async () => {
const sections = [
["aws-sdk-js", clientVersion],
["ua", "2.0"],
["os/other"],

@@ -5,0 +6,0 @@ ["lang/js"],

2

package.json
{
"name": "@aws-sdk/util-user-agent-browser",
"version": "3.342.0",
"version": "3.345.0",
"scripts": {

@@ -5,0 +5,0 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

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