Socket
Socket
Sign inDemoInstall

prompt-base

Package Overview
Dependencies
87
Maintainers
2
Versions
41
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1345Next

3.0.1

Diff

jonschlinkert
published 3.0.0 •

Changelog

Source

v3.0.0

Added

  • adds initial support for prompt.context, an object that can be passed around at runtime to simplify rendering. Future releases will gradually improve context handling until we make a full transition to redux, or redux-like state. Throughout this process, special care will be taken to ensure that the API is the same until the transition to redux, at which time we'll fully document any API changes.
jonschlinkert
published 2.2.0 •

jonschlinkert
published 2.1.2 •

jonschlinkert
published 2.1.1 •

jonschlinkert
published 2.1.0 •

jonschlinkert
published 2.0.2 •

Changelog

Source

v2.0.2

Added

  • .getDefault method: to consistently get the options.default on any prompt type: input, list, choices etc.
jonschlinkert
published 2.0.0 •

Changelog

Source

v2.0.0

Potentially breaking changes

  • Changes how the actions property is initialized. It's unlikely that this will break anyone's code, since it doesn't change any of the behavior or functionality, but a major bump seemed appropriate just in case.
jonschlinkert
published 1.0.5 •

jonschlinkert
published 1.0.4 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc