From e696c975e5244bd37b58abbfd8bd795cd58941fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9verin=20Beauvais?= Date: Fri, 10 Nov 2023 14:28:59 -0800 Subject: [PATCH] - app version = 4.7.7 (#543) - uninstalled v-sanitize - installed vue-sanitize-directive - updated imports - added "basic" option (same as default with old package) --- package-lock.json | 34 ++++++++----------- package.json | 4 +-- .../SpecialResolution/ResolutionEditor.vue | 2 +- .../SpecialResolution/ResolutionSummary.vue | 2 +- src/main.ts | 4 +-- tests/setup.ts | 4 +-- 6 files changed, 22 insertions(+), 28 deletions(-) diff --git a/package-lock.json b/package-lock.json index a1acc461..812ab2a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "business-edit-ui", - "version": "4.7.6", + "version": "4.7.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "business-edit-ui", - "version": "4.7.6", + "version": "4.7.7", "dependencies": { "@babel/compat-data": "^7.21.5", "@bcrs-shared-components/action-chip": "1.1.5", @@ -47,11 +47,11 @@ "sbc-common-components": "3.0.8", "tiptap-vuetify": "^2.24.0", "uuid": "^9.0.0", - "v-sanitize": "^0.0.11", "vue": "2.7.14", "vue-affix": "^0.5.2", "vue-hotjar": "^1.4.0", "vue-router": "^3.6.5", + "vue-sanitize-directive": "^0.2.1", "vue-the-mask": "^0.11.1", "vue2-filters": "^0.14.0", "vuelidate": "0.6.2", @@ -4755,11 +4755,6 @@ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", "dev": true }, - "node_modules/lodash.mergewith": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz", - "integrity": "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==" - }, "node_modules/lodash.omit": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.omit/-/lodash.omit-4.5.0.tgz", @@ -6161,9 +6156,9 @@ "dev": true }, "node_modules/sanitize-html": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.10.0.tgz", - "integrity": "sha512-JqdovUd81dG4k87vZt6uA6YhDfWkUGruUu/aPmXLxXi45gZExnt9Bnw/qeQU8oGf82vPyaE0vO4aH0PbobB9JQ==", + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.11.0.tgz", + "integrity": "sha512-BG68EDHRaGKqlsNjJ2xUB7gpInPA8gVx/mvjO743hZaeMCZ2DwzW7xvsqZ+KNU4QKwj86HJ3uu2liISf2qBBUA==", "dependencies": { "deepmerge": "^4.2.2", "escape-string-regexp": "^4.0.0", @@ -7201,15 +7196,6 @@ "uuid": "dist/bin/uuid" } }, - "node_modules/v-sanitize": { - "version": "0.0.11", - "resolved": "https://registry.npmjs.org/v-sanitize/-/v-sanitize-0.0.11.tgz", - "integrity": "sha512-8jB3BbljVQVFHVp08ahhUkPDcfwztExO6onx7RPMHi/186UQFbsec8TyfBEO6cInLMqaJ2jeOscR41sIal4zFg==", - "dependencies": { - "lodash.mergewith": "^4.6.2", - "sanitize-html": "~2.10.0" - } - }, "node_modules/v8-compile-cache": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.4.0.tgz", @@ -8193,6 +8179,14 @@ "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.6.5.tgz", "integrity": "sha512-VYXZQLtjuvKxxcshuRAwjHnciqZVoXAjTjcqBTz4rKc8qih9g9pI3hbDjmqXaHdgL3v8pV6P8Z335XvHzESxLQ==" }, + "node_modules/vue-sanitize-directive": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/vue-sanitize-directive/-/vue-sanitize-directive-0.2.1.tgz", + "integrity": "sha512-yxs4xhx4bRTURdJIq+YjBn3X8XaqKAPuYgwCBnDdsbRm6bjtfFFwq6CHwDnU3Hxp7e4Sz7GKp0ve0qt/kCpdgA==", + "dependencies": { + "sanitize-html": "^2.7.1" + } + }, "node_modules/vue-template-compiler": { "version": "2.7.14", "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.7.14.tgz", diff --git a/package.json b/package.json index 88929d22..cff2af54 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "business-edit-ui", - "version": "4.7.6", + "version": "4.7.7", "private": true, "appName": "Edit UI", "sbcName": "SBC Common Components", @@ -52,11 +52,11 @@ "sbc-common-components": "3.0.8", "tiptap-vuetify": "^2.24.0", "uuid": "^9.0.0", - "v-sanitize": "^0.0.11", "vue": "2.7.14", "vue-affix": "^0.5.2", "vue-hotjar": "^1.4.0", "vue-router": "^3.6.5", + "vue-sanitize-directive": "^0.2.1", "vue-the-mask": "^0.11.1", "vue2-filters": "^0.14.0", "vuelidate": "0.6.2", diff --git a/src/components/SpecialResolution/ResolutionEditor.vue b/src/components/SpecialResolution/ResolutionEditor.vue index 011e34f2..351d9d0c 100644 --- a/src/components/SpecialResolution/ResolutionEditor.vue +++ b/src/components/SpecialResolution/ResolutionEditor.vue @@ -114,7 +114,7 @@
diff --git a/src/components/SpecialResolution/ResolutionSummary.vue b/src/components/SpecialResolution/ResolutionSummary.vue index 9acf5bb7..3ab7da02 100644 --- a/src/components/SpecialResolution/ResolutionSummary.vue +++ b/src/components/SpecialResolution/ResolutionSummary.vue @@ -50,7 +50,7 @@ >
diff --git a/src/main.ts b/src/main.ts index cc8a7e95..160f839e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -6,7 +6,7 @@ import 'regenerator-runtime/runtime' // to use transpiled generator functions import Vue from 'vue' import Vuetify from 'vuetify' import Vuelidate from 'vuelidate' -import VSanitize from 'v-sanitize' +import VueSanitize from 'vue-sanitize-directive' import Affix from 'vue-affix' import Vue2Filters from 'vue2-filters' // needed by SbcFeeSummary import Hotjar from 'vue-hotjar' @@ -42,7 +42,7 @@ Vue.use(Affix) Vue.use(Vuelidate) Vue.use(Vue2Filters) // Default options - https://github.com/apostrophecms/sanitize-html (under Default options) -Vue.use(VSanitize) +Vue.use(VueSanitize) const vuetify = new Vuetify({ iconfont: 'mdi', theme: { diff --git a/tests/setup.ts b/tests/setup.ts index 4ebeb29a..72b42ec7 100644 --- a/tests/setup.ts +++ b/tests/setup.ts @@ -3,7 +3,7 @@ * why some of the errors are showing up due to Vue not having the plugins it needs. * See src/main.ts. */ -import VSanitize from 'v-sanitize' +import VueSanitize from 'vue-sanitize-directive' import Vuelidate from 'vuelidate' import Vue from 'vue' import Affix from 'vue-affix' @@ -16,7 +16,7 @@ Vue.use(Affix) // needed for address component or Completing Party Vue.use(Vuelidate) Vue.use(Vue2Filters) -Vue.use(VSanitize) +Vue.use(VueSanitize) const vuetify = new Vuetify({})