@aws-sdk/lib-storage 3.998.0 → 3.999.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/runtimeConfig.js +3 -3
- package/dist-es/Upload.js +1 -1
- package/dist-es/runtimeConfig.js +1 -1
- package/dist-types/Upload.d.ts +2 -2
- package/dist-types/chunker.d.ts +1 -1
- package/dist-types/chunks/getChunkStream.d.ts +1 -1
- package/dist-types/chunks/getChunkUint8Array.d.ts +1 -1
- package/dist-types/chunks/getDataReadable.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/types.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.runtimeConfig = void 0;
|
|
4
|
-
const
|
|
4
|
+
const node_fs_1 = require("node:fs");
|
|
5
5
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
6
6
|
exports.runtimeConfig = {
|
|
7
7
|
...runtimeConfig_shared_1.runtimeConfigShared,
|
|
8
8
|
runtime: "node",
|
|
9
|
-
lstatSync:
|
|
9
|
+
lstatSync: node_fs_1.lstatSync,
|
|
10
10
|
isFileReadStream(f) {
|
|
11
|
-
return f instanceof
|
|
11
|
+
return f instanceof node_fs_1.ReadStream;
|
|
12
12
|
},
|
|
13
13
|
};
|
package/dist-es/Upload.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbortMultipartUploadCommand, ChecksumAlgorithm, CompleteMultipartUploadCommand, CreateMultipartUploadCommand, PutObjectCommand, PutObjectTaggingCommand, UploadPartCommand, } from "@aws-sdk/client-s3";
|
|
2
2
|
import { AbortController } from "@smithy/abort-controller";
|
|
3
|
-
import { getEndpointFromInstructions, toEndpointV1
|
|
3
|
+
import { getEndpointFromInstructions, toEndpointV1 } from "@smithy/middleware-endpoint";
|
|
4
4
|
import { extendedEncodeURIComponent } from "@smithy/smithy-client";
|
|
5
5
|
import { EventEmitter } from "events";
|
|
6
6
|
import { byteLength } from "./byteLength";
|
package/dist-es/runtimeConfig.js
CHANGED
package/dist-types/Upload.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CompleteMultipartUploadCommandOutput } from "@aws-sdk/client-s3";
|
|
1
|
+
import type { CompleteMultipartUploadCommandOutput } from "@aws-sdk/client-s3";
|
|
2
2
|
import { EventEmitter } from "events";
|
|
3
|
-
import { BodyDataTypes, Options, Progress } from "./types";
|
|
3
|
+
import type { BodyDataTypes, Options, Progress } from "./types";
|
|
4
4
|
export interface RawDataPart {
|
|
5
5
|
partNumber: number;
|
|
6
6
|
data: BodyDataTypes;
|
package/dist-types/chunker.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RawDataPart } from "../Upload";
|
|
1
|
+
import type { RawDataPart } from "../Upload";
|
|
2
2
|
export declare function getChunkStream<T>(data: T, partSize: number, getNextData: (data: T) => AsyncGenerator<Uint8Array>): AsyncGenerator<RawDataPart, void, undefined>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RawDataPart } from "../Upload";
|
|
1
|
+
import type { RawDataPart } from "../Upload";
|
|
2
2
|
export declare function getChunkUint8Array(data: Uint8Array, partSize: number): AsyncGenerator<RawDataPart, void, undefined>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Readable } from "stream";
|
|
1
|
+
import type { Readable } from "stream";
|
|
2
2
|
export declare function getDataReadable(data: Readable): AsyncGenerator<Uint8Array>;
|
package/dist-types/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CompleteMultipartUploadCommandInput, CreateMultipartUploadCommandInput, PutObjectCommandInput, S3Client, Tag, UploadPartCommandInput } from "@aws-sdk/client-s3";
|
|
1
|
+
import type { CompleteMultipartUploadCommandInput, CreateMultipartUploadCommandInput, PutObjectCommandInput, S3Client, Tag, UploadPartCommandInput } from "@aws-sdk/client-s3";
|
|
2
2
|
import type { AbortController } from "@smithy/types";
|
|
3
3
|
export interface Progress {
|
|
4
4
|
loaded?: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/lib-storage",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.999.0",
|
|
4
4
|
"description": "Storage higher order operation",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"tslib": "^2.6.2"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@aws-sdk/client-s3": "^3.
|
|
42
|
+
"@aws-sdk/client-s3": "^3.999.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@aws-sdk/client-s3": "3.
|
|
45
|
+
"@aws-sdk/client-s3": "3.999.0",
|
|
46
46
|
"@smithy/types": "^4.13.0",
|
|
47
47
|
"@tsconfig/recommended": "1.0.1",
|
|
48
48
|
"@types/node": "^20.14.8",
|