@aws-sdk/util-endpoints 3.734.0 → 3.775.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  ConditionObject: () => import_util_endpoints.ConditionObject,
25
25
  DeprecatedObject: () => import_util_endpoints.DeprecatedObject,
26
26
  EndpointError: () => import_util_endpoints.EndpointError,
@@ -50,7 +50,7 @@ __export(src_exports, {
50
50
  setPartitionInfo: () => setPartitionInfo,
51
51
  useDefaultPartitionInfo: () => useDefaultPartitionInfo
52
52
  });
53
- module.exports = __toCommonJS(src_exports);
53
+ module.exports = __toCommonJS(index_exports);
54
54
 
55
55
  // src/aws.ts
56
56
 
@@ -91,11 +91,9 @@ var ARN_DELIMITER = ":";
91
91
  var RESOURCE_DELIMITER = "/";
92
92
  var parseArn = /* @__PURE__ */ __name((value) => {
93
93
  const segments = value.split(ARN_DELIMITER);
94
- if (segments.length < 6)
95
- return null;
94
+ if (segments.length < 6) return null;
96
95
  const [arn, partition2, service, region, accountId, ...resourcePath] = segments;
97
- if (arn !== "arn" || partition2 === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "")
98
- return null;
96
+ if (arn !== "arn" || partition2 === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "") return null;
99
97
  const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();
100
98
  return {
101
99
  partition: partition2,
@@ -332,7 +330,17 @@ var partitions_default = {
332
330
  supportsFIPS: true
333
331
  },
334
332
  regionRegex: "^us\\-isof\\-\\w+\\-\\d+$",
335
- regions: {}
333
+ regions: {
334
+ "aws-iso-f-global": {
335
+ description: "AWS ISOF global region"
336
+ },
337
+ "us-isof-east-1": {
338
+ description: "US ISOF EAST"
339
+ },
340
+ "us-isof-south-1": {
341
+ description: "US ISOF SOUTH"
342
+ }
343
+ }
336
344
  }],
337
345
  version: "1.1"
338
346
  };
@@ -223,7 +223,17 @@
223
223
  "supportsFIPS": true
224
224
  },
225
225
  "regionRegex": "^us\\-isof\\-\\w+\\-\\d+$",
226
- "regions": {}
226
+ "regions": {
227
+ "aws-iso-f-global": {
228
+ "description": "AWS ISOF global region"
229
+ },
230
+ "us-isof-east-1": {
231
+ "description": "US ISOF EAST"
232
+ },
233
+ "us-isof-south-1": {
234
+ "description": "US ISOF SOUTH"
235
+ }
236
+ }
227
237
  }],
228
238
  "version": "1.1"
229
239
  }
@@ -223,7 +223,17 @@
223
223
  "supportsFIPS": true
224
224
  },
225
225
  "regionRegex": "^us\\-isof\\-\\w+\\-\\d+$",
226
- "regions": {}
226
+ "regions": {
227
+ "aws-iso-f-global": {
228
+ "description": "AWS ISOF global region"
229
+ },
230
+ "us-isof-east-1": {
231
+ "description": "US ISOF EAST"
232
+ },
233
+ "us-isof-south-1": {
234
+ "description": "US ISOF SOUTH"
235
+ }
236
+ }
227
237
  }],
228
238
  "version": "1.1"
229
239
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.734.0",
3
+ "version": "3.775.0",
4
4
  "description": "Utilities to help with endpoint resolution",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,9 +24,9 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/types": "3.734.0",
28
- "@smithy/types": "^4.1.0",
29
- "@smithy/util-endpoints": "^3.0.1",
27
+ "@aws-sdk/types": "3.775.0",
28
+ "@smithy/types": "^4.2.0",
29
+ "@smithy/util-endpoints": "^3.0.2",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "engines": {