@aws-sdk/s3-presigned-post 3.55.0 → 3.66.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,30 @@
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.66.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.65.0...v3.66.0) (2022-04-07)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/s3-presigned-post
9
+
10
+
11
+
12
+
13
+
14
+ # [3.58.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.57.0...v3.58.0) (2022-03-28)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/s3-presigned-post
17
+
18
+
19
+
20
+
21
+
22
+ # [3.56.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.55.0...v3.56.0) (2022-03-24)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/s3-presigned-post
25
+
26
+
27
+
28
+
29
+
6
30
  # [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
7
31
 
8
32
  **Note:** Version bump only for package @aws-sdk/s3-presigned-post
@@ -9,7 +9,7 @@ const createPresignedPost = async (client, { Bucket, Key, Conditions = [], Field
9
9
  const { systemClockOffset, base64Encoder, utf8Decoder, sha256 } = client.config;
10
10
  const now = new Date(Date.now() + systemClockOffset);
11
11
  const signingDate = iso8601(now).replace(/[\-:]/g, "");
12
- const shortDate = signingDate.substr(0, 8);
12
+ const shortDate = signingDate.slice(0, 8);
13
13
  const clientRegion = await client.config.region();
14
14
  const credentialScope = (0, signature_v4_1.createScope)(shortDate, clientRegion, "s3");
15
15
  const clientCredentials = await client.config.credentials();
@@ -14,7 +14,7 @@ export var createPresignedPost = function (client, _a) {
14
14
  _e = client.config, systemClockOffset = _e.systemClockOffset, base64Encoder = _e.base64Encoder, utf8Decoder = _e.utf8Decoder, sha256 = _e.sha256;
15
15
  now = new Date(Date.now() + systemClockOffset);
16
16
  signingDate = iso8601(now).replace(/[\-:]/g, "");
17
- shortDate = signingDate.substr(0, 8);
17
+ shortDate = signingDate.slice(0, 8);
18
18
  return [4, client.config.region()];
19
19
  case 1:
20
20
  clientRegion = _j.sent();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/s3-presigned-post",
3
- "version": "3.55.0",
3
+ "version": "3.66.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",
@@ -19,16 +19,16 @@
19
19
  },
20
20
  "license": "Apache-2.0",
21
21
  "dependencies": {
22
- "@aws-sdk/signature-v4": "3.55.0",
22
+ "@aws-sdk/signature-v4": "3.58.0",
23
23
  "@aws-sdk/types": "3.55.0",
24
- "@aws-sdk/util-format-url": "3.55.0",
25
- "@aws-sdk/util-hex-encoding": "3.55.0",
24
+ "@aws-sdk/util-format-url": "3.58.0",
25
+ "@aws-sdk/util-hex-encoding": "3.58.0",
26
26
  "tslib": "^2.3.1"
27
27
  },
28
28
  "devDependencies": {
29
- "@aws-sdk/client-s3": "3.55.0",
29
+ "@aws-sdk/client-s3": "3.66.0",
30
30
  "@aws-sdk/hash-node": "3.55.0",
31
- "@aws-sdk/protocol-http": "3.55.0",
31
+ "@aws-sdk/protocol-http": "3.58.0",
32
32
  "@tsconfig/recommended": "1.0.1",
33
33
  "@types/node": "^12.0.2",
34
34
  "concurrently": "7.0.0",