@nocobase/plugin-file-manager 2.2.0-beta.13 → 2.2.0-beta.14
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/client/index.js +1 -1
- package/dist/client/templates/file.d.ts +1 -1
- package/dist/client-v2/125.9cdb7cf3ef4712ef.js +10 -0
- package/dist/client-v2/450.d49b00f3c0388c74.js +10 -0
- package/dist/client-v2/index.d.ts +1 -1
- package/dist/client-v2/index.js +1 -1
- package/dist/client-v2/models/DisplayPreviewFieldModel.d.ts +22 -0
- package/dist/client-v2/models/UploadActionModel.d.ts +26 -0
- package/dist/client-v2/previewer/filePreviewTypes.d.ts +15 -1
- package/dist/externalVersion.js +12 -9
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +59 -116
- package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
- package/dist/node_modules/@aws-sdk/lib-storage/dist-cjs/index.js +59 -116
- package/dist/node_modules/@aws-sdk/lib-storage/package.json +1 -1
- package/dist/node_modules/@aws-sdk/s3-request-presigner/LICENSE +201 -0
- package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-cjs/index.js +11113 -0
- package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-es/constants.js +9 -0
- package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-es/getSignedUrl.js +66 -0
- package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-es/index.js +2 -0
- package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-es/presigner.js +58 -0
- package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-types/constants.d.ts +9 -0
- package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-types/getSignedUrl.d.ts +6 -0
- package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-types/index.d.ts +2 -0
- package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-types/presigner.d.ts +15 -0
- package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/constants.d.ts +9 -0
- package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/getSignedUrl.d.ts +11 -0
- package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/index.d.ts +2 -0
- package/dist/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/presigner.d.ts +40 -0
- package/dist/node_modules/@aws-sdk/s3-request-presigner/package.json +1 -0
- package/dist/node_modules/ali-oss/package.json +1 -1
- package/dist/node_modules/cos-nodejs-sdk-v5/package.json +1 -1
- package/dist/node_modules/mime-match/package.json +1 -1
- package/dist/node_modules/mime-types/package.json +1 -1
- package/dist/node_modules/mkdirp/package.json +1 -1
- package/dist/node_modules/url-join/package.json +1 -1
- package/dist/server/actions/get-file.d.ts +13 -0
- package/dist/server/actions/get-file.js +133 -0
- package/dist/server/actions/index.d.ts +1 -3
- package/dist/server/actions/index.js +8 -1
- package/dist/server/commands/repair-filenames.js +34 -14
- package/dist/server/file-access.d.ts +11 -0
- package/dist/server/file-access.js +134 -0
- package/dist/server/index.d.ts +2 -1
- package/dist/server/index.js +7 -1
- package/dist/server/resolve-file-access-filter.d.ts +11 -0
- package/dist/server/resolve-file-access-filter.js +63 -0
- package/dist/server/server.d.ts +23 -2
- package/dist/server/server.js +102 -10
- package/dist/server/storages/ali-oss.d.ts +2 -1
- package/dist/server/storages/ali-oss.js +12 -0
- package/dist/server/storages/index.d.ts +15 -2
- package/dist/server/storages/index.js +28 -5
- package/dist/server/storages/local.d.ts +2 -2
- package/dist/server/storages/local.js +9 -3
- package/dist/server/storages/s3.d.ts +2 -1
- package/dist/server/storages/s3.js +14 -0
- package/dist/server/storages/tx-cos.d.ts +2 -1
- package/dist/server/storages/tx-cos.js +27 -0
- package/dist/server/temporary-access.d.ts +31 -0
- package/dist/server/temporary-access.js +169 -0
- package/dist/server/utils.d.ts +27 -0
- package/dist/server/utils.js +83 -2
- package/package.json +5 -3
- package/dist/client-v2/125.0b8eef1f19b87042.js +0 -10
- package/dist/client-v2/450.c060947ac34d26e1.js +0 -10
package/dist/externalVersion.js
CHANGED
|
@@ -8,25 +8,28 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
-
"@nocobase/client": "2.2.0-beta.
|
|
11
|
+
"@nocobase/client": "2.2.0-beta.14",
|
|
12
12
|
"react": "18.2.0",
|
|
13
13
|
"antd": "5.24.2",
|
|
14
14
|
"@ant-design/icons": "5.6.1",
|
|
15
15
|
"@formily/shared": "2.3.7",
|
|
16
16
|
"lodash": "4.18.1",
|
|
17
17
|
"react-i18next": "11.18.6",
|
|
18
|
-
"@nocobase/flow-engine": "2.2.0-beta.
|
|
19
|
-
"@nocobase/client-v2": "2.2.0-beta.
|
|
18
|
+
"@nocobase/flow-engine": "2.2.0-beta.14",
|
|
19
|
+
"@nocobase/client-v2": "2.2.0-beta.14",
|
|
20
|
+
"@nocobase/actions": "2.2.0-beta.14",
|
|
21
|
+
"@nocobase/data-source-manager": "2.2.0-beta.14",
|
|
20
22
|
"multer": "2.1.1",
|
|
21
|
-
"@nocobase/
|
|
22
|
-
"@nocobase/
|
|
23
|
-
"@nocobase/
|
|
24
|
-
"@nocobase/
|
|
23
|
+
"@nocobase/acl": "2.2.0-beta.14",
|
|
24
|
+
"@nocobase/database": "2.2.0-beta.14",
|
|
25
|
+
"@nocobase/server": "2.2.0-beta.14",
|
|
26
|
+
"@nocobase/utils": "2.2.0-beta.14",
|
|
27
|
+
"jsonwebtoken": "9.0.2",
|
|
28
|
+
"@nocobase/test": "2.2.0-beta.14",
|
|
25
29
|
"@formily/react": "2.3.7",
|
|
26
30
|
"@emotion/css": "11.13.0",
|
|
27
31
|
"ahooks": "3.7.8",
|
|
28
|
-
"@nocobase/
|
|
29
|
-
"@nocobase/plugin-data-source-main": "2.2.0-beta.13",
|
|
32
|
+
"@nocobase/plugin-data-source-main": "2.2.0-beta.14",
|
|
30
33
|
"sequelize": "6.35.2",
|
|
31
34
|
"axios": "1.7.7"
|
|
32
35
|
};
|
|
@@ -24908,7 +24908,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
24908
24908
|
|
|
24909
24909
|
// src/fetch-http-handler.ts
|
|
24910
24910
|
var import_protocol_http = __nccwpck_require__(4418);
|
|
24911
|
-
var import_querystring_builder = __nccwpck_require__(
|
|
24911
|
+
var import_querystring_builder = __nccwpck_require__(8031);
|
|
24912
24912
|
|
|
24913
24913
|
// src/create-request.ts
|
|
24914
24914
|
function createRequest(url, requestOptions) {
|
|
@@ -25140,63 +25140,6 @@ __name(readToBase64, "readToBase64");
|
|
|
25140
25140
|
|
|
25141
25141
|
|
|
25142
25142
|
|
|
25143
|
-
/***/ }),
|
|
25144
|
-
|
|
25145
|
-
/***/ 920:
|
|
25146
|
-
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
25147
|
-
|
|
25148
|
-
var __defProp = Object.defineProperty;
|
|
25149
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
25150
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
25151
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
25152
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
25153
|
-
var __export = (target, all) => {
|
|
25154
|
-
for (var name in all)
|
|
25155
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
25156
|
-
};
|
|
25157
|
-
var __copyProps = (to, from, except, desc) => {
|
|
25158
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
25159
|
-
for (let key of __getOwnPropNames(from))
|
|
25160
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
25161
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
25162
|
-
}
|
|
25163
|
-
return to;
|
|
25164
|
-
};
|
|
25165
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
25166
|
-
|
|
25167
|
-
// src/index.ts
|
|
25168
|
-
var src_exports = {};
|
|
25169
|
-
__export(src_exports, {
|
|
25170
|
-
buildQueryString: () => buildQueryString
|
|
25171
|
-
});
|
|
25172
|
-
module.exports = __toCommonJS(src_exports);
|
|
25173
|
-
var import_util_uri_escape = __nccwpck_require__(4197);
|
|
25174
|
-
function buildQueryString(query) {
|
|
25175
|
-
const parts = [];
|
|
25176
|
-
for (let key of Object.keys(query).sort()) {
|
|
25177
|
-
const value = query[key];
|
|
25178
|
-
key = (0, import_util_uri_escape.escapeUri)(key);
|
|
25179
|
-
if (Array.isArray(value)) {
|
|
25180
|
-
for (let i = 0, iLen = value.length; i < iLen; i++) {
|
|
25181
|
-
parts.push(`${key}=${(0, import_util_uri_escape.escapeUri)(value[i])}`);
|
|
25182
|
-
}
|
|
25183
|
-
} else {
|
|
25184
|
-
let qsEntry = key;
|
|
25185
|
-
if (value || typeof value === "string") {
|
|
25186
|
-
qsEntry += `=${(0, import_util_uri_escape.escapeUri)(value)}`;
|
|
25187
|
-
}
|
|
25188
|
-
parts.push(qsEntry);
|
|
25189
|
-
}
|
|
25190
|
-
}
|
|
25191
|
-
return parts.join("&");
|
|
25192
|
-
}
|
|
25193
|
-
__name(buildQueryString, "buildQueryString");
|
|
25194
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
25195
|
-
|
|
25196
|
-
0 && (0);
|
|
25197
|
-
|
|
25198
|
-
|
|
25199
|
-
|
|
25200
25143
|
/***/ }),
|
|
25201
25144
|
|
|
25202
25145
|
/***/ 3081:
|
|
@@ -27516,7 +27459,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
27516
27459
|
|
|
27517
27460
|
// src/node-http-handler.ts
|
|
27518
27461
|
var import_protocol_http = __nccwpck_require__(4418);
|
|
27519
|
-
var import_querystring_builder = __nccwpck_require__(
|
|
27462
|
+
var import_querystring_builder = __nccwpck_require__(8031);
|
|
27520
27463
|
var import_http = __nccwpck_require__(3685);
|
|
27521
27464
|
var import_https = __nccwpck_require__(5687);
|
|
27522
27465
|
|
|
@@ -28276,63 +28219,6 @@ __name(collectReadableStream, "collectReadableStream");
|
|
|
28276
28219
|
|
|
28277
28220
|
|
|
28278
28221
|
|
|
28279
|
-
/***/ }),
|
|
28280
|
-
|
|
28281
|
-
/***/ 2768:
|
|
28282
|
-
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
28283
|
-
|
|
28284
|
-
var __defProp = Object.defineProperty;
|
|
28285
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
28286
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
28287
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
28288
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
28289
|
-
var __export = (target, all) => {
|
|
28290
|
-
for (var name in all)
|
|
28291
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
28292
|
-
};
|
|
28293
|
-
var __copyProps = (to, from, except, desc) => {
|
|
28294
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
28295
|
-
for (let key of __getOwnPropNames(from))
|
|
28296
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
28297
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
28298
|
-
}
|
|
28299
|
-
return to;
|
|
28300
|
-
};
|
|
28301
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28302
|
-
|
|
28303
|
-
// src/index.ts
|
|
28304
|
-
var src_exports = {};
|
|
28305
|
-
__export(src_exports, {
|
|
28306
|
-
buildQueryString: () => buildQueryString
|
|
28307
|
-
});
|
|
28308
|
-
module.exports = __toCommonJS(src_exports);
|
|
28309
|
-
var import_util_uri_escape = __nccwpck_require__(4197);
|
|
28310
|
-
function buildQueryString(query) {
|
|
28311
|
-
const parts = [];
|
|
28312
|
-
for (let key of Object.keys(query).sort()) {
|
|
28313
|
-
const value = query[key];
|
|
28314
|
-
key = (0, import_util_uri_escape.escapeUri)(key);
|
|
28315
|
-
if (Array.isArray(value)) {
|
|
28316
|
-
for (let i = 0, iLen = value.length; i < iLen; i++) {
|
|
28317
|
-
parts.push(`${key}=${(0, import_util_uri_escape.escapeUri)(value[i])}`);
|
|
28318
|
-
}
|
|
28319
|
-
} else {
|
|
28320
|
-
let qsEntry = key;
|
|
28321
|
-
if (value || typeof value === "string") {
|
|
28322
|
-
qsEntry += `=${(0, import_util_uri_escape.escapeUri)(value)}`;
|
|
28323
|
-
}
|
|
28324
|
-
parts.push(qsEntry);
|
|
28325
|
-
}
|
|
28326
|
-
}
|
|
28327
|
-
return parts.join("&");
|
|
28328
|
-
}
|
|
28329
|
-
__name(buildQueryString, "buildQueryString");
|
|
28330
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
28331
|
-
|
|
28332
|
-
0 && (0);
|
|
28333
|
-
|
|
28334
|
-
|
|
28335
|
-
|
|
28336
28222
|
/***/ }),
|
|
28337
28223
|
|
|
28338
28224
|
/***/ 9721:
|
|
@@ -28765,6 +28651,63 @@ __name(isValidHostname, "isValidHostname");
|
|
|
28765
28651
|
|
|
28766
28652
|
|
|
28767
28653
|
|
|
28654
|
+
/***/ }),
|
|
28655
|
+
|
|
28656
|
+
/***/ 8031:
|
|
28657
|
+
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
28658
|
+
|
|
28659
|
+
var __defProp = Object.defineProperty;
|
|
28660
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
28661
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
28662
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
28663
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
28664
|
+
var __export = (target, all) => {
|
|
28665
|
+
for (var name in all)
|
|
28666
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
28667
|
+
};
|
|
28668
|
+
var __copyProps = (to, from, except, desc) => {
|
|
28669
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
28670
|
+
for (let key of __getOwnPropNames(from))
|
|
28671
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
28672
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
28673
|
+
}
|
|
28674
|
+
return to;
|
|
28675
|
+
};
|
|
28676
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28677
|
+
|
|
28678
|
+
// src/index.ts
|
|
28679
|
+
var src_exports = {};
|
|
28680
|
+
__export(src_exports, {
|
|
28681
|
+
buildQueryString: () => buildQueryString
|
|
28682
|
+
});
|
|
28683
|
+
module.exports = __toCommonJS(src_exports);
|
|
28684
|
+
var import_util_uri_escape = __nccwpck_require__(4197);
|
|
28685
|
+
function buildQueryString(query) {
|
|
28686
|
+
const parts = [];
|
|
28687
|
+
for (let key of Object.keys(query).sort()) {
|
|
28688
|
+
const value = query[key];
|
|
28689
|
+
key = (0, import_util_uri_escape.escapeUri)(key);
|
|
28690
|
+
if (Array.isArray(value)) {
|
|
28691
|
+
for (let i = 0, iLen = value.length; i < iLen; i++) {
|
|
28692
|
+
parts.push(`${key}=${(0, import_util_uri_escape.escapeUri)(value[i])}`);
|
|
28693
|
+
}
|
|
28694
|
+
} else {
|
|
28695
|
+
let qsEntry = key;
|
|
28696
|
+
if (value || typeof value === "string") {
|
|
28697
|
+
qsEntry += `=${(0, import_util_uri_escape.escapeUri)(value)}`;
|
|
28698
|
+
}
|
|
28699
|
+
parts.push(qsEntry);
|
|
28700
|
+
}
|
|
28701
|
+
}
|
|
28702
|
+
return parts.join("&");
|
|
28703
|
+
}
|
|
28704
|
+
__name(buildQueryString, "buildQueryString");
|
|
28705
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
28706
|
+
|
|
28707
|
+
0 && (0);
|
|
28708
|
+
|
|
28709
|
+
|
|
28710
|
+
|
|
28768
28711
|
/***/ }),
|
|
28769
28712
|
|
|
28770
28713
|
/***/ 4769:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@aws-sdk/client-s3","description":"AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native","version":"3.750.0","scripts":{"build":"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"node ../../scripts/compilation/inline client-s3","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo s3","test":"yarn g:vitest run","test:browser":"node ./test/browser-build/esbuild && yarn g:vitest run -c vitest.config.browser.ts","test:browser:watch":"node ./test/browser-build/esbuild && yarn g:vitest watch -c vitest.config.browser.ts","test:e2e":"yarn g:vitest run -c vitest.config.e2e.ts && yarn test:browser","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.ts","test:watch":"yarn g:vitest watch"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha1-browser":"5.2.0","@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"3.750.0","@aws-sdk/credential-provider-node":"3.750.0","@aws-sdk/middleware-bucket-endpoint":"3.734.0","@aws-sdk/middleware-expect-continue":"3.734.0","@aws-sdk/middleware-flexible-checksums":"3.750.0","@aws-sdk/middleware-host-header":"3.734.0","@aws-sdk/middleware-location-constraint":"3.734.0","@aws-sdk/middleware-logger":"3.734.0","@aws-sdk/middleware-recursion-detection":"3.734.0","@aws-sdk/middleware-sdk-s3":"3.750.0","@aws-sdk/middleware-ssec":"3.734.0","@aws-sdk/middleware-user-agent":"3.750.0","@aws-sdk/region-config-resolver":"3.734.0","@aws-sdk/signature-v4-multi-region":"3.750.0","@aws-sdk/types":"3.734.0","@aws-sdk/util-endpoints":"3.743.0","@aws-sdk/util-user-agent-browser":"3.734.0","@aws-sdk/util-user-agent-node":"3.750.0","@aws-sdk/xml-builder":"3.734.0","@smithy/config-resolver":"^4.0.1","@smithy/core":"^3.1.4","@smithy/eventstream-serde-browser":"^4.0.1","@smithy/eventstream-serde-config-resolver":"^4.0.1","@smithy/eventstream-serde-node":"^4.0.1","@smithy/fetch-http-handler":"^5.0.1","@smithy/hash-blob-browser":"^4.0.1","@smithy/hash-node":"^4.0.1","@smithy/hash-stream-node":"^4.0.1","@smithy/invalid-dependency":"^4.0.1","@smithy/md5-js":"^4.0.1","@smithy/middleware-content-length":"^4.0.1","@smithy/middleware-endpoint":"^4.0.5","@smithy/middleware-retry":"^4.0.6","@smithy/middleware-serde":"^4.0.2","@smithy/middleware-stack":"^4.0.1","@smithy/node-config-provider":"^4.0.1","@smithy/node-http-handler":"^4.0.2","@smithy/protocol-http":"^5.0.1","@smithy/smithy-client":"^4.1.5","@smithy/types":"^4.1.0","@smithy/url-parser":"^4.0.1","@smithy/util-base64":"^4.0.0","@smithy/util-body-length-browser":"^4.0.0","@smithy/util-body-length-node":"^4.0.0","@smithy/util-defaults-mode-browser":"^4.0.6","@smithy/util-defaults-mode-node":"^4.0.6","@smithy/util-endpoints":"^3.0.1","@smithy/util-middleware":"^4.0.1","@smithy/util-retry":"^4.0.1","@smithy/util-stream":"^4.1.1","@smithy/util-utf8":"^4.0.0","@smithy/util-waiter":"^4.0.2","tslib":"^2.6.2"},"devDependencies":{"@aws-sdk/signature-v4-crt":"3.750.0","@tsconfig/node18":"18.2.4","@types/node":"^18.19.69","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~5.2.2"},"engines":{"node":">=18.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-s3"},"_lastModified":"2026-07-
|
|
1
|
+
{"name":"@aws-sdk/client-s3","description":"AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native","version":"3.750.0","scripts":{"build":"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"node ../../scripts/compilation/inline client-s3","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo s3","test":"yarn g:vitest run","test:browser":"node ./test/browser-build/esbuild && yarn g:vitest run -c vitest.config.browser.ts","test:browser:watch":"node ./test/browser-build/esbuild && yarn g:vitest watch -c vitest.config.browser.ts","test:e2e":"yarn g:vitest run -c vitest.config.e2e.ts && yarn test:browser","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.ts","test:watch":"yarn g:vitest watch"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha1-browser":"5.2.0","@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"3.750.0","@aws-sdk/credential-provider-node":"3.750.0","@aws-sdk/middleware-bucket-endpoint":"3.734.0","@aws-sdk/middleware-expect-continue":"3.734.0","@aws-sdk/middleware-flexible-checksums":"3.750.0","@aws-sdk/middleware-host-header":"3.734.0","@aws-sdk/middleware-location-constraint":"3.734.0","@aws-sdk/middleware-logger":"3.734.0","@aws-sdk/middleware-recursion-detection":"3.734.0","@aws-sdk/middleware-sdk-s3":"3.750.0","@aws-sdk/middleware-ssec":"3.734.0","@aws-sdk/middleware-user-agent":"3.750.0","@aws-sdk/region-config-resolver":"3.734.0","@aws-sdk/signature-v4-multi-region":"3.750.0","@aws-sdk/types":"3.734.0","@aws-sdk/util-endpoints":"3.743.0","@aws-sdk/util-user-agent-browser":"3.734.0","@aws-sdk/util-user-agent-node":"3.750.0","@aws-sdk/xml-builder":"3.734.0","@smithy/config-resolver":"^4.0.1","@smithy/core":"^3.1.4","@smithy/eventstream-serde-browser":"^4.0.1","@smithy/eventstream-serde-config-resolver":"^4.0.1","@smithy/eventstream-serde-node":"^4.0.1","@smithy/fetch-http-handler":"^5.0.1","@smithy/hash-blob-browser":"^4.0.1","@smithy/hash-node":"^4.0.1","@smithy/hash-stream-node":"^4.0.1","@smithy/invalid-dependency":"^4.0.1","@smithy/md5-js":"^4.0.1","@smithy/middleware-content-length":"^4.0.1","@smithy/middleware-endpoint":"^4.0.5","@smithy/middleware-retry":"^4.0.6","@smithy/middleware-serde":"^4.0.2","@smithy/middleware-stack":"^4.0.1","@smithy/node-config-provider":"^4.0.1","@smithy/node-http-handler":"^4.0.2","@smithy/protocol-http":"^5.0.1","@smithy/smithy-client":"^4.1.5","@smithy/types":"^4.1.0","@smithy/url-parser":"^4.0.1","@smithy/util-base64":"^4.0.0","@smithy/util-body-length-browser":"^4.0.0","@smithy/util-body-length-node":"^4.0.0","@smithy/util-defaults-mode-browser":"^4.0.6","@smithy/util-defaults-mode-node":"^4.0.6","@smithy/util-endpoints":"^3.0.1","@smithy/util-middleware":"^4.0.1","@smithy/util-retry":"^4.0.1","@smithy/util-stream":"^4.1.1","@smithy/util-utf8":"^4.0.0","@smithy/util-waiter":"^4.0.2","tslib":"^2.6.2"},"devDependencies":{"@aws-sdk/signature-v4-crt":"3.750.0","@tsconfig/node18":"18.2.4","@types/node":"^18.19.69","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~5.2.2"},"engines":{"node":">=18.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-s3"},"_lastModified":"2026-07-15T08:47:00.784Z"}
|
|
@@ -25540,7 +25540,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
25540
25540
|
|
|
25541
25541
|
// src/fetch-http-handler.ts
|
|
25542
25542
|
var import_protocol_http = __nccwpck_require__(4418);
|
|
25543
|
-
var import_querystring_builder = __nccwpck_require__(
|
|
25543
|
+
var import_querystring_builder = __nccwpck_require__(8031);
|
|
25544
25544
|
|
|
25545
25545
|
// src/create-request.ts
|
|
25546
25546
|
function createRequest(url, requestOptions) {
|
|
@@ -25772,63 +25772,6 @@ __name(readToBase64, "readToBase64");
|
|
|
25772
25772
|
|
|
25773
25773
|
|
|
25774
25774
|
|
|
25775
|
-
/***/ }),
|
|
25776
|
-
|
|
25777
|
-
/***/ 920:
|
|
25778
|
-
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
25779
|
-
|
|
25780
|
-
var __defProp = Object.defineProperty;
|
|
25781
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
25782
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
25783
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
25784
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
25785
|
-
var __export = (target, all) => {
|
|
25786
|
-
for (var name in all)
|
|
25787
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
25788
|
-
};
|
|
25789
|
-
var __copyProps = (to, from, except, desc) => {
|
|
25790
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
25791
|
-
for (let key of __getOwnPropNames(from))
|
|
25792
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
25793
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
25794
|
-
}
|
|
25795
|
-
return to;
|
|
25796
|
-
};
|
|
25797
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
25798
|
-
|
|
25799
|
-
// src/index.ts
|
|
25800
|
-
var src_exports = {};
|
|
25801
|
-
__export(src_exports, {
|
|
25802
|
-
buildQueryString: () => buildQueryString
|
|
25803
|
-
});
|
|
25804
|
-
module.exports = __toCommonJS(src_exports);
|
|
25805
|
-
var import_util_uri_escape = __nccwpck_require__(4197);
|
|
25806
|
-
function buildQueryString(query) {
|
|
25807
|
-
const parts = [];
|
|
25808
|
-
for (let key of Object.keys(query).sort()) {
|
|
25809
|
-
const value = query[key];
|
|
25810
|
-
key = (0, import_util_uri_escape.escapeUri)(key);
|
|
25811
|
-
if (Array.isArray(value)) {
|
|
25812
|
-
for (let i = 0, iLen = value.length; i < iLen; i++) {
|
|
25813
|
-
parts.push(`${key}=${(0, import_util_uri_escape.escapeUri)(value[i])}`);
|
|
25814
|
-
}
|
|
25815
|
-
} else {
|
|
25816
|
-
let qsEntry = key;
|
|
25817
|
-
if (value || typeof value === "string") {
|
|
25818
|
-
qsEntry += `=${(0, import_util_uri_escape.escapeUri)(value)}`;
|
|
25819
|
-
}
|
|
25820
|
-
parts.push(qsEntry);
|
|
25821
|
-
}
|
|
25822
|
-
}
|
|
25823
|
-
return parts.join("&");
|
|
25824
|
-
}
|
|
25825
|
-
__name(buildQueryString, "buildQueryString");
|
|
25826
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
25827
|
-
|
|
25828
|
-
0 && (0);
|
|
25829
|
-
|
|
25830
|
-
|
|
25831
|
-
|
|
25832
25775
|
/***/ }),
|
|
25833
25776
|
|
|
25834
25777
|
/***/ 3081:
|
|
@@ -28148,7 +28091,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
28148
28091
|
|
|
28149
28092
|
// src/node-http-handler.ts
|
|
28150
28093
|
var import_protocol_http = __nccwpck_require__(4418);
|
|
28151
|
-
var import_querystring_builder = __nccwpck_require__(
|
|
28094
|
+
var import_querystring_builder = __nccwpck_require__(8031);
|
|
28152
28095
|
var import_http = __nccwpck_require__(3685);
|
|
28153
28096
|
var import_https = __nccwpck_require__(5687);
|
|
28154
28097
|
|
|
@@ -28908,63 +28851,6 @@ __name(collectReadableStream, "collectReadableStream");
|
|
|
28908
28851
|
|
|
28909
28852
|
|
|
28910
28853
|
|
|
28911
|
-
/***/ }),
|
|
28912
|
-
|
|
28913
|
-
/***/ 2768:
|
|
28914
|
-
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
28915
|
-
|
|
28916
|
-
var __defProp = Object.defineProperty;
|
|
28917
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
28918
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
28919
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
28920
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
28921
|
-
var __export = (target, all) => {
|
|
28922
|
-
for (var name in all)
|
|
28923
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
28924
|
-
};
|
|
28925
|
-
var __copyProps = (to, from, except, desc) => {
|
|
28926
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
28927
|
-
for (let key of __getOwnPropNames(from))
|
|
28928
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
28929
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
28930
|
-
}
|
|
28931
|
-
return to;
|
|
28932
|
-
};
|
|
28933
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28934
|
-
|
|
28935
|
-
// src/index.ts
|
|
28936
|
-
var src_exports = {};
|
|
28937
|
-
__export(src_exports, {
|
|
28938
|
-
buildQueryString: () => buildQueryString
|
|
28939
|
-
});
|
|
28940
|
-
module.exports = __toCommonJS(src_exports);
|
|
28941
|
-
var import_util_uri_escape = __nccwpck_require__(4197);
|
|
28942
|
-
function buildQueryString(query) {
|
|
28943
|
-
const parts = [];
|
|
28944
|
-
for (let key of Object.keys(query).sort()) {
|
|
28945
|
-
const value = query[key];
|
|
28946
|
-
key = (0, import_util_uri_escape.escapeUri)(key);
|
|
28947
|
-
if (Array.isArray(value)) {
|
|
28948
|
-
for (let i = 0, iLen = value.length; i < iLen; i++) {
|
|
28949
|
-
parts.push(`${key}=${(0, import_util_uri_escape.escapeUri)(value[i])}`);
|
|
28950
|
-
}
|
|
28951
|
-
} else {
|
|
28952
|
-
let qsEntry = key;
|
|
28953
|
-
if (value || typeof value === "string") {
|
|
28954
|
-
qsEntry += `=${(0, import_util_uri_escape.escapeUri)(value)}`;
|
|
28955
|
-
}
|
|
28956
|
-
parts.push(qsEntry);
|
|
28957
|
-
}
|
|
28958
|
-
}
|
|
28959
|
-
return parts.join("&");
|
|
28960
|
-
}
|
|
28961
|
-
__name(buildQueryString, "buildQueryString");
|
|
28962
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
28963
|
-
|
|
28964
|
-
0 && (0);
|
|
28965
|
-
|
|
28966
|
-
|
|
28967
|
-
|
|
28968
28854
|
/***/ }),
|
|
28969
28855
|
|
|
28970
28856
|
/***/ 9721:
|
|
@@ -29397,6 +29283,63 @@ __name(isValidHostname, "isValidHostname");
|
|
|
29397
29283
|
|
|
29398
29284
|
|
|
29399
29285
|
|
|
29286
|
+
/***/ }),
|
|
29287
|
+
|
|
29288
|
+
/***/ 8031:
|
|
29289
|
+
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
29290
|
+
|
|
29291
|
+
var __defProp = Object.defineProperty;
|
|
29292
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
29293
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
29294
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
29295
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
29296
|
+
var __export = (target, all) => {
|
|
29297
|
+
for (var name in all)
|
|
29298
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
29299
|
+
};
|
|
29300
|
+
var __copyProps = (to, from, except, desc) => {
|
|
29301
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
29302
|
+
for (let key of __getOwnPropNames(from))
|
|
29303
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
29304
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
29305
|
+
}
|
|
29306
|
+
return to;
|
|
29307
|
+
};
|
|
29308
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29309
|
+
|
|
29310
|
+
// src/index.ts
|
|
29311
|
+
var src_exports = {};
|
|
29312
|
+
__export(src_exports, {
|
|
29313
|
+
buildQueryString: () => buildQueryString
|
|
29314
|
+
});
|
|
29315
|
+
module.exports = __toCommonJS(src_exports);
|
|
29316
|
+
var import_util_uri_escape = __nccwpck_require__(4197);
|
|
29317
|
+
function buildQueryString(query) {
|
|
29318
|
+
const parts = [];
|
|
29319
|
+
for (let key of Object.keys(query).sort()) {
|
|
29320
|
+
const value = query[key];
|
|
29321
|
+
key = (0, import_util_uri_escape.escapeUri)(key);
|
|
29322
|
+
if (Array.isArray(value)) {
|
|
29323
|
+
for (let i = 0, iLen = value.length; i < iLen; i++) {
|
|
29324
|
+
parts.push(`${key}=${(0, import_util_uri_escape.escapeUri)(value[i])}`);
|
|
29325
|
+
}
|
|
29326
|
+
} else {
|
|
29327
|
+
let qsEntry = key;
|
|
29328
|
+
if (value || typeof value === "string") {
|
|
29329
|
+
qsEntry += `=${(0, import_util_uri_escape.escapeUri)(value)}`;
|
|
29330
|
+
}
|
|
29331
|
+
parts.push(qsEntry);
|
|
29332
|
+
}
|
|
29333
|
+
}
|
|
29334
|
+
return parts.join("&");
|
|
29335
|
+
}
|
|
29336
|
+
__name(buildQueryString, "buildQueryString");
|
|
29337
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
29338
|
+
|
|
29339
|
+
0 && (0);
|
|
29340
|
+
|
|
29341
|
+
|
|
29342
|
+
|
|
29400
29343
|
/***/ }),
|
|
29401
29344
|
|
|
29402
29345
|
/***/ 4769:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@aws-sdk/lib-storage","version":"3.750.0","description":"Storage higher order operation","main":"./dist-cjs/index.js","module":"./dist-es/index.js","types":"./dist-types/index.d.ts","scripts":{"build":"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"node ../../scripts/compilation/inline lib-storage","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","test":"yarn g:vitest run","test:e2e":"yarn g:vitest run -c vitest.config.e2e.ts --mode development","test:watch":"yarn g:vitest watch","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.ts"},"engines":{"node":">=18.0.0"},"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","dependencies":{"@smithy/abort-controller":"^4.0.1","@smithy/middleware-endpoint":"^4.0.5","@smithy/smithy-client":"^4.1.5","buffer":"5.6.0","events":"3.3.0","stream-browserify":"3.0.0","tslib":"^2.6.2"},"peerDependencies":{"@aws-sdk/client-s3":"^3.750.0"},"devDependencies":{"@aws-sdk/client-s3":"3.750.0","@smithy/types":"^4.1.0","@tsconfig/recommended":"1.0.1","@types/node":"^18.19.69","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~5.2.2","web-streams-polyfill":"3.2.1"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser","fs":false,"stream":"stream-browserify"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"files":["dist-*/**"],"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/lib/lib-storage","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"lib/lib-storage"},"_lastModified":"2026-07-
|
|
1
|
+
{"name":"@aws-sdk/lib-storage","version":"3.750.0","description":"Storage higher order operation","main":"./dist-cjs/index.js","module":"./dist-es/index.js","types":"./dist-types/index.d.ts","scripts":{"build":"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"node ../../scripts/compilation/inline lib-storage","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","test":"yarn g:vitest run","test:e2e":"yarn g:vitest run -c vitest.config.e2e.ts --mode development","test:watch":"yarn g:vitest watch","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.ts"},"engines":{"node":">=18.0.0"},"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","dependencies":{"@smithy/abort-controller":"^4.0.1","@smithy/middleware-endpoint":"^4.0.5","@smithy/smithy-client":"^4.1.5","buffer":"5.6.0","events":"3.3.0","stream-browserify":"3.0.0","tslib":"^2.6.2"},"peerDependencies":{"@aws-sdk/client-s3":"^3.750.0"},"devDependencies":{"@aws-sdk/client-s3":"3.750.0","@smithy/types":"^4.1.0","@tsconfig/recommended":"1.0.1","@types/node":"^18.19.69","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~5.2.2","web-streams-polyfill":"3.2.1"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser","fs":false,"stream":"stream-browserify"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"files":["dist-*/**"],"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/lib/lib-storage","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"lib/lib-storage"},"_lastModified":"2026-07-15T08:47:01.921Z"}
|