Repository URL to install this package:
|
Version:
4.5.0-1freshup3 ▾
|
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Changelog entries are classified using the following labels (from keep-a-changelog):
Added for new features.Changed for changes in existing functionality.Deprecated for soon-to-be removed features.Removed for now removed features.Fixed for any bug fixes.Security in case of vulnerabilities.template property to the SnippetPromptOptions TypeScript interfaceMultiSelectPrompt new example for result option.EventEmitter class from events directly due to changes in @types/node.BooleanPrompt new example for header option.await in keypress and returning the number result in the array type fixes an issue with tests failing only on Travisautocomplete highlighting issueAuthPrompt type for creating authentication based prompts.BasicAuth prompt as an example of creating an authentication prompt using basic username/password authenticationQuizPromptformat, result and initial functions defined on the options.validate function now properly accepts false as a return value, thanks to @g-plane.options.required on all prompts. Uses the built-in validate() function, allowing this functionality to be overridden or customized.options.scroll to disable scrolling in array prompts.options.onRun, which is called when prompt.run() is called, after the readline instance is created.options.history on the Input and Text prompts.options.term to set the terminal, thanks to @tunnckoCore. At the moment this is only used in a couple of edge cases with the Survey and Scale prompts to check if the terminal is Hyper.options.skip may now be a Boolean, thanks to @tunnckoCoreEnquire 2.0 is a bottom-up complete re-write:
options.default is now options.initial