Repository navigation
Update dependencies and fix security advisories - #34
Merged
Merged
Conversation
Deploying design-system-components with
|
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-zipand 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
deepmergeprototype 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.