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.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.

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