From a5891fb2ecca3a74d802abe133a649e62cfeb42c Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 8 Feb 2024 18:46:57 +0100 Subject: chore!: Remove global `autosize` It was deprecated for over 4 years and scheduled for removal with Nextcloud 20. Not used by server or any app anymore. Signed-off-by: Ferdinand Thiessen --- core/src/globals.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core/src') diff --git a/core/src/globals.js b/core/src/globals.js index 1a4c0582768..972778d2484 100644 --- a/core/src/globals.js +++ b/core/src/globals.js @@ -35,7 +35,6 @@ import 'jquery-ui-dist/jquery-ui.js' import 'jquery-ui-dist/jquery-ui.css' import 'jquery-ui-dist/jquery-ui.theme.css' // END TODO -import autosize from 'autosize' import Backbone from 'backbone' import './Polyfill/tooltip.js' import ClipboardJS from 'clipboard' @@ -100,11 +99,11 @@ const setDeprecatedProp = (global, cb, msg) => { window._ = _ setDeprecatedProp(['$', 'jQuery'], () => $, 'The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.') -setDeprecatedProp('autosize', () => autosize, 'please ship your own, this will be removed in Nextcloud 20') 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('Handlebars', () => Handlebars, 'please ship your own, this will be removed in Nextcloud 20') +// Global md5 only required for: apps/files/js/file-upload.js setDeprecatedProp('md5', () => md5, 'please ship your own, this will be removed in Nextcloud 20') setDeprecatedProp('moment', () => moment, 'please ship your own, this will be removed in Nextcloud 20') -- cgit v1.2.3