diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2025-07-03 13:13:02 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2025-07-03 16:58:51 +0200 |
commit | 0a794f4054bca3b8aa542652c6bbf160907ccff5 (patch) | |
tree | 7143ba6c60486f7ba5d96720c58227f0cafd085e | |
parent | 1ded359d7e659e89bdc29aafe47d1e4dee98323b (diff) | |
download | nextcloud-server-chore/files-public-api.tar.gz nextcloud-server-chore/files-public-api.zip |
chore: update `@nextcloud/files` and use now public APIchore/files-public-api
Remove the hack which was needed until the view.hidden attribute was
public API.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-rw-r--r-- | apps/files/src/components/FilesNavigationItem.vue | 2 | ||||
-rw-r--r-- | package-lock.json | 34 | ||||
-rw-r--r-- | package.json | 2 |
3 files changed, 11 insertions, 27 deletions
diff --git a/apps/files/src/components/FilesNavigationItem.vue b/apps/files/src/components/FilesNavigationItem.vue index 2c7c8b4b944..c29bc00c67f 100644 --- a/apps/files/src/components/FilesNavigationItem.vue +++ b/apps/files/src/components/FilesNavigationItem.vue @@ -104,7 +104,7 @@ export default defineComponent({ methods: { filterVisible(views: View[]) { - return views.filter(({ _view, id }) => id === this.currentView?.id || _view.hidden !== true) + return views.filter(({ id, hidden }) => id === this.currentView?.id || hidden !== true) }, hasChildViews(view: View): boolean { diff --git a/package-lock.json b/package-lock.json index 71065a0ccac..dbfffede241 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "@nextcloud/capabilities": "^1.2.0", "@nextcloud/dialogs": "^6.3.1", "@nextcloud/event-bus": "^3.3.2", - "@nextcloud/files": "^3.10.2", + "@nextcloud/files": "^3.11.0", "@nextcloud/initial-state": "^2.2.0", "@nextcloud/l10n": "^3.3.0", "@nextcloud/logger": "^3.0.2", @@ -4243,41 +4243,25 @@ } }, "node_modules/@nextcloud/files": { - "version": "3.10.2", - "resolved": "https://registry.npmjs.org/@nextcloud/files/-/files-3.10.2.tgz", - "integrity": "sha512-8k6zN3nvGW8nEV5Db5DyfqcyK99RWw1iOSPIafi2RttiRQGpFzHlnF2EoM4buH5vWzI39WEvJnfuLZpkPX0cFw==", + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/@nextcloud/files/-/files-3.11.0.tgz", + "integrity": "sha512-upOupwyjGlNoHY94M6xcXyazNTa6heY2uFY6ZjnIus19pyMQloXxnxwrd95cvdm8t3NxofMd2VG+DaDbK1FuXQ==", "license": "AGPL-3.0-or-later", "dependencies": { - "@nextcloud/auth": "^2.4.0", + "@nextcloud/auth": "^2.5.1", "@nextcloud/capabilities": "^1.2.0", - "@nextcloud/l10n": "^3.1.0", + "@nextcloud/l10n": "^3.3.0", "@nextcloud/logger": "^3.0.2", "@nextcloud/paths": "^2.2.1", "@nextcloud/router": "^3.0.1", "@nextcloud/sharing": "^0.2.4", "cancelable-promise": "^4.3.1", - "is-svg": "^5.1.0", + "is-svg": "^6.0.0", "typescript-event-target": "^1.1.1", - "webdav": "^5.7.1" - }, - "engines": { - "node": "^20.0.0", - "npm": "^10.0.0" - } - }, - "node_modules/@nextcloud/files/node_modules/is-svg": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/is-svg/-/is-svg-5.1.0.tgz", - "integrity": "sha512-uVg5yifaTxHoefNf5Jcx+i9RZe2OBYd/UStp1umx+EERa4xGRa3LLGXjoEph43qUORC0qkafUgrXZ6zzK89yGA==", - "license": "MIT", - "dependencies": { - "fast-xml-parser": "^4.4.1" + "webdav": "^5.8.0" }, "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": "^20.0.0 || ^22.0.0 || ^24.0.0" } }, "node_modules/@nextcloud/initial-state": { diff --git a/package.json b/package.json index ef51888c45b..25996659a69 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@nextcloud/capabilities": "^1.2.0", "@nextcloud/dialogs": "^6.3.1", "@nextcloud/event-bus": "^3.3.2", - "@nextcloud/files": "^3.10.2", + "@nextcloud/files": "^3.11.0", "@nextcloud/initial-state": "^2.2.0", "@nextcloud/l10n": "^3.3.0", "@nextcloud/logger": "^3.0.2", |