* add stylelint with stylelint-config-standard
* autofix style issues
* fix more linting issues
* add stylelint-scss
* fix two more
* add stylelint-config-rational-order and autofix order
https://github.com/constverum/stylelint-config-rational-order
* @uppy/dashboard: fix metafield form validation
Browsers without support for the HTML `form` attribute would misbehave,
making it impossible to validate the form at all, and potentially validate an
unrelated upper form if users are embeding Uppy inside a a `<form>`.
Fixes: https://github.com/transloadit/uppy/issues/3111
* Add comments
* Fix docs and types
* 'main' of https://github.com/transloadit/uppy:
Add referrer to transloadit.com link (#3116)
@uppy/locales latest version is 1.22.0 🙈
Stricter linter (#3095)
@uppy/aws-s3: refactor to use private fields (#3094)
build: fix legacy bundle (#3112)
Fix locales — point to CDN v1.31.0
* enforce some eslint rules
* enforce accessibility linter rules
* harden lint rules with only 1 or 2 warnings
* fix remaining rules with less than 3 warnings
* fix e2e tests
* fix remaining rules with less than 4 warnings
* fix remaining rules with less than 6 warnings
* fix `shuffleTaglines`
* fix companion build
* 'main' of https://github.com/transloadit/uppy:
Changelog for 1.31.0 and patches
Strictly type uppy events (#3085)
Create `onUnmount` in `UIPlugin` for plugins that require clean up (#3093)
Companion improve logging (#3103)
Fix `editFile` locale usage (#3108)
- Create and call `onUnmount` in `UIPlugin` for plugins that require clean up
- Update webcam `stop` to clean up when already recording
- Update "Writing plugins" docs
- Move `onMount` and `onUnmount` from `BasePlugin` into `UIPlugin`
- Update types
* 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