这是indexloc提供的服务,不要输入任何密码
Skip to content

Rewrite in ESM and API changes

Pre-release
Pre-release

Choose a tag to compare

@thetutlage thetutlage released this 13 Oct 07:28

Breaking changes

  • ESM only
  • Remove FakePrompt class in favor of the traps API.
  • Types are no longer exported from the main module, use @poppinss/prompts/types to import types

Commits

  • docs: formatting fixes 54b9c4d
  • docs: formatting fixes 1e05f4b
  • docs: update documentation 780ff53
  • refactor: improvements to the types 044b89c
  • test: add tests for edge cases ec05ead
  • refactor: rename classes 7529d01
  • refactor: remove trap once the prompt has been triggered 70cacdf
  • chore: update dependencies b17d72f
  • feat: add support to restore traps 8c6eec6
  • feat: add "traps" API to trap prompts 639661b
  • refactor: migrate to ESM e2db1c3

Full Changelog: v2.0.2...v3.0.0-0