diff --git a/jslib/node/src/cli/commands/login.command.ts b/jslib/node/src/cli/commands/login.command.ts index 088b20e6..4a7f4bec 100644 --- a/jslib/node/src/cli/commands/login.command.ts +++ b/jslib/node/src/cli/commands/login.command.ts @@ -205,7 +205,7 @@ export class LoginCommand { selectedProvider = twoFactorProviders[0]; } else if (this.canInteract) { const twoFactorOptions: (string | Separator)[] = twoFactorProviders.map((p) => p.name); - twoFactorOptions.push(new inquirer.Separator()); + twoFactorOptions.push(new inquirer.default.Separator()); twoFactorOptions.push("Cancel"); const answer: inquirer.Answers = await inquirer.createPromptModule({ output: process.stderr, diff --git a/package-lock.json b/package-lock.json index 9531f552..7b3ceb3d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -55,7 +55,7 @@ "@fluffy-spoon/substitute": "1.208.0", "@microsoft/microsoft-graph-types": "2.40.0", "@ngtools/webpack": "15.2.9", - "@types/inquirer": "8.2.6", + "@types/inquirer": "9.0.7", "@types/jest": "29.5.11", "@types/ldapjs": "2.2.5", "@types/lowdb": "1.0.15", @@ -5228,9 +5228,9 @@ } }, "node_modules/@types/inquirer": { - "version": "8.2.6", - "resolved": "https://registry.npmjs.org/@types/inquirer/-/inquirer-8.2.6.tgz", - "integrity": "sha512-3uT88kxg8lNzY8ay2ZjP44DKcRaTGztqeIvN2zHvhzIBH/uAPaL75aBtdNRKbA7xXoMbBt5kX0M00VKAnfOYlA==", + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/@types/inquirer/-/inquirer-9.0.7.tgz", + "integrity": "sha512-Q0zyBupO6NxGRZut/JdmqYKOnN95Eg5V8Csg3PGKkP+FnvsUZx1jAyK7fztIszxxMuoBA6E3KXWvdZVXIpx60g==", "dev": true, "dependencies": { "@types/through": "*", diff --git a/package.json b/package.json index 9e99afd7..5f84b3e4 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "@fluffy-spoon/substitute": "1.208.0", "@microsoft/microsoft-graph-types": "2.40.0", "@ngtools/webpack": "15.2.9", - "@types/inquirer": "8.2.6", + "@types/inquirer": "9.0.7", "@types/jest": "29.5.11", "@types/ldapjs": "2.2.5", "@types/lowdb": "1.0.15",