Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
151 changes: 16 additions & 135 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"axios": "^0.27.2",
"core-js": "^3.1.4",
"country-list": "^2.3.0",
"dompurify": "^3.4.1",
"lodash": "4.17.21",
"provinces": "^1.11.0",
"regenerator-runtime": "^0.13.11",
"sanitize-html": "^2.17.3",
"uuid": "^9.0.0",
"vue": "^2.7.14",
"vue-router": "^3.6.5",
Expand Down
4 changes: 2 additions & 2 deletions src/components/certify/Certify.vue
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
<script lang="ts">
import Vue from 'vue'
import { Component, Prop, Emit, Watch } from 'vue-property-decorator'
import sanitizeHtml from 'sanitize-html'
import DOMPurify from 'dompurify'
import { FormIF } from '@bcrs-shared-components/interfaces'

@Component({})
Expand Down Expand Up @@ -231,7 +231,7 @@ export default class Certify extends Vue {
submit this filing on behalf of the ${this.entityDisplay || '[entity type]'}.`
}
get sanitizedMessage (): string {
return sanitizeHtml(this.message)
return DOMPurify.sanitize(this.message)
}

/** Prompt the field validations. */
Expand Down
Loading
Loading