# What changed in @zxing/browser

> 3 changes in @zxing/browser 0.2 from its official release notes, upgrade guides and advisories: 3 breaking. Each one cited. Sources checked 2026-10-20. HTML: https://unstale.sh/npm/@zxing/browser/

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

## @zxing/browser 0.2

### Breaking changes

- The property type is now Required<IBrowserCodeReaderOptions>, so TypeScript subclasses reading option properties receive number instead of number | undefined; runtime behavior is unchanged. (0.2.0) — [release notes](https://github.com/zxing-js/browser/releases/tag/v0.2.0)
- The project migrated from Yarn to npm and now uses package-lock.json; install dependencies with npm ci. (0.2.0) — [release notes](https://github.com/zxing-js/browser/releases/tag/v0.2.0)
- The peer dependency is now @zxing/library@^0.22.0; projects still on 0.21.x must upgrade. (0.2.0) — [release notes](https://github.com/zxing-js/browser/releases/tag/v0.2.0)
