Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
145 changes: 44 additions & 101 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 3 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,13 @@
"clean": "node scripts/clean.js",
"pre-commit": "node scripts/pre-commit.js"
},
"//overrides": {
"@types/node": "Pinned to 20.x even though engines require Node >=22. Upgrading to @types/node@22.x re-introduces a Dirent<NonSharedBuffer> type regression in @qwen-code/qwen-code-core/sessionService tests. Revisit once the upstream type for Dirent stabilises (see PR #3860 discussion)."
},
"overrides": {
"ansi-regex": "6.2.2",
"cliui": {
"wrap-ansi": "7.0.0"
},
"baseline-browser-mapping": "^2.9.19",
"normalize-package-data": "^7.0.1",
"@types/node": "20.19.1",
"react": "19.2.4",
"react-dom": "19.2.4"
"normalize-package-data": "^7.0.1"
},
"bin": {
"qwen": "dist/cli.js"
Expand All @@ -103,7 +97,7 @@
"@types/shell-quote": "^1.7.5",
"@types/uuid": "^10.0.0",
"@vitest/coverage-v8": "^3.1.1",
"@vitest/eslint-plugin": "1.3.4",
"@vitest/eslint-plugin": "^1.3.4",
"@xterm/headless": "^5.5.0",
"@xterm/xterm": "^6.0.0",
"cross-env": "^7.0.3",
Expand Down Expand Up @@ -136,7 +130,7 @@
},
"dependencies": {
"@testing-library/dom": "^10.4.1",
"ink": "^7.0.2",
"ink": "^6.2.3",
"simple-git": "^3.28.0"
},
"optionalDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@
"fzf": "^0.5.2",
"glob": "^10.5.0",
"highlight.js": "^11.11.1",
"ink": "^7.0.2",
"ink": "^6.2.3",
"ink-gradient": "^3.0.0",
"ink-link": "^4.1.0",
"ink-spinner": "^5.0.0",
"lowlight": "^3.3.0",
"open": "^10.1.2",
"p-limit": "^7.3.0",
"prompts": "^2.4.2",
"react": "19.2.4",
"react": "^19.1.0",
"read-package-up": "^11.0.0",
"shell-quote": "^1.8.3",
"simple-git": "^3.28.0",
Expand Down Expand Up @@ -98,7 +98,7 @@
"ink-testing-library": "^4.0.0",
"jsdom": "^26.1.0",
"pretty-format": "^30.0.2",
"react-dom": "19.2.4",
"react-dom": "^19.1.0",
"typescript": "^5.3.3",
"vitest": "^3.1.1"
},
Expand Down
7 changes: 6 additions & 1 deletion packages/cli/src/ui/utils/TableRenderer.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,12 @@ describe('<TableRenderer />', () => {
expectAllLinesToHaveSameVisibleWidth(output);
});

it('does not preserve foreground after an explicit foreground reset', () => {
// TODO: re-enable after ink 7 re-upgrade. The `[39m` (foreground-only
// reset) variant added in #4050 only wraps "colored reset" at width=18 under
// ink 7's <Text> wrapping; ink 6 keeps it on a single line. The functional
// assertions (foreground cleared, equal widths) still pass — only the
// wrap-position assertion is ink-7-specific.
it.skip('does not preserve foreground after an explicit foreground reset', () => {
const output = renderTable(
['Color'],
[['\u001b[38;5;45mcolored\u001b[39m reset']],
Expand Down
Loading