mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
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 <opensource@fthiessen.de>
This commit is contained in:
parent
cdf7840d00
commit
a5891fb2ec
3 changed files with 1 additions and 9 deletions
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
6
package-lock.json
generated
6
package-lock.json
generated
|
|
@ -35,7 +35,6 @@
|
|||
"@vueuse/components": "^10.7.2",
|
||||
"@vueuse/core": "^10.7.2",
|
||||
"@vueuse/integrations": "^10.7.2",
|
||||
"autosize": "^6.0.1",
|
||||
"backbone": "^1.4.1",
|
||||
"blueimp-md5": "^2.19.0",
|
||||
"browserslist-useragent-regexp": "^4.0.0",
|
||||
|
|
@ -7001,11 +7000,6 @@
|
|||
"node": ">= 4.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/autosize": {
|
||||
"version": "6.0.1",
|
||||
"resolved": "https://registry.npmjs.org/autosize/-/autosize-6.0.1.tgz",
|
||||
"integrity": "sha512-f86EjiUKE6Xvczc4ioP1JBlWG7FKrE13qe/DxBCpe8GCipCq2nFw73aO8QEBKHfSbYGDN5eB9jXWKen7tspDqQ=="
|
||||
},
|
||||
"node_modules/available-typed-arrays": {
|
||||
"version": "1.0.5",
|
||||
"resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz",
|
||||
|
|
|
|||
|
|
@ -62,7 +62,6 @@
|
|||
"@vueuse/components": "^10.7.2",
|
||||
"@vueuse/core": "^10.7.2",
|
||||
"@vueuse/integrations": "^10.7.2",
|
||||
"autosize": "^6.0.1",
|
||||
"backbone": "^1.4.1",
|
||||
"blueimp-md5": "^2.19.0",
|
||||
"browserslist-useragent-regexp": "^4.0.0",
|
||||
|
|
|
|||
Loading…
Reference in a new issue