@aws-sdk/client-s3 3.1061.0 → 3.1063.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 +1 -1
- package/dist-cjs/runtimeConfig.js +2 -3
- package/dist-es/S3Client.js +1 -2
- package/dist-es/commands/CompleteMultipartUploadCommand.js +1 -2
- package/dist-es/commands/CopyObjectCommand.js +1 -2
- package/dist-es/commands/CreateBucketCommand.js +1 -2
- package/dist-es/commands/CreateMultipartUploadCommand.js +1 -2
- package/dist-es/commands/GetObjectAttributesCommand.js +1 -2
- package/dist-es/commands/GetObjectCommand.js +1 -2
- package/dist-es/commands/HeadObjectCommand.js +1 -2
- package/dist-es/commands/ListPartsCommand.js +1 -2
- package/dist-es/commands/PutObjectCommand.js +1 -2
- package/dist-es/commands/UploadPartCommand.js +1 -2
- package/dist-es/commands/UploadPartCopyCommand.js +1 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/package.json +9 -13
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var client$1 = require('@aws-sdk/core/client');
|
|
4
|
-
var s3 = require('@aws-sdk/middleware-sdk-s3/s3');
|
|
5
4
|
var middlewareFlexibleChecksums = require('@aws-sdk/middleware-flexible-checksums');
|
|
5
|
+
var s3 = require('@aws-sdk/middleware-sdk-s3/s3');
|
|
6
6
|
var core = require('@smithy/core');
|
|
7
7
|
var client = require('@smithy/core/client');
|
|
8
8
|
var config = require('@smithy/core/config');
|
|
@@ -6,9 +6,8 @@ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
|
6
6
|
const client_1 = require("@aws-sdk/core/client");
|
|
7
7
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
|
-
const s3_1 = require("@aws-sdk/middleware-sdk-s3/s3");
|
|
10
9
|
const middleware_flexible_checksums_1 = require("@aws-sdk/middleware-flexible-checksums");
|
|
11
|
-
const
|
|
10
|
+
const s3_1 = require("@aws-sdk/middleware-sdk-s3/s3");
|
|
12
11
|
const checksum_1 = require("@smithy/core/checksum");
|
|
13
12
|
const client_2 = require("@smithy/core/client");
|
|
14
13
|
const config_1 = require("@smithy/core/config");
|
|
@@ -36,7 +35,7 @@ const getRuntimeConfig = (config) => {
|
|
|
36
35
|
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
37
36
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
38
37
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
39
|
-
disableS3ExpressSessionAuth: config?.disableS3ExpressSessionAuth ?? (0, config_1.loadConfig)(
|
|
38
|
+
disableS3ExpressSessionAuth: config?.disableS3ExpressSessionAuth ?? (0, config_1.loadConfig)(s3_1.NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS, loaderConfig),
|
|
40
39
|
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? event_streams_1.eventStreamSerdeProvider,
|
|
41
40
|
maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
42
41
|
md5: config?.md5 ?? serde_1.Hash.bind(null, "md5"),
|
package/dist-es/S3Client.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getUserAgentPlugin, resolveHostHeaderConfig, resolveUserAgentConfig, } from "@aws-sdk/core/client";
|
|
2
|
-
import { getAddExpectContinuePlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
3
2
|
import { resolveFlexibleChecksumsConfig, } from "@aws-sdk/middleware-flexible-checksums";
|
|
4
|
-
import { getRegionRedirectMiddlewarePlugin, getS3ExpressHttpSigningPlugin, getS3ExpressPlugin, getValidateBucketNamePlugin, resolveS3Config, } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
3
|
+
import { getAddExpectContinuePlugin, getRegionRedirectMiddlewarePlugin, getS3ExpressHttpSigningPlugin, getS3ExpressPlugin, getValidateBucketNamePlugin, resolveS3Config, } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
5
4
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
6
5
|
import { Client as __Client, } from "@smithy/core/client";
|
|
7
6
|
import { resolveRegionConfig } from "@smithy/core/config";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
2
|
-
import { getSsecPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
1
|
+
import { getSsecPlugin, getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
3
2
|
import { Command as $Command } from "@smithy/core/client";
|
|
4
3
|
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
2
|
-
import { getSsecPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
1
|
+
import { getSsecPlugin, getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
3
2
|
import { Command as $Command } from "@smithy/core/client";
|
|
4
3
|
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { getLocationConstraintPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
2
|
-
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
1
|
+
import { getLocationConstraintPlugin, getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
3
2
|
import { Command as $Command } from "@smithy/core/client";
|
|
4
3
|
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
2
|
-
import { getSsecPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
1
|
+
import { getSsecPlugin, getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
3
2
|
import { Command as $Command } from "@smithy/core/client";
|
|
4
3
|
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
2
|
-
import { getSsecPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
1
|
+
import { getSsecPlugin, getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
3
2
|
import { Command as $Command } from "@smithy/core/client";
|
|
4
3
|
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
|
-
import { getS3ExpiresMiddlewarePlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
3
|
-
import { getSsecPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
2
|
+
import { getS3ExpiresMiddlewarePlugin, getSsecPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
4
3
|
import { Command as $Command } from "@smithy/core/client";
|
|
5
4
|
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
6
5
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { getS3ExpiresMiddlewarePlugin, getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
2
|
-
import { getSsecPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
1
|
+
import { getS3ExpiresMiddlewarePlugin, getSsecPlugin, getThrow200ExceptionsPlugin, } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
3
2
|
import { Command as $Command } from "@smithy/core/client";
|
|
4
3
|
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
2
|
-
import { getSsecPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
1
|
+
import { getSsecPlugin, getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
3
2
|
import { Command as $Command } from "@smithy/core/client";
|
|
4
3
|
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
|
-
import { getCheckContentLengthHeaderPlugin, getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
3
|
-
import { getSsecPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
2
|
+
import { getCheckContentLengthHeaderPlugin, getSsecPlugin, getThrow200ExceptionsPlugin, } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
4
3
|
import { Command as $Command } from "@smithy/core/client";
|
|
5
4
|
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
6
5
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
|
-
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
3
|
-
import { getSsecPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
2
|
+
import { getSsecPlugin, getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
4
3
|
import { Command as $Command } from "@smithy/core/client";
|
|
5
4
|
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
6
5
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
2
|
-
import { getSsecPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
1
|
+
import { getSsecPlugin, getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
3
2
|
import { Command as $Command } from "@smithy/core/client";
|
|
4
3
|
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
5
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -2,9 +2,8 @@ import packageInfo from "../package.json";
|
|
|
2
2
|
import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
|
|
3
3
|
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, NODE_SIGV4A_CONFIG_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
|
-
import { NODE_USE_ARN_REGION_CONFIG_OPTIONS } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
6
5
|
import { NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS, NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS, } from "@aws-sdk/middleware-flexible-checksums";
|
|
7
|
-
import { NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
6
|
+
import { NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS, NODE_USE_ARN_REGION_CONFIG_OPTIONS, } from "@aws-sdk/middleware-sdk-s3/s3";
|
|
8
7
|
import { readableStreamHasher as streamHasher } from "@smithy/core/checksum";
|
|
9
8
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
10
9
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1063.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3",
|
|
@@ -30,16 +30,12 @@
|
|
|
30
30
|
"@aws-crypto/sha1-browser": "5.2.0",
|
|
31
31
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
32
32
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
33
|
-
"@aws-sdk/core": "^3.974.
|
|
34
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
35
|
-
"@aws-sdk/middleware-
|
|
36
|
-
"@aws-sdk/middleware-
|
|
37
|
-
"@aws-sdk/
|
|
38
|
-
"@aws-sdk/
|
|
39
|
-
"@aws-sdk/middleware-sdk-s3": "^3.972.47",
|
|
40
|
-
"@aws-sdk/middleware-ssec": "^3.972.13",
|
|
41
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.31",
|
|
42
|
-
"@aws-sdk/types": "^3.973.10",
|
|
33
|
+
"@aws-sdk/core": "^3.974.18",
|
|
34
|
+
"@aws-sdk/credential-provider-node": "^3.972.52",
|
|
35
|
+
"@aws-sdk/middleware-flexible-checksums": "^3.974.27",
|
|
36
|
+
"@aws-sdk/middleware-sdk-s3": "^3.972.48",
|
|
37
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.32",
|
|
38
|
+
"@aws-sdk/types": "^3.973.11",
|
|
43
39
|
"@smithy/core": "^3.24.6",
|
|
44
40
|
"@smithy/fetch-http-handler": "^5.4.6",
|
|
45
41
|
"@smithy/node-http-handler": "^4.7.6",
|
|
@@ -47,7 +43,7 @@
|
|
|
47
43
|
"tslib": "^2.6.2"
|
|
48
44
|
},
|
|
49
45
|
"devDependencies": {
|
|
50
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
46
|
+
"@aws-sdk/signature-v4-crt": "3.1063.0",
|
|
51
47
|
"@smithy/snapshot-testing": "^2.1.7",
|
|
52
48
|
"@tsconfig/node20": "20.1.8",
|
|
53
49
|
"@types/node": "^20.14.8",
|
|
@@ -72,7 +68,7 @@
|
|
|
72
68
|
],
|
|
73
69
|
"author": {
|
|
74
70
|
"name": "AWS SDK for JavaScript Team",
|
|
75
|
-
"url": "https://aws.amazon.com/javascript/"
|
|
71
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
76
72
|
},
|
|
77
73
|
"license": "Apache-2.0",
|
|
78
74
|
"browser": {
|