mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-18 00:55:35 +00:00
- added `getCredentials` callback in `S3Config` - simplified signer test util ( `sigv4-signer.js` ) and moved to `src/signer.ts` - all tests run in a new non root minio user ( required for sts ) , which gets created before the tests start see `tests/s3-client/setup.js` - tests added for sts , using `@aws-sdk/client-sts` for getting creds. - credential caching inspired from the current implementation in `@aws-s3` plugin , see `#getTemporarySecurityCredentials` inside `@uppy/aws-s3/src/index.ts` --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
58 lines
1.3 KiB
JSON
58 lines
1.3 KiB
JSON
{
|
|
"name": "@uppy/aws-s3",
|
|
"description": "Upload to Amazon S3 with Uppy",
|
|
"version": "5.1.0",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"build": "tsc --build tsconfig.build.json",
|
|
"typecheck": "tsc --build",
|
|
"test": "vitest run --environment=jsdom --silent='passed-only'"
|
|
},
|
|
"keywords": [
|
|
"file uploader",
|
|
"aws s3",
|
|
"amazon s3",
|
|
"s3",
|
|
"uppy",
|
|
"uppy-plugin",
|
|
"multipart"
|
|
],
|
|
"homepage": "https://uppy.io",
|
|
"bugs": {
|
|
"url": "https://github.com/transloadit/uppy/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/transloadit/uppy.git"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"lib",
|
|
"dist",
|
|
"CHANGELOG.md"
|
|
],
|
|
"exports": {
|
|
".": "./lib/index.js",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"dependencies": {
|
|
"@uppy/companion-client": "workspace:^",
|
|
"@uppy/utils": "workspace:^"
|
|
},
|
|
"devDependencies": {
|
|
"@aws-sdk/client-s3": "^3.362.0",
|
|
"@aws-sdk/client-sts": "^3.362.0",
|
|
"@aws-sdk/s3-request-presigner": "^3.362.0",
|
|
"@uppy/core": "workspace:^",
|
|
"jsdom": "^26.1.0",
|
|
"nock": "^13.1.0",
|
|
"typescript": "^5.8.3",
|
|
"vitest": "^3.2.4",
|
|
"whatwg-fetch": "3.6.2"
|
|
},
|
|
"peerDependencies": {
|
|
"@uppy/core": "workspace:^"
|
|
}
|
|
}
|