@aws-sdk/util-endpoints
Advanced tools
| 'use strict'; | ||
| var utilEndpoints = require('@smithy/util-endpoints'); | ||
| var urlParser = require('@smithy/url-parser'); | ||
| var endpoints = require('@smithy/core/endpoints'); | ||
| var protocols = require('@smithy/core/protocols'); | ||
@@ -15,3 +15,3 @@ const isVirtualHostableS3Bucket = (value, allowSubDomains = false) => { | ||
| } | ||
| if (!utilEndpoints.isValidHostLabel(value)) { | ||
| if (!endpoints.isValidHostLabel(value)) { | ||
| return false; | ||
@@ -25,3 +25,3 @@ } | ||
| } | ||
| if (utilEndpoints.isIpAddress(value)) { | ||
| if (endpoints.isIpAddress(value)) { | ||
| return false; | ||
@@ -376,3 +376,3 @@ } | ||
| }; | ||
| utilEndpoints.customEndpointFunctions.aws = awsEndpointFunctions; | ||
| endpoints.customEndpointFunctions.aws = awsEndpointFunctions; | ||
@@ -398,7 +398,7 @@ const resolveDefaultAwsRegionalEndpointsConfig = (input) => { | ||
| }; | ||
| const toEndpointV1 = (endpoint) => urlParser.parseUrl(endpoint.url); | ||
| const toEndpointV1 = (endpoint) => protocols.parseUrl(endpoint.url); | ||
| exports.EndpointError = utilEndpoints.EndpointError; | ||
| exports.isIpAddress = utilEndpoints.isIpAddress; | ||
| exports.resolveEndpoint = utilEndpoints.resolveEndpoint; | ||
| exports.EndpointError = endpoints.EndpointError; | ||
| exports.isIpAddress = endpoints.isIpAddress; | ||
| exports.resolveEndpoint = endpoints.resolveEndpoint; | ||
| exports.awsEndpointFunctions = awsEndpointFunctions; | ||
@@ -405,0 +405,0 @@ exports.getUserAgentPrefix = getUserAgentPrefix; |
+1
-1
@@ -1,2 +0,2 @@ | ||
| import { customEndpointFunctions } from "@smithy/util-endpoints"; | ||
| import { customEndpointFunctions } from "@smithy/core/endpoints"; | ||
| import { isVirtualHostableS3Bucket } from "./lib/aws/isVirtualHostableS3Bucket"; | ||
@@ -3,0 +3,0 @@ import { parseArn } from "./lib/aws/parseArn"; |
@@ -1,2 +0,2 @@ | ||
| import { isValidHostLabel } from "@smithy/util-endpoints"; | ||
| import { isValidHostLabel } from "@smithy/core/endpoints"; | ||
| import { isIpAddress } from "../isIpAddress"; | ||
@@ -3,0 +3,0 @@ export const isVirtualHostableS3Bucket = (value, allowSubDomains = false) => { |
@@ -1,1 +0,1 @@ | ||
| export { isIpAddress } from "@smithy/util-endpoints"; | ||
| export { isIpAddress } from "@smithy/core/endpoints"; |
@@ -1,2 +0,2 @@ | ||
| import { parseUrl } from "@smithy/url-parser"; | ||
| import { parseUrl } from "@smithy/core/protocols"; | ||
| export const resolveDefaultAwsRegionalEndpointsConfig = (input) => { | ||
@@ -3,0 +3,0 @@ if (typeof input.endpointProvider !== "function") { |
@@ -1,1 +0,1 @@ | ||
| export { resolveEndpoint } from "@smithy/util-endpoints"; | ||
| export { resolveEndpoint } from "@smithy/core/endpoints"; |
@@ -1,1 +0,1 @@ | ||
| export { EndpointError } from "@smithy/util-endpoints"; | ||
| export { EndpointError } from "@smithy/core/endpoints"; |
@@ -1,2 +0,2 @@ | ||
| import type { EndpointFunctions } from "@smithy/util-endpoints"; | ||
| import type { EndpointFunctions } from "@smithy/core/endpoints"; | ||
| export declare const awsEndpointFunctions: EndpointFunctions; |
@@ -1,1 +0,1 @@ | ||
| export { isIpAddress } from "@smithy/util-endpoints"; | ||
| export { isIpAddress } from "@smithy/core/endpoints"; |
@@ -1,1 +0,1 @@ | ||
| export { resolveEndpoint } from "@smithy/util-endpoints"; | ||
| export { resolveEndpoint } from "@smithy/core/endpoints"; |
@@ -1,2 +0,2 @@ | ||
| import { EndpointFunctions } from "@smithy/util-endpoints"; | ||
| import { EndpointFunctions } from "@smithy/core/endpoints"; | ||
| export declare const awsEndpointFunctions: EndpointFunctions; |
@@ -1,1 +0,1 @@ | ||
| export { isIpAddress } from "@smithy/util-endpoints"; | ||
| export { isIpAddress } from "@smithy/core/endpoints"; |
@@ -1,1 +0,1 @@ | ||
| export { resolveEndpoint } from "@smithy/util-endpoints"; | ||
| export { resolveEndpoint } from "@smithy/core/endpoints"; |
@@ -1,1 +0,1 @@ | ||
| export { EndpointError } from "@smithy/util-endpoints"; | ||
| export { EndpointError } from "@smithy/core/endpoints"; |
@@ -6,2 +6,2 @@ export { | ||
| EndpointRuleObject, | ||
| } from "@smithy/util-endpoints"; | ||
| } from "@smithy/core/endpoints"; |
@@ -1,1 +0,1 @@ | ||
| export { ErrorRuleObject } from "@smithy/util-endpoints"; | ||
| export { ErrorRuleObject } from "@smithy/core/endpoints"; |
@@ -5,2 +5,2 @@ export { | ||
| RuleSetObject, | ||
| } from "@smithy/util-endpoints"; | ||
| } from "@smithy/core/endpoints"; |
@@ -12,2 +12,2 @@ export { | ||
| EvaluateOptions, | ||
| } from "@smithy/util-endpoints"; | ||
| } from "@smithy/core/endpoints"; |
@@ -1,1 +0,1 @@ | ||
| export { RuleSetRules, TreeRuleObject } from "@smithy/util-endpoints"; | ||
| export { RuleSetRules, TreeRuleObject } from "@smithy/core/endpoints"; |
@@ -1,1 +0,1 @@ | ||
| export { EndpointError } from "@smithy/util-endpoints"; | ||
| export { EndpointError } from "@smithy/core/endpoints"; |
@@ -1,1 +0,1 @@ | ||
| export { EndpointObjectProperties, EndpointObjectHeaders, EndpointObject, EndpointRuleObject, } from "@smithy/util-endpoints"; | ||
| export { EndpointObjectProperties, EndpointObjectHeaders, EndpointObject, EndpointRuleObject, } from "@smithy/core/endpoints"; |
@@ -1,1 +0,1 @@ | ||
| export { ErrorRuleObject } from "@smithy/util-endpoints"; | ||
| export { ErrorRuleObject } from "@smithy/core/endpoints"; |
@@ -1,1 +0,1 @@ | ||
| export { DeprecatedObject, ParameterObject, RuleSetObject } from "@smithy/util-endpoints"; | ||
| export { DeprecatedObject, ParameterObject, RuleSetObject } from "@smithy/core/endpoints"; |
@@ -1,1 +0,1 @@ | ||
| export { ReferenceObject, FunctionObject, FunctionArgv, FunctionReturn, ConditionObject, Expression, EndpointParams, EndpointResolverOptions, ReferenceRecord, EvaluateOptions, } from "@smithy/util-endpoints"; | ||
| export { ReferenceObject, FunctionObject, FunctionArgv, FunctionReturn, ConditionObject, Expression, EndpointParams, EndpointResolverOptions, ReferenceRecord, EvaluateOptions, } from "@smithy/core/endpoints"; |
@@ -1,1 +0,1 @@ | ||
| export { RuleSetRules, TreeRuleObject } from "@smithy/util-endpoints"; | ||
| export { RuleSetRules, TreeRuleObject } from "@smithy/core/endpoints"; |
+2
-3
| { | ||
| "name": "@aws-sdk/util-endpoints", | ||
| "version": "3.996.8", | ||
| "version": "3.996.9", | ||
| "description": "Utilities to help with endpoint resolution", | ||
@@ -29,5 +29,4 @@ "main": "./dist-cjs/index.js", | ||
| "@aws-sdk/types": "^3.973.8", | ||
| "@smithy/core": "^3.24.1", | ||
| "@smithy/types": "^4.14.1", | ||
| "@smithy/url-parser": "^4.2.14", | ||
| "@smithy/util-endpoints": "^3.4.2", | ||
| "tslib": "^2.6.2" | ||
@@ -34,0 +33,0 @@ }, |
4
-20%56606
-0.12%+ Added
- Removed
- Removed
- Removed
- Removed