Socket
Socket
Sign inDemoInstall

@aws-sdk/signature-v4

Package Overview
Dependencies
Maintainers
4
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.56.0 to 3.58.0

2

dist-cjs/moveHeadersToQuery.js

@@ -10,3 +10,3 @@ "use strict";

const lname = name.toLowerCase();
if (lname.substr(0, 6) === "x-amz-" && !((_a = options.unhoistableHeaders) === null || _a === void 0 ? void 0 : _a.has(lname))) {
if (lname.slice(0, 6) === "x-amz-" && !((_a = options.unhoistableHeaders) === null || _a === void 0 ? void 0 : _a.has(lname))) {
query[name] = headers[name];

@@ -13,0 +13,0 @@ delete headers[name];

@@ -161,5 +161,5 @@ "use strict";

longDate,
shortDate: longDate.substr(0, 8),
shortDate: longDate.slice(0, 8),
};
};
const getCanonicalHeaderList = (headers) => Object.keys(headers).sort().join(";");

@@ -12,3 +12,3 @@ import { __assign, __values } from "tslib";

var lname = name.toLowerCase();
if (lname.substr(0, 6) === "x-amz-" && !((_b = options.unhoistableHeaders) === null || _b === void 0 ? void 0 : _b.has(lname))) {
if (lname.slice(0, 6) === "x-amz-" && !((_b = options.unhoistableHeaders) === null || _b === void 0 ? void 0 : _b.has(lname))) {
query[name] = headers[name];

@@ -15,0 +15,0 @@ delete headers[name];

@@ -291,5 +291,5 @@ import { __awaiter, __generator, __values } from "tslib";

longDate: longDate,
shortDate: longDate.substr(0, 8),
shortDate: longDate.slice(0, 8),
};
};
var getCanonicalHeaderList = function (headers) { return Object.keys(headers).sort().join(";"); };
{
"name": "@aws-sdk/signature-v4",
"version": "3.56.0",
"version": "3.58.0",
"description": "A standalone implementation of the AWS Signature V4 request signing algorithm",

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

"@aws-sdk/types": "3.55.0",
"@aws-sdk/util-hex-encoding": "3.55.0",
"@aws-sdk/util-hex-encoding": "3.58.0",
"@aws-sdk/util-middleware": "3.55.0",

@@ -33,3 +33,3 @@ "@aws-sdk/util-uri-escape": "3.55.0",

"@aws-crypto/sha256-js": "2.0.0",
"@aws-sdk/protocol-http": "3.55.0",
"@aws-sdk/protocol-http": "3.58.0",
"@aws-sdk/util-buffer-from": "3.55.0",

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

Sorry, the diff of this file is too big to display

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