Security: Update dependencies for CVE fixes and infrastructure improvements (#102)

* Update dependencies for CVE security fixes

- Update hono from ^4.10.1 to ^4.11.7
- Update react-router-dom from ^7.9.4 to ^7.13.0

All tests passing, no breaking changes detected

* Refactor SSE to use Hono's built-in streamSSE

* Revert SSE implementation and update Docker upgrade script
This commit is contained in:
Chris Scott authored and GitHub committed 2026-02-01 10:58:39 -05:00
1 parent c32819fc1c
commit 11eddb1de3
4 files changed
+35 -26

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@
"better-auth": "^1.4.17",
"dotenv": "^17.2.3",
"eventsource": "^4.1.0",
"hono": "^4.10.1",
"hono": "^4.11.7",
"strip-json-comments": "^3.1.1",
"zod": "^4.1.12"
},
+1 -1
View File
@@ -43,7 +43,7 @@
"react-dom": "^19.1.1",
"react-hook-form": "^7.65.0",
"react-markdown": "^10.1.0",
"react-router-dom": "^7.9.4",
"react-router-dom": "^7.13.0",
"rehype-highlight": "^7.0.2",
"rehype-raw": "^7.0.0",
"remark-gfm": "^4.0.1",
+31 -22
View File
@@ -26,7 +26,7 @@ importers:
version: 1.4.17(@better-auth/core@1.4.17(@better-auth/utils@0.3.0)(@better-fetch/fetch@1.1.21)(better-call@1.1.8(zod@4.3.2))(jose@6.1.3)(kysely@0.28.10)(nanostores@1.1.0))(@better-auth/utils@0.3.0)(@better-fetch/fetch@1.1.21)(better-auth@1.4.17(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(vitest@3.2.4))(better-call@1.1.8(zod@4.3.2))(nanostores@1.1.0)
'@hono/node-server':
specifier: ^1.19.5
version: 1.19.7(hono@4.11.3)
version: 1.19.7(hono@4.11.7)
'@opencode-manager/shared':
specifier: workspace:*
version: link:../shared
@@ -43,8 +43,8 @@ importers:
specifier: ^4.1.0
version: 4.1.0
hono:
specifier: ^4.10.1
version: 4.11.3
specifier: ^4.11.7
version: 4.11.7
strip-json-comments:
specifier: ^3.1.1
version: 3.1.1
@@ -182,8 +182,8 @@ importers:
specifier: ^10.1.0
version: 10.1.0(@types/react@19.2.7)(react@19.2.3)
react-router-dom:
specifier: ^7.9.4
version: 7.11.0(react-dom@19.2.3(react@19.2.3))(react@19.2.3)
specifier: ^7.13.0
version: 7.13.0(react-dom@19.2.3(react@19.2.3))(react@19.2.3)
rehype-highlight:
specifier: ^7.0.2
version: 7.0.2
@@ -278,14 +278,14 @@ importers:
zod:
specifier: ^4.1.12
version: 4.3.2
optionalDependencies:
dotenv:
specifier: ^17.2.3
version: 17.2.3
devDependencies:
typescript:
specifier: ^5
version: 5.9.3
optionalDependencies:
dotenv:
specifier: ^17.2.3
version: 17.2.3
packages:
@@ -2689,8 +2689,8 @@ packages:
resolution: {integrity: sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w==}
engines: {node: '>=12.0.0'}
hono@4.11.3:
resolution: {integrity: sha512-PmQi306+M/ct/m5s66Hrg+adPnkD5jiO6IjA7WhWw0gSBSo1EcRegwuI1deZ+wd5pzCGynCcn2DprnE4/yEV4w==}
hono@4.11.7:
resolution: {integrity: sha512-l7qMiNee7t82bH3SeyUCt9UF15EVmaBvsppY2zQtrbIhl/yzBTny+YUxsVjSjQ6gaqaeVtZmGocom8TzBlA4Yw==}
engines: {node: '>=16.9.0'}
html-encoding-sniffer@6.0.0:
@@ -3377,15 +3377,15 @@ packages:
'@types/react':
optional: true
react-router-dom@7.11.0:
resolution: {integrity: sha512-e49Ir/kMGRzFOOrYQBdoitq3ULigw4lKbAyKusnvtDu2t4dBX4AGYPrzNvorXmVuOyeakai6FUPW5MmibvVG8g==}
react-router-dom@7.13.0:
resolution: {integrity: sha512-5CO/l5Yahi2SKC6rGZ+HDEjpjkGaG/ncEP7eWFTvFxbHP8yeeI0PxTDjimtpXYlR3b3i9/WIL4VJttPrESIf2g==}
engines: {node: '>=20.0.0'}
peerDependencies:
react: '>=18'
react-dom: '>=18'
react-router@7.11.0:
resolution: {integrity: sha512-uI4JkMmjbWCZc01WVP2cH7ZfSzH91JAZUDd7/nIprDgWxBV1TkkmLToFh7EbMTcMak8URFRa2YoBL/W8GWnCTQ==}
react-router@7.13.0:
resolution: {integrity: sha512-PZgus8ETambRT17BUm/LL8lX3Of+oiLaPuVTRH3l1eLvSPpKO3AvhAEb5N7ihAFZQrYDqkvvWfFh9p0z9VsjLw==}
engines: {node: '>=20.0.0'}
peerDependencies:
react: '>=18'
@@ -4391,9 +4391,9 @@ snapshots:
'@hexagon/base64@1.1.28': {}
'@hono/node-server@1.19.7(hono@4.11.3)':
'@hono/node-server@1.19.7(hono@4.11.7)':
dependencies:
hono: 4.11.3
hono: 4.11.7
'@hookform/resolvers@5.2.2(react-hook-form@7.69.0(react@19.2.3))':
dependencies:
@@ -5670,7 +5670,7 @@ snapshots:
'@better-fetch/fetch': 1.1.21
'@noble/ciphers': 2.1.1
'@noble/hashes': 2.0.1
better-call: 1.1.8(zod@4.3.2)
better-call: 1.1.8(zod@4.3.5)
defu: 6.1.4
jose: 6.1.3
kysely: 0.28.10
@@ -5690,6 +5690,15 @@ snapshots:
optionalDependencies:
zod: 4.3.2
better-call@1.1.8(zod@4.3.5):
dependencies:
'@better-auth/utils': 0.3.0
'@better-fetch/fetch': 1.1.21
rou3: 0.7.12
set-cookie-parser: 2.7.2
optionalDependencies:
zod: 4.3.5
bidi-js@1.0.3:
dependencies:
require-from-string: 2.0.2
@@ -6497,7 +6506,7 @@ snapshots:
highlight.js@11.11.1: {}
hono@4.11.3: {}
hono@4.11.7: {}
html-encoding-sniffer@6.0.0:
dependencies:
@@ -7363,13 +7372,13 @@ snapshots:
optionalDependencies:
'@types/react': 19.2.7
react-router-dom@7.11.0(react-dom@19.2.3(react@19.2.3))(react@19.2.3):
react-router-dom@7.13.0(react-dom@19.2.3(react@19.2.3))(react@19.2.3):
dependencies:
react: 19.2.3
react-dom: 19.2.3(react@19.2.3)
react-router: 7.11.0(react-dom@19.2.3(react@19.2.3))(react@19.2.3)
react-router: 7.13.0(react-dom@19.2.3(react@19.2.3))(react@19.2.3)
react-router@7.11.0(react-dom@19.2.3(react@19.2.3))(react@19.2.3):
react-router@7.13.0(react-dom@19.2.3(react@19.2.3))(react@19.2.3):
dependencies:
cookie: 1.1.1
react: 19.2.3
+2 -2
View File
@@ -39,8 +39,8 @@ fi
echo -e "${YELLOW}Stopping container...${NC}"
$DOCKER_COMPOSE down
echo -e "${YELLOW}Rebuilding image...${NC}"
$DOCKER_COMPOSE build
echo -e "${YELLOW}Rebuilding image with no cache...${NC}"
$DOCKER_COMPOSE build --no-cache
echo -e "${YELLOW}Starting container...${NC}"
$DOCKER_COMPOSE up -d