Socket
Socket
Sign inDemoInstall

@aws-sdk/middleware-host-header

Package Overview
Dependencies
Maintainers
5
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/middleware-host-header - npm Package Compare versions

Comparing version 3.272.0 to 3.278.0

5

dist-cjs/index.js

@@ -19,3 +19,6 @@ "use strict";

else if (!request.headers["host"]) {
request.headers["host"] = request.hostname;
let host = request.hostname;
if (request.port != null)
host += `:${request.port}`;
request.headers["host"] = host;
}

@@ -22,0 +25,0 @@ return next(args);

@@ -15,3 +15,6 @@ import { HttpRequest } from "@aws-sdk/protocol-http";

else if (!request.headers["host"]) {
request.headers["host"] = request.hostname;
let host = request.hostname;
if (request.port != null)
host += `:${request.port}`;
request.headers["host"] = host;
}

@@ -18,0 +21,0 @@ return next(args);

2

package.json
{
"name": "@aws-sdk/middleware-host-header",
"version": "3.272.0",
"version": "3.278.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