@aws-sdk/middleware-location-constraint 3.972.17 → 3.972.18

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
@@ -1,9 +1,4 @@
1
- 'use strict';
2
-
3
- var s3 = require('@aws-sdk/middleware-sdk-s3/s3');
4
-
5
-
6
-
7
- exports.getLocationConstraintPlugin = s3.getLocationConstraintPlugin;
8
- exports.locationConstraintMiddleware = s3.locationConstraintMiddleware;
9
- exports.locationConstraintMiddlewareOptions = s3.locationConstraintMiddlewareOptions;
1
+ const { getLocationConstraintPlugin, locationConstraintMiddleware, locationConstraintMiddlewareOptions } = require("@aws-sdk/middleware-sdk-s3/s3");
2
+ exports.getLocationConstraintPlugin = getLocationConstraintPlugin;
3
+ exports.locationConstraintMiddleware = locationConstraintMiddleware;
4
+ exports.locationConstraintMiddlewareOptions = locationConstraintMiddlewareOptions;
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-location-constraint",
3
- "version": "3.972.17",
3
+ "version": "3.972.18",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline",
7
- "build:es": "tsc -p tsconfig.es.json",
7
+ "build:es": "premove dist-es && tsc -p tsconfig.es.json",
8
8
  "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
9
- "build:types": "tsc -p tsconfig.types.json",
10
- "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo"
9
+ "build:types": "premove dist-types && tsc -p tsconfig.types.json",
10
+ "clean": "premove dist-cjs dist-es dist-types"
11
11
  },
12
12
  "main": "./dist-cjs/index.js",
13
13
  "module": "./dist-es/index.js",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "license": "Apache-2.0",
21
21
  "dependencies": {
22
- "@aws-sdk/middleware-sdk-s3": "^3.972.51",
22
+ "@aws-sdk/middleware-sdk-s3": "^3.972.52",
23
23
  "tslib": "^2.6.2"
24
24
  },
25
25
  "engines": {