bandersnatch
Advanced tools
Comparing version 1.2.6 to 1.3.0
@@ -0,1 +1,8 @@ | ||
# [1.3.0](https://github.com/hongaar/bandersnatch/compare/v1.2.6...v1.3.0) (2020-07-28) | ||
### Features | ||
* enquirer ([#81](https://github.com/hongaar/bandersnatch/issues/81)) ([7891e70](https://github.com/hongaar/bandersnatch/commit/7891e70f11cdbfbae40a3932c51e4104b810c930)) | ||
## [1.2.6](https://github.com/hongaar/bandersnatch/compare/v1.2.5...v1.2.6) (2020-07-23) | ||
@@ -2,0 +9,0 @@ |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Prompter = exports.prompter = void 0; | ||
const inquirer_1 = require("inquirer"); | ||
const enquirer_1 = require("enquirer"); | ||
/** | ||
@@ -24,3 +24,3 @@ * Creates a new command, which can be added to a program. | ||
// Ask questions and merge with passed in args. | ||
const answers = await inquirer_1.prompt(questions); | ||
const answers = await enquirer_1.prompt(questions); | ||
return Object.assign(Object.assign({}, this.args), answers); | ||
@@ -53,5 +53,5 @@ } | ||
name, | ||
type: 'checkbox', | ||
type: 'multiselect', | ||
message: arg.getPrompt(), | ||
default: defaultValue, | ||
initial: defaultValue, | ||
// @todo ignoring type error here, probably need another type | ||
@@ -67,5 +67,5 @@ // than Question[] | ||
name, | ||
type: 'list', | ||
type: 'select', | ||
message: arg.getPrompt(), | ||
default: defaultValue, | ||
initial: defaultValue, | ||
choices: arg.getChoices(), | ||
@@ -80,3 +80,3 @@ }); | ||
message: arg.getPrompt(), | ||
default: defaultValue, | ||
initial: defaultValue, | ||
}); | ||
@@ -90,3 +90,3 @@ break; | ||
message: arg.getPrompt(), | ||
default: defaultValue, | ||
initial: defaultValue, | ||
}); | ||
@@ -93,0 +93,0 @@ } |
{ | ||
"name": "bandersnatch", | ||
"description": "Simple TypeScript CLI / REPL framework", | ||
"version": "1.2.6", | ||
"version": "1.3.0", | ||
"repository": { | ||
@@ -38,7 +38,6 @@ "type": "git", | ||
"dependencies": { | ||
"@types/inquirer": "^7.0.0", | ||
"@types/yargs": "^15.0.5", | ||
"inquirer": "^7.3.0", | ||
"enquirer": "^2.3.6", | ||
"string-argv": "^0.3.1", | ||
"typed-emitter": "1.2.0", | ||
"typed-emitter": "^1.2.0", | ||
"yargs": "^15.4.0" | ||
@@ -49,4 +48,4 @@ }, | ||
"@semantic-release/git": "9.0.0", | ||
"@types/jest": "26.0.5", | ||
"@types/node": "14.0.24", | ||
"@types/jest": "26.0.7", | ||
"@types/node": "14.0.26", | ||
"doctoc": "1.4.0", | ||
@@ -53,0 +52,0 @@ "husky": "4.2.5", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
66187
5
+ Addedenquirer@^2.3.6
+ Addedansi-colors@4.1.3(transitive)
+ Addedenquirer@2.4.1(transitive)
+ Addedtyped-emitter@1.4.0(transitive)
- Removed@types/inquirer@^7.0.0
- Removedinquirer@^7.3.0
- Removed@types/inquirer@7.3.3(transitive)
- Removed@types/node@22.7.4(transitive)
- Removed@types/through@0.0.33(transitive)
- Removedansi-escapes@4.3.2(transitive)
- Removedchalk@4.1.2(transitive)
- Removedchardet@0.7.0(transitive)
- Removedcli-cursor@3.1.0(transitive)
- Removedcli-width@3.0.0(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedexternal-editor@3.1.0(transitive)
- Removedfigures@3.2.0(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedinquirer@7.3.3(transitive)
- Removedlodash@4.17.21(transitive)
- Removedmimic-fn@2.1.0(transitive)
- Removedmute-stream@0.0.8(transitive)
- Removedonetime@5.1.2(transitive)
- Removedos-tmpdir@1.0.2(transitive)
- Removedrestore-cursor@3.1.0(transitive)
- Removedrun-async@2.4.1(transitive)
- Removedrxjs@6.6.7(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedsupports-color@7.2.0(transitive)
- Removedthrough@2.3.8(transitive)
- Removedtmp@0.0.33(transitive)
- Removedtslib@1.14.1(transitive)
- Removedtype-fest@0.21.3(transitive)
- Removedtyped-emitter@1.2.0(transitive)
- Removedundici-types@6.19.8(transitive)
Updatedtyped-emitter@^1.2.0