@types/qrcode breaking changes
@types/qrcode 1.2.0 (June 11, 2018) is its newest release with breaking changes, 7 of them. The first: Signature changed QRCodeOptions.toSJISFunc. Every breaking API change we have recorded in @types/qrcode on npm: 11 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.5.6, released October 24, 2025. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@types/qrcode 1.2.0 breaking changes
- Signature changed
QRCodeOptions.toSJISFunc
Was toSJISFunc?: Function; now toSJISFunc?: (codePoint: string) => number. npmjs.com - Signature changed
QRCodeToStringOptions
Was interface QRCodeToStringOptions extends QRCodeOptions; now interface QRCodeToStringOptions extends QRCodeRenderersOptions. npmjs.com - Signature changed
toCanvas
Was function toCanvas(canvas: any, text: string | QRCodeSegment[]): Promise<any> function toCanvas(canvas: any, text: string | QRCodeSegment[], options: QRCodeOptions): Promise<any> function toCanvas(canvasElement: HTMLCanvasElement, text... npmjs.com - Signature changed
toDataURL
Was function toDataURL(canvasElement: HTMLCanvasElement, text: string | QRCodeSegment[]): Promise<any> function toDataURL(canvasElement: HTMLCanvasElement, text: string | QRCodeSegment[], options: QRCodeToDataURLOptions): Promise<any>... npmjs.com - Signature changed
toFile
Was function toFile(path: string, text: string | QRCodeSegment[]): Promise<any> function toFile(path: string, text: string | QRCodeSegment[], options: QRCodeToFileOptions): Promise<any>; now function toFile(path: string, text: string |... npmjs.com - Signature changed
toFileStream
Was function toFileStream(stream: stream.Writable, text: string | QRCodeSegment[]): Promise<any> function toFileStream(stream: stream.Writable, text: string | QRCodeSegment[], options: QRCodeOptions): Promise<any>; now function... npmjs.com - Signature changed
toString
Was function toString(text: string | QRCodeSegment[]): Promise<any> function toString(text: string | QRCodeSegment[], options: QRCodeToStringOptions): Promise<any>; now function toString(text: string | QRCodeSegment[], options?... npmjs.com
@types/qrcode 0.8.0 breaking changes
- Removed
"qrcode"
"qrcode" was removed in @types/qrcode 0.8.0 npmjs.com - Removed
QRCodeLib
QRCodeLib was removed in @types/qrcode 0.8.0 npmjs.com - Removed
QRCodeOptions.errorCorrectLevel
QRCodeOptions.errorCorrectLevel was removed in @types/qrcode 0.8.0 npmjs.com - Signature changed
QRCodeOptions
Was type QRCodeOptions = {errorCorrectLevel?: "minimum" | "medium" | "high" | "max";}; now interface QRCodeOptions. npmjs.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.