Skip to content

Commit e686cd6

Browse files
committed
chore: remove unused npm dependencies
Signed-off-by: Jakob Linskeseder <[email protected]>
1 parent 76d2cc4 commit e686cd6

File tree

3 files changed

+2
-35
lines changed

3 files changed

+2
-35
lines changed

package-lock.json

+1-29
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-4
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"bugs": "https://github.com/nextcloud/tasks/issues",
2828
"contributors": [],
2929
"dependencies": {
30-
"@nextcloud/auth": "^2.4.0",
3130
"@nextcloud/axios": "^2.5.1",
3231
"@nextcloud/calendar-js": "8.0.3",
3332
"@nextcloud/cdav-library": "1.5.2",
@@ -43,15 +42,12 @@
4342
"color-convert": "^2.0.1",
4443
"debounce": "^2.2.0",
4544
"ical.js": "^2.1.0",
46-
"linkify-it": "^5.0.0",
4745
"markdown-it": "^14.1.0",
4846
"markdown-it-emoji": "^3.0.0",
4947
"markdown-it-link-attributes": "^4.0.1",
5048
"markdown-it-task-lists": "^2.1.1",
5149
"md5": "^2.3.0",
52-
"p-limit": "^6.2.0",
5350
"sortablejs-vue3": "^1.2.11",
54-
"uuid": "^11.0.5",
5551
"vue": "^3.5.13",
5652
"vue-material-design-icons": "^5.3.1",
5753
"vue-router": "^4.5.0",

src/models/task.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
import moment from '@nextcloud/moment'
2828

29-
import { v4 as uuid } from 'uuid'
3029
import ICAL from 'ical.js'
3130

3231
export default class Task {
@@ -83,7 +82,7 @@ export default class Task {
8382

8483
if (!this.vtodo.hasProperty('uid')) {
8584
console.debug('This task did not have a proper uid. Setting a new one for ', this)
86-
this.vtodo.addPropertyWithValue('uid', uuid())
85+
this.vtodo.addPropertyWithValue('uid', crypto.randomUUID())
8786
}
8887

8988
// Define components

0 commit comments

Comments
 (0)