Skip to content

Commit

Permalink
chore(deps): Update @nextcloud/upload to at least 1.5.0
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux authored and Altahrim committed Oct 30, 2024
1 parent 42c7aab commit 2f1121c
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 80 deletions.
12 changes: 12 additions & 0 deletions __mocks__/@nextcloud/axios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/

import type { AxiosInterceptorManager, AxiosResponse, InternalAxiosRequestConfig } from 'axios'

export default {
get: async () => ({ status: 200, data: {} }),
delete: async () => ({ status: 200, data: {} }),
post: async () => ({ status: 200, data: {} }),

interceptors: {
request: {
use: () => {},
} as AxiosInterceptorManager<InternalAxiosRequestConfig>,
response: {
use: () => {},
} as AxiosInterceptorManager<AxiosResponse>,
}
}
150 changes: 71 additions & 79 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@nextcloud/paths": "^2.1.0",
"@nextcloud/router": "^3.0.1",
"@nextcloud/sharing": "^0.2.2",
"@nextcloud/upload": "^1.1.1",
"@nextcloud/upload": "^1.5.0",
"@nextcloud/vue": "^8.16.0",
"@skjnldsv/sanitize-svg": "^1.0.2",
"@vueuse/components": "^10.11.0",
Expand Down

0 comments on commit 2f1121c

Please sign in to comment.