Commit graph

9632 commits

Author SHA1 Message Date
Antoine du Hamel
db7bfb7cfd
@uppy/file-input: add missing export (#5045) 2024-03-28 14:02:49 +01:00
dependabot[bot]
21c51bda56
Bump express from 4.18.1 to 4.19.2 in /packages/@uppy/companion (#5036)
Bumps [express](https://github.com/expressjs/express) from 4.18.1 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.1...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-28 10:11:00 +01:00
dependabot[bot]
61997f087c
Bump express from 4.18.1 to 4.19.2 (#5037)
Bumps [express](https://github.com/expressjs/express) from 4.18.1 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.1...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-28 10:10:47 +01:00
github-actions[bot]
960362b373
Release: uppy@3.24.0 (#5040)
| Package                   | Version | Package                   | Version |
| ------------------------- | ------- | ------------------------- | ------- |
| @uppy/audio               |   1.1.8 | @uppy/progress-bar        |   3.1.1 |
| @uppy/aws-s3-multipart    |  3.11.0 | @uppy/provider-views      |  3.11.0 |
| @uppy/box                 |   2.3.0 | @uppy/react               |   3.3.0 |
| @uppy/companion           |  4.13.0 | @uppy/remote-sources      |   1.2.0 |
| @uppy/companion-client    |   3.8.0 | @uppy/screen-capture      |   3.2.0 |
| @uppy/compressor          |   1.1.2 | @uppy/status-bar          |   3.3.1 |
| @uppy/core                |  3.10.0 | @uppy/thumbnail-generator |   3.1.0 |
| @uppy/dashboard           |   3.8.0 | @uppy/transloadit         |   3.6.0 |
| @uppy/drag-drop           |   3.1.0 | @uppy/tus                 |   3.5.4 |
| @uppy/drop-target         |   2.0.5 | @uppy/unsplash            |   3.3.0 |
| @uppy/dropbox             |   3.3.0 | @uppy/url                 |   3.6.0 |
| @uppy/facebook            |   3.3.0 | @uppy/utils               |   5.7.5 |
| @uppy/golden-retriever    |   3.2.0 | @uppy/webcam              |   3.4.0 |
| @uppy/google-drive        |   3.5.0 | @uppy/zoom                |   2.3.0 |
| @uppy/instagram           |   3.3.0 | uppy                      |  3.24.0 |
| @uppy/onedrive            |   3.3.0 |                           |         |

- @uppy/box,@uppy/companion-client,@uppy/provider-views,@uppy/status-bar: fix type imports (Antoine du Hamel / #5038)
- @uppy/aws-s3-multipart: mark `opts` as optional (Antoine du Hamel / #5039)
- e2e: bump Cypress version (Antoine du Hamel / #5034)
- @uppy/react: refactor to TS (Antoine du Hamel / #5012)
- @uppy/core: refine type of private variables (Antoine du Hamel / #5028)
- @uppy/dashboard: refine type of private variables (Antoine du Hamel / #5027)
- @uppy/drag-drop: refine type of private variables (Antoine du Hamel / #5026)
- @uppy/status-bar: refine type of private variables (Antoine du Hamel / #5025)
- @uppy/remote-sources: migrate to TS (Merlijn Vos / #5020)
- @uppy/dashboard: refine option types (Antoine du Hamel / #5022)
- @uppy/dashboard: add new `autoOpen` option (Chris Grigg / #5001)
- @uppy/core: fix some type errors (Antoine du Hamel / #5015)
- @uppy/audio,@uppy/dashboard,@uppy/drop-target,@uppy/webcam: add missing exports (Antoine du Hamel / #5014)
- meta: Bump webpack-dev-middleware from 5.3.3 to 5.3.4 (dependabot[bot] / #5013)
- @uppy/dashboard: refactor to TypeScript (Antoine du Hamel / #4984)
- @uppy/companion: improve error msg (Mikael Finstad / #5010)
- @uppy/aws-s3-multipart: refactor to TS (Antoine du Hamel / #4902)
- @uppy/dashboard: refactor to stable lifecycle method (Antoine du Hamel / #4999)
- @uppy/companion: crash if trying to set path to / (Mikael Finstad / #5003)
- @uppy/provider-views: fix `super.toggleCheckbox` bug (Mikael Finstad / #5004)
- @uppy/aws-s3-multipart: fix escaping issue with client signed request (Hiroki Shimizu / #5006)
- @uppy/drag-drop,@uppy/progress-bar: add missing exports (Antoine du Hamel / #5009)
- @uppy/transloadit: migrate to TS (Merlijn Vos / #4987)
- @uppy/utils: fix `RateLimitedQueue#wrapPromiseFunction` types (Antoine du Hamel / #5007)
- @uppy/golden-retriever: migrate to TS (Merlijn Vos / #4989)
- meta: Bump follow-redirects from 1.15.4 to 1.15.6 (dependabot[bot] / #5002)
- meta: fix `resize-observer-polyfill` types (Antoine du Hamel / #4994)
- @uppy/core: various type fixes (Antoine du Hamel / #4995)
- @uppy/utils: fix `findAllDOMElements` type (Antoine du Hamel / #4997)
- @uppy/status-bar: fix `recoveredState` type (Antoine du Hamel / #4996)
- @uppy/utils: fix `AbortablePromise` type (Antoine du Hamel / #4988)
- @uppy/core,@uppy/provider-views: Fix breadcrumbs (Evgenia Karunus / #4986)
- @uppy/drag-drop: refactor to TypeScript (Antoine du Hamel / #4983)
- @uppy/webcam: refactor to TypeScript (Antoine du Hamel / #4870)
- @uppy/url: migrate to TS (Merlijn Vos / #4980)
- @uppy/zoom: refactor to TypeScript (Murderlon / #4979)
- @uppy/unsplash: refactor to TypeScript (Murderlon / #4979)
- @uppy/onedrive: refactor to TypeScript (Murderlon / #4979)
- @uppy/instagram: refactor to TypeScript (Murderlon / #4979)
- @uppy/google-drive: refactor to TypeScript (Murderlon / #4979)
- @uppy/facebook: refactor to TypeScript (Murderlon / #4979)
- @uppy/dropbox: refactor to TypeScript (Murderlon / #4979)
- @uppy/box: refactor to TypeScript (Murderlon / #4979)
- @uppy/utils: migrate RateLimitedQueue to TS (Merlijn Vos / #4981)
- @uppy/thumbnail-generator: migrate to TS (Merlijn Vos / #4978)
- @uppy/screen-capture: migrate to TS (Merlijn Vos / #4965)
- @uppy/companion-client: Replace Provider.initPlugin with composition (Merlijn Vos / #4977)
2024-03-27 14:57:26 +00:00
Antoine du Hamel
e46db4042a
fixup! fix type imports (#5038) 2024-03-27 14:38:19 +01:00
Antoine du Hamel
00405fb24c
fix type imports (#5038)
We sometimes where importing source files, which may not be available in
production. Instead we should target extension-less paths in `lib/`
folders so the generated `.d.ts` files are used.
2024-03-27 14:32:45 +01:00
Antoine du Hamel
9b40f7ffad
@uppy/aws-s3-multipart: mark opts as optional (#5039) 2024-03-27 14:32:30 +01:00
Antoine du Hamel
3977985e68
e2e: bump Cypress version (#5034) 2024-03-27 13:42:29 +01:00
Antoine du Hamel
462e8c61bd
@uppy/react: refactor to TS (#5012) 2024-03-27 11:03:34 +01:00
Antoine du Hamel
fdf47e5c8e
@uppy/core: refine type of private variables (#5028) 2024-03-26 22:59:27 +01:00
Antoine du Hamel
203d9a43de
@uppy/dashboard: refine type of private variables (#5027) 2024-03-26 22:56:47 +01:00
Antoine du Hamel
3623ed9da4
@uppy/drag-drop: refine type of private variables (#5026) 2024-03-26 22:56:13 +01:00
Antoine du Hamel
0c10dda927
@uppy/status-bar: refine type of private variables (#5025)
It seems to be required by newer versions of TS.
2024-03-26 22:56:00 +01:00
Merlijn Vos
6673b77877
@uppy/remote-sources: migrate to TS (#5020) 2024-03-26 16:24:21 +01:00
Antoine du Hamel
c1fb7fd323
@uppy/dashboard: refine option types (#5022) 2024-03-26 16:07:09 +01:00
Chris Grigg
01f2428b41
@uppy/dashboard: add new autoOpen option (#5001)
* Add autoOpenView option that defaults to meta

* <Dashboard/> - deprecate `autoOpenFileEditor`, use `autoOpen` instead

* tests - account for the case where `opts` are undefined

* Update packages/@uppy/dashboard/src/Dashboard.jsx

Co-authored-by: Merlijn Vos <merlijn@soverin.net>

* types - properly deprecate option `autoOpenFileEditor`

* everywhere - rename "fileEditor" => "imageEditor"

* <DashboardModal/> - refactor `props` passing

* types - copypaste types

* Dashboard.tsx - autoOpen: `false` => `null`

* change the default value too

---------

Co-authored-by: Evgenia Karunus <lakesare@gmail.com>
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
2024-03-25 21:31:09 +04:00
Antoine du Hamel
68af8a3c0f
@uppy/core: fix some type errors (#5015) 2024-03-22 17:32:55 +01:00
Antoine du Hamel
9692f258db
add missing exports (#5014) 2024-03-22 15:16:01 +01:00
dependabot[bot]
2a618c935e
Bump webpack-dev-middleware from 5.3.3 to 5.3.4 (#5013)
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v5.3.3...v5.3.4)

---
updated-dependencies:
- dependency-name: webpack-dev-middleware
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-22 14:05:54 +01:00
Antoine du Hamel
5fcdd8f275
@uppy/dashboard: refactor to TypeScript (#4984)
Co-authored-by: Murderlon <merlijn@soverin.net>
2024-03-20 13:23:56 +01:00
Mikael Finstad
57177237d1
improve error msg (#5010)
https://github.com/transloadit/uppy/pull/5003#issuecomment-2007045486
2024-03-20 12:04:45 +08:00
Antoine du Hamel
7b0533b4bb
@uppy/aws-s3-multipart: refactor to TS (#4902) 2024-03-19 22:30:32 +01:00
Antoine du Hamel
96dc19766c
@uppy/dashboard: refactor to stable lifecycle method (#4999) 2024-03-19 20:00:07 +01:00
Mikael Finstad
4f2abc59d4
crash if trying to set path to / (#5003)
* crash if trying to set path to /

fixes #4271

* Update packages/@uppy/companion/src/config/companion.js
2024-03-19 18:33:59 +08:00
Mikael Finstad
48f4f341d2
fix super.toggleCheckbox bug (#5004)
* upgrade typescript to 5.4

* fix toggleCheckbox bug

by making toggleCheckbox an instance method again

* degrade typescript for angular

* fix tsconfig for e2e

* Revert "fix tsconfig for e2e"

This reverts commit a4c8be01e3.

* Revert "upgrade typescript to 5.4"

This reverts commit 2c66a5265c.

* Revert "degrade typescript for angular"

This reverts commit bb3db4a8a0.

* Update packages/@uppy/angular/package.json

* Update yarn.lock

---------

Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
2024-03-19 18:33:39 +08:00
Hiroki Shimizu
c306d6c58f
@uppy/aws-s3-multipart: fix escaping issue with client signed request (#5006) 2024-03-19 11:27:33 +01:00
Antoine du Hamel
730459d672
add missing exports (#5009) 2024-03-18 17:32:10 +01:00
Merlijn Vos
700944e25b
@uppy/transloadit: migrate to TS (#4987)
Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
2024-03-18 15:45:11 +01:00
Antoine du Hamel
644fe50f93
@uppy/utils: fix RateLimitedQueue#wrapPromiseFunction types (#5007) 2024-03-18 15:27:56 +01:00
Merlijn Vos
8ae90c5b11
@uppy/golden-retriever: migrate to TS (#4989)
Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
2024-03-18 14:23:24 +01:00
dependabot[bot]
1f4f52feb4
Bump follow-redirects from 1.15.4 to 1.15.6 (#5002) 2024-03-18 10:44:58 +01:00
Antoine du Hamel
7f73a5cf1a
meta: fix resize-observer-polyfill types (#4994)
The upstream package is defining its own types which are incompatible
with TS built-in DOM types.
2024-03-14 18:13:32 +01:00
Antoine du Hamel
ac0f07a750
@uppy/core: various type fixes (#4995)
* @uppy/core: fix `addTarget` types

* @uppy/core: export `UploadResult` type

* @uppy/core: expose `clearUploadedFiles` for Dashboard

* @uppy/golden-retriever changes

---------

Co-authored-by: Murderlon <merlijn@soverin.net>
2024-03-14 18:13:17 +01:00
Antoine du Hamel
da623ffa7f
@uppy/utils: fix findAllDOMElements type (#4997) 2024-03-14 18:12:48 +01:00
Antoine du Hamel
53e6046a1e
@uppy/status-bar: fix recoveredState type (#4996)
Co-authored-by: Murderlon <merlijn@soverin.net>
2024-03-14 13:57:25 +01:00
Antoine du Hamel
70ca9e6f01
@uppy/utils: fix AbortablePromise type (#4988) 2024-03-13 10:26:22 +01:00
Evgenia Karunus
1c1062a9cc
Fix breadcrumbs (#4986)
ProviderView.tsx - fix onedrive breadcrumbs
2024-03-12 09:37:15 +01:00
Antoine du Hamel
536d614437
@uppy/drag-drop: refactor to TypeScript (#4983) 2024-03-11 15:40:09 +01:00
Antoine du Hamel
aefb32533c
@uppy/webcam: refactor to TypeScript (#4870)
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
2024-03-11 15:30:03 +01:00
Merlijn Vos
21e44763bf
@uppy/url: migrate to TS (#4980)
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-03-11 10:42:49 +01:00
Murderlon
c352d2772c
@uppy/zoom: refactor to TypeScript (#4979) 2024-03-10 11:23:03 +01:00
Murderlon
811c8ebd24
@uppy/unsplash: refactor to TypeScript (#4979) 2024-03-10 11:23:01 +01:00
Murderlon
d75b05ffae
@uppy/onedrive: refactor to TypeScript (#4979) 2024-03-10 11:22:59 +01:00
Murderlon
6e5f73b102
@uppy/instagram: refactor to TypeScript (#4979) 2024-03-10 11:22:57 +01:00
Murderlon
524a19f26d
@uppy/google-drive: refactor to TypeScript (#4979) 2024-03-10 11:22:55 +01:00
Murderlon
759022aea5
@uppy/facebook: refactor to TypeScript (#4979) 2024-03-10 11:22:53 +01:00
Murderlon
f72ec1b7ef
@uppy/dropbox: refactor to TypeScript (#4979) 2024-03-10 11:22:51 +01:00
Murderlon
c8f1af8d12
@uppy/box: refactor to TypeScript (#4979) 2024-03-10 11:22:34 +01:00
Merlijn Vos
49bd8cb00e
@uppy/utils: migrate RateLimitedQueue to TS (#4981)
Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
2024-03-07 15:24:42 +01:00
Merlijn Vos
d6ae3b4bad
@uppy/thumbnail-generator: migrate to TS (#4978)
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-03-07 15:24:17 +01:00