Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .changeset/fix-production-build-crash.md

This file was deleted.

7 changes: 7 additions & 0 deletions apps/docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# reactqrcode.com

## 1.4.16

### Patch Changes

- Updated dependencies [[`0fdbcd5`](https://github.com/LGLabGreg/react-qr-code/commit/0fdbcd5223c08c393cec3ac6a49c1df18438bb7b)]:
- @lglab/react-qr-code@1.7.3

## 1.4.15

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reactqrcode.com",
"version": "1.4.15",
"version": "1.4.16",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
Expand Down
8 changes: 8 additions & 0 deletions packages/react-qr-code/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @lglab/react-qr-code

## 1.7.3

### Patch Changes

- [#622](https://github.com/LGLabGreg/react-qr-code/pull/622) [`0fdbcd5`](https://github.com/LGLabGreg/react-qr-code/commit/0fdbcd5223c08c393cec3ac6a49c1df18438bb7b) Thanks [@LGLabGreg](https://github.com/LGLabGreg)! - fix: `ReferenceError: l is not defined` in production builds ([#621](https://github.com/LGLabGreg/react-qr-code/issues/621))

The vendored qrcodegen library used TypeScript `namespace`s. The bundled output for the namespace merge (`let t; … t ||= ns.QrCode ||= {}`) was mis-compiled by consumers' minifiers when down-levelling to ES2020 (e.g. Vite with esbuild), dropping the variable declaration and crashing at load time. The library now uses plain ES module exports and the published bundle targets ES2020, so nothing needs to be down-levelled.

## 1.7.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react-qr-code/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lglab/react-qr-code",
"version": "1.7.2",
"version": "1.7.3",
"description": "React library to generate QR codes",
"author": "LGLab",
"license": "MIT",
Expand Down