@aws-sdk/lib-storage 3.1087.0 → 3.1088.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/README.md CHANGED
@@ -17,9 +17,7 @@ try {
17
17
  params: { Bucket, Key, Body },
18
18
 
19
19
  // optional tags
20
- tags: [
21
- /*...*/
22
- ],
20
+ tags: [/*...*/],
23
21
 
24
22
  // additional optional fields show default values below:
25
23
 
@@ -10,5 +10,5 @@ export declare enum BYTE_LENGTH_SOURCE {
10
10
  }
11
11
  export declare const byteLengthSource: (
12
12
  input: any,
13
- override?: number
13
+ override?: number,
14
14
  ) => BYTE_LENGTH_SOURCE | undefined;
@@ -2,5 +2,5 @@ import { BodyDataTypes } from "./types";
2
2
  import { RawDataPart } from "./Upload";
3
3
  export declare const getChunk: (
4
4
  data: BodyDataTypes,
5
- partSize: number
5
+ partSize: number,
6
6
  ) => AsyncGenerator<RawDataPart, void, undefined>;
@@ -2,5 +2,5 @@ import { RawDataPart } from "../Upload";
2
2
  export declare function getChunkStream<T>(
3
3
  data: T,
4
4
  partSize: number,
5
- getNextData: (data: T) => AsyncGenerator<Uint8Array>
5
+ getNextData: (data: T) => AsyncGenerator<Uint8Array>,
6
6
  ): AsyncGenerator<RawDataPart, void, undefined>;
@@ -1,5 +1,5 @@
1
1
  import { RawDataPart } from "../Upload";
2
2
  export declare function getChunkUint8Array(
3
3
  data: Uint8Array,
4
- partSize: number
4
+ partSize: number,
5
5
  ): AsyncGenerator<RawDataPart, void, undefined>;
@@ -1,4 +1,2 @@
1
1
  import { Readable } from "stream";
2
- export declare function getDataReadable(
3
- data: Readable
4
- ): AsyncGenerator<Uint8Array>;
2
+ export declare function getDataReadable(data: Readable): AsyncGenerator<Uint8Array>;
@@ -1,3 +1 @@
1
- export declare function getDataReadableStream(
2
- data: ReadableStream
3
- ): AsyncGenerator<Uint8Array>;
1
+ export declare function getDataReadableStream(data: ReadableStream): AsyncGenerator<Uint8Array>;
@@ -1,9 +1,3 @@
1
1
  export { Upload } from "./Upload";
2
2
  export { RawDataPart } from "./Upload";
3
- export {
4
- Progress,
5
- BodyDataTypes,
6
- ServiceClients,
7
- Configuration,
8
- Options,
9
- } from "./types";
3
+ export { Progress, BodyDataTypes, ServiceClients, Configuration, Options } from "./types";
package/package.json CHANGED
@@ -1,10 +1,39 @@
1
1
  {
2
2
  "name": "@aws-sdk/lib-storage",
3
- "version": "3.1087.0",
3
+ "version": "3.1088.0",
4
4
  "description": "Storage higher order operation",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/lib/lib-storage",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "lib/lib-storage"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
5
19
  "main": "./dist-cjs/index.js",
6
20
  "module": "./dist-es/index.js",
21
+ "browser": {
22
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser",
23
+ "fs": false,
24
+ "stream": "stream-browserify"
25
+ },
7
26
  "types": "./dist-types/index.d.ts",
27
+ "typesVersions": {
28
+ "<4.5": {
29
+ "dist-types/*": [
30
+ "dist-types/ts3.4/*"
31
+ ]
32
+ }
33
+ },
34
+ "react-native": {
35
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
36
+ },
8
37
  "scripts": {
9
38
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
10
39
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -21,27 +50,16 @@
21
50
  "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts --mode development",
22
51
  "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts"
23
52
  },
24
- "engines": {
25
- "node": ">=20.0.0"
26
- },
27
- "author": {
28
- "name": "AWS SDK for JavaScript Team",
29
- "url": "https://aws.amazon.com/sdk-for-javascript/"
30
- },
31
- "license": "Apache-2.0",
32
53
  "dependencies": {
33
- "@smithy/core": "^3.29.3",
54
+ "@smithy/core": "^3.29.4",
34
55
  "@smithy/types": "^4.16.1",
35
56
  "buffer": "5.6.0",
36
57
  "events": "3.3.0",
37
58
  "stream-browserify": "3.0.0",
38
59
  "tslib": "^2.6.2"
39
60
  },
40
- "peerDependencies": {
41
- "@aws-sdk/client-s3": "^3.1087.0"
42
- },
43
61
  "devDependencies": {
44
- "@aws-sdk/client-s3": "3.1087.0",
62
+ "@aws-sdk/client-s3": "3.1088.0",
45
63
  "@tsconfig/recommended": "1.0.1",
46
64
  "@types/node": "^20.14.8",
47
65
  "concurrently": "7.0.0",
@@ -50,28 +68,10 @@
50
68
  "typescript": "~5.8.3",
51
69
  "web-streams-polyfill": "3.2.1"
52
70
  },
53
- "typesVersions": {
54
- "<4.5": {
55
- "dist-types/*": [
56
- "dist-types/ts3.4/*"
57
- ]
58
- }
59
- },
60
- "browser": {
61
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser",
62
- "fs": false,
63
- "stream": "stream-browserify"
64
- },
65
- "react-native": {
66
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
71
+ "peerDependencies": {
72
+ "@aws-sdk/client-s3": "^3.1088.0"
67
73
  },
68
- "files": [
69
- "dist-*/**"
70
- ],
71
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/lib/lib-storage",
72
- "repository": {
73
- "type": "git",
74
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
75
- "directory": "lib/lib-storage"
74
+ "engines": {
75
+ "node": ">=20.0.0"
76
76
  }
77
77
  }