Bump direct dependencies, catalog pins, and security overrides to the latest versions the toolchain accepts, and refresh the lockfile. Move pnpm to 12.23.0 and wrangler to 4.167.0 now that workerd postinstall matches the published binary. Keep Prettier at 2.8.8 and TypeScript at 6.0.3 (@typescript-eslint still requires typescript < 6.1.0). Leave CodeMirror and Mermaid patches unchanged.