diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-02-08 21:45:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-08 21:45:33 +0100 |
commit | 3b77df94e2d359221939c4637bc9f35e89a9bbdc (patch) | |
tree | be6ec3b621b16094e8319f46b69876387f374257 | |
parent | cdf7840d00a116b4cd7a1909f7f24e60a79aebd6 (diff) | |
parent | a5891fb2ecca3a74d802abe133a649e62cfeb42c (diff) | |
download | nextcloud-server-3b77df94e2d359221939c4637bc9f35e89a9bbdc.tar.gz nextcloud-server-3b77df94e2d359221939c4637bc9f35e89a9bbdc.zip |
Merge pull request #43466 from nextcloud/chore/remove-autosize
chore!: Remove global `autosize`
-rw-r--r-- | core/src/globals.js | 3 | ||||
-rw-r--r-- | package-lock.json | 6 | ||||
-rw-r--r-- | package.json | 1 |
3 files changed, 1 insertions, 9 deletions
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') diff --git a/package-lock.json b/package-lock.json index baf53129557..50cfca3e66a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index 438b8802db0..7b1beac0080 100644 --- a/package.json +++ b/package.json @@ -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", |