dotkom / onlineweb4

Web pages for Online, Linjeforeningen for Informatikk at NTNU
https://online.ntnu.no
MIT License
48 stars 23 forks source link

Update dependency dropzone to v5 #3250

Closed renovate[bot] closed 2 weeks ago

renovate[bot] commented 3 weeks ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
dropzone (source) ^4.3.0 -> ^5.0.0 age adoption passing confidence

Release Notes

dropzone/dropzone (dropzone) ### [`v5.9.3`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#593) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v5.9.2...v5.9.3) - Fix incorrect resize method used for creating thumbnails of existing files (thanks to [@​gplwhite](https://togithub.com/gplwhite)) ### [`v5.9.2`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#592) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v5.9.1...v5.9.2) - Handle `xhr.readyState` in the `submitRequest` function and don't attempt to send if it's not `1` (OPENED). (thanks to [@​bobbysmith007](https://togithub.com/bobbysmith007)) ### [`v5.9.1`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#591) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v5.9.0...v5.9.1) - Fix the way upload progress is calculated when using chunked uploads. (thanks to [@​ckovey](https://togithub.com/ckovey)) ### [`v5.9.0`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#590) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v5.8.1...v5.9.0) - Properly handle when timeout is null or 0 - Make the default of timeout null ### [`v5.8.1`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#581) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v5.8.0...v5.8.1) - Fix custom event polyfill for IE11 - Fix build to use ES5 instead of ES6, which was broken due to webpack upgrade. (thanks to [@​fukayatsu](https://togithub.com/fukayatsu)) ### [`v5.8.0`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#580) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v5.7.6...v5.8.0) - Dropzone now also triggers custom events on the DOM element. The custom events are the same as the events you can listen on with Dropzone but start with `dropzone:`. (thanks to [@​1cg](https://togithub.com/1cg)) - Moved the `./src/options.js` previewTemplate in its own `preview-template.html` file. - Switched to yarn as the primary package manager (shouldn't affect anybody that is not working Dropzone itself). ### [`v5.7.6`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#576) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v5.7.5...v5.7.6) - Revert `dist/min/*.css` files to be named `dist/min/*.min.css`. - Setup bower releases. ### [`v5.7.5`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#575) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v5.7.4...v5.7.5) - Rename `blacklistedBrowsers` to `blockedBrowsers` (but still accept `blacklistedBrowsers` for legacy). - Add automatic trigger for packagist deployment. - Fix links in `package.json`. ### [`v5.7.4`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#574) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v5.7.3...v5.7.4) - Prevent hidden input field from getting focus (thanks to [@​sinedied](https://togithub.com/sinedied)) - Fix documentation of `maxFilesize` (thanks to [@​alxndr-w](https://togithub.com/alxndr-w)) - Fix build issues so the UMD module can be imported properly ### [`v5.7.3`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#573-retracted) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v5.7.2...v5.7.3) - Add `disablePreviews` option. - Fix IE problems with Symbols. - **WARNING**: This release had issues because the .js files couldn't be imported as AMD/CommonJS packages properly. The standalone version worked fine though. I have retracted this version from npm but have left the release on GitHub. ### [`v5.7.2`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#572) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v5.7.1...v5.7.2) - Base the calculation of the chunks to send on the transformed files - Properly display seconds (instead of ms) in error message when timeout is reached - Properly handle it when `options.method` is a function (there was a bug, which always assumed that it was a String) (thanks to [@​almdac](https://togithub.com/almdac)) - Fix orientation on devices that already handle it properly (thanks to [@​nosegrind](https://togithub.com/nosegrind)) - Handle additionalParams when they are an Array the way it's expected (thanks to [@​wiz78](https://togithub.com/wiz78)) - Check for `string` in error message type instead of `String` (thanks to [@​RuQuentin](https://togithub.com/RuQuentin)) ### [`v5.7.1`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#571) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v5.7.0...v5.7.1) - Fix issue with IE (thanks to [@​Bjego](https://togithub.com/Bjego)) ### [`v5.7.0`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#570) [Compare Source](https://togithub.com/dropzone/dropzone/compare/d62e9539f7d1b774aa8df1be44dce3079cf0e5a8...v5.7.0) - Cleanup the SVGs used to remove IDs and sketch attributes Since SVGs are duplicated this resulted in duplicate IDs being used. - Add a dedicated `displayExistingFile` method to make it easier to display server files. - Fix an error where chunked uploads don't work as expected when transforming files before uploading. - Make the default text a button so it's discoverable by keyboard. ### [`v5.6.1`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#561) [Compare Source](https://togithub.com/dropzone/dropzone/compare/421cb2fbac7da121099bbf4647d7b9f9e68e7fbf...d62e9539f7d1b774aa8df1be44dce3079cf0e5a8) - Re-released due to missing javascript files - Removes `npm` dependency that got added by mistake ### [`v5.6.0`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#560) [Compare Source](https://togithub.com/dropzone/dropzone/compare/eb4bba624b075379197f42ac6890aa4ad57290a4...421cb2fbac7da121099bbf4647d7b9f9e68e7fbf) - Timeout now generates an error (thanks to [@​mmollick](https://togithub.com/mmollick)) - Fix duplicate iteration of error processing ([#​159](https://togithub.com/dropzone/dropzone/issues/159) thanks [@​darkland](https://togithub.com/darkland)) - Fixed bootstrap example ([@​thanks](https://togithub.com/thanks) to [@​polosatus](https://togithub.com/polosatus)) - The `addedfiles` event now triggers *after* each individual `addedfile` event when dragging files into the dropzone, which is the same behavior as when clicking it. ### [`v5.5.1`](https://togithub.com/dropzone/dropzone/compare/v5.5.0...eb4bba624b075379197f42ac6890aa4ad57290a4) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v5.5.0...eb4bba624b075379197f42ac6890aa4ad57290a4) ### [`v5.5.0`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#550) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v5.4.0...v5.5.0) - Correct photo orientation before uploading (if enabled) (thanks to [@​nosegrind](https://togithub.com/nosegrind)) - Remove a potential memory leak in some browsers by keeping a reference to `xhr` inside the individual chunk objects (thanks to [@​clayton2](https://togithub.com/clayton2)) - Allow HTML in the remove links (thanks to [@​christianklemp](https://togithub.com/christianklemp)) - `hiddenInputContainer` can now be an `HtmlElement` in addition to a selector String (thanks to [@​WAmeling](https://togithub.com/WAmeling)) - Fix default values on website (since the last deployment, the default values all stated `null`) ### [`v5.4.0`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#540) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v5.3.1...v5.4.0) - Fix IE11 issue when dropping files ### [`v5.3.1`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#531) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v5.3.0...v5.3.1) - Fix broken npm release of 5.3.0 ### [`v5.3.0`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#530) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v5.2.0...v5.3.0) - Add `dictUploadCanceled` option (thanks to [@​Fohlen](https://togithub.com/Fohlen)) - Fix issue with drag'n'drop on Safari and IE10 (thanks to [@​taylorryan](https://togithub.com/taylorryan)) - Fix issues with resizing if SVG files are dropped (thanks to [@​saschagros](https://togithub.com/saschagros)) ### [`v5.2.0`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#520) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v5.1.1...v5.2.0) - **Migrated from coffeescript to ES6!** - **Added chunked file uploading!** The highly requested chunked uploads are now available. Checkout the `chunking` option documentation for more information. - Fixed a faulty `console.warning` (should be `console.warn`) - If an input field doesn't have a name, don't include it when sending the form (thanks to [@​remyj38](https://togithub.com/remyj38)) - Opera on Windows Phone is now also blacklisted (thanks to [@​dracos1](https://togithub.com/dracos1)) - If a custom preview element is used, it is now properly handled when it doesn't have a parent (thanks to [@​uNmAnNeR](https://togithub.com/uNmAnNeR)) ### [`v5.1.1`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#511) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v5.1.0...v5.1.1) - Fix issue where showing files already on the server fails, due to the missing `file.upload.filename` - Fix issue where `file.upload.filename` gets removed after the file uploaded completed - Properly handle `arraybuffer` and `blob` responses ### [`v5.1.0`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#510) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v5.0.1...v5.1.0) - Add possibility to translate file sizes. ([#​16](https://togithub.com/dropzone/dropzone/issues/16) thanks to [@​lerarybak](https://togithub.com/lerarybak) for that) - Fix duplicate filenames in multiple file uploads ([#​15](https://togithub.com/dropzone/dropzone/issues/15)) - The `renameFilename` option has been **deprecated**. Use `renameFile` instead (which also has a slightly different function signature) - The `renameFile` option now stores the new name in `file.upload.filename` ([#​1](https://togithub.com/dropzone/dropzone/issues/1)) ### [`v5.0.1`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#501) [Compare Source](https://togithub.com/dropzone/dropzone/compare/8fa827a697a1a9f0bb82e82d7ee832c7776da0c1...v5.0.1) - Add missing dist/ folder to npm. ### [`v5.0.0`](https://togithub.com/dropzone/dropzone/blob/HEAD/CHANGELOG.md#500) [Compare Source](https://togithub.com/dropzone/dropzone/compare/v4.3.0...8fa827a697a1a9f0bb82e82d7ee832c7776da0c1) - **Add support for browser image resizing!** Yes, really. The new options are: `resizeWidth`, `resizeHeight`, `resizeMimeType` and `resizeQuality`. Thanks a lot to [MD Systems](https://www.md-systems.ch/) for donating the money to make this a reality. - Fix IE11 issue with `options.timeout` - Resolve an issue that occurs in the iOS squashed image fix, where some transparent PNGs are stretched inaccurately

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 2 weeks ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 5.x releases. But if you manually upgrade to 5.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.