Skip to content

Commit

Permalink
chore: remove unused npm dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Jakob Linskeseder <[email protected]>
  • Loading branch information
jaylinski committed Feb 1, 2025
1 parent f86b092 commit af6544d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 47 deletions.
42 changes: 1 addition & 41 deletions package-lock.json

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

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"bugs": "https://github.com/nextcloud/tasks/issues",
"contributors": [],
"dependencies": {
"@nextcloud/auth": "^2.4.0",
"@nextcloud/axios": "^2.5.1",
"@nextcloud/calendar-js": "8.1.0",
"@nextcloud/cdav-library": "1.5.2",
Expand All @@ -43,14 +42,12 @@
"color-convert": "^2.0.1",
"debounce": "^2.2.0",
"ical.js": "^2.1.0",
"linkify-it": "^5.0.0",
"markdown-it": "^14.1.0",
"markdown-it-emoji": "^3.0.0",
"markdown-it-link-attributes": "^4.0.1",
"markdown-it-task-lists": "^2.1.1",
"p-limit": "^6.2.0",
"md5": "^2.3.0",
"sortablejs-vue3": "^1.2.11",
"uuid": "^11.0.5",
"vue": "^3.5.13",
"vue-material-design-icons": "^5.3.1",
"vue-router": "^4.5.0",
Expand Down
3 changes: 1 addition & 2 deletions src/models/task.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

import moment from '@nextcloud/moment'

import { v4 as uuid } from 'uuid'
import ICAL from 'ical.js'

export default class Task {
Expand Down Expand Up @@ -83,7 +82,7 @@ export default class Task {

if (!this.vtodo.hasProperty('uid')) {
console.debug('This task did not have a proper uid. Setting a new one for ', this)
this.vtodo.addPropertyWithValue('uid', uuid())
this.vtodo.addPropertyWithValue('uid', crypto.randomUUID())
}

// Define components
Expand Down

0 comments on commit af6544d

Please sign in to comment.