mirror of
https://github.com/transloadit/uppy.git
synced 2026-08-01 06:21:35 +00:00
Majors confined to dev tooling, verified to need no source changes: - jasmine-core ~5.1 -> ~6.3, @types/jasmine ~5.1 -> ~6.0 (angular) - zone.js ~0.15 -> ~0.16 (angular) - jsdom ^26 -> ^29 - execa 9.6.1 -> 10.0.0 (companion) - @npmcli/arborist ^9 -> ^10, pacote ^21 -> ^22 (release tooling) - dotenv ^16 -> ^17 (aws-nodejs example) Deliberately excluded after testing: - @types/node 20 -> 26 breaks companion typecheck (Uploader.ts FormData -> FormDataLike cast, TS2352). Blocked on the same formdata-node work as got 14. - body-parser 2.2.2 -> 2.3.0 in companion makes the @uppy/url browser test fail under the full parallel `yarn test` run (the URL plugin stops receiving file metadata). It passes when that package is run alone, so the trigger is load-dependent; reverting to 2.2.2 makes the full run green again, reproduced three times each way. - body-parser ^1 -> ^2 in the express examples, held back with the above. undici 8.8.0 lands 4.2 days inside the cooldown as a transitive of the release tooling; no in-range alternative exists. Verified: yarn build (54/54), yarn typecheck (75/75), yarn check:ci, yarn test (19/19), example-angular build. |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| CHANGELOG.md | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| test-setup.mjs | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| turbo.json | ||
| vitest.config.ts | ||
@uppy/aws-s3
The AwsS3 plugin can be used to upload files directly to an S3 bucket. Uploads can be signed using Companion or a custom signing function.
Uppy is being developed by the folks at Transloadit, a versatile file encoding service.
Example
import Uppy from '@uppy/core'
import AwsS3 from '@uppy/aws-s3'
const uppy = new Uppy()
uppy.use(AwsS3, {
limit: 2,
timeout: ms('1 minute'),
companionUrl: 'https://companion.myapp.com/',
})
Installation
$ npm install @uppy/aws-s3
Alternatively, you can also use this plugin in a pre-built bundle from
Transloadit’s CDN: Smart CDN. In that case Uppy will attach itself to the
global window.Uppy object. See the
main Uppy documentation for instructions.
Documentation
Documentation for this plugin can be found on the Uppy website.