---
title: "raw-body 4.0.0: release notes, upgrades and advisories"
description: "raw-body 4.0.0: release notes, breaking changes by major version and no known security advisory."
url: https://inlinr.com/packages/raw-body
lang: en
---

[Packages](https://inlinr.com/packages)

# raw-body

4.0.0 · 12 Jul 2026 MIT 220.6M / week [Repository](https://github.com/stream-utils/raw-body) [Homepage](https://github.com/stream-utils/raw-body#readme) [npm](https://www.npmjs.com/package/raw-body) [Atom feed](https://inlinr.com/packages/feed/raw-body)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/raw-body/upgrade)

LineNewestSecurity

- 4.x 4.0.0 No known advisory Latest line
- 3.x 3.0.2 No known advisory [To 4.0.0](https://inlinr.com/packages/raw-body/upgrade/3.0.2-4.0.0)
- 2.x 2.5.3 No known advisory [To 4.0.0](https://inlinr.com/packages/raw-body/upgrade/2.5.3-4.0.0)
- 1.x 1.3.4 No known advisory [To 4.0.0](https://inlinr.com/packages/raw-body/upgrade/1.3.4-4.0.0)
- 0.x 0.2.0 No known advisory [To 4.0.0](https://inlinr.com/packages/raw-body/upgrade/0.2.0-4.0.0)

## Latest releases

[All 53 releases](https://inlinr.com/packages/raw-body/releases)

1. 4.x · latest line
2. ### [4.0.0](https://inlinr.com/packages/raw-body/releases/4.0.0 "Open this release") [](https://github.com/stream-utils/raw-body/releases/tag/v4.0.0 "Read this release where it was published")  
12 Jul 2026

  - Breaking  
  Remove support for Node <22  
   Node.js versions prior to 22 are no longer supported. This allows the package to migrate to ESM and rely on `require(esm)`, which does not work correctly on earlier versions.
  - Breaking  
  Migrate to TypeScript and publish as ESM-only  
   CommonJS consumers can keep loading the package through `require(esm)`.
  - Breaking  
  Use native `TextDecoder` instead of `iconv-lite`  
   Supported encodings are now those of the [WHATWG Encoding Standard](https://encoding.spec.whatwg.org/#names-and-labels "https://encoding.spec.whatwg.org/#names-and-labels"); encodings outside the standard (e.g. UTF-32) now throw a 415 error. `utf-16` no longer detects a big-endian BOM and always decodes as little-endian; use `utf-16be` for big-endian content.
3. 3.x · maintenance
4. ### [3.0.2](https://inlinr.com/packages/raw-body/releases/3.0.2 "Open this release") [](https://github.com/stream-utils/raw-body/releases/tag/v3.0.2 "Read this release where it was published")  
21 Nov 2025  
Only updates dependencies: [http-errors 2.0.1](https://inlinr.com/packages/http-errors) [statuses 2.0.2](https://inlinr.com/packages/statuses)
5. ### [3.0.1](https://inlinr.com/packages/raw-body/releases/3.0.1 "Open this release") [](https://github.com/stream-utils/raw-body/releases/tag/v3.0.1 "Read this release where it was published")  
4 Sep 2025

  - Fix the engines field to reflect support for Node >= 0.10

Dependency tracking

## Know when your own dependencies move

raw-body shipped a new major in the last 12 months, among 2 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

No known security advisory.

## Health

[Details](https://inlinr.com/packages/raw-body/security#signals)

- **Provenance**:
- **Publisher**:
- **Maintainers**:
- **Scorecard**:
- **Size**:

## Weekly downloads

Reading releases, release notes and advisories…

Registry facts last checked 21 Nov 2026\. Releases and advisories last read 21 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
