Update dependencies and style
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
This commit is contained in:
parent
9b120f3091
commit
94f1e50a15
20 changed files with 409 additions and 264 deletions
507
package-lock.json
generated
507
package-lock.json
generated
|
@ -3954,6 +3954,12 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"callsites": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
|
||||
"integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
|
||||
"dev": true
|
||||
},
|
||||
"camelcase": {
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz",
|
||||
|
@ -4006,8 +4012,8 @@
|
|||
"integrity": "sha512-fpZ81yYfzentuieinmGnphk0pLkOTMm6MZdVqwd77ROvhko6iujLNGrHH5E7utq3ygWklwfmwuG+A7P+NpqT6w=="
|
||||
},
|
||||
"cdav-library": {
|
||||
"version": "github:nextcloud/cdav-library#ed16bf4c57010afa8b27320006f8dfc839e2178b",
|
||||
"from": "github:nextcloud/cdav-library#ed16bf4c57010afa8b27320006f8dfc839e2178b",
|
||||
"version": "github:nextcloud/cdav-library#ee651f4f6c7c53140510ca165deac8e0d9373106",
|
||||
"from": "github:nextcloud/cdav-library#ee651f4f6c7c53140510ca165deac8e0d9373106",
|
||||
"requires": {
|
||||
"@babel/polyfill": "^7.4.4"
|
||||
}
|
||||
|
@ -5692,53 +5698,54 @@
|
|||
}
|
||||
},
|
||||
"eslint": {
|
||||
"version": "5.16.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-5.16.0.tgz",
|
||||
"integrity": "sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg==",
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-6.1.0.tgz",
|
||||
"integrity": "sha512-QhrbdRD7ofuV09IuE2ySWBz0FyXCq0rriLTZXZqaWSI79CVtHVRdkFuFTViiqzZhkCgfOh9USpriuGN2gIpZDQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/code-frame": "^7.0.0",
|
||||
"ajv": "^6.9.1",
|
||||
"ajv": "^6.10.0",
|
||||
"chalk": "^2.1.0",
|
||||
"cross-spawn": "^6.0.5",
|
||||
"debug": "^4.0.1",
|
||||
"doctrine": "^3.0.0",
|
||||
"eslint-scope": "^4.0.3",
|
||||
"eslint-scope": "^5.0.0",
|
||||
"eslint-utils": "^1.3.1",
|
||||
"eslint-visitor-keys": "^1.0.0",
|
||||
"espree": "^5.0.1",
|
||||
"espree": "^6.0.0",
|
||||
"esquery": "^1.0.1",
|
||||
"esutils": "^2.0.2",
|
||||
"file-entry-cache": "^5.0.1",
|
||||
"functional-red-black-tree": "^1.0.1",
|
||||
"glob": "^7.1.2",
|
||||
"glob-parent": "^5.0.0",
|
||||
"globals": "^11.7.0",
|
||||
"ignore": "^4.0.6",
|
||||
"import-fresh": "^3.0.0",
|
||||
"imurmurhash": "^0.1.4",
|
||||
"inquirer": "^6.2.2",
|
||||
"js-yaml": "^3.13.0",
|
||||
"inquirer": "^6.4.1",
|
||||
"is-glob": "^4.0.0",
|
||||
"js-yaml": "^3.13.1",
|
||||
"json-stable-stringify-without-jsonify": "^1.0.1",
|
||||
"levn": "^0.3.0",
|
||||
"lodash": "^4.17.11",
|
||||
"lodash": "^4.17.14",
|
||||
"minimatch": "^3.0.4",
|
||||
"mkdirp": "^0.5.1",
|
||||
"natural-compare": "^1.4.0",
|
||||
"optionator": "^0.8.2",
|
||||
"path-is-inside": "^1.0.2",
|
||||
"progress": "^2.0.0",
|
||||
"regexpp": "^2.0.1",
|
||||
"semver": "^5.5.1",
|
||||
"strip-ansi": "^4.0.0",
|
||||
"strip-json-comments": "^2.0.1",
|
||||
"semver": "^6.1.2",
|
||||
"strip-ansi": "^5.2.0",
|
||||
"strip-json-comments": "^3.0.1",
|
||||
"table": "^5.2.3",
|
||||
"text-table": "^0.2.0"
|
||||
"text-table": "^0.2.0",
|
||||
"v8-compile-cache": "^2.0.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"acorn": {
|
||||
"version": "6.1.1",
|
||||
"resolved": "https://registry.npmjs.org/acorn/-/acorn-6.1.1.tgz",
|
||||
"integrity": "sha512-jPTiwtOxaHNaAPg/dmrJ/beuzLRnXtB0kQPQ8JpotKJgTB6rX6c8mlf315941pyjBSaPg8NHXS9fhP4u17DpGA==",
|
||||
"version": "6.2.1",
|
||||
"resolved": "https://registry.npmjs.org/acorn/-/acorn-6.2.1.tgz",
|
||||
"integrity": "sha512-JD0xT5FCRDNyjDda3Lrg/IxFscp9q4tiYtxE1/nOzlKCk7hIRuYjhq1kCNkbPjMRMZuFq20HNQn1I9k8Oj0E+Q==",
|
||||
"dev": true
|
||||
},
|
||||
"acorn-jsx": {
|
||||
|
@ -5748,9 +5755,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"ajv": {
|
||||
"version": "6.10.0",
|
||||
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.0.tgz",
|
||||
"integrity": "sha512-nffhOpkymDECQyR0mnsUtoCE8RlX38G0rYP+wgLWFyZuUyuuojSSvi/+euOiQBIn63whYwYVIIH1TvE3tu4OEg==",
|
||||
"version": "6.10.2",
|
||||
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz",
|
||||
"integrity": "sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"fast-deep-equal": "^2.0.1",
|
||||
|
@ -5760,9 +5767,9 @@
|
|||
}
|
||||
},
|
||||
"ansi-regex": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
|
||||
"integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
|
||||
"integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
|
||||
"dev": true
|
||||
},
|
||||
"ansi-styles": {
|
||||
|
@ -5804,9 +5811,9 @@
|
|||
}
|
||||
},
|
||||
"eslint-scope": {
|
||||
"version": "4.0.3",
|
||||
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz",
|
||||
"integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==",
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz",
|
||||
"integrity": "sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"esrecurse": "^4.1.0",
|
||||
|
@ -5814,9 +5821,9 @@
|
|||
}
|
||||
},
|
||||
"espree": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/espree/-/espree-5.0.1.tgz",
|
||||
"integrity": "sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A==",
|
||||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/espree/-/espree-6.0.0.tgz",
|
||||
"integrity": "sha512-lJvCS6YbCn3ImT3yKkPe0+tJ+mH6ljhGNjHQH9mRtiO6gjhVAOhVXW1yjnwqGwTkK3bGbye+hb00nFNmu0l/1Q==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"acorn": "^6.0.7",
|
||||
|
@ -5830,42 +5837,36 @@
|
|||
"integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=",
|
||||
"dev": true
|
||||
},
|
||||
"file-entry-cache": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz",
|
||||
"integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==",
|
||||
"glob-parent": {
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.0.0.tgz",
|
||||
"integrity": "sha512-Z2RwiujPRGluePM6j699ktJYxmPpJKCfpGA13jz2hmFZC7gKetzrWvg5KN3+OsIFmydGyZ1AVwERCq1w/ZZwRg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"flat-cache": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"flat-cache": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz",
|
||||
"integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"flatted": "^2.0.0",
|
||||
"rimraf": "2.6.3",
|
||||
"write": "1.0.3"
|
||||
"is-glob": "^4.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"is-glob": {
|
||||
"version": "4.0.1",
|
||||
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",
|
||||
"integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"is-extglob": "^2.1.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"globals": {
|
||||
"version": "11.11.0",
|
||||
"resolved": "https://registry.npmjs.org/globals/-/globals-11.11.0.tgz",
|
||||
"integrity": "sha512-WHq43gS+6ufNOEqlrDBxVEbb8ntfXrfAUU2ZOpCxrBdGKW3gyv8mCxAfIBD0DroPKGrJ2eSsXsLtY9MPntsyTw==",
|
||||
"dev": true
|
||||
},
|
||||
"ignore": {
|
||||
"version": "4.0.6",
|
||||
"resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
|
||||
"integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",
|
||||
"version": "11.12.0",
|
||||
"resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
|
||||
"integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
|
||||
"dev": true
|
||||
},
|
||||
"js-yaml": {
|
||||
"version": "3.13.0",
|
||||
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.0.tgz",
|
||||
"integrity": "sha512-pZZoSxcCYco+DIKBTimr67J6Hy+EYGZDY/HCWC+iAEA9h1ByhMXAIVUXMcMFpOCxQ/xjXmPI2MkDL5HRm5eFrQ==",
|
||||
"version": "3.13.1",
|
||||
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",
|
||||
"integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"argparse": "^1.0.7",
|
||||
|
@ -5879,68 +5880,32 @@
|
|||
"dev": true
|
||||
},
|
||||
"ms": {
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
|
||||
"integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==",
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
|
||||
"dev": true
|
||||
},
|
||||
"rimraf": {
|
||||
"version": "2.6.3",
|
||||
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",
|
||||
"integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"glob": "^7.1.3"
|
||||
}
|
||||
},
|
||||
"slice-ansi": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz",
|
||||
"integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-styles": "^3.2.0",
|
||||
"astral-regex": "^1.0.0",
|
||||
"is-fullwidth-code-point": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"string-width": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
|
||||
"integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"emoji-regex": "^7.0.1",
|
||||
"is-fullwidth-code-point": "^2.0.0",
|
||||
"strip-ansi": "^5.1.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"ansi-regex": {
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
|
||||
"integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
|
||||
"dev": true
|
||||
},
|
||||
"strip-ansi": {
|
||||
"version": "5.2.0",
|
||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
|
||||
"integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-regex": "^4.1.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
"semver": {
|
||||
"version": "6.3.0",
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
|
||||
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
|
||||
"dev": true
|
||||
},
|
||||
"strip-ansi": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
|
||||
"integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
|
||||
"version": "5.2.0",
|
||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
|
||||
"integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-regex": "^3.0.0"
|
||||
"ansi-regex": "^4.1.0"
|
||||
}
|
||||
},
|
||||
"strip-json-comments": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz",
|
||||
"integrity": "sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw==",
|
||||
"dev": true
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "5.5.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
|
||||
|
@ -5949,34 +5914,13 @@
|
|||
"requires": {
|
||||
"has-flag": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"table": {
|
||||
"version": "5.2.3",
|
||||
"resolved": "https://registry.npmjs.org/table/-/table-5.2.3.tgz",
|
||||
"integrity": "sha512-N2RsDAMvDLvYwFcwbPyF3VmVSSkuF+G1e+8inhBLtHpvwXGw4QRPEZhihQNeEN0i1up6/f6ObCJXNdlRG3YVyQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ajv": "^6.9.1",
|
||||
"lodash": "^4.17.11",
|
||||
"slice-ansi": "^2.1.0",
|
||||
"string-width": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"write": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz",
|
||||
"integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"mkdirp": "^0.5.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"eslint-config-standard": {
|
||||
"version": "12.0.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-12.0.0.tgz",
|
||||
"integrity": "sha512-COUz8FnXhqFitYj4DTqHzidjIL/t4mumGZto5c7DrBpvWoie+Sn3P4sLEzUGeYhRElWuFEf8K1S1EfvD1vixCQ==",
|
||||
"version": "13.0.1",
|
||||
"resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-13.0.1.tgz",
|
||||
"integrity": "sha512-zLKp4QOgq6JFgRm1dDCVv1Iu0P5uZ4v5Wa4DTOkg2RFMxdCX/9Qf7lz9ezRj2dBRa955cWQF/O/LWEiYWAHbTw==",
|
||||
"dev": true
|
||||
},
|
||||
"eslint-friendly-formatter": {
|
||||
|
@ -6577,9 +6521,9 @@
|
|||
}
|
||||
},
|
||||
"external-editor": {
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.0.3.tgz",
|
||||
"integrity": "sha512-bn71H9+qWoOQKyZDo25mOMVpSmXROAsTJVVVYzrrtol3d4y+AsKjf4Iwl2Q+IuT0kFSQ1qo166UuIwqYq7mGnA==",
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz",
|
||||
"integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"chardet": "^0.7.0",
|
||||
|
@ -6772,6 +6716,15 @@
|
|||
"escape-string-regexp": "^1.0.5"
|
||||
}
|
||||
},
|
||||
"file-entry-cache": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz",
|
||||
"integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"flat-cache": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"file-loader": {
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/file-loader/-/file-loader-4.1.0.tgz",
|
||||
|
@ -6981,6 +6934,28 @@
|
|||
"resolve-dir": "^1.0.1"
|
||||
}
|
||||
},
|
||||
"flat-cache": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz",
|
||||
"integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"flatted": "^2.0.0",
|
||||
"rimraf": "2.6.3",
|
||||
"write": "1.0.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"rimraf": {
|
||||
"version": "2.6.3",
|
||||
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",
|
||||
"integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"glob": "^7.1.3"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"flatted": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.0.tgz",
|
||||
|
@ -8206,22 +8181,20 @@
|
|||
"integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE=",
|
||||
"dev": true
|
||||
},
|
||||
"ignore": {
|
||||
"version": "4.0.6",
|
||||
"resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
|
||||
"integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",
|
||||
"dev": true
|
||||
},
|
||||
"import-fresh": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.0.0.tgz",
|
||||
"integrity": "sha512-pOnA9tfM3Uwics+SaBLCNyZZZbK+4PTu0OPZtLlMIrv17EdBoC15S9Kn8ckJ9TZTyKb3ywNE5y1yeDxxGA7nTQ==",
|
||||
"version": "3.1.0",
|
||||
"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.1.0.tgz",
|
||||
"integrity": "sha512-PpuksHKGt8rXfWEr9m9EHIpgyyaltBy8+eF6GJM0QCAxMgxCfucMF3mjecK2QsJr0amJW7gTqh5/wht0z2UhEQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"parent-module": "^1.0.0",
|
||||
"resolve-from": "^4.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"resolve-from": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
|
||||
"integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"import-lazy": {
|
||||
|
@ -8330,9 +8303,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"inquirer": {
|
||||
"version": "6.2.2",
|
||||
"resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.2.2.tgz",
|
||||
"integrity": "sha512-Z2rREiXA6cHRR9KBOarR3WuLlFzlIfAEIiB45ll5SSadMg7WqOh1MKEjjndfuH5ewXdixWCxqnVfGOQzPeiztA==",
|
||||
"version": "6.5.0",
|
||||
"resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.5.0.tgz",
|
||||
"integrity": "sha512-scfHejeG/lVZSpvCXpsB4j/wQNPM5JC8kiElOI0OUTwmc1RTpXr4H32/HOlQHcZiYl2z2VElwuCVDRG8vFmbnA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-escapes": "^3.2.0",
|
||||
|
@ -8341,12 +8314,12 @@
|
|||
"cli-width": "^2.0.0",
|
||||
"external-editor": "^3.0.3",
|
||||
"figures": "^2.0.0",
|
||||
"lodash": "^4.17.11",
|
||||
"lodash": "^4.17.12",
|
||||
"mute-stream": "0.0.7",
|
||||
"run-async": "^2.2.0",
|
||||
"rxjs": "^6.4.0",
|
||||
"string-width": "^2.1.0",
|
||||
"strip-ansi": "^5.0.0",
|
||||
"strip-ansi": "^5.1.0",
|
||||
"through": "^2.3.6"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -12404,14 +12377,6 @@
|
|||
"dev": true,
|
||||
"requires": {
|
||||
"callsites": "^3.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"callsites": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.0.0.tgz",
|
||||
"integrity": "sha512-tWnkwu9YEq2uzlBDI4RcLn8jrFvF9AOi8PxDNU3hZZjJcjkcRAq3vCI+vZcg1SuxISDYe86k9VZFwAxDiJGoAw==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"parse-asn1": {
|
||||
|
@ -12993,17 +12958,202 @@
|
|||
"vue-eslint-parser": "^2.0.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"acorn": {
|
||||
"version": "6.2.1",
|
||||
"resolved": "https://registry.npmjs.org/acorn/-/acorn-6.2.1.tgz",
|
||||
"integrity": "sha512-JD0xT5FCRDNyjDda3Lrg/IxFscp9q4tiYtxE1/nOzlKCk7hIRuYjhq1kCNkbPjMRMZuFq20HNQn1I9k8Oj0E+Q==",
|
||||
"dev": true
|
||||
},
|
||||
"acorn-jsx": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.0.1.tgz",
|
||||
"integrity": "sha512-HJ7CfNHrfJLlNTzIEUTj43LNWGkqpRLxm3YjAlcD0ACydk9XynzYsCBHxut+iqt+1aBXkx9UP/w/ZqMr13XIzg==",
|
||||
"dev": true
|
||||
},
|
||||
"ajv": {
|
||||
"version": "6.10.2",
|
||||
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz",
|
||||
"integrity": "sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"fast-deep-equal": "^2.0.1",
|
||||
"fast-json-stable-stringify": "^2.0.0",
|
||||
"json-schema-traverse": "^0.4.1",
|
||||
"uri-js": "^4.2.2"
|
||||
}
|
||||
},
|
||||
"ansi-regex": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
|
||||
"integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
|
||||
"dev": true
|
||||
},
|
||||
"ansi-styles": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
|
||||
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"color-convert": "^1.9.0"
|
||||
}
|
||||
},
|
||||
"chalk": {
|
||||
"version": "2.4.2",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
|
||||
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-styles": "^3.2.1",
|
||||
"escape-string-regexp": "^1.0.5",
|
||||
"supports-color": "^5.3.0"
|
||||
}
|
||||
},
|
||||
"core-js": {
|
||||
"version": "3.1.4",
|
||||
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.1.4.tgz",
|
||||
"integrity": "sha512-YNZN8lt82XIMLnLirj9MhKDFZHalwzzrL9YLt6eb0T5D0EDl4IQ90IGkua8mHbnxNrkj1d8hbdizMc0Qmg1WnQ==",
|
||||
"dev": true
|
||||
},
|
||||
"debug": {
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
|
||||
"integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ms": "^2.1.1"
|
||||
}
|
||||
},
|
||||
"doctrine": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
|
||||
"integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"esutils": "^2.0.2"
|
||||
}
|
||||
},
|
||||
"eslint": {
|
||||
"version": "5.16.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-5.16.0.tgz",
|
||||
"integrity": "sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/code-frame": "^7.0.0",
|
||||
"ajv": "^6.9.1",
|
||||
"chalk": "^2.1.0",
|
||||
"cross-spawn": "^6.0.5",
|
||||
"debug": "^4.0.1",
|
||||
"doctrine": "^3.0.0",
|
||||
"eslint-scope": "^4.0.3",
|
||||
"eslint-utils": "^1.3.1",
|
||||
"eslint-visitor-keys": "^1.0.0",
|
||||
"espree": "^5.0.1",
|
||||
"esquery": "^1.0.1",
|
||||
"esutils": "^2.0.2",
|
||||
"file-entry-cache": "^5.0.1",
|
||||
"functional-red-black-tree": "^1.0.1",
|
||||
"glob": "^7.1.2",
|
||||
"globals": "^11.7.0",
|
||||
"ignore": "^4.0.6",
|
||||
"import-fresh": "^3.0.0",
|
||||
"imurmurhash": "^0.1.4",
|
||||
"inquirer": "^6.2.2",
|
||||
"js-yaml": "^3.13.0",
|
||||
"json-stable-stringify-without-jsonify": "^1.0.1",
|
||||
"levn": "^0.3.0",
|
||||
"lodash": "^4.17.11",
|
||||
"minimatch": "^3.0.4",
|
||||
"mkdirp": "^0.5.1",
|
||||
"natural-compare": "^1.4.0",
|
||||
"optionator": "^0.8.2",
|
||||
"path-is-inside": "^1.0.2",
|
||||
"progress": "^2.0.0",
|
||||
"regexpp": "^2.0.1",
|
||||
"semver": "^5.5.1",
|
||||
"strip-ansi": "^4.0.0",
|
||||
"strip-json-comments": "^2.0.1",
|
||||
"table": "^5.2.3",
|
||||
"text-table": "^0.2.0"
|
||||
}
|
||||
},
|
||||
"eslint-scope": {
|
||||
"version": "4.0.3",
|
||||
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz",
|
||||
"integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"esrecurse": "^4.1.0",
|
||||
"estraverse": "^4.1.1"
|
||||
}
|
||||
},
|
||||
"espree": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/espree/-/espree-5.0.1.tgz",
|
||||
"integrity": "sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"acorn": "^6.0.7",
|
||||
"acorn-jsx": "^5.0.0",
|
||||
"eslint-visitor-keys": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"fast-deep-equal": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
|
||||
"integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=",
|
||||
"dev": true
|
||||
},
|
||||
"globals": {
|
||||
"version": "11.12.0",
|
||||
"resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
|
||||
"integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
|
||||
"dev": true
|
||||
},
|
||||
"indent-string": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",
|
||||
"integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==",
|
||||
"dev": true
|
||||
},
|
||||
"js-yaml": {
|
||||
"version": "3.13.1",
|
||||
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",
|
||||
"integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"argparse": "^1.0.7",
|
||||
"esprima": "^4.0.0"
|
||||
}
|
||||
},
|
||||
"json-schema-traverse": {
|
||||
"version": "0.4.1",
|
||||
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
|
||||
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
|
||||
"dev": true
|
||||
},
|
||||
"ms": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
|
||||
"dev": true
|
||||
},
|
||||
"strip-ansi": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
|
||||
"integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-regex": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "5.5.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
|
||||
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"has-flag": "^3.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -13081,9 +13231,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"progress": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/progress/-/progress-2.0.1.tgz",
|
||||
"integrity": "sha512-OE+a6vzqazc+K6LxJrX5UPyKFvGnL5CYmq2jFGNIBWHpc4QyE49/YOumcrpQFJpfejmvRtbJzgO1zPmMCqlbBg==",
|
||||
"version": "2.0.3",
|
||||
"resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
|
||||
"integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
|
||||
"dev": true
|
||||
},
|
||||
"promise-inflight": {
|
||||
|
@ -13777,6 +13927,12 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"resolve-from": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
|
||||
"integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
|
||||
"dev": true
|
||||
},
|
||||
"resolve-url": {
|
||||
"version": "0.2.1",
|
||||
"resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz",
|
||||
|
@ -13843,9 +13999,9 @@
|
|||
}
|
||||
},
|
||||
"rxjs": {
|
||||
"version": "6.4.0",
|
||||
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz",
|
||||
"integrity": "sha512-Z9Yfa11F6B9Sg/BK9MnqnQ+aQYicPLtilXBp2yUtDt2JRCE0h26d33EnfO3ZxoNxG0T92OUucP3Ct7cpfkdFfw==",
|
||||
"version": "6.5.2",
|
||||
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.2.tgz",
|
||||
"integrity": "sha512-HUb7j3kvb7p7eCUHE3FqjoDsC1xfZQ4AHFWfTKSpZ+sAhhz5X1WX0ZuUqWbzB2QhSLp3DoLUG+hMdEDKqWo2Zg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"tslib": "^1.9.0"
|
||||
|
@ -17679,6 +17835,15 @@
|
|||
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
||||
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
|
||||
},
|
||||
"write": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz",
|
||||
"integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"mkdirp": "^0.5.1"
|
||||
}
|
||||
},
|
||||
"write-file-atomic": {
|
||||
"version": "2.4.1",
|
||||
"resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.1.tgz",
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
"contributors": [],
|
||||
"dependencies": {
|
||||
"axios": "^0.19.0",
|
||||
"cdav-library": "github:nextcloud/cdav-library#9cf2cea9119513287f41f586dbea28b5b2c99ab3",
|
||||
"cdav-library": "github:nextcloud/cdav-library#ee651f4f6c7c53140510ca165deac8e0d9373106",
|
||||
"ical.js": "~1.3.0",
|
||||
"jstimezonedetect": "",
|
||||
"linkifyjs": "~2.1.8",
|
||||
|
@ -58,8 +58,8 @@
|
|||
"babel-jest": "^24.8.0",
|
||||
"babel-loader": "^8.0.6",
|
||||
"css-loader": "^3.2.0",
|
||||
"eslint": "^5.16.0",
|
||||
"eslint-config-standard": "^12.0.0",
|
||||
"eslint": "^6.1.0",
|
||||
"eslint-config-standard": "^13.0.1",
|
||||
"eslint-friendly-formatter": "^4.0.1",
|
||||
"eslint-loader": "^2.2.1",
|
||||
"eslint-plugin-import": "^2.18.2",
|
||||
|
|
|
@ -47,8 +47,8 @@ import client from './services/cdav.js'
|
|||
export default {
|
||||
name: 'App',
|
||||
components: {
|
||||
'TheSettings': TheSettings,
|
||||
'TheList': TheList
|
||||
TheSettings,
|
||||
TheList,
|
||||
},
|
||||
computed: {
|
||||
...mapState({
|
||||
|
|
|
@ -59,7 +59,7 @@ export default {
|
|||
name: 'ShareCalendar',
|
||||
components: {
|
||||
calendarSharee,
|
||||
Multiselect
|
||||
Multiselect,
|
||||
},
|
||||
props: {
|
||||
calendar: {
|
||||
|
@ -99,7 +99,7 @@ export default {
|
|||
* @param {boolean} data.isGroup is this a group ?
|
||||
*/
|
||||
shareCalendar({ user, displayName, uri, isGroup }) {
|
||||
let calendar = this.calendar
|
||||
const calendar = this.calendar
|
||||
uri = decodeURI(uri)
|
||||
user = decodeURI(user)
|
||||
this.$store.dispatch('shareCalendar', { calendar, user, displayName, uri, isGroup })
|
||||
|
|
|
@ -55,10 +55,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: 'ShareSharee',
|
||||
|
||||
props: {
|
||||
calendar: {
|
||||
type: Object,
|
||||
|
@ -69,13 +67,11 @@ export default {
|
|||
required: true
|
||||
}
|
||||
},
|
||||
|
||||
data() {
|
||||
return {
|
||||
loading: false
|
||||
}
|
||||
},
|
||||
|
||||
computed: {
|
||||
writeable() {
|
||||
return this.sharee.writeable
|
||||
|
@ -85,13 +81,11 @@ export default {
|
|||
return this.sharee.id + this.calendar.id + Math.floor(Math.random() * 1000)
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
async deleteSharee() {
|
||||
if (this.loading) {
|
||||
return false
|
||||
}
|
||||
|
||||
this.loading = true
|
||||
try {
|
||||
await this.$store.dispatch('removeSharee', {
|
||||
|
@ -109,7 +103,6 @@ export default {
|
|||
if (this.loading) {
|
||||
return false
|
||||
}
|
||||
|
||||
this.loading = true
|
||||
try {
|
||||
await this.$store.dispatch('toggleShareeWritable', {
|
||||
|
|
|
@ -50,7 +50,7 @@ import ClickOutside from 'vue-click-outside'
|
|||
export default {
|
||||
name: 'PopoverMenu',
|
||||
directives: {
|
||||
ClickOutside
|
||||
ClickOutside,
|
||||
},
|
||||
props: {
|
||||
message: {
|
||||
|
|
|
@ -42,7 +42,7 @@ export default {
|
|||
}
|
||||
},
|
||||
data() {
|
||||
let md = new MarkdownIt({
|
||||
const md = new MarkdownIt({
|
||||
linkify: this.linkify,
|
||||
breaks: true,
|
||||
})
|
||||
|
|
|
@ -34,10 +34,10 @@ import clickOutside from 'vue-click-outside'
|
|||
export default {
|
||||
name: 'PopoverMenu',
|
||||
components: {
|
||||
clickOutside
|
||||
clickOutside,
|
||||
},
|
||||
directives: {
|
||||
clickOutside
|
||||
clickOutside,
|
||||
},
|
||||
props: {
|
||||
tag: {
|
||||
|
|
|
@ -60,7 +60,7 @@ import ClickOutside from 'vue-click-outside'
|
|||
export default {
|
||||
name: 'SortorderDropdown',
|
||||
directives: {
|
||||
ClickOutside
|
||||
ClickOutside,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -84,9 +84,9 @@ import TaskDragContainer from '../TaskDragContainer'
|
|||
|
||||
export default {
|
||||
components: {
|
||||
'Task': Task,
|
||||
'SortorderDropdown': SortorderDropdown,
|
||||
'LoadCompletedButton': LoadCompletedButton,
|
||||
Task,
|
||||
SortorderDropdown,
|
||||
LoadCompletedButton,
|
||||
TaskDragContainer,
|
||||
DeleteCompletedModal,
|
||||
},
|
||||
|
|
|
@ -29,15 +29,15 @@ import Week from './Week'
|
|||
|
||||
export default {
|
||||
components: {
|
||||
'CollectionGeneral': General,
|
||||
'CollectionWeek': Week
|
||||
General,
|
||||
Week,
|
||||
},
|
||||
computed: {
|
||||
collectionType: function() {
|
||||
if (this.$route.params.collectionId === 'week') {
|
||||
return 'CollectionWeek'
|
||||
return 'Week'
|
||||
} else {
|
||||
return 'CollectionGeneral'
|
||||
return 'General'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|||
class="tasks"
|
||||
type="list"
|
||||
>
|
||||
<TaskBody v-for="task in sort(calendar.filteredTasks, sortOrder, sortDirection)"
|
||||
<Task v-for="task in sort(calendar.filteredTasks, sortOrder, sortDirection)"
|
||||
:key="task.id"
|
||||
:task="task"
|
||||
/>
|
||||
|
@ -68,14 +68,14 @@ import { mapGetters, mapActions } from 'vuex'
|
|||
import { sort, isTaskInList, isParentInList } from '../../store/storeHelper'
|
||||
import SortorderDropdown from '../SortorderDropdown'
|
||||
import LoadCompletedButton from '../LoadCompletedButton'
|
||||
import TaskBody from '../Task'
|
||||
import Task from '../Task'
|
||||
import TaskDragContainer from '../TaskDragContainer'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
'TaskBody': TaskBody,
|
||||
'SortorderDropdown': SortorderDropdown,
|
||||
'LoadCompletedButton': LoadCompletedButton,
|
||||
Task,
|
||||
SortorderDropdown,
|
||||
LoadCompletedButton,
|
||||
TaskDragContainer,
|
||||
},
|
||||
data() {
|
||||
|
|
|
@ -33,7 +33,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|||
class="tasks"
|
||||
type="list"
|
||||
>
|
||||
<TaskBody v-for="task in sort(day.tasks, sortOrder, sortDirection)"
|
||||
<Task v-for="task in sort(day.tasks, sortOrder, sortDirection)"
|
||||
:key="task.id"
|
||||
:task="task"
|
||||
/>
|
||||
|
@ -47,13 +47,13 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|||
import { mapGetters } from 'vuex'
|
||||
import { sort } from '../../store/storeHelper'
|
||||
import SortorderDropdown from '../SortorderDropdown'
|
||||
import TaskBody from '../Task'
|
||||
import Task from '../Task'
|
||||
import TaskDragContainer from '../TaskDragContainer'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
'TaskBody': TaskBody,
|
||||
'SortorderDropdown': SortorderDropdown,
|
||||
Task,
|
||||
SortorderDropdown,
|
||||
TaskDragContainer,
|
||||
},
|
||||
filters: {
|
||||
|
|
|
@ -351,7 +351,7 @@ export default {
|
|||
},
|
||||
directives: {
|
||||
ClickOutside,
|
||||
linkify
|
||||
linkify,
|
||||
},
|
||||
filters: {
|
||||
formatStartDate: function(date) {
|
||||
|
|
|
@ -78,7 +78,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|||
:title="sharedWithTooltip(calendar)" href="#"
|
||||
class="calendar__share icon-shared reactive" @click="toggleShare(calendar)"
|
||||
/>
|
||||
<Popover tag="li" class="app-navigation-entry-utils-menu-button reactive">
|
||||
<PopoverMenu tag="li" class="app-navigation-entry-utils-menu-button reactive">
|
||||
<ul>
|
||||
<li v-if="!calendar.readOnly">
|
||||
<a @click="edit(calendar)">
|
||||
|
@ -106,7 +106,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|||
</li>
|
||||
<Confirmation v-if="!calendar.readOnly" :message="deleteMessage(calendar.displayName)" @delete-calendar="deleteCalendar(calendar)" />
|
||||
</ul>
|
||||
</Popover>
|
||||
</PopoverMenu>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -194,14 +194,14 @@ import draggable from 'vuedraggable'
|
|||
|
||||
export default {
|
||||
components: {
|
||||
'Colorpicker': Colorpicker,
|
||||
'Popover': PopoverMenu,
|
||||
'Confirmation': Confirmation,
|
||||
Colorpicker,
|
||||
PopoverMenu,
|
||||
Confirmation,
|
||||
ShareCalendar,
|
||||
draggable,
|
||||
},
|
||||
directives: {
|
||||
ClickOutside
|
||||
ClickOutside,
|
||||
},
|
||||
filters: {
|
||||
counterFormatter: function(count) {
|
||||
|
|
|
@ -40,7 +40,7 @@ export default class Task {
|
|||
throw new Error('Invalid vCalendar')
|
||||
}
|
||||
|
||||
let jCal = ICAL.parse(vcalendar)
|
||||
const jCal = ICAL.parse(vcalendar)
|
||||
if (jCal[0] !== 'vcalendar') {
|
||||
throw new Error('Only one task is allowed in the vCalendar data')
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ import DavClient from 'cdav-library'
|
|||
function xhrProvider() {
|
||||
var headers = {
|
||||
'X-Requested-With': 'XMLHttpRequest',
|
||||
'requesttoken': OC.requestToken
|
||||
requesttoken: OC.requestToken
|
||||
}
|
||||
var xhr = new XMLHttpRequest()
|
||||
var oldOpen = xhr.open
|
||||
|
@ -33,7 +33,7 @@ function xhrProvider() {
|
|||
// override open() method to add headers
|
||||
xhr.open = function() {
|
||||
var result = oldOpen.apply(this, arguments)
|
||||
for (let name in headers) {
|
||||
for (const name in headers) {
|
||||
xhr.setRequestHeader(name, headers[name])
|
||||
}
|
||||
return result
|
||||
|
|
|
@ -160,7 +160,7 @@ const getters = {
|
|||
* @returns {Integer} The number of tasks
|
||||
*/
|
||||
getCalendarCount: (state, getters, rootState) => (calendarId) => {
|
||||
let calendar = getters.getCalendarById(calendarId)
|
||||
const calendar = getters.getCalendarById(calendarId)
|
||||
let tasks = Object.values(calendar.tasks)
|
||||
.filter(task => {
|
||||
return task.completed === false && (!task.related || !isParentInList(task, calendar.tasks))
|
||||
|
@ -357,7 +357,7 @@ const mutations = {
|
|||
*/
|
||||
removeSharee(state, { calendar, uri }) {
|
||||
calendar = state.calendars.find(search => search.id === calendar.id)
|
||||
let shareIndex = calendar.shares.findIndex(sharee => sharee.uri === uri)
|
||||
const shareIndex = calendar.shares.findIndex(sharee => sharee.uri === uri)
|
||||
calendar.shares.splice(shareIndex, 1)
|
||||
},
|
||||
|
||||
|
@ -371,7 +371,7 @@ const mutations = {
|
|||
*/
|
||||
updateShareeWritable(state, { calendar, uri }) {
|
||||
calendar = state.calendars.find(search => search.id === calendar.id)
|
||||
let sharee = calendar.shares.find(sharee => sharee.uri === uri)
|
||||
const sharee = calendar.shares.find(sharee => sharee.uri === uri)
|
||||
sharee.writeable = !sharee.writeable
|
||||
}
|
||||
}
|
||||
|
@ -482,7 +482,7 @@ const actions = {
|
|||
// We don't want to lose the url information
|
||||
// so we need to parse one by one
|
||||
const tasks = response.map(item => {
|
||||
let task = new Task(item.data, calendar)
|
||||
const task = new Task(item.data, calendar)
|
||||
Vue.set(task, 'dav', item)
|
||||
return task
|
||||
})
|
||||
|
@ -506,7 +506,7 @@ const actions = {
|
|||
|
||||
// If necessary, add the tasks as subtasks to parent tasks already present in the store.
|
||||
if (!related) {
|
||||
let parentParent = context.getters.getTaskByUid(parent.related)
|
||||
const parentParent = context.getters.getTaskByUid(parent.related)
|
||||
context.commit('addTaskToParent', { task: parent, parent: parentParent })
|
||||
}
|
||||
}
|
||||
|
@ -514,7 +514,7 @@ const actions = {
|
|||
|
||||
// If the requested tasks are related to a task, add the tasks as subtasks
|
||||
if (related) {
|
||||
let parent = Object.values(calendar.tasks).find(search => search.uid === related)
|
||||
const parent = Object.values(calendar.tasks).find(search => search.uid === related)
|
||||
if (parent) {
|
||||
parent.loadedCompleted = true
|
||||
tasks.map(task => Vue.set(parent.subTasks, task.uid, task))
|
||||
|
@ -552,7 +552,7 @@ const actions = {
|
|||
tasks.map(async task => {
|
||||
// Get vcard string
|
||||
try {
|
||||
let vData = ICAL.stringify(task.vCard.jCal)
|
||||
const vData = ICAL.stringify(task.vCard.jCal)
|
||||
// push task to server and use limit
|
||||
requests.push(limit(() => task.calendar.dav.createVCard(vData)
|
||||
.then((response) => {
|
||||
|
@ -589,12 +589,8 @@ const actions = {
|
|||
* @param {String} data.uri The sharee uri
|
||||
*/
|
||||
async removeSharee(context, { calendar, uri }) {
|
||||
try {
|
||||
await calendar.dav.unshare(uri)
|
||||
context.commit('removeSharee', { calendar, uri })
|
||||
} catch (error) {
|
||||
throw error
|
||||
}
|
||||
await calendar.dav.unshare(uri)
|
||||
context.commit('removeSharee', { calendar, uri })
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -607,13 +603,8 @@ const actions = {
|
|||
* @param {Boolean} data.writeable The sharee permission
|
||||
*/
|
||||
async toggleShareeWritable(context, { calendar, uri, writeable }) {
|
||||
try {
|
||||
await calendar.dav.share(uri, writeable)
|
||||
context.commit('updateShareeWritable', { calendar, uri, writeable })
|
||||
} catch (error) {
|
||||
throw error
|
||||
}
|
||||
|
||||
await calendar.dav.share(uri, writeable)
|
||||
context.commit('updateShareeWritable', { calendar, uri, writeable })
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -628,12 +619,8 @@ const actions = {
|
|||
*/
|
||||
async shareCalendar(context, { calendar, user, displayName, uri, isGroup }) {
|
||||
// Share calendar with entered group or user
|
||||
try {
|
||||
await calendar.dav.share(uri)
|
||||
context.commit('shareCalendar', { calendar, user, displayName, uri, isGroup })
|
||||
} catch (error) {
|
||||
throw error
|
||||
}
|
||||
await calendar.dav.share(uri)
|
||||
context.commit('shareCalendar', { calendar, user, displayName, uri, isGroup })
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@ const mutations = {
|
|||
* @param {Collection} newCollection The collection to update
|
||||
*/
|
||||
setVisibility(state, newCollection) {
|
||||
let collection = state.collections.find(search => search.id === newCollection.id)
|
||||
const collection = state.collections.find(search => search.id === newCollection.id)
|
||||
Vue.set(collection, 'show', newCollection.show)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -131,7 +131,7 @@ const getters = {
|
|||
getTaskByUri: (state, getters, rootState) => (taskUri) => {
|
||||
// We have to search in all calendars
|
||||
var task
|
||||
for (let calendar of rootState.calendars.calendars) {
|
||||
for (const calendar of rootState.calendars.calendars) {
|
||||
task = Object.values(calendar.tasks).find(task => {
|
||||
return task.uri === taskUri
|
||||
})
|
||||
|
@ -152,7 +152,7 @@ const getters = {
|
|||
getTaskByUid: (state, getters, rootState) => (taskUid) => {
|
||||
// We have to search in all calendars
|
||||
var task
|
||||
for (let calendar of rootState.calendars.calendars) {
|
||||
for (const calendar of rootState.calendars.calendars) {
|
||||
task = Object.values(calendar.tasks).find(task => {
|
||||
return task.uid === taskUid
|
||||
})
|
||||
|
@ -219,7 +219,7 @@ const getters = {
|
|||
* @returns {Task} The parent task
|
||||
*/
|
||||
getParentTask: () => (task) => {
|
||||
let tasks = task.calendar.tasks
|
||||
const tasks = task.calendar.tasks
|
||||
return Object.values(tasks).find(search => search.uid === task.related) || null
|
||||
},
|
||||
|
||||
|
@ -571,7 +571,7 @@ const actions = {
|
|||
return
|
||||
}
|
||||
|
||||
let task = new Task('BEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//Nextcloud Tasks v' + appVersion + '\nEND:VCALENDAR', taskData.calendar)
|
||||
const task = new Task('BEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//Nextcloud Tasks v' + appVersion + '\nEND:VCALENDAR', taskData.calendar)
|
||||
|
||||
task.created = ICAL.Time.now()
|
||||
task.summary = taskData.summary
|
||||
|
@ -582,16 +582,6 @@ const actions = {
|
|||
if (taskData.complete) {
|
||||
task.complete = taskData.complete
|
||||
}
|
||||
if (taskData.related) {
|
||||
task.related = taskData.related
|
||||
// Check that parent task is not completed, uncomplete if necessary.
|
||||
if (task.complete !== 100) {
|
||||
let parent = context.getters.getParentTask(task)
|
||||
if (parent && parent.completed) {
|
||||
await context.dispatch('setPercentComplete', { task: parent, complete: 0 })
|
||||
}
|
||||
}
|
||||
}
|
||||
if (taskData.note) {
|
||||
task.note = taskData.note
|
||||
}
|
||||
|
@ -601,8 +591,18 @@ const actions = {
|
|||
if (taskData.start) {
|
||||
task.start = taskData.start
|
||||
}
|
||||
if (taskData.related) {
|
||||
task.related = taskData.related
|
||||
// Check that parent task is not completed, uncomplete if necessary.
|
||||
if (task.complete !== 100) {
|
||||
const parent = context.getters.getParentTask(task)
|
||||
if (parent && parent.completed) {
|
||||
await context.dispatch('setPercentComplete', { task: parent, complete: 0 })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
let vData = ICAL.stringify(task.jCal)
|
||||
const vData = ICAL.stringify(task.jCal)
|
||||
|
||||
if (!task.dav) {
|
||||
await task.calendar.dav.createVObject(vData)
|
||||
|
@ -611,7 +611,7 @@ const actions = {
|
|||
task.syncstatus = new TaskStatus('success', 'Successfully created the task.')
|
||||
context.commit('appendTask', task)
|
||||
context.commit('addTaskToCalendar', task)
|
||||
let parent = context.getters.getTaskByUid(task.related)
|
||||
const parent = context.getters.getTaskByUid(task.related)
|
||||
context.commit('addTaskToParent', { task: task, parent: parent })
|
||||
|
||||
// Open the details view for the new task
|
||||
|
@ -644,7 +644,7 @@ const actions = {
|
|||
|
||||
function deleteTaskFromStore() {
|
||||
context.commit('deleteTask', task)
|
||||
let parent = context.getters.getTaskByUid(task.related)
|
||||
const parent = context.getters.getTaskByUid(task.related)
|
||||
context.commit('deleteTaskFromParent', { task: task, parent: parent })
|
||||
context.commit('deleteTaskFromCalendar', task)
|
||||
}
|
||||
|
@ -695,7 +695,7 @@ const actions = {
|
|||
return
|
||||
}
|
||||
|
||||
let vCalendar = ICAL.stringify(task.jCal)
|
||||
const vCalendar = ICAL.stringify(task.jCal)
|
||||
|
||||
if (!task.conflict) {
|
||||
task.dav.data = vCalendar
|
||||
|
@ -747,7 +747,7 @@ const actions = {
|
|||
async setPercentComplete(context, { task, complete }) {
|
||||
if (complete < 100) {
|
||||
// uncomplete the parent task
|
||||
let parent = context.getters.getParentTask(task)
|
||||
const parent = context.getters.getParentTask(task)
|
||||
if (parent && parent.completed) {
|
||||
await context.dispatch('setPercentComplete', { task: parent, complete: 0 })
|
||||
}
|
||||
|
@ -960,7 +960,7 @@ const actions = {
|
|||
}
|
||||
return task.dav.fetchCompleteData()
|
||||
.then((response) => {
|
||||
let newTask = new Task(task.dav.data, task.calendar)
|
||||
const newTask = new Task(task.dav.data, task.calendar)
|
||||
task.syncstatus = new TaskStatus('success', 'Successfully updated the task.')
|
||||
context.commit('updateTask', newTask)
|
||||
})
|
||||
|
@ -980,7 +980,7 @@ const actions = {
|
|||
// Only update the parent in case it differs from the current one.
|
||||
if (task.related !== parentId) {
|
||||
// Remove the task from the old parents subtask list
|
||||
let oldParent = context.getters.getTaskByUid(task.related)
|
||||
const oldParent = context.getters.getTaskByUid(task.related)
|
||||
context.commit('deleteTaskFromParent', { task: task, parent: oldParent })
|
||||
// Link to new parent
|
||||
Vue.set(task, 'related', parentId)
|
||||
|
|
Loading…
Reference in a new issue