- This project is using
vite@4.5.2, however, Cycode is incorrectly marking it as using version4.4.9. - This is because the scanner is not taking into account the override that is in the ./pnpm-workspace.yaml file.
overrides:
"vite": "4.5.2"
- This override can be verified by checking the
viteversion used in thepnpm-lock.yamlfile, as seen here. - Perhaps more accurate results could be achieved if the scanner used the output of
pnpm ls -r --depth=xas the primary source for dependencies. This guarantees an accurate list of all resolved dependencies in the pnpm workspace.
- Clone this repository
cdto the project root- Run
corepack enable & corepack use pnpm@latest-10 - Run
pnpm install - Run
pnpm ls -rto verify that versionvite@4.5.2is listed - Run
cycode scan --scan-type=sca path . - Observe that Cycode incorretly marks the version as
vite@4.4.9