fix(deps): bump next 16.4.3, ws and zod in the web companion #172

Merged
maximus merged 2 commits from issue-171-web-deps-next-ws-zod into master 2026-10-28 01:57:17 +00:00
3 changed files with 410 additions and 338 deletions

740
web/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -17,13 +17,13 @@
"i18next": "^26.0.3",
"i18next-browser-languagedetector": "^8.2.1",
"lucide-react": "^1.7.0",
"next": "16.2.2",
"next": "16.4.3",
"pg": "^8.20.0",
"react": "19.2.4",
"react-dom": "19.2.4",
"react-i18next": "^17.0.2",
"ws": "^8.20.0",
"zod": "^4.3.6"
"ws": "^8.22.0",
"zod": "^4.6.7"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
@ -34,7 +34,7 @@
"drizzle-kit": "^0.31.10",
"electric-sql-pglite": "npm:@electric-sql/pglite@^0.5.10",
"eslint": "^9",
"eslint-config-next": "16.2.2",
"eslint-config-next": "16.4.3",
"tailwindcss": "^4",
"typescript": "^5",
"vitest": "^4.1.12"

View file

@ -69,6 +69,10 @@ export function TaskItem({ task, subtasks = [], depth = 0 }: TaskItemProps) {
// Sync state when task prop changes
useEffect(() => {
// The edit fields are local drafts reset from the task the list reloads.
// Flagged since eslint-plugin-react-hooks 7.1 (#171); deriving the drafts
// from props instead is a refactor outside a dependency bump.
// eslint-disable-next-line react-hooks/set-state-in-effect
setTitle(task.title);
setNotes(task.notes || "");
setPriority(task.priority);