@aws-sdk/middleware-location-constraint 3.36.0 → 3.46.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/CHANGELOG.md CHANGED
@@ -3,6 +3,41 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
7
+
8
+
9
+ ### Features
10
+
11
+ * **packages:** end support for Node.js 10.x ([#3141](https://github.com/aws/aws-sdk-js-v3/issues/3141)) ([1a62865](https://github.com/aws/aws-sdk-js-v3/commit/1a6286513f7cdb556708845c512861c5f92eb883))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/middleware-location-constraint
20
+
21
+
22
+
23
+
24
+
25
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/middleware-location-constraint
28
+
29
+
30
+
31
+
32
+
33
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
34
+
35
+ **Note:** Version bump only for package @aws-sdk/middleware-location-constraint
36
+
37
+
38
+
39
+
40
+
6
41
  # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
42
 
8
43
 
@@ -5,9 +5,7 @@ interface PreviouslyResolved {
5
5
  region: Provider<string>;
6
6
  }
7
7
  export interface LocationConstraintResolvedConfig {
8
- /**
9
- * Resolved value for input config {@link RegionInputConfig.region}
10
- */
8
+
11
9
  region: Provider<string>;
12
10
  }
13
11
  export declare function resolveLocationConstraintConfig<T>(input: T & LocationConstraintInputConfig & PreviouslyResolved): T & LocationConstraintResolvedConfig;
@@ -1,10 +1,6 @@
1
1
  import { InitializeHandlerOptions, InitializeMiddleware, Pluggable } from "@aws-sdk/types";
2
2
  import { LocationConstraintResolvedConfig } from "./configuration";
3
- /**
4
- * This middleware modifies the input on S3 CreateBucket requests. If the LocationConstraint has not been set, this
5
- * middleware will set a LocationConstraint to match the configured region. The CreateBucketConfiguration will be
6
- * removed entirely on requests to the us-east-1 region.
7
- */
3
+
8
4
  export declare function locationConstraintMiddleware(options: LocationConstraintResolvedConfig): InitializeMiddleware<any, any>;
9
5
  export declare const locationConstraintMiddlewareOptions: InitializeHandlerOptions;
10
6
  export declare const getLocationConstraintPlugin: (config: LocationConstraintResolvedConfig) => Pluggable<any, any>;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-location-constraint",
3
- "version": "3.36.0",
3
+ "version": "3.46.0",
4
4
  "scripts": {
5
5
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
7
7
  "build:es": "tsc -p tsconfig.es.json",
8
8
  "build:types": "tsc -p tsconfig.types.json",
9
- "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
9
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
10
10
  "test": "jest"
11
11
  },
12
12
  "main": "./dist-cjs/index.js",
@@ -18,16 +18,11 @@
18
18
  },
19
19
  "license": "Apache-2.0",
20
20
  "dependencies": {
21
- "@aws-sdk/types": "3.36.0",
21
+ "@aws-sdk/types": "3.46.0",
22
22
  "tslib": "^2.3.0"
23
23
  },
24
- "devDependencies": {
25
- "@types/jest": "^26.0.4",
26
- "jest": "^26.1.0",
27
- "typescript": "~4.3.5"
28
- },
29
24
  "engines": {
30
- "node": ">= 10.0.0"
25
+ "node": ">= 12.0.0"
31
26
  },
32
27
  "typesVersions": {
33
28
  "<4.0": {