Open lukewhitehouse opened 1 week ago
On reviewing https://github.com/percy/percy-playwright/pull/444 CI steps it looks like the node version needs updating too.
I've created a PR for the sinon and node upgrades https://github.com/percy/percy-playwright/pull/447, which combined with https://github.com/percy/percy-playwright/pull/445, should fix the vulnerability found in older versions of path-to-regexp
. Would love to hear your thoughts here @prklm10 & @shantanuk-browserstack
@lukewhitehouse thanks for raising the pr for this. We will be trying to update the sinon patch version instead of upgrading node.
Hi @lukewhitehouse we have released v1.0.7 that has the security patch for path-to-regex.
The problem
There is a high severity alert out for versions of
path-to-regexp
: https://github.com/advisories/GHSA-9wv6-86v2-598jDetails
This package is a transitive dependency for a couple of direct dependencies to
@percy/playwright
, which will need updating. These include:@percy/cli
, fixed inv1.29.4
https://github.com/percy/cli/releases/tag/v1.29.4sinon
, fixed inv18.0.1
https://github.com/sinonjs/sinon/blob/main/CHANGES.md#1801This repo has 2 bumps to get us started:
Is this something that could be looked at? Happy to help with the Sinon bump