Skip to content

fix(deps): update dependency ink to v7#105

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ink-7.x
Open

fix(deps): update dependency ink to v7#105
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/ink-7.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 20, 2026

This PR contains the following updates:

Package Change Age Confidence
ink ^6.7.0^7.0.0 age confidence

Release Notes

vadimdemedes/ink (ink)

v7.0.4

Compare Source

  • Fix: Share resize listener via emitLayoutListeners instead of per-hook listeners (#​952) 89d43d8
  • Fix: Remove useEffectEvent functions from useEffect dependency arrays (#​960) 9d534f7

v7.0.3

Compare Source

  • Fix: Drop stale <Static> output from fullStaticOutput on identity change (#​950) 669c438
  • Fix: <Static> remount via key change drops new items (#​948) be9f44c
  • Fix useBoxMetrics not accepting ref objects with an initial null value (#​945) 7c2267c

v7.0.2

Compare Source

  • Fix: Defer raw mode disable to prevent process hang on component swap dd052ea

v7.0.1

Compare Source

  • Fix: Restore useApp exit typing 42ddd40
  • Fix: Respect disableFocus() when handling Escape (#​937) cb66873

v7.0.0

Compare Source

Breaking
  • Require Node.js 22 19b5316
  • Require React 19.2+ cfaebbb
    • Ink now uses useEffectEvent internally to avoid re-subscribing input handlers on every render
  • Pressing Backspace now correctly sets key.backspace instead of key.delete (#​634) 321a2e8
    • Most terminals send the same byte for Backspace as the Delete key, which caused Ink to misreport it. If you were checking key.delete to handle backspace, switch to key.backspace
  • key.meta is no longer set to true when Escape is pressed e195912
    • Previously a backward-compat shim made plain Escape set both key.escape and key.meta. Now only key.escape is true. key.meta is reserved for actual Alt/Meta modifier combinations
New
Fixes
  • Fix incremental rendering for trailing newline (#​910) c32da0b
  • Fix useInput crash on unmapped key codes (#​902) 969a4f1
  • Fix CJK text truncation exceeding <Box> width b5f3e3a
  • Fix splitting wide characters (emoji, CJK) when overlapping writes occur (#​930) 06d53f4
  • Fix dangling staticNode reference (#​905) 0dc4dfa

Migration guide

key.backspace vs key.delete
// Before — physical backspace was reported as key.delete
useInput((input, key) => {
  if (key.delete) { /* was catching physical backspace key */ }
});

// After
useInput((input, key) => {
  if (key.backspace) { /* physical backspace key (0x7F) */ }
  if (key.delete)    { /* actual Delete key (e.g. Fn+Backspace) */ }
});
key.meta no longer set on plain Escape
// Before — key.meta was true for both Escape AND Alt+key
useInput((input, key) => {
  if (key.meta) { /* fired on plain Escape too */ }
});

// After — check key.escape explicitly for the Escape key
useInput((input, key) => {
  if (key.escape) { /* plain Escape */ }
  if (key.meta)   { /* Alt/Meta combos only */ }
});


Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • "before 9am on Monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Apr 20, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: ink-stepper@0.2.1
npm error Found: ink@7.0.4
npm error node_modules/ink
npm error   ink@"^7.0.0" from the root project
npm error   peer ink@">=5" from @inkjs/ui@2.0.0
npm error   node_modules/@inkjs/ui
npm error     @inkjs/ui@"^2.0.0" from the root project
npm error   1 more (ink-task-list)
npm error
npm error Could not resolve dependency:
npm error peer ink@"^6.6.0" from ink-stepper@0.2.1
npm error node_modules/ink-stepper
npm error   ink-stepper@"^0.2.1" from the root project
npm error
npm error Conflicting peer dependency: ink@6.8.0
npm error node_modules/ink
npm error   peer ink@"^6.6.0" from ink-stepper@0.2.1
npm error   node_modules/ink-stepper
npm error     ink-stepper@"^0.2.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2026-05-28T20_29_51_871Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2026-05-28T20_29_51_871Z-debug-0.log

@renovate renovate Bot force-pushed the renovate/ink-7.x branch from 9e80100 to ac3e4e4 Compare April 20, 2026 11:01
@renovate renovate Bot force-pushed the renovate/ink-7.x branch from ac3e4e4 to c036d40 Compare April 29, 2026 11:45
@renovate renovate Bot force-pushed the renovate/ink-7.x branch 2 times, most recently from 442bc7c to b0fd3a1 Compare May 12, 2026 13:10
@renovate renovate Bot force-pushed the renovate/ink-7.x branch from b0fd3a1 to 048841e Compare May 18, 2026 12:40
@renovate renovate Bot force-pushed the renovate/ink-7.x branch from 048841e to 035ef5a Compare May 28, 2026 20:29
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.

0 participants