From b7b8d094400aece21165c24a99a4ebc5eb9baf7a Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 20 Jul 2020 21:08:17 +0000 Subject: [PATCH 1/3] Bump eslint-plugin-jsdoc from 28.6.1 to 30.0.2 Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 28.6.1 to 30.0.2. - [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases) - [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v28.6.1...v30.0.2) Signed-off-by: dependabot-preview[bot] --- package.json | 2 +- yarn.lock | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index d673954dd..34c1a893a 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "eslint-config-xo": "^0.29.1", "eslint-plugin-import": "^2.18.2", "eslint-plugin-jest": "^23.0.1", - "eslint-plugin-jsdoc": "^28.5.1", + "eslint-plugin-jsdoc": "^30.0.2", "eslint-plugin-prettier": "^3.1.1", "graphql": "^15.0.0", "husky": "^4.0.7", diff --git a/yarn.lock b/yarn.lock index d81f1f5ef..a37929beb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -53,10 +53,10 @@ integrity sha512-m2OzlTDbhvzK4hgswH9Lx0cdpq1AntXu53Klz5RGkFfuoDvKsnlU7tmtVfNWtUiP0zZbGtrb/BZYH7aB6TRnMA== "@auto-it/bot-list@link:packages/bot-list": - version "9.45.0" + version "9.47.0" "@auto-it/core@link:packages/core": - version "9.45.0" + version "9.47.0" dependencies: "@auto-it/bot-list" "link:packages/bot-list" "@octokit/graphql" "^4.4.0" @@ -95,7 +95,7 @@ url-join "^4.0.0" "@auto-it/npm@link:plugins/npm": - version "9.45.0" + version "9.47.0" dependencies: "@auto-it/core" "link:packages/core" await-to-js "^2.1.1" @@ -113,7 +113,7 @@ user-home "^2.0.0" "@auto-it/released@link:plugins/released": - version "9.45.0" + version "9.47.0" dependencies: "@auto-it/core" "link:packages/core" deepmerge "^4.0.0" @@ -7408,14 +7408,14 @@ eslint-plugin-jest@^23.0.1: dependencies: "@typescript-eslint/experimental-utils" "^2.5.0" -eslint-plugin-jsdoc@^28.5.1: - version "28.6.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-28.6.1.tgz#c9e9da59d0d3cef4fb45ffb91c0acde43af4e418" - integrity sha512-Z3y7hcNPDuhL339D1KOf9SY8pMAxYxhaG4QLtu3KVn20k/hNF1u6WQv44wvuSCb6OfPJ4say37RUlSNqIjR+mw== +eslint-plugin-jsdoc@^30.0.2: + version "30.0.2" + resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-30.0.2.tgz#4dd21f9ffb2b3d7016176043b6358fe341b23d03" + integrity sha512-vqrVShEIe8np/2tSJhkZethJpgZAzZ5ZcV4pfH6785jEVtfcChy3X2DP73qoe9/6sbf6naIGfsoRFyqjBTgypg== dependencies: comment-parser "^0.7.5" debug "^4.1.1" - jsdoctypeparser "^7.0.0" + jsdoctypeparser "^8.0.0" lodash "^4.17.15" regextras "^0.7.1" semver "^7.3.2" @@ -11215,10 +11215,10 @@ jsbn@~0.1.0: resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM= -jsdoctypeparser@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/jsdoctypeparser/-/jsdoctypeparser-7.0.0.tgz#957192fbcb8c574240092cca4635383a6ed706eb" - integrity sha512-6vWPn5qSy+MbgCVjXsQKVkRywhs+IxFU7Chw72DKsWoGueYp6QX8eTc55+EA0yPGYfhmglb1gfi283asXirfGQ== +jsdoctypeparser@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/jsdoctypeparser/-/jsdoctypeparser-8.0.0.tgz#a04a944539d3f86e30040c1ece6f6730f865f81a" + integrity sha512-eLCs6s4JqN8TjFJfgdiLHRvogLhOAJz+5RIA2FtoMe6ZDyuvghvppnlIToqAEnVbxRqLMrfnNXpW8FpmR6IMBw== jsdom@^15.2.1: version "15.2.1" From d326cb15db8969a1ff0c24c51aae6a7f95d9e895 Mon Sep 17 00:00:00 2001 From: Andrew Lisowski Date: Tue, 21 Jul 2020 08:45:10 -0700 Subject: [PATCH 2/3] fix lint --- packages/cli/src/bin/auto.ts | 2 +- packages/core/src/git.ts | 3 ++- packages/core/src/init.ts | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/bin/auto.ts b/packages/cli/src/bin/auto.ts index 168aa3629..d1cae4254 100644 --- a/packages/cli/src/bin/auto.ts +++ b/packages/cli/src/bin/auto.ts @@ -9,8 +9,8 @@ try { if (json.name.startsWith("@auto-canary")) { moduleAlias.addAliases({ + /** We want to rewrite all the imports for canary (ex: npm plugin requiring core) */ "@auto-it": (fromPath: string, request: string) => - // We want to rewrite all the imports for canary (ex: npm plugin requiring core) request.startsWith("@auto-it") && // but we also want to be able to require official plugins from a canary !fromPath.endsWith("noop.js") && diff --git a/packages/core/src/git.ts b/packages/core/src/git.ts index 63a9b3705..28872463f 100644 --- a/packages/core/src/git.ts +++ b/packages/core/src/git.ts @@ -137,6 +137,7 @@ export default class Git { previews: ["symmetra-preview"], request: { agent: this.options.agent }, throttle: { + /** Add a wait once rate limit is hit */ onRateLimit: (retryAfter: number, opts: ThrottleOpts) => { this.logger.log.warn( `Request quota exhausted for request ${opts.method} ${opts.url}` @@ -147,8 +148,8 @@ export default class Git { return true; } }, + /** does not retry, only logs an error */ onAbuseLimit: (_: number, opts: ThrottleOpts) => { - // does not retry, only logs an error this.logger.log.error( `Went over abuse rate limit ${opts.method} ${opts.url}` ); diff --git a/packages/core/src/init.ts b/packages/core/src/init.ts index 2b2f4bbe3..37bc86a62 100644 --- a/packages/core/src/init.ts +++ b/packages/core/src/init.ts @@ -83,6 +83,7 @@ async function getLabel(label?: ILabelDefinition) { releaseType: #{releaseType} }`, // @ts-ignore + /** Check if returned config is valid */ validate: (state: { /** The result of the prompt */ values: ILabelDefinition; From 31442a1c3a62a09be78ebdea20f10aca8fb62bbe Mon Sep 17 00:00:00 2001 From: Andrew Lisowski Date: Tue, 21 Jul 2020 09:05:23 -0700 Subject: [PATCH 3/3] fix lint --- packages/core/src/init.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/init.ts b/packages/core/src/init.ts index 37bc86a62..ff075f951 100644 --- a/packages/core/src/init.ts +++ b/packages/core/src/init.ts @@ -82,8 +82,8 @@ async function getLabel(label?: ILabelDefinition) { description: #{description}, releaseType: #{releaseType} }`, - // @ts-ignore /** Check if returned config is valid */ + // @ts-ignore validate: (state: { /** The result of the prompt */ values: ILabelDefinition;