tus / tus-node-server

Node.js tus server, standalone or integrable in any framework, with disk, S3, and GGC stores.
https://tus.io/
MIT License
795 stars 197 forks source link

@tus/server: allow metadata changes in onUploadCreate #599

Closed Murderlon closed 4 months ago

Murderlon commented 4 months ago

Closes #594 Ref: #598 Ref: #593

The types are atrocious because TS only understands type narrowing with instanceof but we can't use that because tests use mocked versions of http.ServerResponse.

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 6d899e1b17d847632c88993a331afcc9db066239

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------- | ----- | | @tus/server | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR