Skip to content

Commit e05aa25

Browse files
max-nextcloudjuliusknorr
authored andcommitted
stick to @nextcloud/files v2
* Forward ports: #5264 * Resolves: failing build in #5251 `@nextcloud/files` requires node 20 and npm 9. This dependency was introduced based on a beta version that did not have these requirements yet. Roll back to version 2 rather than updating the entire node stack. Only difference here is that `formatFileSize` which we use will default to non-binary file sizes - i.e 1.024KB instead of 1KiB as this only became available with v3: * https://github.com/nextcloud-libraries/nextcloud-files/pull/770/files#diff-237392127cb275fc6789cf6faec014d758950c87ccdab0329dde793d034190d8 Signed-off-by: Max <max@nextcloud.com>
1 parent b50e40b commit e05aa25

File tree

2 files changed

+86
-48
lines changed

2 files changed

+86
-48
lines changed

package-lock.json

Lines changed: 85 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@nextcloud/axios": "^2.4.0",
4040
"@nextcloud/browser-storage": "^0.3.0",
4141
"@nextcloud/event-bus": "^3.1.0",
42-
"@nextcloud/files": "^3.0.0",
42+
"@nextcloud/files": "^2.1.0",
4343
"@nextcloud/initial-state": "^2.1.0",
4444
"@nextcloud/l10n": "^2.2.0",
4545
"@nextcloud/logger": "^2.7.0",

0 commit comments

Comments
 (0)