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

@aws-sdk/client-sfn

Package Overview
Dependencies
Maintainers
5
Versions
422
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-sfn - 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"],
});
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"],
});
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 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SFNHttpAuthSchemeProvider;

@@ -21,2 +21,3 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-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 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SFNHttpAuthSchemeProvider;

@@ -10,2 +10,3 @@ import { SFNClientConfig } from "./SFNClient";

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 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SFNHttpAuthSchemeProvider;

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

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

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

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

@@ -67,0 +69,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SFNHttpAuthSchemeProvider;

@@ -30,2 +30,3 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";

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

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

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

@@ -71,0 +73,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SFNHttpAuthSchemeProvider;

@@ -12,2 +12,3 @@ import { SFNClientConfig } from "./SFNClient";

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

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

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

@@ -61,0 +63,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SFNHttpAuthSchemeProvider;

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

@@ -23,39 +23,39 @@ "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/client-sts": "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/client-sts": "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",

@@ -62,0 +62,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