chore(deps): bump ink from 5.2.1 to 7.0.2
Open
Number: #7
Type: Pull Request
State: Open
Type: Pull Request
State: Open
Author:
dependabot[bot]
Association: Unknown
Comments: 1
Association: Unknown
Comments: 1
Created:
May 06, 2026 at 02:16 AM UTC
(13 days ago)
(13 days ago)
Updated:
May 06, 2026 at 02:17 AM UTC
(13 days ago)
(13 days ago)
Labels:
dependencies javascript
dependencies javascript
Description:
Bumps ink from 5.2.1 to 7.0.2.
Release notes
Sourced from ink's releases.
v7.0.2
- Fix: Defer raw mode disable to prevent process hang on component swap dd052ea
https://github.com/vadimdemedes/ink/compare/v7.0.1...v7.0.2
v7.0.1
- Fix: Restore
useAppexit typing 42ddd40- Fix: Respect
disableFocus()when handling Escape (#937) cb66873
https://github.com/vadimdemedes/ink/compare/v7.0.0...v7.0.1
v7.0.0
Breaking
- Require Node.js 22 19b5316
- Require React 19.2+ cfaebbb
- Ink now uses
useEffectEventinternally to avoid re-subscribing input handlers on every render- Pressing Backspace now correctly sets
key.backspaceinstead ofkey.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.deleteto handle backspace, switch tokey.backspacekey.metais no longer set totruewhen Escape is pressed e195912
- Previously a backward-compat shim made plain Escape set both
key.escapeandkey.meta. Now onlykey.escapeistrue.key.metais reserved for actual Alt/Meta modifier combinationsNew
- Add
usePastehook for handling clipboard paste events fbbeb23
- Automatically enables bracketed paste mode so pasted text arrives as a single string, never misinterpreted as individual key presses by
useInput- Add
useWindowSizehook 7047795
- Returns
{columns, rows}and re-renders automatically on terminal resize- Add
useBoxMetricshook for measuring box dimensions at runtime (#433) 88731d1- Add
useAnimationhook for built-in animation support (#142) ada019c
- Provides a frame counter that increments at a configurable interval, with pause/resume support and automatic cleanup on unmount
- Add
alternateScreenoption torender()(#263) 5a60eb9
- Renders into the terminal's alternate screen buffer (like vim or less), restoring the previous terminal content on exit
- Add
interactiveoption torender()(#888) 02490f6
- Override automatic interactive-mode detection for environments where the built-in heuristic doesn't fit
- Add
activeIdtouseFocusManager()(#661) eb2f470
- Returns the ID of the currently focused component, or
undefinedif nothing is focused- Add
borderBackgroundColor(and per-side variants) to<Box>(#906) d3c6d14
- Set a background color on borders independently from the box content background
- Add
wrap="hard"to<Text>(#925) 2b1e3a6
- Fills each line to the full column width, breaking words mid-word as needed
- Add
maxWidthandmaxHeightprops to<Box>(#713) 9291794- Add
aspectRatio,alignContent,position="static", andtop/right/bottom/leftlayout props to<Box>c2f4b86- Kitty keyboard protocol: query all terminals in auto mode instead of a hardcoded allowlist (#895) 3e672b5
Fixes
... (truncated)
Commits
15108517.0.2dd052eaFix: Defer raw mode disable to prevent process hang on component swap79888aaFix linting errors, warnings (#941)dc489877.0.142ddd40Fix: RestoreuseAppexit typingcb66873Fix: RespectdisableFocus()when handling Escape (#937)fb14d817.0.0993f693Update dependencies2b1e3a6Addwrap="hard"option toTextcomponent (#925)7c34548Fix tests- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
Technical Details
| ID: | 15670376 |
| UUID: | 4388279394 |
| Node ID: | PR_kwDOQrD3CM7Ym2If |
| Host: | GitHub |
| Repository: | AnjishnuSengupta/ny-cli |