@aws-sdk/middleware-sdk-ec2
Advanced tools
Comparing version 3.40.0 to 3.42.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19) | ||
### Bug Fixes | ||
* **middleware-sdk-ec2:** remove double encoding of presigned url ([#3022](https://github.com/aws/aws-sdk-js-v3/issues/3022)) ([7cf73ea](https://github.com/aws/aws-sdk-js-v3/commit/7cf73eac3103b0a0ad7c0d84c04882f07a576245)) | ||
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05) | ||
@@ -8,0 +19,0 @@ |
@@ -7,3 +7,2 @@ "use strict"; | ||
const util_format_url_1 = require("@aws-sdk/util-format-url"); | ||
const util_uri_escape_1 = require("@aws-sdk/util-uri-escape"); | ||
const version = "2016-11-15"; | ||
@@ -46,3 +45,3 @@ function copySnapshotPresignedUrlMiddleware(options) { | ||
DestinationRegion: region, | ||
PresignedUrl: util_uri_escape_1.escapeUri(util_format_url_1.formatUrl(presignedRequest)), | ||
PresignedUrl: util_format_url_1.formatUrl(presignedRequest), | ||
}, | ||
@@ -49,0 +48,0 @@ }; |
@@ -5,3 +5,2 @@ import { __assign, __awaiter, __generator } from "tslib"; | ||
import { formatUrl } from "@aws-sdk/util-format-url"; | ||
import { escapeUri } from "@aws-sdk/util-uri-escape"; | ||
var version = "2016-11-15"; | ||
@@ -46,3 +45,3 @@ export function copySnapshotPresignedUrlMiddleware(options) { | ||
presignedRequest = _a.sent(); | ||
args = __assign(__assign({}, args), { input: __assign(__assign({}, args.input), { DestinationRegion: region, PresignedUrl: escapeUri(formatUrl(presignedRequest)) }) }); | ||
args = __assign(__assign({}, args), { input: __assign(__assign({}, args.input), { DestinationRegion: region, PresignedUrl: formatUrl(presignedRequest) }) }); | ||
_a.label = 4; | ||
@@ -49,0 +48,0 @@ case 4: return [2, next(args)]; |
{ | ||
"name": "@aws-sdk/middleware-sdk-ec2", | ||
"version": "3.40.0", | ||
"version": "3.42.0", | ||
"scripts": { | ||
@@ -25,3 +25,2 @@ "build": "yarn build:cjs && yarn build:es && yarn build:types", | ||
"@aws-sdk/util-format-url": "3.40.0", | ||
"@aws-sdk/util-uri-escape": "3.37.0", | ||
"tslib": "^2.3.0" | ||
@@ -28,0 +27,0 @@ }, |
47172
5
233
- Removed@aws-sdk/util-uri-escape@3.37.0