npm / @koa/bodyparser
@koa/bodyparser
What changed in @koa/bodyparser 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
2 breaking1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@koa/bodyparser 63 changes
Breaking changes 2
Koa Request.body is typed as unknown instead of any, so developers must narrow or assert its type before use.
Removes the types tag under exports, changing how package type declarations are resolved.
Fixes and other changes 1
Sets @types/cobody as a dependency so its types are available to package users.