Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2021-02-04 00:45:15 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2021-02-04 00:45:15 +0300
commita9b1ed4ba73117e78d78f7c61e6aa84c6a247e46 (patch)
tree6b47ab9ba57272979f489908c1d9ed172693598c /core/src
parent2004bf74eba60cce1fe8b2f56c567025c4b3270f (diff)
Kill DOMPurify from main bundle
Apps using this should ship their own. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/globals.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/src/globals.js b/core/src/globals.js
index 08e5419f051..e0d2c4b8ead 100644
--- a/core/src/globals.js
+++ b/core/src/globals.js
@@ -37,7 +37,6 @@ import 'bootstrap/js/dist/tooltip'
import './Polyfill/tooltip'
import ClipboardJS from 'clipboard'
import { dav } from 'davclient.js'
-import DOMPurify from 'dompurify'
import Handlebars from 'handlebars'
import 'jcrop/js/jquery.Jcrop'
import 'jcrop/css/jquery.Jcrop.css'
@@ -105,7 +104,6 @@ setDeprecatedProp('autosize', () => autosize, 'please ship your own, this will b
setDeprecatedProp('Backbone', () => Backbone, 'please ship your own, this will be removed in Nextcloud 20')
setDeprecatedProp(['Clipboard', 'ClipboardJS'], () => ClipboardJS, 'please ship your own, this will be removed in Nextcloud 20')
window.dav = dav
-setDeprecatedProp('DOMPurify', () => DOMPurify, 'The global DOMPurify is deprecated, this will be removed in Nextcloud 21')
setDeprecatedProp('Handlebars', () => Handlebars, 'please ship your own, this will be removed in Nextcloud 20')
setDeprecatedProp(['jstz', 'jstimezonedetect'], () => jstimezonedetect, 'please ship your own, this will be removed in Nextcloud 20')
setDeprecatedProp('md5', () => md5, 'please ship your own, this will be removed in Nextcloud 20')