Yarn 3.3.1 : how to upgrade all instances of a package?

295 views Asked by At

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:

├─┬ [email protected]
│ └─┬ @lerna/[email protected]
│   └─┬ @lerna/[email protected]
│     ├─┬ [email protected]
│     │ ├─┬ [email protected]
│     │ │ └─┬ [email protected]
│     │ │   └── [email protected]
│     │ ├─┬ [email protected]
│     │ │ └─┬ [email protected]
│     │ │   └── [email protected]
│     │ └─┬ [email protected]
│     │   └─┬ [email protected]
│     │     └── [email protected]
│     └─┬ [email protected]
│       └─┬ [email protected]
│         └── [email protected]
└── [email protected]

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?

0

There are 0 answers