Vigia

Upgrading raw-body from 3.x to 4.x

Comparison of the public API of raw-body 3.0.2 and 4.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.

Summary

Removed import paths0
Removed exports0
Changed signatures0
Removed class or interface members0
Changed class or interface members4
Newly deprecated0
Requirement changes (engines, peer dependencies)1
New exports7

Removed exports

None detected.

Changed signatures

None detected.

Removed class or interface members

None detected.

Changed class or interface members

memberBeforeAfter
Options.encodingEncoding | null | undefinedfalse | Encoding | null | undefined
RawBodyError.typestringRawBodyErrorType | undefined
RawBodyError.statusnumbernumber | undefined
RawBodyError.statusCodenumbernumber | undefined

Newly deprecated

None detected.

Requirement changes (engines, peer dependencies)

BeforeAfter
engines.node>= 0.10>=22
New exports (7)
importexportkind
raw-bodyDecoderinterface
raw-bodydefaultfunction
raw-bodygetRawBodyfunction
raw-bodygetRawBodyWebfunction
raw-bodyRawBodyErrorTypetype
raw-bodyWebRawBodyStreamtype
raw-bodyNodeRawBodyStreamtype

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

Frequently asked questions

What are the breaking changes when upgrading raw-body from 3 to 4?

Between raw-body 3.0.2 and 4.0.0, Vigia found 0 removed exports, 0 changed signatures and 4 removed or changed class or interface members.

What became deprecated in raw-body 4?

0 exports or members are newly marked as deprecated in raw-body 4.0.0.

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/raw-body/upgrade?from=3.0.2&to=4.0.0