@aws-sdk/middleware-sdk-s3-control 3.433.0 → 3.449.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.deduplicateHostPrefix = void 0;
4
- const util_endpoints_1 = require("@aws-sdk/util-endpoints");
4
+ const util_endpoints_1 = require("@smithy/util-endpoints");
5
5
  const deduplicateHostPrefix = (hostname) => {
6
6
  const [p1, p2, p3, p4, ...rest] = hostname.split(".");
7
7
  if ((0, util_endpoints_1.isIpAddress)(`${p1}.${p2}.${p3}.${parseInt(p4, 10)}`)) {
@@ -1,4 +1,4 @@
1
- import { isIpAddress } from "@aws-sdk/util-endpoints";
1
+ import { isIpAddress } from "@smithy/util-endpoints";
2
2
  export const deduplicateHostPrefix = (hostname) => {
3
3
  const [p1, p2, p3, p4, ...rest] = hostname.split(".");
4
4
  if (isIpAddress(`${p1}.${p2}.${p3}.${parseInt(p4, 10)}`)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-s3-control",
3
- "version": "3.433.0",
3
+ "version": "3.449.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -22,12 +22,13 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@aws-sdk/middleware-bucket-endpoint": "3.433.0",
26
- "@aws-sdk/types": "3.433.0",
25
+ "@aws-sdk/middleware-bucket-endpoint": "3.449.0",
26
+ "@aws-sdk/types": "3.449.0",
27
27
  "@aws-sdk/util-arn-parser": "3.310.0",
28
- "@aws-sdk/util-endpoints": "3.433.0",
28
+ "@aws-sdk/util-endpoints": "3.449.0",
29
29
  "@smithy/protocol-http": "^3.0.8",
30
30
  "@smithy/types": "^2.4.0",
31
+ "@smithy/util-endpoints": "^1.0.2",
31
32
  "tslib": "^2.5.0"
32
33
  },
33
34
  "devDependencies": {