@aws-sdk/middleware-sdk-s3 3.357.0 → 3.369.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/check-content-length-header.js +1 -1
- package/dist-cjs/throw-200-exceptions.js +1 -1
- package/dist-es/check-content-length-header.js +1 -1
- package/dist-es/throw-200-exceptions.js +1 -1
- package/dist-types/check-content-length-header.d.ts +1 -1
- package/dist-types/throw-200-exceptions.d.ts +1 -1
- package/dist-types/ts3.4/check-content-length-header.d.ts +1 -1
- package/dist-types/ts3.4/throw-200-exceptions.d.ts +1 -1
- package/dist-types/ts3.4/validate-bucket-name.d.ts +1 -1
- package/dist-types/validate-bucket-name.d.ts +1 -1
- package/package.json +4 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getCheckContentLengthHeaderPlugin = exports.checkContentLengthHeaderMiddlewareOptions = exports.checkContentLengthHeader = void 0;
|
|
4
|
-
const protocol_http_1 = require("@
|
|
4
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
5
5
|
const CONTENT_LENGTH_HEADER = "content-length";
|
|
6
6
|
function checkContentLengthHeader() {
|
|
7
7
|
return (next, context) => async (args) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getThrow200ExceptionsPlugin = exports.throw200ExceptionsMiddlewareOptions = exports.throw200ExceptionsMiddleware = void 0;
|
|
4
|
-
const protocol_http_1 = require("@
|
|
4
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
5
5
|
const throw200ExceptionsMiddleware = (config) => (next) => async (args) => {
|
|
6
6
|
const result = await next(args);
|
|
7
7
|
const { response } = result;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DeserializeMiddleware, Encoder, Pluggable, RelativeMiddlewareOptions, StreamCollector } from "@
|
|
1
|
+
import { DeserializeMiddleware, Encoder, Pluggable, RelativeMiddlewareOptions, StreamCollector } from "@smithy/types";
|
|
2
2
|
type PreviouslyResolved = {
|
|
3
3
|
streamCollector: StreamCollector;
|
|
4
4
|
utf8Encoder: Encoder;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-sdk-s3",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.369.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",
|
|
@@ -21,9 +21,10 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/
|
|
25
|
-
"@aws-sdk/types": "3.357.0",
|
|
24
|
+
"@aws-sdk/types": "3.369.0",
|
|
26
25
|
"@aws-sdk/util-arn-parser": "3.310.0",
|
|
26
|
+
"@smithy/protocol-http": "^1.1.0",
|
|
27
|
+
"@smithy/types": "^1.1.0",
|
|
27
28
|
"tslib": "^2.5.0"
|
|
28
29
|
},
|
|
29
30
|
"devDependencies": {
|