Updates the nested packages[""].version in the same way as the root version. I don't know if this key will exist in following lockfileVersions, there is an explicit check for it. Also not sure under what node version this code will be run (need to update a couple of other packages that have this dependency) so check is not using the optional chaining operator (?.).
Change-type: minor
Signed-off-by: Stathis Moraitidis stathis@balena.io
Updates the nested
packages[""].version
in the same way as the root version. I don't know if this key will exist in followinglockfileVersion
s, there is an explicit check for it. Also not sure under what node version this code will be run (need to update a couple of other packages that have this dependency) so check is not using the optional chaining operator (?.).Change-type: minor Signed-off-by: Stathis Moraitidis stathis@balena.io