Skip to content

fix(security): clear dompurify, js-yaml and nanoid advisories - #144

Merged
nicolasiscoding merged 1 commit into
developfrom
bugfix/dependabot-security-patch-duty
Aug 11, 2026
Merged

fix(security): clear dompurify, js-yaml and nanoid advisories#144
nicolasiscoding merged 1 commit into
developfrom
bugfix/dependabot-security-patch-duty

Conversation

@amitsharma-turbodocx

Copy link
Copy Markdown
Contributor

Description

  • dompurify 3.4.12 → 3.4.13 (GHSA-55q2-fjhq-7xh7) — runtime; ships to the browser via the Orama search UI
  • js-yaml 3.15.0 → 3.15.1 and 4.3.0 → 4.3.1 (direct dep raised to ^4.3.1)
  • nanoid 3.3.16 → 3.3.18 — surfaced by npm audit, not yet a Dependabot alert

js-yaml needs scoped overrides here rather than a plain one: the tree genuinely carries both majors, and js-yaml 4 dropped safeLoad, so forcing a single major would break the 3.x consumer.

Verification

npm audit --package-lock-only: down to the image-size chain only.

Manual check after npm run build && npm run start: search box returns results (the dompurify path).

image-size is not fixable

The advisory covers <= 2.0.2 and 2.0.2 is the latest published release. npm's only "fix" is a major downgrade of docusaurus-theme-openapi-docs to 1.0.6. It is build-time image-dimension probing over trusted repo content. Tracked upstream; accepted for now rather than downgrading the theme.

Pre-Review Checklist

  • Lockfile and manifest stay consistent
  • No source or content changes — package.json + package-lock.json only
  • Site builds and search works

🤖 Generated with Claude Code

- dompurify 3.4.12 -> 3.4.13 (GHSA-55q2-fjhq-7xh7) — runtime; ships to the
  browser via the Orama search UI
- js-yaml 3.15.0 -> 3.15.1 and 4.3.0 -> 4.3.1 (direct dep raised to ^4.3.1)
- nanoid 3.3.16 -> 3.3.18 — surfaced by npm audit, not yet a Dependabot alert

image-size remains open and is not fixable: the advisory covers <= 2.0.2 and
2.0.2 is the latest published release. npm's only "fix" is a major DOWNGRADE of
docusaurus-theme-openapi-docs to 1.0.6. It is build-time image-dimension
probing over trusted repo content — tracked upstream, accepted for now.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@nicolasiscoding
nicolasiscoding merged commit 4ed2aa3 into develop Aug 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants