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).
This PR includes a fix for parsing locally linked entries in Berry locks, in case where those entries do not include any dependencies.
I have included the locally linked package in tests before, but the problem was not caught in there, since this package have a few dependencies. In cases like this parser was splitting the entry fields incorrectly, which later in time leads to attempt of using split on undefined value.
Why
Fixes #55
How
This PR includes a fix for parsing locally linked entries in Berry locks, in case where those entries do not include any dependencies.
I have included the locally linked package in tests before, but the problem was not caught in there, since this package have a few dependencies. In cases like this parser was splitting the entry fields incorrectly, which later in time leads to attempt of using
split
onundefined
value.