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

@trivikr-test/middleware-signing

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trivikr-test/middleware-signing - npm Package Compare versions

Comparing version 3.52.0 to 3.55.0-node.cjs

2

dist-cjs/configurations.js

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

if (typeof credentials === "function") {
return property_provider_1.memoize(credentials, (credentials) => credentials.expiration !== undefined &&
return (0, property_provider_1.memoize)(credentials, (credentials) => credentials.expiration !== undefined &&
credentials.expiration.getTime() - Date.now() < CREDENTIAL_EXPIRE_WINDOW, (credentials) => credentials.expiration !== undefined);

@@ -89,0 +89,0 @@ }

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

request: await signer.sign(args.request, {
signingDate: getSkewCorrectedDate_1.getSkewCorrectedDate(options.systemClockOffset),
signingDate: (0, getSkewCorrectedDate_1.getSkewCorrectedDate)(options.systemClockOffset),
signingRegion: context["signing_region"],

@@ -23,3 +23,3 @@ signingService: context["signing_service"],

if (serverTime) {
options.systemClockOffset = getUpdatedSystemClockOffset_1.getUpdatedSystemClockOffset(serverTime, options.systemClockOffset);
options.systemClockOffset = (0, getUpdatedSystemClockOffset_1.getUpdatedSystemClockOffset)(serverTime, options.systemClockOffset);
}

@@ -30,3 +30,3 @@ throw error;

if (dateHeader) {
options.systemClockOffset = getUpdatedSystemClockOffset_1.getUpdatedSystemClockOffset(dateHeader, options.systemClockOffset);
options.systemClockOffset = (0, getUpdatedSystemClockOffset_1.getUpdatedSystemClockOffset)(dateHeader, options.systemClockOffset);
}

@@ -46,3 +46,3 @@ return output;

applyToStack: (clientStack) => {
clientStack.addRelativeTo(exports.awsAuthMiddleware(options), exports.awsAuthMiddlewareOptions);
clientStack.addRelativeTo((0, exports.awsAuthMiddleware)(options), exports.awsAuthMiddlewareOptions);
},

@@ -49,0 +49,0 @@ });

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

const clockTimeInMs = Date.parse(clockTime);
if (isClockSkewed_1.isClockSkewed(clockTimeInMs, currentSystemClockOffset)) {
if ((0, isClockSkewed_1.isClockSkewed)(clockTimeInMs, currentSystemClockOffset)) {
return clockTimeInMs - Date.now();

@@ -10,0 +10,0 @@ }

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

const getSkewCorrectedDate_1 = require("./getSkewCorrectedDate");
const isClockSkewed = (clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate_1.getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 300000;
const isClockSkewed = (clockTime, systemClockOffset) => Math.abs((0, getSkewCorrectedDate_1.getSkewCorrectedDate)(systemClockOffset).getTime() - clockTime) >= 300000;
exports.isClockSkewed = isClockSkewed;
{
"name": "@trivikr-test/middleware-signing",
"version": "3.52.0",
"version": "3.55.0-node.cjs",
"scripts": {

@@ -14,4 +14,2 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

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

@@ -23,7 +21,7 @@ "name": "AWS SDK for JavaScript Team",

"dependencies": {
"@trivikr-test/property-provider": "3.52.0",
"@trivikr-test/protocol-http": "3.52.0",
"@trivikr-test/signature-v4": "3.52.0",
"@trivikr-test/types": "3.52.0",
"tslib": "^2.3.0"
"@trivikr-test/property-provider": "3.55.0-node.cjs",
"@trivikr-test/protocol-http": "3.55.0-node.cjs",
"@trivikr-test/signature-v4": "3.55.0-node.cjs",
"@trivikr-test/types": "3.55.0-node.cjs",
"tslib": "^2.3.1"
},

@@ -41,3 +39,3 @@ "engines": {

"files": [
"dist-*"
"dist-cjs"
],

@@ -56,4 +54,4 @@ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/middleware-signing",

"typedoc": "0.19.2",
"typescript": "~4.3.5"
"typescript": "~4.6.2"
}
}

@@ -1,4 +0,1 @@

# @aws-sdk/signer-middleware
[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-signing/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-signing)
[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-signing.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-signing)
Please refer [README.md](https://github.com/aws/aws-sdk-js-v3/blob/v3.55.0/packages/middleware-signing/README.md) for v3.55.0.
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