-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* main: (90 commits) crash if trying to set path to / (#5003) fix `super.toggleCheckbox` bug (#5004) @uppy/aws-s3-multipart: fix escaping issue with client signed request (#5006) add missing exports (#5009) @uppy/transloadit: migrate to TS (#4987) @uppy/utils: fix `RateLimitedQueue#wrapPromiseFunction` types (#5007) @uppy/golden-retriever: migrate to TS (#4989) Bump follow-redirects from 1.15.4 to 1.15.6 (#5002) meta: fix `resize-observer-polyfill` types (#4994) @uppy/core: various type fixes (#4995) @uppy/utils: fix `findAllDOMElements` type (#4997) @uppy/status-bar: fix `recoveredState` type (#4996) @uppy/utils: fix `AbortablePromise` type (#4988) Fix breadcrumbs (#4986) @uppy/drag-drop: refactor to TypeScript (#4983) @uppy/webcam: refactor to TypeScript (#4870) @uppy/url: migrate to TS (#4980) @uppy/zoom: refactor to TypeScript (#4979) @uppy/unsplash: refactor to TypeScript (#4979) @uppy/onedrive: refactor to TypeScript (#4979) ...
- Loading branch information
Showing
458 changed files
with
11,414 additions
and
5,410 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
{ | ||
"folders": [ | ||
{ | ||
"path": ".." | ||
} | ||
], | ||
"settings": { | ||
"workbench.colorCustomizations": { | ||
"titleBar.activeForeground": "#ffffff", | ||
"titleBar.activeBackground": "#ff009d", | ||
}, | ||
"search.exclude": { | ||
"website/public/": true, | ||
"node_modules/": true, | ||
"website/node_modules/": true, | ||
"dist/": true, | ||
"lib/": true, | ||
"package-lock.json": true, | ||
"website/package-lock.json": true, | ||
"yarn-error.log": true, | ||
"website/.deploy_git": true, | ||
"npm-debug.log": true, | ||
"website/npm-debug.log": true, | ||
"website/debug.log": true, | ||
"nohup.out": true, | ||
"yarn.lock": true | ||
} | ||
} | ||
"folders": [ | ||
{ | ||
"path": "..", | ||
}, | ||
], | ||
"settings": { | ||
"workbench.colorCustomizations": { | ||
"titleBar.activeForeground": "#ffffff", | ||
"titleBar.activeBackground": "#ff009d", | ||
}, | ||
"search.exclude": { | ||
"website/public/": true, | ||
"node_modules/": true, | ||
"website/node_modules/": true, | ||
"dist/": true, | ||
"lib/": true, | ||
"package-lock.json": true, | ||
"website/package-lock.json": true, | ||
"yarn-error.log": true, | ||
"website/.deploy_git": true, | ||
"npm-debug.log": true, | ||
"website/npm-debug.log": true, | ||
"website/debug.log": true, | ||
"nohup.out": true, | ||
"yarn.lock": true, | ||
}, | ||
}, | ||
} |
19 changes: 19 additions & 0 deletions
19
.yarn/patches/resize-observer-polyfill-npm-1.5.1-603120e8a0.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
diff --git a/src/index.d.ts b/src/index.d.ts | ||
index 74aacc0526ff554e9248c3f6fb44c353b5465efc..1b236d215a9db4cbc1c83f4d8bce24add202483e 100644 | ||
--- a/src/index.d.ts | ||
+++ b/src/index.d.ts | ||
@@ -1,14 +1,3 @@ | ||
-interface DOMRectReadOnly { | ||
- readonly x: number; | ||
- readonly y: number; | ||
- readonly width: number; | ||
- readonly height: number; | ||
- readonly top: number; | ||
- readonly right: number; | ||
- readonly bottom: number; | ||
- readonly left: number; | ||
-} | ||
- | ||
declare global { | ||
interface ResizeObserverCallback { | ||
(entries: ResizeObserverEntry[], observer: ResizeObserver): void |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
diff --git a/lib/index.d.ts b/lib/index.d.ts | ||
index 7a4efead6df94263db77b12c72ddaeafaeaa406c..e47e63f1159f19dd780986f7e33ffdd70bfdc371 100644 | ||
--- a/lib/index.d.ts | ||
+++ b/lib/index.d.ts | ||
@@ -2,7 +2,12 @@ | ||
|
||
export const isSupported: boolean | ||
export const canStoreURLs: boolean | ||
-export const defaultOptions: UploadOptions | ||
+export const defaultOptions: UploadOptions & Required<Pick<UploadOptions, | ||
+| 'httpStack' | ||
+| 'fileReader' | ||
+| 'urlStorage' | ||
+| 'fingerprint' | ||
+>> | ||
|
||
// TODO: Consider using { read: () => Promise<{ done: boolean; value?: any; }>; } as type | ||
export class Upload { | ||
@@ -12,7 +17,7 @@ export class Upload { | ||
options: UploadOptions | ||
url: string | null | ||
|
||
- static terminate(url: string, options?: UploadOptions): Promise<void> | ||
+ static terminate(url: string, options: UploadOptions): Promise<void> | ||
start(): void | ||
abort(shouldTerminate?: boolean): Promise<void> | ||
findPreviousUploads(): Promise<PreviousUpload[]> | ||
@@ -25,7 +30,7 @@ interface UploadOptions { | ||
|
||
uploadUrl?: string | null | ||
metadata?: { [key: string]: string } | ||
- fingerprint?: (file: File, options?: UploadOptions) => Promise<string> | ||
+ fingerprint?: (file: File, options: UploadOptions) => Promise<string> | ||
uploadSize?: number | null | ||
|
||
onProgress?: ((bytesSent: number, bytesTotal: number) => void) | null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.