google-labs-jules[bot] and PR0M3TH3AN
e2835603c5
Refactor js/utils/qrcode.js to replace innerHTML with DOM manipulation
...
- Replaced `innerHTML` usage in `Drawing.prototype.draw` (table fallback) with `document.createElement`, `appendChild`, etc.
- Replaced `innerHTML` usage in `Drawing.prototype.clear` with `removeChild` loop.
- Added `tests/qrcode_table_fallback.test.mjs` to verify the table generation logic in a simulated environment (JSDOM) without Canvas support.
- Updated `package.json` to include `jsdom` in `devDependencies` (if it wasn't already there and committed, though I verified it is present after install).
This change eliminates the potential for HTML injection vulnerabilities in the QR code generation library.
Co-authored-by: PR0M3TH3AN <[email protected] >
2026-02-26 17:42:43 +00:00
..
2026-02-22 20:44:31 -05:00
2026-01-19 12:51:34 -05:00
2026-02-08 00:33:13 +00:00
2026-02-05 20:31:23 +00:00
2025-10-15 14:37:25 -04:00
2026-02-22 01:26:39 +00:00
2026-02-21 19:59:47 -05:00
2026-02-11 03:27:26 +00:00
2026-01-24 20:28:53 +00:00
2026-02-22 21:09:08 -05:00
2026-02-11 03:27:26 +00:00
2026-02-08 03:41:19 +00:00
2026-02-25 10:30:15 -05:00
2026-02-26 17:42:43 +00:00
2026-02-05 17:00:13 +00:00
2026-02-22 04:35:05 +00:00
2026-02-22 15:51:22 -05:00
2026-02-23 07:13:32 -05:00
2025-10-03 21:10:22 -04:00
2026-02-08 03:44:38 +00:00
2026-01-07 17:30:22 +00:00
2026-02-17 10:55:28 +00:00
2026-02-11 04:05:36 +00:00
2026-02-19 13:21:02 +00:00
2026-01-24 20:28:53 +00:00
2026-02-07 21:52:51 +00:00
2026-01-22 14:58:35 +00:00
2026-02-07 21:52:51 +00:00
2026-02-16 21:47:01 +00:00
2026-02-08 03:44:38 +00:00
2026-01-24 22:29:18 +00:00
2026-01-22 19:27:40 -05:00
2026-01-21 17:48:01 +00:00
2026-02-11 03:27:26 +00:00
2026-02-08 00:22:16 +00:00
2026-02-07 21:59:37 +00:00
2026-01-23 04:19:40 +00:00
2026-02-21 15:46:35 -05:00
2026-02-14 13:37:27 +00:00
2026-01-23 02:09:08 -05:00
2026-01-24 20:28:53 +00:00
2026-01-30 17:04:15 -05:00
2026-02-09 23:22:49 -05:00
2026-01-26 21:49:18 -05:00
2026-01-28 23:49:33 +00:00
2026-02-09 21:32:29 +00:00
2026-02-20 21:14:39 +00:00
2026-02-05 21:03:44 +00:00
2026-02-09 02:24:53 +00:00
2025-10-22 22:17:30 -04:00
2025-10-22 22:17:30 -04:00
2026-02-07 21:52:51 +00:00
2025-09-24 15:23:24 -04:00
2026-02-18 15:10:29 +00:00
2026-01-19 20:46:47 +00:00
2026-02-22 15:56:05 -05:00
2026-02-12 16:56:06 +00:00
2026-01-19 02:13:59 +00:00
2025-10-01 13:42:50 -04:00
2026-02-21 19:59:47 -05:00
2026-02-22 20:14:32 -05:00
2026-01-30 16:51:01 -05:00
2026-01-19 20:46:47 +00:00
2026-02-22 21:09:08 -05:00
2026-01-19 20:46:47 +00:00
2026-01-29 09:58:35 -05:00
2026-02-10 01:10:19 -05:00
2025-10-15 14:37:25 -04:00
2026-02-11 15:01:35 -05:00
2025-10-15 12:49:46 -04:00
2026-02-12 23:20:02 +00:00
2026-02-17 07:01:18 +00:00
2025-02-05 16:54:40 -05:00