npm / @zxing/browser
@zxing/browser
What changed in @zxing/browser 0.2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.
3 breaking
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@zxing/browser 0.23 changes
Breaking changes 3
The property type is now Required<IBrowserCodeReaderOptions>, so TypeScript subclasses reading option properties receive number instead of number | undefined; runtime behavior is unchanged.
The project migrated from Yarn to npm and now uses package-lock.json; install dependencies with npm ci.
The peer dependency is now @zxing/library@^0.22.0; projects still on 0.21.x must upgrade.