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

@aws-sdk/client-sts

Package Overview
Dependencies
Maintainers
5
Versions
402
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-sts - npm Package Compare versions

Comparing version 3.645.0 to 3.649.0

8

dist-cjs/endpoint/endpointResolver.js

@@ -7,9 +7,13 @@ "use strict";

const ruleset_1 = require("./ruleset");
const cache = new util_endpoints_2.EndpointCache({
size: 50,
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS", "UseGlobalEndpoint"],
});
const defaultEndpointResolver = (endpointParams, context = {}) => {
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
endpointParams: endpointParams,
logger: context.logger,
});
}));
};
exports.defaultEndpointResolver = defaultEndpointResolver;
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
import { ruleSet } from "./ruleset";
const cache = new EndpointCache({
size: 50,
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS", "UseGlobalEndpoint"],
});
export const defaultEndpointResolver = (endpointParams, context = {}) => {
return resolveEndpoint(ruleSet, {
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
endpointParams: endpointParams,
logger: context.logger,
});
}));
};
customEndpointFunctions.aws = awsEndpointFunctions;

@@ -21,2 +21,3 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";

apiVersion: string;
cacheMiddleware?: boolean | undefined;
urlParser: import("@smithy/types").UrlParser;

@@ -38,2 +39,3 @@ base64Decoder: import("@smithy/types").Decoder;

tls?: boolean | undefined;
serviceConfiguredEndpoint?: undefined;
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({

@@ -40,0 +42,0 @@ schemeId: string;

@@ -28,2 +28,3 @@ import { NoAuthSigner } from "@smithy/core";

apiVersion: string;
cacheMiddleware?: boolean | undefined;
urlParser: import("@smithy/types").UrlParser;

@@ -45,2 +46,3 @@ base64Decoder: import("@smithy/types").Decoder;

tls?: boolean | undefined;
serviceConfiguredEndpoint?: undefined;
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;

@@ -47,0 +49,0 @@ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;

@@ -10,2 +10,3 @@ import { STSClientConfig } from "./STSClient";

apiVersion: string;
cacheMiddleware?: boolean | undefined;
urlParser: import("@smithy/types").UrlParser;

@@ -37,2 +38,3 @@ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;

tls?: boolean | undefined;
serviceConfiguredEndpoint?: undefined;
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({

@@ -39,0 +41,0 @@ schemeId: string;

@@ -26,2 +26,3 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";

apiVersion: string;
cacheMiddleware?: boolean | undefined;
urlParser: import("@smithy/types").UrlParser;

@@ -67,2 +68,3 @@ base64Decoder: import("@smithy/types").Decoder;

tls?: boolean | undefined;
serviceConfiguredEndpoint?: undefined;
httpAuthSchemes:

@@ -69,0 +71,0 @@ | import("@smithy/types").HttpAuthScheme[]

@@ -45,2 +45,3 @@ import { NoAuthSigner } from "@smithy/core";

apiVersion: string;
cacheMiddleware?: boolean | undefined;
urlParser: import("@smithy/types").UrlParser;

@@ -86,2 +87,3 @@ base64Decoder: import("@smithy/types").Decoder;

tls?: boolean | undefined;
serviceConfiguredEndpoint?: undefined;
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;

@@ -88,0 +90,0 @@ credentials?:

@@ -12,2 +12,3 @@ import { STSClientConfig } from "./STSClient";

apiVersion: string;
cacheMiddleware?: boolean | undefined;
urlParser: import("@smithy/types").UrlParser;

@@ -61,2 +62,3 @@ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;

tls?: boolean | undefined;
serviceConfiguredEndpoint?: undefined;
httpAuthSchemes:

@@ -63,0 +65,0 @@ | import("@smithy/types").HttpAuthScheme[]

{
"name": "@aws-sdk/client-sts",
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
"version": "3.645.0",
"version": "3.649.0",
"scripts": {

@@ -25,38 +25,38 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"@aws-crypto/sha256-js": "5.2.0",
"@aws-sdk/client-sso-oidc": "3.645.0",
"@aws-sdk/core": "3.635.0",
"@aws-sdk/credential-provider-node": "3.645.0",
"@aws-sdk/middleware-host-header": "3.620.0",
"@aws-sdk/middleware-logger": "3.609.0",
"@aws-sdk/middleware-recursion-detection": "3.620.0",
"@aws-sdk/middleware-user-agent": "3.645.0",
"@aws-sdk/region-config-resolver": "3.614.0",
"@aws-sdk/types": "3.609.0",
"@aws-sdk/util-endpoints": "3.645.0",
"@aws-sdk/util-user-agent-browser": "3.609.0",
"@aws-sdk/util-user-agent-node": "3.614.0",
"@smithy/config-resolver": "^3.0.5",
"@smithy/core": "^2.4.0",
"@smithy/fetch-http-handler": "^3.2.4",
"@smithy/hash-node": "^3.0.3",
"@smithy/invalid-dependency": "^3.0.3",
"@smithy/middleware-content-length": "^3.0.5",
"@smithy/middleware-endpoint": "^3.1.0",
"@smithy/middleware-retry": "^3.0.15",
"@smithy/middleware-serde": "^3.0.3",
"@smithy/middleware-stack": "^3.0.3",
"@smithy/node-config-provider": "^3.1.4",
"@smithy/node-http-handler": "^3.1.4",
"@smithy/protocol-http": "^4.1.0",
"@smithy/smithy-client": "^3.2.0",
"@smithy/types": "^3.3.0",
"@smithy/url-parser": "^3.0.3",
"@aws-sdk/client-sso-oidc": "3.649.0",
"@aws-sdk/core": "3.649.0",
"@aws-sdk/credential-provider-node": "3.649.0",
"@aws-sdk/middleware-host-header": "3.649.0",
"@aws-sdk/middleware-logger": "3.649.0",
"@aws-sdk/middleware-recursion-detection": "3.649.0",
"@aws-sdk/middleware-user-agent": "3.649.0",
"@aws-sdk/region-config-resolver": "3.649.0",
"@aws-sdk/types": "3.649.0",
"@aws-sdk/util-endpoints": "3.649.0",
"@aws-sdk/util-user-agent-browser": "3.649.0",
"@aws-sdk/util-user-agent-node": "3.649.0",
"@smithy/config-resolver": "^3.0.6",
"@smithy/core": "^2.4.1",
"@smithy/fetch-http-handler": "^3.2.5",
"@smithy/hash-node": "^3.0.4",
"@smithy/invalid-dependency": "^3.0.4",
"@smithy/middleware-content-length": "^3.0.6",
"@smithy/middleware-endpoint": "^3.1.1",
"@smithy/middleware-retry": "^3.0.16",
"@smithy/middleware-serde": "^3.0.4",
"@smithy/middleware-stack": "^3.0.4",
"@smithy/node-config-provider": "^3.1.5",
"@smithy/node-http-handler": "^3.2.0",
"@smithy/protocol-http": "^4.1.1",
"@smithy/smithy-client": "^3.3.0",
"@smithy/types": "^3.4.0",
"@smithy/url-parser": "^3.0.4",
"@smithy/util-base64": "^3.0.0",
"@smithy/util-body-length-browser": "^3.0.0",
"@smithy/util-body-length-node": "^3.0.0",
"@smithy/util-defaults-mode-browser": "^3.0.15",
"@smithy/util-defaults-mode-node": "^3.0.15",
"@smithy/util-endpoints": "^2.0.5",
"@smithy/util-middleware": "^3.0.3",
"@smithy/util-retry": "^3.0.3",
"@smithy/util-defaults-mode-browser": "^3.0.16",
"@smithy/util-defaults-mode-node": "^3.0.16",
"@smithy/util-endpoints": "^2.1.0",
"@smithy/util-middleware": "^3.0.4",
"@smithy/util-retry": "^3.0.4",
"@smithy/util-utf8": "^3.0.0",

@@ -63,0 +63,0 @@ "tslib": "^2.6.2"

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