microsoft / microsoft/security-devops-azdevops

Npm deprecation warnings

Aperta
#127 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
TypeScript
Stelle
86
Fork
22
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The task is displaying the following deprecation warnings:

[Verbose]     Starting process: C:\Program Files\nodejs\npm.cmd
[Standard]     C:\Program Files\nodejs\npm.cmd install eslint@8.56.0 @microsoft/eslint-plugin-sdl@0.2.2 @microsoft/eslint-formatter-sarif@3.1.0 --prefix C:\VSTSAgent\_work\_msdo\packages\node_modules\eslint --global
[Trace]     Initializing sdterr...
[Trace]     Initializing sdtout...
[Trace]     Waiting for process to exit...
##[debug]Agent environment resources - Disk: C:\ Available 160602.86 MB out of 261642.00 MB, Memory: Used 4780.00 MB out of 16383.00 MB, CPU: Usage 57.00%
##[debug]Agent environment resources - Disk: C:\ Available 160601.32 MB out of 261642.00 MB, Memory: Used 4849.00 MB out of 16383.00 MB, CPU: Usage 52.00%
##[debug]Agent environment resources - Disk: C:\ Available 160597.32 MB out of 261642.00 MB, Memory: Used 4907.00 MB out of 16383.00 MB, CPU: Usage 72.00%
##[error]npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
##[debug]Processed: [Error]     ##vso[task.logissue type=error]npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
##[error]npm warn deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead
##[debug]Processed: [Error]     ##vso[task.logissue type=error]npm warn deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead
##[error]npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
##[debug]Processed: [Error]     ##vso[task.logissue type=error]npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
##[error]npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
##[debug]Processed: [Error]     ##vso[task.logissue type=error]npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
##[error]npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
##[debug]Processed: [Error]     ##vso[task.logissue type=error]npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
##[debug]Agent environment resources - Disk: C:\ Available 160569.71 MB out of 261642.00 MB, Memory: Used 4916.00 MB out of 16383.00 MB, CPU: Usage 81.00%
##[error]npm warn deprecated eslint@8.56.0: This version is no longer supported. Please see https://eslint.org/version-support for other options.
##[debug]Processed: [Error]     ##vso[task.logissue type=error]npm warn deprecated eslint@8.56.0: This version is no longer supported. Please see https://eslint.org/version-support for other options.
##[debug]Agent environment resources - Disk: C:\ Available 160558.66 MB out of 261642.00 MB, Memory: Used 4928.00 MB out of 16383.00 MB, CPU: Usage 73.00%
[Standard] 

We are using a self-hosted build agent which has the same NPM and node.js versions as the Microsoft hosted build agent installed:

NPM 10.8.2
Node 18.20.5

It looks like as if the task is installing and using deprecated packages. Please advise.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia con il comando npm install e le versioni bloccate dei pacchetti mostrate nell'issue, quindi segui dove il task definisce o invoca quell'installazione. Verifica se le dipendenze deprecate provengono dalle versioni dirette del task o dalle sue dipendenze transitive; il lavoro è completato quando il task non emette più questi avvisi con le versioni indicate di Node.js e npm.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
node.js, typescript
Ambito
build-system, devops
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.