Creates a comment inside Pull Request with the human-readable summary of changes to the Yarn lock file. Works with every Yarn version (classic and berry).
Yarn offers only official lock parser for Classic (v1), adding support for newer locks was not feasible using their parser. Since I have written an internal parser lately, now the task of adding support for other Yarn lock versions became quite straight-forward.
This PR includes the initial implementation of parser for Yarn Berry (v2 & v3) locks. I have added a few basic tests, and I have confirmed that the output is correct for this workspace, however, the changes in lock format are not well documented and there might be still some issues or thing that I have missed when working with newer lock files.
Why
Fixes #34
How
Yarn offers only official lock parser for Classic (v1), adding support for newer locks was not feasible using their parser. Since I have written an internal parser lately, now the task of adding support for other Yarn lock versions became quite straight-forward.
This PR includes the initial implementation of parser for Yarn Berry (v2 & v3) locks. I have added a few basic tests, and I have confirmed that the output is correct for this workspace, however, the changes in lock format are not well documented and there might be still some issues or thing that I have missed when working with newer lock files.