Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit ecac7cc4 authored by Richard Steinmetz's avatar Richard Steinmetz Committed by GitHub
Browse files

Merge pull request #3337 from nextcloud/dependabot/npm_and_yarn/nextcloud/eslint-config-6.0.0

Bump @nextcloud/eslint-config from 5.1.0 to 6.0.0
parents 31dac912 737fd7cd
Loading
Loading
Loading
Loading
+196 −7
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@
			"devDependencies": {
				"@nextcloud/babel-config": "^1.0.0-beta.1",
				"@nextcloud/browserslist-config": "^2.1.0",
				"@nextcloud/eslint-config": "^5.1.0",
				"@nextcloud/eslint-config": "^6.0.0",
				"@nextcloud/stylelint-config": "^1.0.0-beta.0",
				"@nextcloud/webpack-vue-config": "^4.0.3",
				"@vue/test-utils": "^1.2.1",
@@ -1655,6 +1655,21 @@
				"node": ">=10.0.0"
			}
		},
		"node_modules/@es-joy/jsdoccomment": {
			"version": "0.6.0",
			"resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.6.0.tgz",
			"integrity": "sha512-zT1EtysKMITJ7vE4RvOJqitxk/Str6It8hq+fykxkwLuTyzgak+TnVuVSIyovT/qrEz3i46ypCSXgNtIDYwNOg==",
			"dev": true,
			"peer": true,
			"dependencies": {
				"comment-parser": "^1.1.5",
				"esquery": "^1.4.0",
				"jsdoctypeparser": "^9.0.0"
			},
			"engines": {
				"node": ">=10.0.0"
			}
		},
		"node_modules/@eslint/eslintrc": {
			"version": "0.4.2",
			"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.2.tgz",
@@ -2689,9 +2704,9 @@
			}
		},
		"node_modules/@nextcloud/eslint-config": {
			"version": "5.1.0",
			"resolved": "https://registry.npmjs.org/@nextcloud/eslint-config/-/eslint-config-5.1.0.tgz",
			"integrity": "sha512-NNSKvgkV6dSGD77ty7OARdO2YwL+fAvxkegXJK1UaTI9nSDsiPAHyYwaYrkOUmrVygpprzqsdnTofeKIq1JepQ==",
			"version": "6.0.0",
			"resolved": "https://registry.npmjs.org/@nextcloud/eslint-config/-/eslint-config-6.0.0.tgz",
			"integrity": "sha512-Zz4922zbijq796Xh4TT8RZJIv9hZmwUtIsXqJPKw4nCChHydvOMgwDqtm4Mow2OA7wc3Ff38dKr03KdFiJA0Ng==",
			"dev": true,
			"peerDependencies": {
				"@babel/core": "^7.13.10",
@@ -2700,6 +2715,7 @@
				"eslint": "^7.13.0",
				"eslint-config-standard": "^16.0.1",
				"eslint-plugin-import": "^2.22.1",
				"eslint-plugin-jsdoc": "^34.8.2",
				"eslint-plugin-node": "^11.1.0",
				"eslint-plugin-promise": "^4.2.1",
				"eslint-plugin-vue": "^7.1.0",
@@ -5381,6 +5397,16 @@
				"node": ">= 6"
			}
		},
		"node_modules/comment-parser": {
			"version": "1.1.5",
			"resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.1.5.tgz",
			"integrity": "sha512-RePCE4leIhBlmrqiYTvaqEeGYg7qpSl4etaIabKtdOQVi+mSTIBBklGUwIr79GXYnl3LpMwmDw4KeR2stNc6FA==",
			"dev": true,
			"peer": true,
			"engines": {
				"node": ">= 10.0.0"
			}
		},
		"node_modules/commondir": {
			"version": "1.0.1",
			"resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz",
@@ -6792,6 +6818,66 @@
				"node": ">=4"
			}
		},
		"node_modules/eslint-plugin-jsdoc": {
			"version": "34.8.2",
			"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-34.8.2.tgz",
			"integrity": "sha512-UOU9A40Cl806JMtla2vF+RM6sNqfLPbhLv9FZqhcC7+LmChD3DVaWqM7ADxpF0kMyZNWe1QKUnqGnXaA3NTn+w==",
			"dev": true,
			"peer": true,
			"dependencies": {
				"@es-joy/jsdoccomment": "^0.6.0",
				"comment-parser": "1.1.5",
				"debug": "^4.3.1",
				"esquery": "^1.4.0",
				"jsdoctypeparser": "^9.0.0",
				"lodash": "^4.17.21",
				"regextras": "^0.7.1",
				"semver": "^7.3.5",
				"spdx-expression-parse": "^3.0.1"
			},
			"engines": {
				"node": ">=12"
			},
			"peerDependencies": {
				"eslint": "^6.0.0 || ^7.0.0"
			}
		},
		"node_modules/eslint-plugin-jsdoc/node_modules/lru-cache": {
			"version": "6.0.0",
			"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
			"integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
			"dev": true,
			"peer": true,
			"dependencies": {
				"yallist": "^4.0.0"
			},
			"engines": {
				"node": ">=10"
			}
		},
		"node_modules/eslint-plugin-jsdoc/node_modules/semver": {
			"version": "7.3.5",
			"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
			"integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
			"dev": true,
			"peer": true,
			"dependencies": {
				"lru-cache": "^6.0.0"
			},
			"bin": {
				"semver": "bin/semver.js"
			},
			"engines": {
				"node": ">=10"
			}
		},
		"node_modules/eslint-plugin-jsdoc/node_modules/yallist": {
			"version": "4.0.0",
			"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
			"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
			"dev": true,
			"peer": true
		},
		"node_modules/eslint-plugin-node": {
			"version": "11.1.0",
			"resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz",
@@ -11094,6 +11180,19 @@
				"node": ">=4"
			}
		},
		"node_modules/jsdoctypeparser": {
			"version": "9.0.0",
			"resolved": "https://registry.npmjs.org/jsdoctypeparser/-/jsdoctypeparser-9.0.0.tgz",
			"integrity": "sha512-jrTA2jJIL6/DAEILBEh2/w9QxCuwmvNXIry39Ay/HVfhE3o2yVV0U44blYkqdHA/OKloJEqvJy0xU+GSdE2SIw==",
			"dev": true,
			"peer": true,
			"bin": {
				"jsdoctypeparser": "bin/jsdoctypeparser"
			},
			"engines": {
				"node": ">=10"
			}
		},
		"node_modules/jsdom": {
			"version": "16.6.0",
			"resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.6.0.tgz",
@@ -13830,6 +13929,16 @@
				"node": ">=4"
			}
		},
		"node_modules/regextras": {
			"version": "0.7.1",
			"resolved": "https://registry.npmjs.org/regextras/-/regextras-0.7.1.tgz",
			"integrity": "sha512-9YXf6xtW+qzQ+hcMQXx95MOvfqXFgsKDZodX3qZB0x2n5Z94ioetIITsBtvJbiOyxa/6s9AtyweBLCdPmPko/w==",
			"dev": true,
			"peer": true,
			"engines": {
				"node": ">=0.1.14"
			}
		},
		"node_modules/regjsgen": {
			"version": "0.5.2",
			"resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.2.tgz",
@@ -18482,6 +18591,18 @@
			"dev": true,
			"peer": true
		},
		"@es-joy/jsdoccomment": {
			"version": "0.6.0",
			"resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.6.0.tgz",
			"integrity": "sha512-zT1EtysKMITJ7vE4RvOJqitxk/Str6It8hq+fykxkwLuTyzgak+TnVuVSIyovT/qrEz3i46ypCSXgNtIDYwNOg==",
			"dev": true,
			"peer": true,
			"requires": {
				"comment-parser": "^1.1.5",
				"esquery": "^1.4.0",
				"jsdoctypeparser": "^9.0.0"
			}
		},
		"@eslint/eslintrc": {
			"version": "0.4.2",
			"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.2.tgz",
@@ -19294,9 +19415,9 @@
			}
		},
		"@nextcloud/eslint-config": {
			"version": "5.1.0",
			"resolved": "https://registry.npmjs.org/@nextcloud/eslint-config/-/eslint-config-5.1.0.tgz",
			"integrity": "sha512-NNSKvgkV6dSGD77ty7OARdO2YwL+fAvxkegXJK1UaTI9nSDsiPAHyYwaYrkOUmrVygpprzqsdnTofeKIq1JepQ==",
			"version": "6.0.0",
			"resolved": "https://registry.npmjs.org/@nextcloud/eslint-config/-/eslint-config-6.0.0.tgz",
			"integrity": "sha512-Zz4922zbijq796Xh4TT8RZJIv9hZmwUtIsXqJPKw4nCChHydvOMgwDqtm4Mow2OA7wc3Ff38dKr03KdFiJA0Ng==",
			"dev": true,
			"requires": {}
		},
@@ -21512,6 +21633,13 @@
			"resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
			"integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA=="
		},
		"comment-parser": {
			"version": "1.1.5",
			"resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.1.5.tgz",
			"integrity": "sha512-RePCE4leIhBlmrqiYTvaqEeGYg7qpSl4etaIabKtdOQVi+mSTIBBklGUwIr79GXYnl3LpMwmDw4KeR2stNc6FA==",
			"dev": true,
			"peer": true
		},
		"commondir": {
			"version": "1.0.1",
			"resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz",
@@ -22752,6 +22880,53 @@
				}
			}
		},
		"eslint-plugin-jsdoc": {
			"version": "34.8.2",
			"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-34.8.2.tgz",
			"integrity": "sha512-UOU9A40Cl806JMtla2vF+RM6sNqfLPbhLv9FZqhcC7+LmChD3DVaWqM7ADxpF0kMyZNWe1QKUnqGnXaA3NTn+w==",
			"dev": true,
			"peer": true,
			"requires": {
				"@es-joy/jsdoccomment": "^0.6.0",
				"comment-parser": "1.1.5",
				"debug": "^4.3.1",
				"esquery": "^1.4.0",
				"jsdoctypeparser": "^9.0.0",
				"lodash": "^4.17.21",
				"regextras": "^0.7.1",
				"semver": "^7.3.5",
				"spdx-expression-parse": "^3.0.1"
			},
			"dependencies": {
				"lru-cache": {
					"version": "6.0.0",
					"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
					"integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
					"dev": true,
					"peer": true,
					"requires": {
						"yallist": "^4.0.0"
					}
				},
				"semver": {
					"version": "7.3.5",
					"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
					"integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
					"dev": true,
					"peer": true,
					"requires": {
						"lru-cache": "^6.0.0"
					}
				},
				"yallist": {
					"version": "4.0.0",
					"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
					"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
					"dev": true,
					"peer": true
				}
			}
		},
		"eslint-plugin-node": {
			"version": "11.1.0",
			"resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz",
@@ -25844,6 +26019,13 @@
				}
			}
		},
		"jsdoctypeparser": {
			"version": "9.0.0",
			"resolved": "https://registry.npmjs.org/jsdoctypeparser/-/jsdoctypeparser-9.0.0.tgz",
			"integrity": "sha512-jrTA2jJIL6/DAEILBEh2/w9QxCuwmvNXIry39Ay/HVfhE3o2yVV0U44blYkqdHA/OKloJEqvJy0xU+GSdE2SIw==",
			"dev": true,
			"peer": true
		},
		"jsdom": {
			"version": "16.6.0",
			"resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.6.0.tgz",
@@ -28002,6 +28184,13 @@
				"unicode-match-property-value-ecmascript": "^1.2.0"
			}
		},
		"regextras": {
			"version": "0.7.1",
			"resolved": "https://registry.npmjs.org/regextras/-/regextras-0.7.1.tgz",
			"integrity": "sha512-9YXf6xtW+qzQ+hcMQXx95MOvfqXFgsKDZodX3qZB0x2n5Z94ioetIITsBtvJbiOyxa/6s9AtyweBLCdPmPko/w==",
			"dev": true,
			"peer": true
		},
		"regjsgen": {
			"version": "0.5.2",
			"resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.2.tgz",
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@
	"devDependencies": {
		"@nextcloud/babel-config": "^1.0.0-beta.1",
		"@nextcloud/browserslist-config": "^2.1.0",
		"@nextcloud/eslint-config": "^5.1.0",
		"@nextcloud/eslint-config": "^6.0.0",
		"@nextcloud/stylelint-config": "^1.0.0-beta.0",
		"@nextcloud/webpack-vue-config": "^4.0.3",
		"@vue/test-utils": "^1.2.1",
+10 −10
Original line number Diff line number Diff line
@@ -205,7 +205,7 @@ export default {
		/**
		 * Download url of the calendar
		 *
		 * @returns {String}
		 * @return {string}
		 */
		downloadUrl() {
			return this.calendar.url + '?export'
@@ -214,7 +214,7 @@ export default {
		 * Whether or not to display the sharing icon.
		 * It will only be displayed when the calendar is either sharable or publishable
		 *
		 * @returns {Boolean}
		 * @return {boolean}
		 */
		showSharingIcon() {
			return this.calendar.canBeShared || this.calendar.canBePublished
@@ -227,7 +227,7 @@ export default {
		 * The sharing icon with high opacity when the calendar is shared
		 * The sharing icon with low opacity when the calendar is neither shared nor published
		 *
		 * @returns {String}
		 * @return {string}
		 */
		sharingIconClass() {
			if (this.isPublished) {
@@ -244,7 +244,7 @@ export default {
		 * Whether or not the calendar is either shared or published
		 * This is used to figure out whether or not to display the Shared label
		 *
		 * @returns {Boolean}
		 * @return {boolean}
		 */
		isSharedOrPublished() {
			return this.isShared || this.isPublished
@@ -252,7 +252,7 @@ export default {
		/**
		 * Is the calendar shared?
		 *
		 * @returns {Boolean}
		 * @return {boolean}
		 */
		isShared() {
			return !!this.calendar.shares.length
@@ -260,7 +260,7 @@ export default {
		/**
		 * Is the calendar shared with me?
		 *
		 * @returns {Boolean}
		 * @return {boolean}
		 */
		isSharedWithMe() {
			return this.calendar.isSharedWithMe
@@ -268,7 +268,7 @@ export default {
		/**
		 * Is the calendar published
		 *
		 * @returns {Boolean}
		 * @return {boolean}
		 */
		isPublished() {
			return !!this.calendar.publishURL
@@ -276,7 +276,7 @@ export default {
		/**
		 * TODO: this should use principals and principal.userId
		 *
		 * @returns {String}
		 * @return {string}
		 */
		owner() {
			if (this.calendar.owner.indexOf('principal:principals/users/') === '0') {
@@ -289,7 +289,7 @@ export default {
		/**
		 * Whether or not the information about the owner principal was loaded
		 *
		 * @returns {Boolean}
		 * @return {boolean}
		 */
		loadedOwnerPrincipal() {
			return this.$store.getters.getPrincipalByUrl(this.calendar.owner) !== undefined
+12 −12
Original line number Diff line number Diff line
@@ -73,12 +73,12 @@ export default {
		/**
		 * Share calendar
		 *
		 * @param {Object} data destructuring object
		 * @param {object} data destructuring object
		 * @param {string} data.user the userId
		 * @param {string} data.displayName the displayName
		 * @param {string} data.uri the sharing principalScheme uri
		 * @param {Boolean} data.isGroup is this a group ?
		 * @param {Boolean} data.isCircle is this a circle-group ?
		 * @param {boolean} data.isGroup is this a group ?
		 * @param {boolean} data.isCircle is this a circle-group ?
		 */
		shareCalendar({ user, displayName, uri, isGroup, isCircle }) {
			this.$store.dispatch('shareCalendar', {
@@ -94,7 +94,7 @@ export default {
		/**
		 * Use the cdav client call to find matches to the query from the existing Users & Groups
		 *
		 * @param {String} query
		 * @param {string} query
		 */
		findSharee: debounce(async function(query) {
			const hiddenPrincipalSchemes = []
@@ -131,10 +131,10 @@ export default {
		}, 500),
		/**
		 *
		 * @param {String} query The search query
		 * @param {String[]} hiddenPrincipals A list of principals to exclude from search results
		 * @param {String[]} hiddenUrls A list of urls to exclude from search results
		 * @returns {Promise<Object[]>}
		 * @param {string} query The search query
		 * @param {string[]} hiddenPrincipals A list of principals to exclude from search results
		 * @param {string[]} hiddenUrls A list of urls to exclude from search results
		 * @return {Promise<object[]>}
		 */
		async findShareesFromDav(query, hiddenPrincipals, hiddenUrls) {
			let results
@@ -182,10 +182,10 @@ export default {
		},
		/**
		 *
		 * @param {String} query The search query
		 * @param {String[]} hiddenPrincipals A list of principals to exclude from search results
		 * @param {String[]} hiddenUrls A list of urls to exclude from search results
		 * @returns {Promise<Object[]>}
		 * @param {string} query The search query
		 * @param {string[]} hiddenPrincipals A list of principals to exclude from search results
		 * @param {string[]} hiddenUrls A list of urls to exclude from search results
		 * @return {Promise<object[]>}
		 */
		async findShareesFromCircles(query, hiddenPrincipals, hiddenUrls) {
			let results
+2 −2
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@ export default {
		/**
		 * Unshares the calendar from the given sharee
		 *
		 * @returns {Promise<void>}
		 * @return {Promise<void>}
		 */
		async unshare() {
			this.updatingSharee = true
@@ -109,7 +109,7 @@ export default {
		/**
		 * Toggles the write-permission of the share
		 *
		 * @returns {Promise<void>}
		 * @return {Promise<void>}
		 */
		async updatePermission() {
			this.updatingSharee = true
Loading