Skip to content

chore(deps): bump the production-dependencies group with 2 updates#123

Merged
hatayama merged 1 commit into
mainfrom
dependabot/npm_and_yarn/production-dependencies-e1ea6e47d1
Apr 21, 2026
Merged

chore(deps): bump the production-dependencies group with 2 updates#123
hatayama merged 1 commit into
mainfrom
dependabot/npm_and_yarn/production-dependencies-e1ea6e47d1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 13, 2026

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps the production-dependencies group with 2 updates: ink and react.

Updates ink from 6.8.0 to 7.0.0

Release notes

Sourced from ink's releases.

v7.0.0

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

  • Add usePaste hook 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 useWindowSize hook 7047795
    • Returns {columns, rows} and re-renders automatically on terminal resize
  • Add useBoxMetrics hook for measuring box dimensions at runtime (#433) 88731d1
  • Add useAnimation hook 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 alternateScreen option to render() (#263) 5a60eb9
    • Renders into the terminal's alternate screen buffer (like vim or less), restoring the previous terminal content on exit
  • Add interactive option to render() (#888) 02490f6
    • Override automatic interactive-mode detection for environments where the built-in heuristic doesn't fit
  • Add activeId to useFocusManager() (#661) eb2f470
    • Returns the ID of the currently focused component, or undefined if 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 maxWidth and maxHeight props to <Box> (#713) 9291794
  • Add aspectRatio, alignContent, position="static", and top/right/bottom/left layout props to <Box> c2f4b86
  • Kitty keyboard protocol: query all terminals in auto mode instead of a hardcoded allowlist (#895) 3e672b5

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
</tr></table> 

... (truncated)

Commits
  • fb14d81 7.0.0
  • 993f693 Update dependencies
  • 2b1e3a6 Add wrap="hard" option to Text component (#925)
  • 7c34548 Fix tests
  • cfaebbb Use useEffectEvent in useInput and usePaste to avoid per-render re-subs...
  • e195912 Stop setting key.meta to true when Escape is pressed
  • d3c6d14 Add border background color support for Box component (#906)
  • 931eba2 Fix build output and add tests (#932)
  • ada019c Add useAnimation hook for built-in animation support
  • 10136e6 Remove option field from keypress parser, merge Alt into meta
  • Additional commits viewable in compare view

Updates react from 19.2.4 to 19.2.5

Release notes

Sourced from react's releases.

19.2.5 (April 8th, 2026)

React Server Components

Commits

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Summary by cubic

Upgrade ink to 7.0.0 and react to 19.2.5 to pick up new Ink features and React RSC fixes. Ink 7 requires Node 22+ and React 19.2+.

  • Migration
    • Use Node 22+ locally and in CI (update .nvmrc, engines.node, and runtime images).
    • Update input handlers: replace key.delete with key.backspace; don’t treat plain Escape as key.meta.
    • Ensure react is >= 19.2.0 (this PR sets it to 19.2.5).

Written for commit 4323c4b. Summary will update on new commits.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 13, 2026
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 2 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="package.json">

<violation number="1" location="package.json:42">
P1: Upgrading to Ink 7.0.0 without updating the Node engine range leaves `package.json` advertising unsupported Node versions.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread package.json Outdated
"chalk": "5.6.2",
"clipboardy": "5.3.1",
"ink": "6.8.0",
"ink": "7.0.0",
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot Apr 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1: Upgrading to Ink 7.0.0 without updating the Node engine range leaves package.json advertising unsupported Node versions.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At package.json, line 42:

<comment>Upgrading to Ink 7.0.0 without updating the Node engine range leaves `package.json` advertising unsupported Node versions.</comment>

<file context>
@@ -39,9 +39,9 @@
     "chalk": "5.6.2",
     "clipboardy": "5.3.1",
-    "ink": "6.8.0",
+    "ink": "7.0.0",
     "launch-unity": "0.16.0",
-    "react": "19.2.4"
</file context>
Fix with Cubic

Bumps the production-dependencies group with 2 updates: [ink](https://github.com/vadimdemedes/ink) and [react](https://github.com/facebook/react/tree/HEAD/packages/react).


Updates `ink` from 6.8.0 to 7.0.0
- [Release notes](https://github.com/vadimdemedes/ink/releases)
- [Commits](vadimdemedes/ink@v6.8.0...v7.0.0)

Updates `react` from 19.2.4 to 19.2.5
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.2.5/packages/react)

---
updated-dependencies:
- dependency-name: ink
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: production-dependencies
- dependency-name: react
  dependency-version: 19.2.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: production-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/production-dependencies-e1ea6e47d1 branch from 4323c4b to 70dac56 Compare April 21, 2026 23:54
@hatayama hatayama merged commit b7488aa into main Apr 21, 2026
3 checks passed
@hatayama hatayama deleted the dependabot/npm_and_yarn/production-dependencies-e1ea6e47d1 branch April 21, 2026 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant