* 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)
* Add first basic test for aws-s3-multipart
* Add another test for GH actions run
* Add whatwg-fetch to aws-s3-multipart package.json
This is to satisfy linter errors, and the other s3 plugin
does this as well
* Adding more tests
* More test progress
* Tests working with nock
* Add another test, for part uploaded event
* Remove spec and refactor to beforeEach
* S3 multipart batch presign working...in theory
* Working batching and tests
* Min needed for presign batch functionality
* Fix lint issues
* Fix syntax error in companion
* Add companion batch presign endpoint
* Improve tests
* Fix each -> forEach
* Remove .prettierrc
* Adding docs and allow for headers with batch prepare
* Review fixes
* Rename prepareUploadPart to prepareUploadParts and use breaking changes
to batch presign URLs there.
* Get rid of unnecessary batchPartPresign and minNeededForPresignBatch
options. Use Math.ceil(limit / 2) for min needed instead.
* Fix up tests.
* Fix up type tests.
* Update documentation.
* Review fixes
* Change _ private methods to use # syntax
* Minor code and docs improvements
* Change Promise.resolve() microtasks to async/await
* Pass createDocumentFragment instead of the targetElement to Preact, so it doesn’t destroy the contents of targetElement
* remove replaceTargetContent
* also remove replaceTargetContent from docs and website
* Add `croppedCanvasOptions` & fix types
* Update website/src/docs/image-editor.md
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Update website/src/docs/image-editor.md
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Update website/src/docs/image-editor.md
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>