# What changed in webpack-sources

> 3 changes in webpack-sources 3 from its official release notes, upgrade guides and advisories: 1 new APIs and options. Each one cited. Sources checked 2026-10-25. HTML: https://unstale.sh/npm/webpack-sources/

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

## webpack-sources 3

### New APIs and options

- map({ scopes: true }) emits the source map scopes field declared by the source's bindings. (3.6.0) — [release notes](https://github.com/webpack/webpack-sources/releases/tag/v3.6.0)

### Performance

- A cached source's map cache is created only when a map is requested. (3.6.0) — [release notes](https://github.com/webpack/webpack-sources/releases/tag/v3.6.0)
- RawSource.updateHash and OriginalSource.updateHash hash strings directly instead of materializing and memoizing a buffer, reducing retained memory without changing digests. (3.5.2) — [release notes](https://github.com/webpack/webpack-sources/releases/tag/v3.5.2)
