From adfb9010d47c91c5cc95b764d68ec181a029b475 Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Thu, 2 Dec 2021 14:50:49 +0100 Subject: Migrate to webpack v5 Signed-off-by: Louis Chemineau --- apps/files_sharing/src/mixins/SharesMixin.js | 14 +- apps/settings/src/components/Markdown.vue | 2 +- .../Listener/BeforeTemplateRenderedListener.php | 2 +- core/src/OC/appsettings.js | 5 +- package-lock.json | 43244 ++++++++----------- package.json | 6 +- webpack.common.js | 40 +- webpack.modules.js | 16 +- 8 files changed, 17841 insertions(+), 25488 deletions(-) diff --git a/apps/files_sharing/src/mixins/SharesMixin.js b/apps/files_sharing/src/mixins/SharesMixin.js index 15d3e2712cf..df0d0fec31d 100644 --- a/apps/files_sharing/src/mixins/SharesMixin.js +++ b/apps/files_sharing/src/mixins/SharesMixin.js @@ -93,7 +93,8 @@ export default { /** * Does the current share have a note - * @returns {boolean} + * + * @return {boolean} */ hasNote: { get() { @@ -143,7 +144,7 @@ export default { * firing the request * * @param {Share} share the share to check - * @returns {Boolean} + * @return {boolean} */ checkShare(share) { if (share.password) { @@ -187,7 +188,8 @@ export default { /** * Note changed, let's save it to a different key - * @param {String} note the share note + * + * @param {string} note the share note */ onNoteChange(note) { this.$set(this.share, 'newNote', note.trim()) @@ -241,7 +243,7 @@ export default { // share api controller accepts propertyNames.map(p => (properties[p] = this.share[p].toString())) - this.updateQueue.add(async() => { + this.updateQueue.add(async () => { this.saving = true this.errors = {} try { @@ -270,6 +272,7 @@ export default { /** * Manage sync errors + * * @param {string} property the errored property, e.g. 'password' * @param {string} message the error message */ @@ -321,8 +324,9 @@ export default { /** * Returns which dates are disabled for the datepicker + * * @param {Date} date date to check - * @returns {boolean} + * @return {boolean} */ disabledDate(date) { const dateMoment = moment(date) diff --git a/apps/settings/src/components/Markdown.vue b/apps/settings/src/components/Markdown.vue index 1f7f9b01cf6..fbbbf7456a1 100644 --- a/apps/settings/src/components/Markdown.vue +++ b/apps/settings/src/components/Markdown.vue @@ -25,7 +25,7 @@