@aws-sdk/util-endpoints
Advanced tools
Comparing version 3.631.0 to 3.632.0
@@ -99,3 +99,3 @@ "use strict"; | ||
return null; | ||
const resourceId = resourcePath[0].includes(RESOURCE_DELIMITER) ? resourcePath[0].split(RESOURCE_DELIMITER) : resourcePath; | ||
const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat(); | ||
return { | ||
@@ -102,0 +102,0 @@ partition: partition2, |
@@ -10,5 +10,3 @@ const ARN_DELIMITER = ":"; | ||
return null; | ||
const resourceId = resourcePath[0].includes(RESOURCE_DELIMITER) | ||
? resourcePath[0].split(RESOURCE_DELIMITER) | ||
: resourcePath; | ||
const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat(); | ||
return { | ||
@@ -15,0 +13,0 @@ partition, |
{ | ||
"name": "@aws-sdk/util-endpoints", | ||
"version": "3.631.0", | ||
"version": "3.632.0", | ||
"description": "Utilities to help with endpoint resolution", | ||
@@ -5,0 +5,0 @@ "main": "./dist-cjs/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49888
1095