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

@aws-sdk/middleware-host-header

Package Overview
Dependencies
Maintainers
5
Versions
166
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.3.0 to 3.4.0

types/index.d.ts

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

# [3.4.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.3.0...v3.4.0) (2021-01-28)
### Features
* **middleware-stack:** allow adding middleware to override an existing one ([#1964](https://github.com/aws/aws-sdk-js-v3/issues/1964)) ([9c21f14](https://github.com/aws/aws-sdk-js-v3/commit/9c21f14412f2b1f591422f3c67dedbe886db723b)), closes [#1883](https://github.com/aws/aws-sdk-js-v3/issues/1883)
* use downlevel-dts to generate TS 3.4 compatible types ([#1943](https://github.com/aws/aws-sdk-js-v3/issues/1943)) ([63ad215](https://github.com/aws/aws-sdk-js-v3/commit/63ad2151c8bb7be32ea8838a9b0974806ed3906b))
# [3.3.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.2.0...v3.3.0) (2021-01-14)

@@ -8,0 +20,0 @@

3

dist/cjs/index.js

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

tags: ["HOST"],
override: true,
};

@@ -40,2 +41,2 @@ const getHostHeaderPlugin = (options) => ({

exports.getHostHeaderPlugin = getHostHeaderPlugin;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMERBQXFEO0FBVXJELFNBQWdCLHVCQUF1QixDQUNyQyxLQUFxRDtJQUVyRCxPQUFPLEtBQUssQ0FBQztBQUNmLENBQUM7QUFKRCwwREFJQztBQUVNLE1BQU0sb0J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3N0XCJdO1xuICAgIHJlcXVlc3QuaGVhZGVyc1tcIjphdXRob3JpdHlcIl0gPSBcIlwiO1xuICAgIC8vbm9uLUgyIHJlcXVlc3QgYW5kICdob3N0JyBoZWFkZXIgaXMgbm90IHNldCwgc2V0IHRoZSAnaG9zdCcgaGVhZGVyIHRvIHJlcXVlc3QncyBob3N0bmFtZS5cbiAgfSBlbHNlIGlmICghcmVxdWVzdC5oZWFkZXJzW1wiaG9zdFwiXSkge1xuICAgIHJlcXVlc3QuaGVhZGVyc1tcImhvc3RcIl0gPSByZXF1ZXN0Lmhvc3RuYW1lO1xuICB9XG4gIHJldHVybiBuZXh0KGFyZ3MpO1xufTtcblxuZXhwb3J0IGNvbnN0IGhvc3RIZWFkZXJNaWRkbGV3YXJlT3B0aW9uczogQnVpbGRIYW5kbGVyT3B0aW9ucyAmIEFic29sdXRlTG9jYXRpb24gPSB7XG4gIG5hbWU6IFwiaG9zdEhlYWRlck1pZGRsZXdhcmVcIixcbiAgc3RlcDogXCJidWlsZFwiLFxuICBwcmlvcml0eTogXCJsb3dcIixcbiAgdGFnczogW1wiSE9TVFwiXSxcbiAgb3ZlcnJpZGU6IHRydWUsXG59O1xuXG5leHBvcnQgY29uc3QgZ2V0SG9zdEhlYWRlclBsdWdpbiA9IChvcHRpb25zOiBIb3N0SGVhZGVyUmVzb2x2ZWRDb25maWcpOiBQbHVnZ2FibGU8YW55LCBhbnk+ID0+ICh7XG4gIGFwcGx5VG9TdGFjazogKGNsaWVudFN0YWNrKSA9PiB7XG4gICAgY2xpZW50U3RhY2suYWRkKGhvc3RIZWFkZXJNaWRkbGV3YXJlKG9wdGlvbnMpLCBob3N0SGVhZGVyTWlkZGxld2FyZU9wdGlvbnMpO1xuICB9LFxufSk7XG4iXX0=

@@ -31,2 +31,3 @@ import { __awaiter, __generator } from "tslib";

tags: ["HOST"],
override: true,
};

@@ -38,2 +39,2 @@ export var getHostHeaderPlugin = function (options) { return ({

}); };
//# sourceMappingURL=data:application/json;base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spID0+IHtcbiAgICBjbGllbnRTdGFjay5hZGQoaG9zdEhlYWRlck1pZGRsZXdhcmUob3B0aW9ucyksIGhvc3RIZWFkZXJNaWRkbGV3YXJlT3B0aW9ucyk7XG4gIH0sXG59KTtcbiJdfQ==
{
"name": "@aws-sdk/middleware-host-header",
"version": "3.3.0",
"version": "3.4.0",
"scripts": {

@@ -10,2 +10,3 @@ "prepublishOnly": "yarn build:cjs && yarn build:es",

"build": "yarn build:es && yarn build:cjs",
"postbuild": "downlevel-dts types types/ts3.4",
"test": "jest"

@@ -15,3 +16,3 @@ },

"module": "./dist/es/index.js",
"types": "./dist/cjs/index.d.ts",
"types": "./types/index.d.ts",
"author": {

@@ -23,4 +24,4 @@ "name": "AWS SDK for JavaScript Team",

"dependencies": {
"@aws-sdk/protocol-http": "3.3.0",
"@aws-sdk/types": "3.1.0",
"@aws-sdk/protocol-http": "3.4.0",
"@aws-sdk/types": "3.4.0",
"tslib": "^1.8.0"

@@ -36,2 +37,9 @@ },

},
"typesVersions": {
"<3.9": {
"types/*": [
"types/ts3.4/*"
]
}
},
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/middleware-host-header",

@@ -38,0 +46,0 @@ "repository": {

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

tags: ["HOST"],
override: true,
};

@@ -42,0 +43,0 @@

{
"compilerOptions": {
"declarationDir": "./types",
"rootDir": "./src",

@@ -4,0 +5,0 @@ "outDir": "./dist/cjs",

{
"compilerOptions": {
"lib": ["es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
"declarationDir": "./types",
"rootDir": "./src",

@@ -5,0 +6,0 @@ "outDir": "./dist/es",

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