In a project that is broken but no changes in my source code, I suspect something changed in my dependency tree.
I have both lock file, I have tried to do like this:
grep 'version:' yarn.lock > yarn-versions.txt
grep 'version:' yarn-old.lock > yarn-old-versions.txt
diff yarn-versions.txt yarn-old-versions.txt
And this is the result of the diff:
❯ diff yarn-versions.txt yarn-old-versions.txt
156d155
< version: 0.0.0-use.local
317c316
< version: 0.6.5
---
> version: 0.6.2
319c318
< version: 0.6.5
---
> version: 0.6.2
321c320
< version: 0.6.5
---
> version: 0.6.2
323c322
< version: 0.6.5
---
> version: 0.6.2
325c324
< version: 0.6.5
---
> version: 0.6.2
327c326
< version: 0.6.5
---
> version: 0.6.2
329c328
< version: 0.6.5
---
> version: 0.6.2
331c330
< version: 0.6.5
---
> version: 0.6.2
843d841
< version: 9.1.0
1079d1076
< version: 6.4.2
1181c1178
< version: 2.22.17
---
> version: 2.22.12
1673d1669
< version: 1.1.1
1676d1671
< version: 4.0.2
1854d1848
< version: 1.8.2
1970d1963
< version: 0.2.10
Not very easy to read, I must be not the first one to have this need.
I use yarn 4.3.1, how can I know all dependencies that have been modified/added/deleted?