@nextcloud/files 3.12.0 → 3.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,6 +16,15 @@ interface ViewData {
16
16
  emptyTitle?: string;
17
17
  /** Translated description of the empty view */
18
18
  emptyCaption?: string;
19
+ /**
20
+ * Custom implementation of the empty view.
21
+ * If set and no content is found for the current view,
22
+ * then this method is called with the container element
23
+ * where to render your empty view implementation.
24
+ *
25
+ * @param div - The container element to render into
26
+ */
27
+ emptyView?: (div: HTMLDivElement) => void;
19
28
  /**
20
29
  * Method return the content of the provided path
21
30
  * This ideally should be a cancellable promise.
@@ -47,8 +56,6 @@ interface ViewData {
47
56
  * by default always included
48
57
  */
49
58
  columns?: Column[];
50
- /** The empty view element to render your empty content into */
51
- emptyView?: (div: HTMLDivElement) => void;
52
59
  /** The parent unique ID */
53
60
  parent?: string;
54
61
  /** This view is sticky (sent at the bottom) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextcloud/files",
3
- "version": "3.12.0",
3
+ "version": "3.12.1",
4
4
  "description": "Nextcloud files utils",
5
5
  "keywords": [
6
6
  "nextcloud",
@@ -47,47 +47,54 @@
47
47
  "test:watch": "vitest watch",
48
48
  "watch": "vite --mode development build --watch"
49
49
  },
50
+ "overrides": {
51
+ "@codecov/vite-plugin": {
52
+ "vite": "^7.0"
53
+ }
54
+ },
50
55
  "dependencies": {
51
- "@nextcloud/auth": "^2.5.1",
52
- "@nextcloud/capabilities": "^1.2.0",
53
- "@nextcloud/l10n": "^3.3.0",
54
- "@nextcloud/logger": "^3.0.2",
55
- "@nextcloud/paths": "^2.2.1",
56
- "@nextcloud/router": "^3.0.1",
57
- "@nextcloud/sharing": "^0.2.4",
56
+ "@nextcloud/auth": "^2.5.3",
57
+ "@nextcloud/capabilities": "^1.2.1",
58
+ "@nextcloud/l10n": "^3.4.1",
59
+ "@nextcloud/logger": "^3.0.3",
60
+ "@nextcloud/paths": "^2.3.0",
61
+ "@nextcloud/router": "^3.1.0",
62
+ "@nextcloud/sharing": "^0.3.0",
58
63
  "cancelable-promise": "^4.3.1",
59
- "is-svg": "^6.0.0",
64
+ "is-svg": "^6.1.0",
60
65
  "typescript-event-target": "^1.1.1",
61
66
  "webdav": "^5.8.0"
62
67
  },
63
68
  "devDependencies": {
64
69
  "@codecov/vite-plugin": "^1.9.1",
65
70
  "@nextcloud/eslint-config": "^8.4.2",
66
- "@nextcloud/event-bus": "^3.3.2",
67
- "@nextcloud/typings": "^1.9.1",
68
- "@nextcloud/vite-config": "^2.3.5",
69
- "@types/node": "^24.0.3",
70
- "@vitest/coverage-istanbul": "^3.2.4",
71
- "fast-xml-parser": "^5.2.5",
72
- "jsdom": "^26.1.0",
71
+ "@nextcloud/event-bus": "^3.3.3",
72
+ "@nextcloud/typings": "^1.10.0",
73
+ "@nextcloud/vite-config": "^2.5.2",
74
+ "@types/node": "^24.10.3",
75
+ "@vitest/coverage-istanbul": "^4.0.15",
76
+ "fast-xml-parser": "^5.3.2",
77
+ "jsdom": "^27.3.0",
73
78
  "tslib": "^2.8.1",
74
- "typedoc": "^0.28.7",
75
- "typedoc-plugin-missing-exports": "^4.0.0",
76
- "typescript": "^5.8.3",
77
- "vite": "^6.3.5",
78
- "vitest": "^3.0.4"
79
+ "typedoc": "^0.28.15",
80
+ "typedoc-plugin-missing-exports": "^4.1.2",
81
+ "typescript": "^5.9.3",
82
+ "vite": "^7.2.7",
83
+ "vitest": "^4.0.6"
79
84
  },
80
85
  "engines": {
81
86
  "node": "^20.0.0 || ^22.0.0 || ^24.0.0"
82
87
  },
83
88
  "devEngines": {
84
- "packageManager": {
85
- "name": "npm",
86
- "version": "^10.0.0"
87
- },
89
+ "packageManager": [
90
+ {
91
+ "name": "npm",
92
+ "version": "^11.3.0"
93
+ }
94
+ ],
88
95
  "runtime": {
89
96
  "name": "node",
90
- "version": "^22.0.0"
97
+ "version": "^24.0.0"
91
98
  }
92
99
  }
93
100
  }
@@ -1,21 +0,0 @@
1
- Included dependencies:
2
-
3
- @file-type/xml
4
- version: 0.4.3
5
- license: MIT
6
-
7
- @nextcloud/event-bus
8
- version: 3.3.2
9
- license: GPL-3.0-or-later
10
-
11
- is-svg
12
- version: 6.0.0
13
- license: MIT
14
-
15
- sax
16
- version: 1.4.1
17
- license: ISC
18
-
19
- semver
20
- version: 7.6.3
21
- license: ISC