Skip to content

Commit

Permalink
fix(deps): update dependency inquirer to v6 (#541)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change | References |
|---|---|---|---|---|
| inquirer | dependencies | major | `1.2.3` -> `6.2.0` | [source](https://renovatebot.com/gh/SBoudrias/Inquirer.js) |

---

### Release Notes

<details>
<summary>SBoudrias/Inquirer.js</summary>

### [`v6.0.0`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v6.0.0)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v5.2.0...v6.0.0)

##### Breaking

-   Update to Rx.js v6

##### New features

-   New prompt type `number`.
-   `transformer` option now receive `{ isFinal }` as a flag to allow transforming the final answer differently.
-   Use `name` as default message if `message` isn't provided.
-   Hide default values for `password` prompt.

### [`v5.2.0`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v5.2.0)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v5.1.0...v5.2.0)

Now passing the `answers` hash in the `transformer` function arguments.

### [`v5.1.0`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v5.1.0)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v5.0.1...v5.1.0)

-   Added a `transformer` option to the `input` prompt allowing you to modify the displayed user input. (Useful to modify colors as user type, etc)

### [`v5.0.1`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v5.0.1)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v5.0.0...v5.0.1)

-   Fix bug with the `editor` prompt.

### [`v5.0.0`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v5.0.0)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v4.0.2...v5.0.0)

**Breaking**: Upgrade to RxJS v5 which updates a bunch of Reactive interface method names.

For people not using the Reactive interface directly, this new major release should just work out of the box.

### [`v4.0.2`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v4.0.2)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v4.0.1...v4.0.2)

Improve Windows rendering to properly match terminal size

### [`v4.0.1`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v4.0.1)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v4.0.0...v4.0.1)

-   Update dependency to fix a LGPL license issue.

### [`v4.0.0`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v4.0.0)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.3.0...v4.0.0)

#### Breaking

The core codebase went through a major es5 to 6 refactor. As such, we're **dropping support for Node 4**.

This change will likely require **changes to the community Plugins** as es6 classes are enforcing more restriction (like `constructor` can only be invoked with `new`).

#### New features / Bug fixes

-   `list`, `expand` and `rawlist` prompts now accepts the value as default (previously it would only accept the choice index).
-   The pagination now properly handles multiline choices.
-   Fix bug where invalid default choices would break the UI.

### [`v3.3.0`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.3.0)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.2.3...v3.3.0)

-   Added `prefix` and `suffix` options to question object to allow you to edit the `?` prefix or add a custom suffix.

### [`v3.2.3`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.2.3)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.2.2...v3.2.3)

-   Fix bug where user input prompt containing ANSI code would offset the cursor.

### [`v3.2.2`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.2.2)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.2.1...v3.2.2)

-   Fix `BottomBar` with multi-line content.

### [`v3.2.1`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.2.1)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.2.0...v3.2.1)

-   Fix: gracefully exit process on `SIGINT` (stopped calling `process.exit()` directly)

### [`v3.2.0`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.2.0)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.1.1...v3.2.0)

-   Change to list prompts `default` handling:
    -   If number, default is the choice index
    -   Any other defined values, find the value in the choice array. (previously it'd only support strings)
-   Bug: SIGINT was not properly exiting the process for some users
-   Cleanup: bump dependencies

### [`v3.1.1`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.1.1)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.1.0...v3.1.1)

-   Fix bug where password would show after a validation error.

### [`v3.1.0`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.1.0)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.0.6...v3.1.0)

-   `password` prompt can now rendered hidden input (Unix style)
-   `filter` function now also receive the current answers as argument
-   Smaller package size

### [`v3.0.6`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.0.6)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.0.5...v3.0.6)

-   Fix help message not always disappearing after interaction in list prompt
-   Fix command line not properly cleaned when sending a SIGINT (`ctrl-c`) signal on Ubuntu

### [`v3.0.5`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.0.5)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.0.4...v3.0.5)

Properly respect the pageSize option when deciding whether to paginate or not.

### [`v3.0.4`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.0.4)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.0.3...v3.0.4)

Fix extra whitespace being printed [#&#8203;506](https://renovatebot.com/gh/SBoudrias/Inquirer.js/issues/506)

### [`v3.0.3`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.0.3)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.0.2...v3.0.3)

-   Unsure we properly unmute the stdout on force close.

### [`v3.0.2`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.0.2)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.0.1...v3.0.2)

-   Properly reset the prompt state when a SIGINT signal is emitted. (this fix bug where texts under the input wouldn't be cleared off the terminal after emitting ctrl-c)
-   Fix bug with scrollable list centering

### [`v3.0.1`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.0.1)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v3.0.0...v3.0.1)

-   Fix import bug

### [`v3.0.0`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v3.0.0)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v2.0.0...v3.0.0)

-   Drop support for Node &lt; 4
-   Allow failing async validation by rejecting the returned Promise
-   Fix bug with bottom bar

### [`v2.0.0`](https://renovatebot.com/gh/SBoudrias/Inquirer.js/releases/v2.0.0)

[Compare Source](https://renovatebot.com/gh/SBoudrias/Inquirer.js/compare/v1.2.3...v2.0.0)

-   Answer `name` with `.` are now expand in the answer object. e.g. `name.sub` would generate an answer object formatted as `{name: {sub: 'answer'}}`.
-   `expand` prompt default value if not specified is now `help`.
-   Drop support for node 0.10 and 0.12

</details>

---

### Renovate configuration

:date: **Schedule**: No schedule defined.

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR becomes conflicted, or if you modify the PR title to begin with "`rebase!`".

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#commitizen/cz-cli).
  • Loading branch information
renovate[bot] authored and jimthedev committed Oct 1, 2018
1 parent a70c063 commit ef760ef
Show file tree
Hide file tree
Showing 2 changed files with 166 additions and 139 deletions.

0 comments on commit ef760ef

Please sign in to comment.