Skip to content

Commit 5ff8a30

Browse files
Merge pull request #50818 from nextcloud/dependabot/npm_and_yarn/dompurify-3.2.4
2 parents 3b45ba2 + 9b75352 commit 5ff8a30

File tree

107 files changed

+122
-118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+122
-118
lines changed

apps/systemtags/src/components/SystemTagPicker.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ import type { Tag, TagWithId } from '../types'
128128
import { defineComponent } from 'vue'
129129
import { emit } from '@nextcloud/event-bus'
130130
import { getLanguage, n, t } from '@nextcloud/l10n'
131-
import { sanitize } from 'dompurify'
132131
import { showError, showInfo } from '@nextcloud/dialogs'
133132
import debounce from 'debounce'
133+
import domPurify from 'dompurify'
134134
import escapeHTML from 'escape-html'
135135
136136
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
@@ -378,7 +378,7 @@ export default defineComponent({
378378
})
379379
}
380380
const chipHtml = chipCloneEl.outerHTML
381-
return chipHtml.replace('%s', escapeHTML(sanitize(tag.displayName)))
381+
return chipHtml.replace('%s', escapeHTML(domPurify.sanitize(tag.displayName)))
382382
},
383383
384384
formatTagName(tag: TagWithId): string {

dist/1642-1642.js.license

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ This file is generated from multiple sources. Included packages:
7474
- version: 2.2.0
7575
- license: MIT
7676
- dompurify
77-
- version: 3.1.7
77+
- version: 3.2.4
7878
- license: (MPL-2.0 OR Apache-2.0)
7979
- escape-html
8080
- version: 1.0.3

dist/2452-2452.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/2452-2452.js.license

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ This file is generated from multiple sources. Included packages:
6565
- version: 7.1.2
6666
- license: MIT
6767
- dompurify
68-
- version: 3.1.7
68+
- version: 3.2.4
6969
- license: (MPL-2.0 OR Apache-2.0)
7070
- escape-html
7171
- version: 1.0.3

0 commit comments

Comments
 (0)