Hi everybody
I don't really now if these are called "instances" of a package...anyway, my problem is this:
if I run yarn npm audit
it shows me a problem with the package trim-newlines and suggests me to upgrade it to a version >=3.0.1 After the upgrade (with yarn up trim-newlines
), I run npm ls trim-newlines
and this is the output:
├─┬ lerna@3.22.1
│ └─┬ @lerna/version@3.22.1
│ └─┬ @lerna/conventional-commits@3.22.0
│ ├─┬ conventional-changelog-core@3.2.3
│ │ ├─┬ conventional-changelog-writer@4.1.0
│ │ │ └─┬ meow@8.1.2
│ │ │ └── trim-newlines@3.0.1
│ │ ├─┬ conventional-commits-parser@3.2.4
│ │ │ └─┬ meow@8.1.2
│ │ │ └── trim-newlines@3.0.1
│ │ └─┬ get-pkg-repo@1.4.0
│ │ └─┬ meow@3.7.0
│ │ └── trim-newlines@1.0.0
│ └─┬ conventional-recommended-bump@5.0.1
│ └─┬ meow@4.0.1
│ └── trim-newlines@2.0.0
└── trim-newlines@4.0.2
So it looks like there are multiple versions of it. I managed to upgrade the bottom one to latest version, but how do I upgrade the others?