You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows, macOS, or Linux?: Linux (Ubuntu under WSL2)
Currently, @yarnpkg/lockfile is being used to parse yarn lockfiles. @yarnpkg/lockfile has not been updated in 4 years, so it hasn't been updated to support the latest lockfile format.
A possible solution would be to switch to snyk-nodejs-lockfile-parser. That package appears to be actively maintained and supports both old and new yarn lockfile formats.
The text was updated successfully, but these errors were encountered:
pnpm version:
v6.22.1
Code to reproduce the issue:
Run command
pnpm import
in a yarn v2 project..pnpm-debug.log
Expected behavior:
pnpm imports the yarn v2 lockfile successfully.
Actual behavior:
import fails due to new v2 lockfile format.
Additional information:
node -v
prints: v16.13.0Currently, @yarnpkg/lockfile is being used to parse yarn lockfiles.
@yarnpkg/lockfile
has not been updated in 4 years, so it hasn't been updated to support the latest lockfile format.A possible solution would be to switch to snyk-nodejs-lockfile-parser. That package appears to be actively maintained and supports both old and new yarn lockfile formats.
The text was updated successfully, but these errors were encountered: