Skip to content

OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security

chore(deps): update Ink to 8.0.0

dependabot[bot]47188ae3b922
diff --git a/sdk/typescript/package.json b/sdk/typescript/package.json
index e082d9cc3..80895edb6 100644
--- a/sdk/typescript/package.json
+++ b/sdk/typescript/package.json
@@ -82,7 +82,7 @@
"ajv": "8.20.0",
"fflate": "0.8.3",
"incur": "0.7.0",
- "ink": "7.1.1",
+ "ink": "8.0.0",
"js-tiktoken": "1.0.21",
"papaparse": "5.7.0",
"pdfjs-dist": "6.4.299",
diff --git a/sdk/typescript/pnpm-lock.yaml b/sdk/typescript/pnpm-lock.yaml
index 839631eac..b3390221b 100644
--- a/sdk/typescript/pnpm-lock.yaml
+++ b/sdk/typescript/pnpm-lock.yaml
@@ -38,8 +38,8 @@ importers:
specifier: 0.7.0
version: 0.7.0
ink:
- specifier: 7.1.1
- version: 7.1.1(@types/[email protected])([email protected])
+ specifier: 8.0.0
+ version: 8.0.0(@types/[email protected])([email protected])
js-tiktoken:
specifier: 1.0.21
version: 1.0.21
@@ -122,8 +122,8 @@ importers:
packages:
- '@alcalzone/[email protected]':
- resolution: {integrity: sha512-p+CMKJ93HFmLkjXKlXiVGlMQEuRb6H0MokBSwUsX+S6BRX8eV5naFZpQJFfJHjRZY0Hmnqy1/r6UWl3x+19zYA==}
+ '@alcalzone/[email protected]':
+ resolution: {integrity: sha512-cUD0PT0YX+rImRhfn7BfMRduP/tX/Zqt/N0dHlAyn2RlcJssCb5KsCJkhln61eh9vuJDkH8wKn3L8zJzzWXPFg==}
engines: {node: '>=18'}
'@apidevtools/[email protected]':
@@ -986,6 +986,10 @@ packages:
resolution: {integrity: sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==}
engines: {node: '>=12'}
+ resolution: {integrity: sha512-kKvt3m4uwzqL0wlkPd09CmljPJGOZZ4D0fP65sqFSvPkMRKhNi+74MgIJ5QxE6SxqB4t4KyUFGg8+n5zjo6hew==}
+ engines: {node: '>=22'}
+
resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
@@ -1035,6 +1039,10 @@ packages:
resolution: {integrity: sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==}
engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}
+ resolution: {integrity: sha512-/Ce6KNm3vIbWdMlNna6RVIZ/ICQxnJxCicet5LBKK9ZffBkqzDw0xh9EiKSljdRtiIQ1S1z4YgcscUUGzNCWrA==}
+ engines: {node: '>=22'}
+
resolution: {integrity: sha512-rddelWYNPRrXq6PtNEN2S3f6t9ILzvqaN5pVgi4kqt9jHQaXIial9PznB5iSPVlQSLNaaH22ItWz3EJtQ10+OA==}
@@ -1242,12 +1250,12 @@ packages:
'@types/react':
optional: true
- resolution: {integrity: sha512-Y43xxa1ZSPvpmfLHcN5o+OdP8Rf8ykkNJEuKYOUNZKT8wXVNLFTtEm1nSDMQkfBH+YANF4Xuu0hhZ4ejqAtN2w==}
+ resolution: {integrity: sha512-M2aFwZOqmkFxCwedy6xrP4E+DGoK57iahAFnfTqNyOyJ54O7DZzu027z/NI8EGy44Sw9O9BcbTF4QEUS2GHAtg==}
engines: {node: '>=22'}
peerDependencies:
- '@types/react': '>=19.2.0'
- react: '>=19.2.0'
+ '@types/react': '>=19.3.0'
+ react: '>=19.3.0'
react-devtools-core: '>=6.1.2'
peerDependenciesMeta:
'@types/react':
@@ -1438,11 +1446,15 @@ packages:
resolution: {integrity: sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA==}
engines: {node: '>=0.6'}
- resolution: {integrity: sha512-KetWRytFv1epdpJc3J4G75I4WrplZE5jOL7Yq0p34+OVOKF4Se7WrdIdVC45XsSSmUTlht2FM/fM1FZb1mfQeA==}
+ resolution: {integrity: sha512-k9lSsjl36EJdK7I06v7APZCbyGT2vMTsYSRX1Q2nbYmnkBqgUhRkAuzH08Ciotteu/PLJmIF2+tti7o3C/ts2g==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-eVibvB1fc9j5Qf1KRkiM3GzRPBdjg2P6G6QV2f3P6Eb3OGMxRBhdg2rrUwjbV5JrQaJj8nOa8uajmmJA5tJWjQ==}
engines: {node: '>=0.10.0'}
peerDependencies:
- react: ^19.2.0
+ react: ^19.3.0
resolution: {integrity: sha512-E8LUcbtBWt20bbl2YoHfx4ZDBdxVTfOKtCZn9cDSJ4l6/nuoApcpIBcj47t2wZoVX8g2ZHuMHbiShgCR1T5Sog==}
@@ -1466,8 +1478,8 @@ packages:
resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==}
engines: {node: '>=v12.22.7'}
- resolution: {integrity: sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==}
+ resolution: {integrity: sha512-juorfCmIkIw8tT+p5BXSm6PJjQF/ycEYmKyzURCIt/RaZIhL+PulbQ9Yu2z1HdOJDdqDTlxA1+xKBmHXJsczAw==}
resolution: {integrity: sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==}
@@ -1559,8 +1571,8 @@ packages:
resolution: {integrity: sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==}
engines: {node: '>=0.6.11 <=0.7.0 || >=0.7.3'}
- resolution: {integrity: sha512-yANm3Jr3GiJ1qgJlxGAVxTOIcEOk1rhQHamlXtnrCK7EHP4HeM9OGxtMg/W7HFdrVzw/ZWJKGVIJusVH85sLtw==}
+ resolution: {integrity: sha512-NoSdpq/WEiAg5sjmBkmV/hfxv6HJH4NqPNrqjtSO5CwRmpsDfaf4begxW34KdJykH/l1yHtwBWQkCRdoXO8mPA==}
engines: {node: '>=20'}
@@ -1612,22 +1624,10 @@ packages:
resolution: {integrity: sha512-U89AsyEeAsyoF0zVJBkG9zBgekjgjK7yk9sje3F4IQpXBJ10TF6ByLlIfjMhcmHMJgHZI4KHt4rdNfktzxIAMA==}
engines: {node: '>=20'}
- resolution: {integrity: sha512-M0N4xzyzosiIok3svYlEo1sdLZts/8FPgYH/GPC3wvlmPoRvnoManGMrE54waYj3tISA8w6lsdesfVv67qSr8Q==}
+ resolution: {integrity: sha512-6OLRNZqRntVGBm26ghZ5eZhCuWWyOkRCSn8XsOIuq5stpCE/tjLbdozd93naILZig0lmD8ANfRwnhn0DLeXGlg==}
engines: {node: '>=20'}
- resolution: {integrity: sha512-201TZ/kPWxoPr/OKWjquZR1SWKXcvxdH+e1xrx89b3YbmzLMFCLfnaG1HFIgWzJOEWZ7MvpK++odZufgYR50Rw==}
- engines: {node: '>=10.0.0'}
- peerDependencies:
- bufferutil: ^4.0.1
- utf-8-validate: '>=5.0.2'
- peerDependenciesMeta:
- bufferutil:
- optional: true
- utf-8-validate:
- optional: true
-
resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==}
@@ -1652,7 +1652,7 @@ packages:
snapshots:
- '@alcalzone/[email protected]':
+ '@alcalzone/[email protected]':
dependencies:
ansi-styles: 6.2.3
is-fullwidth-code-point: 5.1.0
@@ -2410,6 +2410,8 @@ snapshots:
+
@@ -2452,6 +2454,8 @@ snapshots:
+
@@ -2659,13 +2663,13 @@ snapshots:
optionalDependencies:
'@types/react': 19.3.0
dependencies:
- '@alcalzone/ansi-tokenize': 0.3.0
+ '@alcalzone/ansi-tokenize': 0.3.1
ansi-escapes: 7.3.0
- ansi-styles: 6.2.3
+ ansi-styles: 7.0.0
auto-bind: 5.0.1
- chalk: 5.6.2
+ chalk: 6.0.1
cli-boxes: 4.0.1
cli-cursor: 4.0.0
cli-truncate: 6.1.1
@@ -2674,24 +2678,19 @@ snapshots:
indent-string: 5.0.0
is-in-ci: 2.0.0
patch-console: 2.0.0
+ quick-lru: 7.3.0
react: 19.3.0
- react-reconciler: 0.33.0([email protected])
- scheduler: 0.27.0
+ react-reconciler: 0.34.0([email protected])
signal-exit: 3.0.7
- slice-ansi: 9.0.0
stack-utils: 2.0.6
string-width: 8.3.0
terminal-size: 4.0.1
- type-fest: 5.9.0
+ type-fest: 5.10.0
widest-line: 6.0.0
- wrap-ansi: 10.0.1
- ws: 8.21.3
+ wrap-ansi: 10.0.2
yoga-layout: 3.2.1
optionalDependencies:
'@types/react': 19.3.0
- transitivePeerDependencies:
- - bufferutil
- - utf-8-validate
dependencies:
@@ -2826,10 +2825,12 @@ snapshots:
es-define-property: 1.0.1
side-channel: 1.1.1
+
dependencies:
react: 19.3.0
- scheduler: 0.27.0
+ scheduler: 0.28.0
@@ -2850,7 +2851,7 @@ snapshots:
dependencies:
xmlchars: 2.2.0
@@ -2933,7 +2934,7 @@ snapshots:
dependencies:
tagged-tag: 1.0.0
@@ -2996,13 +2997,11 @@ snapshots:
dependencies:
string-width: 8.3.0
dependencies:
ansi-styles: 6.2.3
string-width: 8.3.0
-
diff --git a/sdk/typescript/src/patch-tui.tsx b/sdk/typescript/src/patch-tui.tsx
index 12a049d4e..1b6d9d0a2 100644
--- a/sdk/typescript/src/patch-tui.tsx
+++ b/sdk/typescript/src/patch-tui.tsx
@@ -376,8 +376,12 @@ export function PatchTui({
const [selected, setSelected] = useState(
() => new Set(findings.map(({ occurrenceId }) => occurrenceId)),
);
- const rows = stdout.rows ?? 28;
- const columns = stdout.columns ?? 100;
+ const terminal = stdout as NodeJS.WritableStream & {
+ rows?: number;
+ columns?: number;
+ };
+ const rows = terminal.rows ?? 28;
+ const columns = terminal.columns ?? 100;
const visibleRows = Math.max(4, rows - 15);
const listStart = Math.max(
0,