From 8a97f2087d07290474d9bf224057322ae2abe4bc Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Thu, 22 Feb 2024 09:38:24 -0700 Subject: [PATCH 01/11] fix: only set timeout for TTY --- src/cli-ux/prompt.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cli-ux/prompt.ts b/src/cli-ux/prompt.ts index 0befdb805..7735b357c 100644 --- a/src/cli-ux/prompt.ts +++ b/src/cli-ux/prompt.ts @@ -36,7 +36,8 @@ function normal(options: IPromptConfig, retries = 100): Promise { output: process.stdout, }) let timeout: NodeJS.Timeout - if (options.timeout) { + // Only set the timeout if the input is a TTY + if (options.timeout && process.stdin.isTTY) { timeout = setTimeout(() => ac.abort(), options.timeout) signal.addEventListener( 'abort', From 271b66b18ad4689a55180bc751a20d547ec2fb8b Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Thu, 22 Feb 2024 11:02:03 -0700 Subject: [PATCH 02/11] chore: use options.isTTY --- src/cli-ux/prompt.ts | 2 +- test/cli-ux/prompt.test.ts | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/cli-ux/prompt.ts b/src/cli-ux/prompt.ts index 7735b357c..afed56bc4 100644 --- a/src/cli-ux/prompt.ts +++ b/src/cli-ux/prompt.ts @@ -37,7 +37,7 @@ function normal(options: IPromptConfig, retries = 100): Promise { }) let timeout: NodeJS.Timeout // Only set the timeout if the input is a TTY - if (options.timeout && process.stdin.isTTY) { + if (options.timeout && options.isTTY) { timeout = setTimeout(() => ac.abort(), options.timeout) signal.addEventListener( 'abort', diff --git a/test/cli-ux/prompt.test.ts b/test/cli-ux/prompt.test.ts index 387be7dca..0f28c02ef 100644 --- a/test/cli-ux/prompt.test.ts +++ b/test/cli-ux/prompt.test.ts @@ -33,7 +33,7 @@ describe('prompt', () => { expect(answer).to.equal('answer') }) - it('should not require input', async () => { + it('should not require input if required = false', async () => { stubReadline(['']) const answer = await ux.prompt('Require input?', {required: false}) expect(answer).to.equal('') @@ -45,6 +45,16 @@ describe('prompt', () => { expect(answer).to.equal('default') }) + it('should timeout after provided timeout', async () => { + stubReadline(['']) + try { + await ux.prompt('Require input?', {timeout: 10}) + expect.fail('should have thrown') + } catch (error: any) { + expect(error.message).to.equal('Prompt timeout') + } + }) + it('should confirm with y', async () => { stubReadline(['y']) const answer = await ux.confirm('yes/no?') From 7ede36d8b9293dfbd95dc42cebb4ddfc028fcb12 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Thu, 22 Feb 2024 11:09:41 -0700 Subject: [PATCH 03/11] test: stub process.stdin.isTTY --- test/cli-ux/prompt.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/cli-ux/prompt.test.ts b/test/cli-ux/prompt.test.ts index 0f28c02ef..1afe3922b 100644 --- a/test/cli-ux/prompt.test.ts +++ b/test/cli-ux/prompt.test.ts @@ -47,6 +47,7 @@ describe('prompt', () => { it('should timeout after provided timeout', async () => { stubReadline(['']) + sandbox.stub(process, 'stdin').value({isTTY: true}) try { await ux.prompt('Require input?', {timeout: 10}) expect.fail('should have thrown') From 1c12c07c3874b13d2354abcfff74e8b5a58f0d07 Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Thu, 22 Feb 2024 19:11:29 +0000 Subject: [PATCH 04/11] chore(release): 3.19.5 [skip ci] --- CHANGELOG.md | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd96154b9..597b6fc96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [3.19.5](https://github.com/oclif/core/compare/3.19.4...3.19.5) (2024-02-22) + + +### Bug Fixes + +* only set timeout for TTY ([8a97f20](https://github.com/oclif/core/commit/8a97f2087d07290474d9bf224057322ae2abe4bc)) + + + ## [3.19.4](https://github.com/oclif/core/compare/3.19.3...3.19.4) (2024-02-21) diff --git a/package.json b/package.json index a6c2e549d..006545ad6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@oclif/core", "description": "base library for oclif CLIs", - "version": "3.19.4", + "version": "3.19.5", "author": "Salesforce", "bugs": "https://github.com/oclif/core/issues", "dependencies": { From a96e5679c366a300d3149cecd2ef8fd3fb11a954 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Thu, 22 Feb 2024 19:11:57 -0700 Subject: [PATCH 05/11] fix: revert to original prompt implementation --- src/cli-ux/prompt.ts | 40 ++++-------- test/cli-ux/prompt.test.ts | 127 ++++++++++++++++++------------------- 2 files changed, 76 insertions(+), 91 deletions(-) diff --git a/src/cli-ux/prompt.ts b/src/cli-ux/prompt.ts index afed56bc4..84f25dc21 100644 --- a/src/cli-ux/prompt.ts +++ b/src/cli-ux/prompt.ts @@ -1,5 +1,4 @@ import chalk from 'chalk' -import readline from 'node:readline' import * as Errors from '../errors' import {config} from './config' @@ -27,37 +26,26 @@ interface IPromptConfig { function normal(options: IPromptConfig, retries = 100): Promise { if (retries < 0) throw new Error('no input') - const ac = new AbortController() - const {signal} = ac - return new Promise((resolve, reject) => { - const rl = readline.createInterface({ - input: process.stdin, - output: process.stdout, - }) - let timeout: NodeJS.Timeout - // Only set the timeout if the input is a TTY - if (options.timeout && options.isTTY) { - timeout = setTimeout(() => ac.abort(), options.timeout) - signal.addEventListener( - 'abort', - () => { - rl.close() - clearTimeout(timeout) - reject(new Error('Prompt timeout')) - }, - {once: true}, - ) + let timer: NodeJS.Timeout + if (options.timeout) { + timer = setTimeout(() => { + process.stdin.pause() + reject(new Error('Prompt timeout')) + }, options.timeout) + timer.unref() } - rl.question(options.prompt, {signal}, (answer) => { - rl.close() - const data = answer.trim() + process.stdin.setEncoding('utf8') + process.stderr.write(options.prompt) + process.stdin.resume() + process.stdin.once('data', (b) => { + if (timer) clearTimeout(timer) + process.stdin.pause() + const data: string = (typeof b === 'string' ? b : b.toString()).trim() if (!options.default && options.required && data === '') { - clearTimeout(timeout) resolve(normal(options, retries - 1)) } else { - clearTimeout(timeout) resolve(data || (options.default as string)) } }) diff --git a/test/cli-ux/prompt.test.ts b/test/cli-ux/prompt.test.ts index 1afe3922b..7f34e83d8 100644 --- a/test/cli-ux/prompt.test.ts +++ b/test/cli-ux/prompt.test.ts @@ -1,76 +1,73 @@ -import {expect} from 'chai' -import readline from 'node:readline' -import {SinonSandbox, createSandbox} from 'sinon' +import * as chai from 'chai' + +const {expect} = chai import {ux} from '../../src/cli-ux' +import {fancy} from './fancy' describe('prompt', () => { - let sandbox: SinonSandbox - - function stubReadline(answers: string[]) { - let callCount = 0 - sandbox.stub(readline, 'createInterface').returns({ - // @ts-expect-error because we're stubbing - async question(_message, opts, cb) { - callCount += 1 - cb(answers[callCount - 1]) - }, - close() {}, + fancy + .stdout() + .stderr() + .end('requires input', async () => { + const promptPromise = ux.prompt('Require input?') + process.stdin.emit('data', '') + process.stdin.emit('data', 'answer') + const answer = await promptPromise + await ux.done() + expect(answer).to.equal('answer') }) - } - - beforeEach(() => { - sandbox = createSandbox() - }) - - afterEach(() => { - sandbox.restore() - }) - - it('should require input', async () => { - stubReadline(['', '', 'answer']) - const answer = await ux.prompt('Require input?') - expect(answer).to.equal('answer') - }) - - it('should not require input if required = false', async () => { - stubReadline(['']) - const answer = await ux.prompt('Require input?', {required: false}) - expect(answer).to.equal('') - }) - it('should use default input', async () => { - stubReadline(['']) - const answer = await ux.prompt('Require input?', {default: 'default'}) - expect(answer).to.equal('default') - }) + fancy + .stdout() + .stderr() + .stdin('y') + .end('confirm', async () => { + const promptPromise = ux.confirm('yes/no?') + const answer = await promptPromise + await ux.done() + expect(answer).to.equal(true) + }) - it('should timeout after provided timeout', async () => { - stubReadline(['']) - sandbox.stub(process, 'stdin').value({isTTY: true}) - try { - await ux.prompt('Require input?', {timeout: 10}) - expect.fail('should have thrown') - } catch (error: any) { - expect(error.message).to.equal('Prompt timeout') - } - }) + fancy + .stdout() + .stderr() + .stdin('n') + .end('confirm', async () => { + const promptPromise = ux.confirm('yes/no?') + const answer = await promptPromise + await ux.done() + expect(answer).to.equal(false) + }) - it('should confirm with y', async () => { - stubReadline(['y']) - const answer = await ux.confirm('yes/no?') - expect(answer).to.equal(true) - }) + fancy + .stdout() + .stderr() + .stdin('x') + .end('gets anykey', async () => { + const promptPromise = ux.anykey() + const answer = await promptPromise + await ux.done() + expect(answer).to.equal('x') + }) - it('should confirm with n', async () => { - stubReadline(['n']) - const answer = await ux.confirm('yes/no?') - expect(answer).to.equal(false) - }) + fancy + .stdout() + .stderr() + .end('does not require input', async () => { + const promptPromise = ux.prompt('Require input?', { + required: false, + }) + process.stdin.emit('data', '') + const answer = await promptPromise + await ux.done() + expect(answer).to.equal('') + }) - it('should get anykey', async () => { - stubReadline(['x']) - const answer = await ux.anykey() - expect(answer).to.equal('x') - }) + fancy + .stdout() + .stderr() + .it('timeouts with no input', async () => { + await expect(ux.prompt('Require input?', {timeout: 1})).to.eventually.be.rejectedWith('Prompt timeout') + }) }) From 2a74d8e762372806fe88c76d3c22f6e10cacf634 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Thu, 22 Feb 2024 19:26:47 -0700 Subject: [PATCH 06/11] ci: add plugin-settings to external nuts --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ec353c7b1..2600df973 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -107,6 +107,7 @@ jobs: - https://github.com/salesforcecli/plugin-org - https://github.com/salesforcecli/plugin-schema - https://github.com/salesforcecli/plugin-user + - https://github.com/salesforcecli/plugin-settings with: packageName: '@oclif/core' externalProjectGitUrl: ${{ matrix.externalProjectGitUrl }} @@ -153,7 +154,7 @@ jobs: with: repo: oclif/plugin-plugins os: ${{ matrix.os }} - command: 'yarn test:integration' + command: yarn test:integration --retries 3 # plugin-plugins integration tests depend on sf being installed globally other-setup: npm install -g @salesforce/cli@nightly plugin-update-integration: @@ -166,4 +167,4 @@ jobs: with: repo: oclif/plugin-update os: ${{ matrix.os }} - command: 'yarn test:integration:sf' + command: yarn test:integration:sf --retries 3 From a72544731f986f3d71522d3ab9e1f9106cbd395a Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Fri, 23 Feb 2024 18:47:42 +0000 Subject: [PATCH 07/11] chore(release): 3.19.6 [skip ci] --- CHANGELOG.md | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 597b6fc96..21390f8be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [3.19.6](https://github.com/oclif/core/compare/3.19.5...3.19.6) (2024-02-23) + + +### Bug Fixes + +* revert to original prompt implementation ([a96e567](https://github.com/oclif/core/commit/a96e5679c366a300d3149cecd2ef8fd3fb11a954)) + + + ## [3.19.5](https://github.com/oclif/core/compare/3.19.4...3.19.5) (2024-02-22) diff --git a/package.json b/package.json index 006545ad6..e03b8ca9e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@oclif/core", "description": "base library for oclif CLIs", - "version": "3.19.5", + "version": "3.19.6", "author": "Salesforce", "bugs": "https://github.com/oclif/core/issues", "dependencies": { From 0ceeba6e376c24dfa47aa9574f8c6969d5f3a5f8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 24 Feb 2024 07:00:08 +0000 Subject: [PATCH 08/11] chore(dev-deps): bump eslint-config-oclif-typescript Bumps [eslint-config-oclif-typescript](https://github.com/oclif/eslint-config-oclif-typescript) from 3.0.47 to 3.0.48. - [Release notes](https://github.com/oclif/eslint-config-oclif-typescript/releases) - [Changelog](https://github.com/oclif/eslint-config-oclif-typescript/blob/main/CHANGELOG.md) - [Commits](https://github.com/oclif/eslint-config-oclif-typescript/compare/3.0.47...3.0.48) --- updated-dependencies: - dependency-name: eslint-config-oclif-typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index e03b8ca9e..6c9e76c13 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "cross-env": "^7.0.3", "eslint": "^8.56.0", "eslint-config-oclif": "^5.0.0", - "eslint-config-oclif-typescript": "^3.0.47", + "eslint-config-oclif-typescript": "^3.0.48", "eslint-config-prettier": "^9.1.0", "fancy-test": "^3.0.1", "globby": "^11.1.0", diff --git a/yarn.lock b/yarn.lock index 72b8e54c0..656d3ce79 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2681,17 +2681,17 @@ escodegen@^2.0.0: optionalDependencies: source-map "~0.6.1" -eslint-config-oclif-typescript@^3.0.47: - version "3.0.47" - resolved "https://registry.yarnpkg.com/eslint-config-oclif-typescript/-/eslint-config-oclif-typescript-3.0.47.tgz#77c5a1914bf5443bb1603b14929eb11d112304df" - integrity sha512-rTsvSeUwEd4TvH76LTtobUWkTqH1C0ArhpY/5dSngQsXW5oqwGBckSO3I6qfasw6cPIUOa6+3lftsqNUHbovRA== +eslint-config-oclif-typescript@^3.0.48: + version "3.0.48" + resolved "https://registry.yarnpkg.com/eslint-config-oclif-typescript/-/eslint-config-oclif-typescript-3.0.48.tgz#de633bc40756b26a64331c17583114bd6b8ffa14" + integrity sha512-SvsbXkXRdxJYBsg/CZtVCujjsQIMpvTtsjdfbxfWdo/Ocylv+Lte9+GjJuLYQKFpLKff1PU4hsdmce6GhA2NFg== dependencies: "@typescript-eslint/eslint-plugin" "^6.21.0" "@typescript-eslint/parser" "^6.21.0" eslint-config-xo-space "^0.35.0" eslint-import-resolver-typescript "^3.6.1" eslint-plugin-import "^2.29.1" - eslint-plugin-mocha "^10.2.0" + eslint-plugin-mocha "^10.3.0" eslint-plugin-node "^11.1.0" eslint-plugin-perfectionist "^2.5.0" @@ -2812,10 +2812,10 @@ eslint-plugin-import@^2.29.1: semver "^6.3.1" tsconfig-paths "^3.15.0" -eslint-plugin-mocha@^10.1.0, eslint-plugin-mocha@^10.2.0: - version "10.2.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-mocha/-/eslint-plugin-mocha-10.2.0.tgz#15b05ce5be4b332bb0d76826ec1c5ebf67102ad6" - integrity sha512-ZhdxzSZnd1P9LqDPF0DBcFLpRIGdh1zkF2JHnQklKQOvrQtT73kdP5K9V2mzvbLR+cCAO9OI48NXK/Ax9/ciCQ== +eslint-plugin-mocha@^10.1.0, eslint-plugin-mocha@^10.3.0: + version "10.3.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-mocha/-/eslint-plugin-mocha-10.3.0.tgz#a1cd40737c230f4dc7477a3bef3bbaad7f8d8282" + integrity sha512-IWzbg2K6B1Q7h37Ih4zMyW+nhmw1JvUlHlbCUUUu6PfOOAUGCB0gxmvv7/U+TQQ6e8yHUv+q7KMdIIum4bx+PA== dependencies: eslint-utils "^3.0.0" rambda "^7.4.0" From 0cc67eb62ff4b215baaff4536f720e6e8f9bb3b7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 24 Feb 2024 11:24:38 +0000 Subject: [PATCH 09/11] chore(dev-deps): bump fancy-test from 3.0.10 to 3.0.11 Bumps [fancy-test](https://github.com/oclif/fancy-test) from 3.0.10 to 3.0.11. - [Release notes](https://github.com/oclif/fancy-test/releases) - [Changelog](https://github.com/oclif/fancy-test/blob/main/CHANGELOG.md) - [Commits](https://github.com/oclif/fancy-test/compare/3.0.10...3.0.11) --- updated-dependencies: - dependency-name: fancy-test dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 6c9e76c13..78165af53 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "eslint-config-oclif": "^5.0.0", "eslint-config-oclif-typescript": "^3.0.48", "eslint-config-prettier": "^9.1.0", - "fancy-test": "^3.0.1", + "fancy-test": "^3.0.11", "globby": "^11.1.0", "husky": "^8", "lint-staged": "^14.0.1", diff --git a/yarn.lock b/yarn.lock index 656d3ce79..0c257faed 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3036,10 +3036,10 @@ exponential-backoff@^3.1.1: resolved "https://registry.yarnpkg.com/exponential-backoff/-/exponential-backoff-3.1.1.tgz#64ac7526fe341ab18a39016cd22c787d01e00bf6" integrity sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw== -fancy-test@^3.0.1, fancy-test@^3.0.10: - version "3.0.10" - resolved "https://registry.yarnpkg.com/fancy-test/-/fancy-test-3.0.10.tgz#341be69e6eb35fcf1be33c041bed978837502e84" - integrity sha512-6pwRQ7gqW57FKoTyRPPmcZktHLvrX+LS5ZQdXvQTMAq6vOVGCUrtJ4WP2BD4sZisRBnasaT4981L/8Q+qfh3wg== +fancy-test@^3.0.10, fancy-test@^3.0.11: + version "3.0.11" + resolved "https://registry.yarnpkg.com/fancy-test/-/fancy-test-3.0.11.tgz#b2d54ed8c31161ebdddb990bde27cf44e6876a01" + integrity sha512-cyfdbhT7LlkWHtPa2PaR5yWOTDzgmrpBqkTVXC5l7Uzs7og2Wnhj5lQnxA9+nSPr+WfY8jrH0Kf2v8HPsPQFKQ== dependencies: "@types/chai" "*" "@types/lodash" "*" @@ -3047,7 +3047,7 @@ fancy-test@^3.0.1, fancy-test@^3.0.10: "@types/sinon" "*" lodash "^4.17.13" mock-stdin "^1.0.0" - nock "^13.5.1" + nock "^13.5.3" sinon "^16.1.3" stdout-stderr "^0.1.9" @@ -4918,10 +4918,10 @@ nise@^5.1.4: just-extend "^4.0.2" path-to-regexp "^1.7.0" -nock@^13.5.1: - version "13.5.1" - resolved "https://registry.yarnpkg.com/nock/-/nock-13.5.1.tgz#4e40f9877ad0d43b7cdb474261c190f3715dd806" - integrity sha512-+s7b73fzj5KnxbKH4Oaqz07tQ8degcMilU4rrmnKvI//b0JMBU4wEXFQ8zqr+3+L4eWSfU3H/UoIVGUV0tue1Q== +nock@^13.5.3: + version "13.5.3" + resolved "https://registry.yarnpkg.com/nock/-/nock-13.5.3.tgz#9858adf5b840696a410baf98bda720d5fad4f075" + integrity sha512-2NlGmHIK2rTeyy7UaY1ZNg0YZfEJMxghXgZi0b4DBsUyoDNTTxZeCSG1nmirAWF44RkkoV8NnegLVQijgVapNQ== dependencies: debug "^4.1.0" json-stringify-safe "^5.0.1" From 8b6379d3410588b7078e46fd259d150f8fa33b4c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 25 Feb 2024 02:38:09 +0000 Subject: [PATCH 10/11] chore(dev-deps): bump eslint-config-oclif from 5.0.0 to 5.0.2 Bumps [eslint-config-oclif](https://github.com/oclif/eslint-config-oclif) from 5.0.0 to 5.0.2. - [Release notes](https://github.com/oclif/eslint-config-oclif/releases) - [Changelog](https://github.com/oclif/eslint-config-oclif/blob/main/CHANGELOG.md) - [Commits](https://github.com/oclif/eslint-config-oclif/compare/5.0.0...5.0.2) --- updated-dependencies: - dependency-name: eslint-config-oclif dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 78165af53..0685eb7e0 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "commitlint": "^17.8.1", "cross-env": "^7.0.3", "eslint": "^8.56.0", - "eslint-config-oclif": "^5.0.0", + "eslint-config-oclif": "^5.0.2", "eslint-config-oclif-typescript": "^3.0.48", "eslint-config-prettier": "^9.1.0", "fancy-test": "^3.0.11", diff --git a/yarn.lock b/yarn.lock index 0c257faed..24c973235 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2695,13 +2695,13 @@ eslint-config-oclif-typescript@^3.0.48: eslint-plugin-node "^11.1.0" eslint-plugin-perfectionist "^2.5.0" -eslint-config-oclif@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/eslint-config-oclif/-/eslint-config-oclif-5.0.0.tgz#69c5cc8a19025e71fc49a10f47475bb8dd18ba24" - integrity sha512-yPxtUzU6eFL+WoW8DbRf7uoHxgiu0B/uY7k7rgHwFHij66WoI3qhBNhKI5R5FS5JeTuBOXKrNqQVDsSH0D/JvA== +eslint-config-oclif@^5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/eslint-config-oclif/-/eslint-config-oclif-5.0.2.tgz#127fbb803629e6f913353f6975e413f77dfec373" + integrity sha512-5Ut0Rb1UfTJD54KMIA34SiJ7j3uUHfgn73LqkNEZx+mgTAAAL1+6/6uN0RJhmyp+9/HBIlO3v3pCX0pRR5knWQ== dependencies: eslint-config-xo-space "^0.34.0" - eslint-plugin-mocha "^10.1.0" + eslint-plugin-mocha "^10.3.0" eslint-plugin-node "^11.1.0" eslint-plugin-unicorn "^48.0.1" @@ -2812,7 +2812,7 @@ eslint-plugin-import@^2.29.1: semver "^6.3.1" tsconfig-paths "^3.15.0" -eslint-plugin-mocha@^10.1.0, eslint-plugin-mocha@^10.3.0: +eslint-plugin-mocha@^10.3.0: version "10.3.0" resolved "https://registry.yarnpkg.com/eslint-plugin-mocha/-/eslint-plugin-mocha-10.3.0.tgz#a1cd40737c230f4dc7477a3bef3bbaad7f8d8282" integrity sha512-IWzbg2K6B1Q7h37Ih4zMyW+nhmw1JvUlHlbCUUUu6PfOOAUGCB0gxmvv7/U+TQQ6e8yHUv+q7KMdIIum4bx+PA== From b7ec5540feb4db615554fd86bd50f437ea43c464 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 09:26:33 -0700 Subject: [PATCH 11/11] chore(dev-deps): bump tsd from 0.30.4 to 0.30.6 (#971) Bumps [tsd](https://github.com/tsdjs/tsd) from 0.30.4 to 0.30.6. - [Release notes](https://github.com/tsdjs/tsd/releases) - [Commits](https://github.com/tsdjs/tsd/compare/v0.30.4...v0.30.6) --- updated-dependencies: - dependency-name: tsd dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 0685eb7e0..8f8a59ec5 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "shx": "^0.3.4", "sinon": "^16.1.3", "ts-node": "^10.9.2", - "tsd": "^0.30.4", + "tsd": "^0.30.6", "typescript": "^5" }, "engines": { diff --git a/yarn.lock b/yarn.lock index 24c973235..68211814c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6599,10 +6599,10 @@ tsconfig-paths@^3.15.0: minimist "^1.2.6" strip-bom "^3.0.0" -tsd@^0.30.4: - version "0.30.4" - resolved "https://registry.yarnpkg.com/tsd/-/tsd-0.30.4.tgz#bd7ab29befd23fb4d1c827c3db740a930a626ca1" - integrity sha512-ncC4SwAeUk0OTcXt5h8l0/gOLHJSp9ogosvOADT6QYzrl0ITm398B3wkz8YESqefIsEEwvYAU8bvo7/rcN/M0Q== +tsd@^0.30.6: + version "0.30.6" + resolved "https://registry.yarnpkg.com/tsd/-/tsd-0.30.6.tgz#5f857111d923d8b73790510142e1bd8d8fff78c3" + integrity sha512-GfzYfAJwbHTUY0FHC84fgJAX6w2FB6JXM4uvVc2jYyY16bHXVzen5PEXGOjISluMfG7z82otu57n2OzQhnRzwQ== dependencies: "@tsd/typescript" "~5.3.3" eslint-formatter-pretty "^4.1.0"