[Snyk] Security upgrade pa11y from 8.0.0 to 9.0.0#1588
[Snyk] Security upgrade pa11y from 8.0.0 to 9.0.0#1588
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-JSONPATH-13645034
There was a problem hiding this comment.
Pull request overview
This PR upgrades the pa11y dependency to remediate a Snyk-reported vulnerability in the project’s npm dependency tree.
Changes:
- Bump
pa11yfrom^8.0.0to^9.0.0inpackage.json - Refresh
package-lock.jsonto reflect updatedpa11yand its transitive dependency updates (notably newerpuppeteer)
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Updates pa11y to v9 to address the flagged vulnerability. |
| package-lock.json | Updates resolved dependency graph for pa11y v9 (including updated transitive packages). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "pa11y": "^9.0.0", | ||
| "pa11y-ci": "^3.1.0", |
There was a problem hiding this comment.
Upgrading pa11y to v9 pulls in a much newer puppeteer (and a Chromium download during install). Since the project still uses pa11y-ci for npm run accessibility:pa11y, this results in two separate puppeteer trees (and two browser downloads). Consider either removing the direct pa11y dependency if it isn’t used, or upgrading/replacing pa11y-ci to a version compatible with pa11y v9 so only one puppeteer is installed.
Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
package.jsonpackage-lock.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-JSONPATH-13645034
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Arbitrary Code Injection