Use @nextcloud/cdav-library from npm
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org> Closes #1887
This commit is contained in:
parent
1dd5bf8523
commit
ab3d070ec8
|
@ -12,6 +12,7 @@
|
|||
"@nextcloud/auth": "^1.3.0",
|
||||
"@nextcloud/axios": "^1.8.0",
|
||||
"@nextcloud/calendar-js": "^2.0.0",
|
||||
"@nextcloud/cdav-library": "1.0.0",
|
||||
"@nextcloud/dialogs": "^3.1.2",
|
||||
"@nextcloud/event-bus": "^2.1.1",
|
||||
"@nextcloud/initial-state": "1.2.1",
|
||||
|
@ -22,7 +23,6 @@
|
|||
"@nextcloud/vue": "^4.3.0",
|
||||
"@nextcloud/vue-dashboard": "^2.0.1",
|
||||
"@vue/test-utils": "^1.3.0",
|
||||
"cdav-library": "github:nextcloud/cdav-library",
|
||||
"color-convert": "^2.0.1",
|
||||
"debounce": "^1.2.1",
|
||||
"ical.js": "^1.4.0",
|
||||
|
@ -2599,6 +2599,18 @@
|
|||
"core-js": "^3.6.4"
|
||||
}
|
||||
},
|
||||
"node_modules/@nextcloud/cdav-library": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/cdav-library/-/cdav-library-1.0.0.tgz",
|
||||
"integrity": "sha512-6P2mopk455XPvVVPrEJbaYhiPKuNlyQ2iYFLXMuSX/aiTBHdmunJSCRDX3QkFsgn73Zc6J6wmPptFhBwoVyxlw==",
|
||||
"dependencies": {
|
||||
"core-js": "^3.19.3",
|
||||
"regenerator-runtime": "^0.13.9"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@nextcloud/dialogs": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/dialogs/-/dialogs-3.1.2.tgz",
|
||||
|
@ -5012,19 +5024,6 @@
|
|||
"url": "https://opencollective.com/browserslist"
|
||||
}
|
||||
},
|
||||
"node_modules/cdav-library": {
|
||||
"version": "0.0.1",
|
||||
"resolved": "git+ssh://git@github.com/nextcloud/cdav-library.git#3ba2684d8d68fc193f682567f009a803e508a363",
|
||||
"integrity": "sha512-megvu4f8mtmuN16FcSMPoz753S8JvkHhvaDmPyKjY2RUha3uLFP+IhodMsLXFKFiCgDNE31g3m0xzVDvAoeFnQ==",
|
||||
"license": "AGPL-3.0",
|
||||
"dependencies": {
|
||||
"core-js": "^3.19.2",
|
||||
"regenerator-runtime": "^0.13.9"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/chalk": {
|
||||
"version": "2.4.2",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
|
||||
|
@ -19946,6 +19945,15 @@
|
|||
"core-js": "^3.6.4"
|
||||
}
|
||||
},
|
||||
"@nextcloud/cdav-library": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/cdav-library/-/cdav-library-1.0.0.tgz",
|
||||
"integrity": "sha512-6P2mopk455XPvVVPrEJbaYhiPKuNlyQ2iYFLXMuSX/aiTBHdmunJSCRDX3QkFsgn73Zc6J6wmPptFhBwoVyxlw==",
|
||||
"requires": {
|
||||
"core-js": "^3.19.3",
|
||||
"regenerator-runtime": "^0.13.9"
|
||||
}
|
||||
},
|
||||
"@nextcloud/dialogs": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@nextcloud/dialogs/-/dialogs-3.1.2.tgz",
|
||||
|
@ -21941,15 +21949,6 @@
|
|||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001246.tgz",
|
||||
"integrity": "sha512-Tc+ff0Co/nFNbLOrziBXmMVtpt9S2c2Y+Z9Nk9Khj09J+0zR9ejvIW5qkZAErCbOrVODCx/MN+GpB5FNBs5GFA=="
|
||||
},
|
||||
"cdav-library": {
|
||||
"version": "git+ssh://git@github.com/nextcloud/cdav-library.git#3ba2684d8d68fc193f682567f009a803e508a363",
|
||||
"integrity": "sha512-megvu4f8mtmuN16FcSMPoz753S8JvkHhvaDmPyKjY2RUha3uLFP+IhodMsLXFKFiCgDNE31g3m0xzVDvAoeFnQ==",
|
||||
"from": "cdav-library@github:nextcloud/cdav-library#3ba2684d8d68fc193f682567f009a803e508a363",
|
||||
"requires": {
|
||||
"core-js": "^3.19.2",
|
||||
"regenerator-runtime": "^0.13.9"
|
||||
}
|
||||
},
|
||||
"chalk": {
|
||||
"version": "2.4.2",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
"@nextcloud/auth": "^1.3.0",
|
||||
"@nextcloud/axios": "^1.8.0",
|
||||
"@nextcloud/calendar-js": "^2.0.0",
|
||||
"@nextcloud/cdav-library": "1.0.0",
|
||||
"@nextcloud/dialogs": "^3.1.2",
|
||||
"@nextcloud/event-bus": "^2.1.1",
|
||||
"@nextcloud/initial-state": "1.2.1",
|
||||
|
@ -39,7 +40,6 @@
|
|||
"@nextcloud/vue": "^4.3.0",
|
||||
"@nextcloud/vue-dashboard": "^2.0.1",
|
||||
"@vue/test-utils": "^1.3.0",
|
||||
"cdav-library": "github:nextcloud/cdav-library",
|
||||
"color-convert": "^2.0.1",
|
||||
"debounce": "^1.2.1",
|
||||
"ical.js": "^1.4.0",
|
||||
|
|
|
@ -22,10 +22,9 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import DavClient from '@nextcloud/cdav-library'
|
||||
import { generateRemoteUrl } from '@nextcloud/router'
|
||||
|
||||
import DavClient from 'cdav-library'
|
||||
|
||||
/**
|
||||
* Function to create an XML http request with the correct
|
||||
* headers
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
*/
|
||||
'use strict'
|
||||
|
||||
import { namespaces as NS } from 'cdav-library'
|
||||
import { namespaces as NS } from '@nextcloud/cdav-library'
|
||||
|
||||
/**
|
||||
* Finds all VTODOs in a calendar with requested state and relation
|
||||
|
|
Loading…
Reference in New Issue