Socket
Socket
Sign inDemoInstall

@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.290.0 to 3.292.0

19

dist-cjs/prepareRequest.js

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

}
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,
};
return request;
};
exports.prepareRequest = prepareRequest;

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

}
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,
};
return request;
};

23

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

@@ -24,8 +24,8 @@ "main": "./dist-cjs/index.js",

"dependencies": {
"@aws-sdk/is-array-buffer": "3.201.0",
"@aws-sdk/types": "3.290.0",
"@aws-sdk/util-hex-encoding": "3.201.0",
"@aws-sdk/util-middleware": "3.290.0",
"@aws-sdk/util-uri-escape": "3.201.0",
"@aws-sdk/util-utf8": "3.254.0",
"@aws-sdk/is-array-buffer": "3.292.0",
"@aws-sdk/types": "3.292.0",
"@aws-sdk/util-hex-encoding": "3.292.0",
"@aws-sdk/util-middleware": "3.292.0",
"@aws-sdk/util-uri-escape": "3.292.0",
"@aws-sdk/util-utf8": "3.292.0",
"tslib": "^2.3.1"

@@ -35,4 +35,4 @@ },

"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/protocol-http": "3.290.0",
"@aws-sdk/util-buffer-from": "3.208.0",
"@aws-sdk/protocol-http": "3.292.0",
"@aws-sdk/util-buffer-from": "3.292.0",
"@tsconfig/recommended": "1.0.1",

@@ -42,3 +42,3 @@ "concurrently": "7.0.0",

"rimraf": "3.0.2",
"typedoc": "0.19.2",
"typedoc": "0.23.23",
"typescript": "~4.6.2"

@@ -64,3 +64,6 @@ },

"directory": "packages/signature-v4"
},
"typedoc": {
"entryPoint": "src/index.ts"
}
}
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