Passa al contenuto principale
Versione: 10.x

pnpm outdated

Verifica la presenza di pacchetti obsoleti. Il controllo può essere limitato a un sottoinsieme dei pacchetti installati fornendo argomenti (i modelli sono supportati).

Esempi:

pnpm outdated
pnpm outdated "*gulp-*" @babel/core

Opzioni​

--recursive, -r​

Controlla le dipendenze obsolete in ogni pacchetto trovato nelle sottocartelle o in ogni pacchetto all'interno dello spazio di lavoro, se eseguito in uno spazio di lavoro.

--filter <package_selector>​

Read more about filtering.

--global, -g​

Elenca i pacchetti globali obsoleti.

--long​

Stampa i dettagli.

--format <format>​

  • Default: table
  • Type: table, list, json

Prints the outdated dependencies in the given format.

--compatible​

Prints only versions that satisfy specifications in package.json.

--dev, -D​

Checks only devDependencies.

--prod, -P​

Checks only dependencies and optionalDependencies.

--no-optional​

Doesn't check optionalDependencies.

--sort-by​

Specifies the order in which the output results are sorted. Currently only the value name is accepted.