@aws-sdk/lib-storage 3.758.0 → 3.774.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 +4 -5
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -19,11 +19,11 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
Upload: () => Upload
|
|
25
25
|
});
|
|
26
|
-
module.exports = __toCommonJS(
|
|
26
|
+
module.exports = __toCommonJS(index_exports);
|
|
27
27
|
|
|
28
28
|
// src/Upload.ts
|
|
29
29
|
var import_client_s3 = require("@aws-sdk/client-s3");
|
|
@@ -36,8 +36,7 @@ var import_events = require("events");
|
|
|
36
36
|
var import_buffer = require("buffer");
|
|
37
37
|
var import_runtimeConfig = require("././runtimeConfig");
|
|
38
38
|
var byteLength = /* @__PURE__ */ __name((input) => {
|
|
39
|
-
if (input === null || input === void 0)
|
|
40
|
-
return 0;
|
|
39
|
+
if (input === null || input === void 0) return 0;
|
|
41
40
|
if (typeof input === "string") {
|
|
42
41
|
return import_buffer.Buffer.byteLength(input);
|
|
43
42
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/lib-storage",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.774.0",
|
|
4
4
|
"description": "Storage higher order operation",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"tslib": "^2.6.2"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@aws-sdk/client-s3": "^3.
|
|
40
|
+
"@aws-sdk/client-s3": "^3.774.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@aws-sdk/client-s3": "3.
|
|
43
|
+
"@aws-sdk/client-s3": "3.774.0",
|
|
44
44
|
"@smithy/types": "^4.1.0",
|
|
45
45
|
"@tsconfig/recommended": "1.0.1",
|
|
46
46
|
"@types/node": "^18.19.69",
|