uppy/packages/@uppy
Mikael Finstad 4e37517327
Companion improve logging (#3103)
* reorder code to fix lint warning

* Improve logging

When logging an object it would print [object Object] if `color` was set.
e.g.: google drive callback: "callback.oauth.resp [object Object]"
Now we will instead use util.inspect before calling color
Also fix some linting warnings

* Only util.inspect if not already string

this fixes tests
also simplify masking logic (only need to mask once)

* add test for object log masking

also simplify tests (reuse logic)
2021-08-17 12:33:04 +01:00
..
angular Release 2021-08-02 22:38:11 +01:00
aws-s3 update nanoid to 3.1.25 to fix missing commonjs issue 2021-08-12 14:28:23 +01:00
aws-s3-multipart @uppy/aws-s3-multipart: add support for presigned URL batching (#3056) 2021-08-11 15:04:05 +02:00
box UIPlugin fix: prevent Preact replacing contents of body element by using createDocumentFragment (#3072) 2021-08-06 10:02:11 +01:00
companion Companion improve logging (#3103) 2021-08-17 12:33:04 +01:00
companion-client deps: remove qs-stringify from dependencies (#3077) 2021-08-06 11:03:47 +01:00
core update nanoid to 3.1.25 to fix missing commonjs issue 2021-08-12 14:28:23 +01:00
dashboard Fix editFile locale usage (#3108) 2021-08-17 12:32:21 +01:00
drag-drop UIPlugin fix: prevent Preact replacing contents of body element by using createDocumentFragment (#3072) 2021-08-06 10:02:11 +01:00
drop-target Release 2021-08-02 22:38:11 +01:00
dropbox UIPlugin fix: prevent Preact replacing contents of body element by using createDocumentFragment (#3072) 2021-08-06 10:02:11 +01:00
facebook UIPlugin fix: prevent Preact replacing contents of body element by using createDocumentFragment (#3072) 2021-08-06 10:02:11 +01:00
file-input UIPlugin fix: prevent Preact replacing contents of body element by using createDocumentFragment (#3072) 2021-08-06 10:02:11 +01:00
form UIPlugin fix: prevent Preact replacing contents of body element by using createDocumentFragment (#3072) 2021-08-06 10:02:11 +01:00
golden-retriever Release 2021-08-02 22:38:11 +01:00
google-drive UIPlugin fix: prevent Preact replacing contents of body element by using createDocumentFragment (#3072) 2021-08-06 10:02:11 +01:00
image-editor Release 2021-08-02 22:38:11 +01:00
informer UIPlugin fix: prevent Preact replacing contents of body element by using createDocumentFragment (#3072) 2021-08-06 10:02:11 +01:00
instagram UIPlugin fix: prevent Preact replacing contents of body element by using createDocumentFragment (#3072) 2021-08-06 10:02:11 +01:00
locales Fix editFile locale usage (#3108) 2021-08-17 12:32:21 +01:00
onedrive UIPlugin fix: prevent Preact replacing contents of body element by using createDocumentFragment (#3072) 2021-08-06 10:02:11 +01:00
progress-bar UIPlugin fix: prevent Preact replacing contents of body element by using createDocumentFragment (#3072) 2021-08-06 10:02:11 +01:00
provider-views @uppy/utils: remove ponyfill for Array#findIndex (#3080) 2021-08-09 16:12:51 +02:00
react UIPlugin fix: prevent Preact replacing contents of body element by using createDocumentFragment (#3072) 2021-08-06 10:02:11 +01:00
react-native Release 2021-08-02 22:38:11 +01:00
redux-dev-tools Release 2021-08-02 22:38:11 +01:00
robodog Roll back the CDN urls — v2.0.0-alpha.0 is not on CDN 2021-08-03 13:47:25 +01:00
screen-capture Release 2021-08-02 22:38:11 +01:00
status-bar UIPlugin fix: prevent Preact replacing contents of body element by using createDocumentFragment (#3072) 2021-08-06 10:02:11 +01:00
store-default Release 2021-08-02 22:38:11 +01:00
store-redux update nanoid to 3.1.25 to fix missing commonjs issue 2021-08-12 14:28:23 +01:00
svelte Fix editFile locale usage (#3108) 2021-08-17 12:32:21 +01:00
thumbnail-generator Release 2021-08-02 22:38:11 +01:00
transloadit Release 2021-08-02 22:38:11 +01:00
tus Release 2021-08-02 22:38:11 +01:00
unsplash UIPlugin fix: prevent Preact replacing contents of body element by using createDocumentFragment (#3072) 2021-08-06 10:02:11 +01:00
url UIPlugin fix: prevent Preact replacing contents of body element by using createDocumentFragment (#3072) 2021-08-06 10:02:11 +01:00
utils @uppy/utils: resolve remaining linter errors (#3091) 2021-08-10 16:06:49 +02:00
vue Release 2021-08-02 22:38:11 +01:00
webcam Fix webcam mirror option (#3074) 2021-08-06 11:29:23 +02:00
xhr-upload update nanoid to 3.1.25 to fix missing commonjs issue 2021-08-12 14:28:23 +01:00
zoom UIPlugin fix: prevent Preact replacing contents of body element by using createDocumentFragment (#3072) 2021-08-06 10:02:11 +01:00