Merge pull request #17130 from nextcloud/refactor/deprecate-global-dompurify
Deprecate the global DOMPurify
This commit is contained in:
commit
4cae5ae368
3 changed files with 1 additions and 1 deletions
BIN
core/js/dist/main.js
vendored
BIN
core/js/dist/main.js
vendored
Binary file not shown.
BIN
core/js/dist/main.js.map
vendored
BIN
core/js/dist/main.js.map
vendored
Binary file not shown.
|
@ -107,7 +107,7 @@ window['Clipboard'] = ClipboardJS
|
|||
window['ClipboardJS'] = ClipboardJS
|
||||
window['cssVars'] = cssVars
|
||||
window['dav'] = dav
|
||||
window['DOMPurify'] = DOMPurify
|
||||
setDeprecatedProp('DOMPurify', () => DOMPurify, 'The global DOMPurify is deprecated, ship your own')
|
||||
window['Handlebars'] = Handlebars
|
||||
window['jstimezonedetect'] = jstimezonedetect
|
||||
window['jstz'] = jstimezonedetect
|
||||
|
|
Loading…
Reference in a new issue