Browse Source

Upgrade @types/inquirer

Adjust call path for the inquirer Separator class
AC-1743/Safe-Major-Upgrades
Addison Beck 2 years ago committed by Addison Beck
parent
commit
72190ca19e
  1. 2
      jslib/node/src/cli/commands/login.command.ts
  2. 8
      package-lock.json
  3. 2
      package.json

2
jslib/node/src/cli/commands/login.command.ts

@ -205,7 +205,7 @@ export class LoginCommand { @@ -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,

8
package-lock.json generated

@ -55,7 +55,7 @@ @@ -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 @@ @@ -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": "*",

2
package.json

@ -78,7 +78,7 @@ @@ -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",

Loading…
Cancel
Save