Fix npm dependency vulnerabilities - #126
Merged
Merged
Conversation
Upgrade Web Test Runner and refresh vulnerable transitive dependencies to patched releases. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The Node setup is incompatible with the upgraded toolchain, and lockfile integrity hashes were weakened to SHA-1.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review tier: Balanced
Findings: 1
New issues introduced by this change (1)
| Severity | Finding |
|---|---|
package.json — Align the repository setup action with the new Node requirement View comment |
What changed in this PR
Upgrades the browser test toolchain and patches vulnerable transitive dependencies.
Changes:
- Upgrades
@web/test-runnerto 1.x. - Updates Puppeteer and vulnerable transitive packages.
| File | Description |
|---|---|
package.json |
Upgrades the test runner. |
package-lock.json |
Refreshes the dependency graph and patched versions. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| "@typescript-eslint/parser": "^6.5.0", | ||
| "@web/dev-server-esbuild": "^1.0.4", | ||
| "@web/test-runner": "^0.20.0", | ||
| "@web/test-runner": "^1.0.0", |
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
@web/test-runnerfrom^0.20.0to^1.0.0, pulling in the patched Chrome runner and Puppeteer dependency chainextract-zippath by upgrading to@puppeteer/browsers3.xjs-yaml4.3.2,nanoid3.3.18, andqs6.16.0Advisories fixed
extract-zipsymlink path traversal/arbitrary file write (GHSA-jmr9-qjv8-65gv,GHSA-7pqw-9j4j-h8q3)js-yamlmerge-key CPU denial of service (GHSA-2883-xcg3-v3hh)nanoidinfinite-loop/integer overflow advisories (GHSA-28wg-ghj8-5hjv,GHSA-2v37-7h3g-55p8,GHSA-xwg4-73v4-xw9w)qsdenial-of-service advisories (GHSA-x5fp-wj9c-mxmx,GHSA-4mjr-xmp4-gh2g)Validation
npm ci --registry=https://registry.npmjs.org/CI=true npm testnpm run buildnpm audit --json— 0 vulnerabilities