# What changed in extension-port-stream

> 4 changes in extension-port-stream 5 from its official release notes, upgrade guides and advisories. Each one cited. Sources checked 2026-10-20. HTML: https://unstale.sh/npm/extension-port-stream/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## extension-port-stream 5

### Fixes and other changes

- Corrects a typo in the error message handler. (5.0.3) — [release notes](https://github.com/MetaMask/extension-port-stream/releases/tag/v5.0.3)
- Streams now end gracefully when the port disconnects, preventing “Premature close” errors. (5.0.2) — [release notes](https://github.com/MetaMask/extension-port-stream/releases/tag/v5.0.2)
- Handles Chrome's new message-too-large error message, expected in a future Chrome release. (5.0.1) — [release notes](https://github.com/MetaMask/extension-port-stream/releases/tag/v5.0.1)
- No longer throws when the upstream port disconnects. (5.0.1) — [release notes](https://github.com/MetaMask/extension-port-stream/releases/tag/v5.0.1)
