Skip to content

chore(deps): update dependency @inquirer/core to v12 - #1343

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/all-inquirer
Open

chore(deps): update dependency @inquirer/core to v12#1343
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/all-inquirer

Conversation

@renovate

@renovate renovate Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@inquirer/core (source) ^11.1.7^12.0.0 age confidence

Release Notes

SBoudrias/Inquirer.js (@​inquirer/core)

v12.0.3

Compare Source

@​inquirer/core@12.0.3

What's new
  • Fixed a race where keystrokes batched in the same tick as the key that settled a prompt could still reach useKeypress handlers after the prompt was done, cancelled, or aborted. Hook effects are now cleared in the synchronous settlement path (#​2255, closes #​1816).
  • Prompts created with an already-aborted signal now run the terminal cleanup (restore the cursor, close the readline interface, end the output stream) instead of leaking them (#​2255).

v12.0.2

Compare Source

v12.0.1

Compare Source

@​inquirer/core@12.0.1

What's new
  • Prettified prompt and theme types for better IDE display: makeTheme now returns a fully flattened theme type, and createPrompt expands the config's top-level keys in the IDE while staying assignable to Config (#​2239).
Dependencies
  • @inquirer/type bumped to ^4.1.0

v12.0.0

Compare Source

@​inquirer/core@12.0.0

⚠️ Breaking change

The setter returned by useState now accepts an updater/reducer function (currentValue) => nextValue, mirroring React. The updater always receives the latest state (read from the hook store at call time), which simplifies async and reducer-style state updates.

Type change: the setter signature moves from (newValue: Value) => void to (newValue: NotFunction<Value> | Reducer<Value>) => void.

Impact: any code that stored a function as a value via useState's setter now has that function interpreted as a reducer. This is a type-level breaking change for consumers of the core hook API.

What's new
  • useState setter accepts a reducer function (currentValue) => nextValue (#​2225)
Dependencies
  • @inquirer/figures bumped to ^2.0.8

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "every weekday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested review from DaveHanns and l2ysho as code owners August 21, 2026 03:30
@renovate

renovate Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor Author

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.

@renovate
renovate Bot force-pushed the renovate/all-inquirer branch 10 times, most recently from e2b0cc1 to 43bd03c Compare September 1, 2026 07:45
@renovate
renovate Bot force-pushed the renovate/all-inquirer branch 14 times, most recently from 4de36c6 to 2e35cb5 Compare September 4, 2026 16:25
@renovate
renovate Bot force-pushed the renovate/all-inquirer branch from 2e35cb5 to a99d795 Compare September 8, 2026 18:03
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.

1 participant