From b43f1cdc925c0007355b40836cf4de49858ff69d Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" Date: Mon, 10 Jun 2019 04:53:11 +0000 Subject: [PATCH 1/2] Bump vue-sweetalert-icons from 3.2.0 to 3.2.1 in /webapp Bumps [vue-sweetalert-icons](https://github.com/JorgenVatle/vue-sweetalert-icons) from 3.2.0 to 3.2.1. - [Release notes](https://github.com/JorgenVatle/vue-sweetalert-icons/releases) - [Commits](https://github.com/JorgenVatle/vue-sweetalert-icons/compare/v3.2.0...v3.2.1) Signed-off-by: dependabot-preview[bot] --- webapp/package.json | 2 +- webapp/yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/webapp/package.json b/webapp/package.json index 37495812f..bb38e6803 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -76,8 +76,8 @@ "v-tooltip": "~2.0.2", "vue-count-to": "~1.0.13", "vue-izitoast": "1.1.2", - "vue-sweetalert-icons": "~3.2.0", "vuex-i18n": "~1.13.1", + "vue-sweetalert-icons": "~3.2.1", "zxcvbn": "^4.4.2" }, "devDependencies": { diff --git a/webapp/yarn.lock b/webapp/yarn.lock index 85f56ad9e..7ce8ee523 100644 --- a/webapp/yarn.lock +++ b/webapp/yarn.lock @@ -15053,10 +15053,10 @@ vue-svg-loader@~0.12.0: loader-utils "^1.2.3" svg-to-vue "^0.4.0" -vue-sweetalert-icons@~3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/vue-sweetalert-icons/-/vue-sweetalert-icons-3.2.0.tgz#2926d3af5590b81c0ba3b104212922fc1709396d" - integrity sha512-N18uG8++ZfdCnXO0gHNTmwpB2mAE8WWrwjGeWGa8CnHu6l1emn4RG6E8r1P9crVJ+fx3R9gTUezC+cdVu0mN7w== +vue-sweetalert-icons@~3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/vue-sweetalert-icons/-/vue-sweetalert-icons-3.2.1.tgz#d37b3ee91504e2f5e5a00941f43a0faacd409dfe" + integrity sha512-Exu2+ob+0BhMyo8kkHyEOcG/IDZGSPHxpbt8ZDSUwxPE9Fk/qt6JKiH/Q338giZGHCM9yfFym8yrWiRfPNbM+g== vue-template-compiler@^2.6.10: version "2.6.10" From 27163b8d79d073aa0bc0ca2be47580454e9ae2cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Tue, 6 Aug 2019 10:55:20 +0200 Subject: [PATCH 2/2] Install vue-sweetalert-icon globally Updating the package to `v4.0.0` still gives me this warning: ``` WARN Compiled with 1 warnings WARN in ./components/PasswordReset/ChangePassword.vue?vue&type=script&lang=js& "export 'SweetalertIcon' was not found in 'vue-sweetalert-icons' ``` According to this thread https://github.com/JorgenVatle/vue-sweetalert-icons/issues/3 I copy+pasted the example configuration: https://github.com/JorgenVatle/vue-sweetalert-icons-preview/blob/master/nuxt.config.js https://github.com/JorgenVatle/vue-sweetalert-icons-preview/blob/master/plugins/vue-sweetalert-icons.js And now the compile warnings are gone. I'm going to ask the maintainer if the local import is not possible with `v4.0.0` anymore. --- webapp/components/Modal/ConfirmModal.vue | 5 ----- webapp/components/Modal/ReportModal.vue | 4 ---- .../components/PasswordReset/ChangePassword.vue | 2 -- webapp/components/PasswordReset/Request.vue | 4 ---- .../components/Registration/CreateUserAccount.vue | 2 -- webapp/components/Registration/Signup.vue | 4 ---- webapp/nuxt.config.js | 1 + webapp/package.json | 2 +- webapp/plugins/vue-sweetalert-icons.js | 4 ++++ webapp/yarn.lock | 15 +++++++++------ 10 files changed, 15 insertions(+), 28 deletions(-) create mode 100644 webapp/plugins/vue-sweetalert-icons.js diff --git a/webapp/components/Modal/ConfirmModal.vue b/webapp/components/Modal/ConfirmModal.vue index 147258849..771eee103 100644 --- a/webapp/components/Modal/ConfirmModal.vue +++ b/webapp/components/Modal/ConfirmModal.vue @@ -28,13 +28,8 @@