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

@aws-sdk/signature-v4

Package Overview
Dependencies
Maintainers
5
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/signature-v4 - npm Package Compare versions

Comparing version 3.289.0 to 3.290.0

19

dist-cjs/prepareRequest.js

@@ -13,4 +13,21 @@ "use strict";

}
return request;
let path = request.path;
const url = request === null || request === void 0 ? void 0 : request.destination;
if (url != null) {
let decodedPathname;
try {
decodedPathname = decodeURIComponent(url.pathname);
}
catch (e) {
decodedPathname = url.pathname;
}
if (new URL(decodedPathname, url.origin).pathname !== decodedPathname) {
path = decodedPathname;
}
}
return {
...request,
path,
};
};
exports.prepareRequest = prepareRequest;

@@ -10,3 +10,20 @@ import { cloneRequest } from "./cloneRequest";

}
return request;
let path = request.path;
const url = request?.destination;
if (url != null) {
let decodedPathname;
try {
decodedPathname = decodeURIComponent(url.pathname);
}
catch (e) {
decodedPathname = url.pathname;
}
if (new URL(decodedPathname, url.origin).pathname !== decodedPathname) {
path = decodedPathname;
}
}
return {
...request,
path,
};
};

8

package.json
{
"name": "@aws-sdk/signature-v4",
"version": "3.289.0",
"version": "3.290.0",
"description": "A standalone implementation of the AWS Signature V4 request signing algorithm",

@@ -25,5 +25,5 @@ "main": "./dist-cjs/index.js",

"@aws-sdk/is-array-buffer": "3.201.0",
"@aws-sdk/types": "3.289.0",
"@aws-sdk/types": "3.290.0",
"@aws-sdk/util-hex-encoding": "3.201.0",
"@aws-sdk/util-middleware": "3.289.0",
"@aws-sdk/util-middleware": "3.290.0",
"@aws-sdk/util-uri-escape": "3.201.0",

@@ -35,3 +35,3 @@ "@aws-sdk/util-utf8": "3.254.0",

"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/protocol-http": "3.289.0",
"@aws-sdk/protocol-http": "3.290.0",
"@aws-sdk/util-buffer-from": "3.208.0",

@@ -38,0 +38,0 @@ "@tsconfig/recommended": "1.0.1",

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