@aws-sdk/middleware-bucket-endpoint 3.714.0 → 3.723.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
@@ -142,7 +142,7 @@ var validateAccountId = /* @__PURE__ */ __name((accountId) => {
142
142
  }
143
143
  }, "validateAccountId");
144
144
  var validateDNSHostLabel = /* @__PURE__ */ __name((label, options = { tlsCompatible: true }) => {
145
- if (label.length >= 64 || !/^[a-z0-9][a-z0-9.-]*[a-z0-9]$/.test(label) || /(\d+\.){3}\d+/.test(label) || /[.-]{2}/.test(label) || (options == null ? void 0 : options.tlsCompatible) && DOT_PATTERN.test(label)) {
145
+ if (label.length >= 64 || !/^[a-z0-9][a-z0-9.-]*[a-z0-9]$/.test(label) || /(\d+\.){3}\d+/.test(label) || /[.-]{2}/.test(label) || options?.tlsCompatible && DOT_PATTERN.test(label)) {
146
146
  throw new Error(`Invalid DNS label ${label}`);
147
147
  }
148
148
  }, "validateDNSHostLabel");
@@ -113,6 +113,6 @@ export declare const validateNoDualstack: (dualstackEndpoint?: boolean) => void;
113
113
  export declare const validateNoFIPS: (useFipsEndpoint?: boolean) => void;
114
114
  /**
115
115
  * Validate the multi-region access point alias.
116
- * @private
116
+ * @internal
117
117
  */
118
118
  export declare const validateMrapAlias: (name: string) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-bucket-endpoint",
3
- "version": "3.714.0",
3
+ "version": "3.723.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-bucket-endpoint",
@@ -22,12 +22,12 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@aws-sdk/types": "3.714.0",
26
- "@aws-sdk/util-arn-parser": "3.693.0",
27
- "@smithy/node-config-provider": "^3.1.12",
28
- "@smithy/protocol-http": "^4.1.8",
29
- "@smithy/types": "^3.7.2",
30
- "@smithy/util-config-provider": "^3.0.0",
25
+ "@aws-sdk/types": "3.723.0",
26
+ "@aws-sdk/util-arn-parser": "3.723.0",
27
+ "@smithy/node-config-provider": "^4.0.0",
28
+ "@smithy/protocol-http": "^5.0.0",
29
+ "@smithy/types": "^4.0.0",
30
+ "@smithy/util-config-provider": "^4.0.0",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "devDependencies": {
@@ -35,10 +35,10 @@
35
35
  "concurrently": "7.0.0",
36
36
  "downlevel-dts": "0.10.1",
37
37
  "rimraf": "3.0.2",
38
- "typescript": "~4.9.5"
38
+ "typescript": "~5.2.2"
39
39
  },
40
40
  "engines": {
41
- "node": ">=16.0.0"
41
+ "node": ">=18.0.0"
42
42
  },
43
43
  "typesVersions": {
44
44
  "<4.0": {