Skip to content

Update dependencies and fix security advisories - #34

Merged
ivangrynenko merged 2 commits into
2.xfrom
feature/dependency-security-updates
Nov 5, 2026
Merged

ivangrynenko merged 2 commits into
2.xfrom
feature/dependency-security-updates

Conversation

@ivangrynenko

@ivangrynenko ivangrynenko commented Nov 5, 2026 •

Copy link
Copy Markdown

Summary

Update workspace dependencies and security overrides, including the Babel and Vite updates proposed in #33. The lockfile audit reported 98 findings before this change. Existing overrides pinned several packages to versions covered by newer advisories.

  • Refresh direct dependencies within their supported major versions and replace vulnerable transitive pins with fixed versions.

  • Upgrade Pa11y to 10 and Puppeteer to 25. These remove extract-zip and use a browser protocol parser compatible with the fixed Zod version. Development now requires Node.js ^22.13.0 || >=24; published component runtime requirements stay unchanged.

  • Apply a pnpm patch for deepmerge prototype poisoning, with regression tests for malicious keys and normal merge behaviour. Browser parser tests cover valid and invalid commands. Accessibility integration tests run the scanner in a child Node process so Node 22 can load Puppeteer's ESM entry point.

  • Replace the unavailable Cloudflare Pages action with the supported Wrangler action so preview CI can start. The workflow passes actionlint.

Validation

The production dependency audit reports no vulnerabilities. The full audit reports one low-severity advisory for deepmerge@4.3.1: there is no fixed upstream release, and the scanner cannot recognise the local patch. The advisory remains visible and is not suppressed.

Verified frozen installation, component builds, unit tests, browser accessibility checks, integration tests, site distribution, and installation of all 31 package tarballs on Node 22 with pnpm 9.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Deploying design-system-components with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1889041
Status: ✅  Deploy successful!
Preview URL: https://e4c37b96.design-system-components-ehh.pages.dev
Branch Preview URL: https://feature-dependency-security.design-system-components-ehh.pages.dev

View logs

@ivangrynenko
ivangrynenko merged commit 08065c6 into 2.x Nov 5, 2026
6 of 7 checks passed
@ivangrynenko
ivangrynenko deleted the feature/dependency-security-updates branch November 5, 2026 23:27
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.

1 participant