Repository navigation
[1.0.3-hotfix] Handle malformed Unicode in generated avatars - #136
Conversation
(cherry picked from commit 974c486)
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review: 1
Please check the settings in the CodeRabbit UI or the
|
🔀 Cross-SDK feature parity, no ports neededThis pull request is labelled |
Fixes GHSA-cg2g-xh64-v4q7 (critical), GHSA-mrv2-3pqr-j5jr (high) and lower severity DOMPurify advisories. @thunderid/react and @thunderid/vue pin dompurify exactly via the catalog, so the hotfix releases would otherwise ship a vulnerable version. Matches the version already on main.
Makes `pnpm audit --audit-level=high` pass on the 1.0.3 maintenance branch. - Port main's overrides (brace-expansion, devalue, js-yaml, nanoid, postcss, sharp, shell-quote, source-map-js, svgo, tar, vite 8) and its justified audit ignores (node-forge, braces, simple-git), and bump the body-parser pin to 1.20.9. - Pin browserslist, launch-editor, proxy-addr, seroval, undici 8, vite 6/7, vue and zod to their patched releases. Main picked these up through lockfile refreshes; here they are pinned so the lockfile doesn't drift. - Bump packages/nextjs's `next` devDependency to 15.5.28 (as on main) and the Next.js sample's floor to ^15.5.28. All of these reach the workspace through devDependencies or the samples, so they don't change what the published SDKs install.
Fixes GHSA-vx52-2968-3vc6, GHSA-c59q-g84q-2gj5 and GHSA-vq4v-j7r6-jq4m in pnpm <11.11.0, which pnpm audit reports through the devEngines packageManager pin. Matches the version pinned on main. Signed-off-by: NipuniBhagya <nipunib@wso2.com>
fe915db to
89161a2
Compare
afab039
into
thunder-id:1.0.3-hotfix
Purpose
Backports the fix for malformed Unicode in generated avatars (#113) to the 1.0.3 maintenance line, so it can ship as a
1.0.3-hotfix.1release.Approach
Cherry-picks
974c486from #113 unchanged withgit cherry-pick -x. The original author is kept. The change touches only@thunderid/browser:generateAvatarDataUri.tsand its test.When releasing, select both browser and react in the Hotfix Release workflow (#135). The workflow pins react's dependency on browser to an exact version, so react only picks up the fix if it's released together with browser.
Related Issues
Related PRs
main)Checklist
@thunderid/browserbuilds and typechecks on this branch, andgenerateAvatarDataUri.test.tspasses (27 tests).breaking changelabel added.parity/prs-raisedorparity/prs-not-neededadded.parity/prs-raised, the port links are posted as a reply on the parity check's comment.Security checks
🤖 Generated with Claude Code