Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency inquirer to v6 #541

Merged
merged 1 commit into from Oct 1, 2018

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 13, 2018

This PR contains the following updates:

Package Type Update Change References
inquirer dependencies major 1.2.3 -> 6.2.0 source

Release Notes

SBoudrias/Inquirer.js

v6.0.0

Compare Source

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

Compare Source

Now passing the answers hash in the transformer function arguments.

v5.1.0

Compare Source

  • 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

Compare Source

  • Fix bug with the editor prompt.

v5.0.0

Compare Source

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

Compare Source

Improve Windows rendering to properly match terminal size

v4.0.1

Compare Source

  • Update dependency to fix a LGPL license issue.

v4.0.0

Compare Source

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

Compare Source

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

v3.2.3

Compare Source

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

v3.2.2

Compare Source

  • Fix BottomBar with multi-line content.

v3.2.1

Compare Source

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

v3.2.0

Compare Source

  • 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

Compare Source

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

v3.1.0

Compare Source

  • 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

Compare Source

  • 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

Compare Source

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

v3.0.4

Compare Source

Fix extra whitespace being printed #​506

v3.0.3

Compare Source

  • Unsure we properly unmute the stdout on force close.

v3.0.2

Compare Source

  • 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

Compare Source

  • Fix import bug

v3.0.0

Compare Source

  • Drop support for Node < 4
  • Allow failing async validation by rejecting the returned Promise
  • Fix bug with bottom bar

v2.0.0

Compare Source

  • 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

Renovate configuration

📅 Schedule: No schedule defined.

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

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

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


This PR has been generated by Renovate Bot. View repository job log here.

@jimthedev jimthedev merged commit ef760ef into master Oct 1, 2018
@renovate renovate bot deleted the renovate/inquirer-6.x branch October 1, 2018 15:17
@LinusU
Copy link
Contributor

LinusU commented Oct 1, 2018

@jimthedev I actually deliberately used the old version of inquirer since we are passing that instance to the adapters, and the adapters might not have been updated to use a newer version 🤔

Maybe it's time to just stop passing that though, since that has been deprecated for a while...

@jimthedev
Copy link
Member

Oh. Shit. :)

@LinusU
Copy link
Contributor

LinusU commented Oct 2, 2018

Oh well, we are on a new major version now so hopefully, it won't be a problem. We can monitor for reported issues and in that case, we can fix it upstream by making sure that the adapter depends on inquirer directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants