Skip to content

Commit

Permalink
Chore(*): Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias committed Jan 11, 2025
1 parent a9b7e61 commit e345f67
Show file tree
Hide file tree
Showing 28 changed files with 113 additions and 116 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@
"type-fest": "^4.0.0"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@eslint/js": "^9.18.0",
"@repo/hoist-peer-dependencies": "workspace:*",
"@repo/tsconfig": "workspace:*",
"@types/node": "^22.10.2",
"@types/node": "^22.10.5",
"@vitest/coverage-v8": "^2.1.8",
"@vitest/ui": "^2.1.8",
"eslint": "^9.17.0",
"eslint": "^9.18.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-n": "^17.15.1",
"eslint-plugin-prettier": "^5.2.1",
Expand All @@ -90,8 +90,8 @@
"prettier": "^3.4.2",
"ts-node": "^10.9.2",
"turbo": "^2.3.3",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.19.1",
"vitest": "^2.1.8"
},
"packageManager": "[email protected]+sha512.3003a14012e2987072d244c720506549c1aab73ee728208f1b2580a9fd67b92d61ba6b08fe93f6dce68fd771e3af1e59a0afa28dd242dd0940d73b95fedd4e90",
Expand Down
4 changes: 1 addition & 3 deletions packages/core/core.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,6 @@ describe('createPrompt()', () => {
message: 'Question',
});

// eslint-disable-next-line @typescript-eslint/no-deprecated
answer.cancel();
events.keypress('enter');

Expand Down Expand Up @@ -579,9 +578,8 @@ it('allow cancelling the prompt multiple times', async () => {
const prompt = createPrompt(Prompt);
const { answer, events } = await render(prompt, { message: 'Question' });

// eslint-disable-next-line @typescript-eslint/no-deprecated
answer.cancel();
// eslint-disable-next-line @typescript-eslint/no-deprecated

answer.cancel();
events.keypress('enter');

Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"@inquirer/testing": "^2.1.39",
"@repo/tsconfig": "workspace:*",
"@types/mute-stream": "^0.0.4",
"@types/node": "^22.10.2",
"@types/node": "^22.10.5",
"@types/wrap-ansi": "^3.0.0",
"tshy": "^3.0.2"
},
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/lib/create-prompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export function createPrompt<Value, Config>(view: ViewFunction<Value, Config>) {
const screen = new ScreenManager(rl);

const { promise, resolve, reject } = PromisePolyfill.withResolver<Value>();
/** @deprecated pass an AbortSignal in the context options instead. See {@link https://github.com/SBoudrias/Inquirer.js#canceling-prompt} */
const cancel = () => reject(new CancelPromptError());

if (signal) {
Expand Down
2 changes: 1 addition & 1 deletion packages/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
},
"devDependencies": {
"@repo/tsconfig": "workspace:*",
"@types/node": "^22.10.2",
"@types/node": "^22.10.5",
"tshy": "^3.0.2"
},
"engines": {
Expand Down
2 changes: 0 additions & 2 deletions packages/inquirer/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-disable @typescript-eslint/no-duplicate-type-constituents */
/* eslint-disable @typescript-eslint/no-redundant-type-constituents */
/* eslint-disable @typescript-eslint/no-explicit-any */
import {
checkbox,
Expand Down
1 change: 0 additions & 1 deletion packages/inquirer/src/ui/prompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,6 @@ export default class PromptsRunner<A extends Answers> {
cleanupSignal = undefined;
};

// eslint-disable-next-line @typescript-eslint/use-unknown-in-catch-callback-variable
activePrompt.run().then(resolve, reject).finally(cleanup);
})
: prompt;
Expand Down
2 changes: 1 addition & 1 deletion packages/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"@arethetypeswrong/cli": "^0.17.2",
"@repo/tsconfig": "workspace:*",
"@types/mute-stream": "^0.0.4",
"@types/node": "^22.10.2",
"@types/node": "^22.10.5",
"tshy": "^3.0.2"
},
"engines": {
Expand Down
Loading

0 comments on commit e345f67

Please sign in to comment.