---
title: "web-streams-polyfill 4.0.0 Breaking Changes on npm"
description: "What each web-streams-polyfill release removed, renamed or changed: 12 breaking changes in 1 version on npm, each with its source."
canonical_url: https://since.dev/packages/npm/web-streams-polyfill
last_updated: 2026-12-04
---

# web-streams-polyfill breaking changes

web-streams-polyfill 4.0.0 (February 28, 2024) is its newest release with breaking changes, 12 of them. The first: Removed web-streams-polyfill.es2018. Every breaking API change we have recorded in web-streams-polyfill on npm: 12 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.5.1`, released November 6, 2026. [Source repository](https://github.com/MattiasBuelens/web-streams-polyfill)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

## web-streams-polyfill 4.0.0 breaking changes

web-streams-polyfill 4.0.0, released February 28, 2024: 12 breaking changes.

- **Removed** `web-streams-polyfill.es2018`  

The ES2018 variant is gone. Switch to the ES2015 variant, web-streams-polyfill/polyfill, or the default export. [github.com](https://github.com/MattiasBuelens/web-streams-polyfill/releases/tag/v4.0.0)
- **Removed** `web-streams-polyfill.polyfill`  

Importing ReadableStream from web-streams-polyfill/polyfill no longer works. Use the global ReadableStream after loading the polyfill, or the default import. [github.com](https://github.com/MattiasBuelens/web-streams-polyfill/blob/master/MIGRATING.md)
- **Renamed** `web-streams-polyfill`  

The ES5 polyfill moves to web-streams-polyfill/polyfill/es5. The bare import now provides the ponyfill. [github.com](https://github.com/MattiasBuelens/web-streams-polyfill/releases/tag/v4.0.0)
- **Renamed** `web-streams-polyfill.es6`  

Import the ES2015 polyfill from web-streams-polyfill/polyfill instead of web-streams-polyfill/es6. [github.com](https://github.com/MattiasBuelens/web-streams-polyfill/releases/tag/v4.0.0)
- **Renamed** `web-streams-polyfill.ponyfill`  

Import the ES5 ponyfill from web-streams-polyfill/es5 instead of web-streams-polyfill/ponyfill. [github.com](https://github.com/MattiasBuelens/web-streams-polyfill/releases/tag/v4.0.0)
- **Renamed** `web-streams-polyfill.ponyfill.es2018`  

Import the ponyfill from the package root instead of web-streams-polyfill/ponyfill/es2018. [github.com](https://github.com/MattiasBuelens/web-streams-polyfill/releases/tag/v4.0.0)
- **Renamed** `web-streams-polyfill.ponyfill.es6`  

Import the ES2015 ponyfill from the package root instead of web-streams-polyfill/ponyfill/es6. [github.com](https://github.com/MattiasBuelens/web-streams-polyfill/releases/tag/v4.0.0)
- **Default changed** `web-streams-polyfill`  

The default import no longer installs globals; it now provides the ponyfill. Use web-streams-polyfill/polyfill if you need the global polyfill. [github.com](https://github.com/MattiasBuelens/web-streams-polyfill/blob/master/MIGRATING.md)
- **Configuration changed**  

TypeScript's moduleResolution must be set to node16, nodenext or bundler to resolve the variants. [github.com](https://github.com/MattiasBuelens/web-streams-polyfill/releases/tag/v4.0.0)
- **Configuration changed**  

Projects using TypeScript must use version 4.7 or higher. [github.com](https://github.com/MattiasBuelens/web-streams-polyfill/releases/tag/v4.0.0)
- **Configuration changed**  

Loading any variant requires Node 12 or higher. [github.com](https://github.com/MattiasBuelens/web-streams-polyfill/releases/tag/v4.0.0)
- **Configuration changed**  

Each variant is resolved through package subpath exports, which requires Node 12 or higher and a current bundler or TypeScript setup. [github.com](https://github.com/MattiasBuelens/web-streams-polyfill/releases/tag/v4.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
