deploy-to-azure
deploy-to-azure copied to clipboard
[Bug] Warnings of deprecation and vulnerabilities on step 5 - Deploy
Summary
In Step 5: Deploy to a production environment based on labels, when running the deploy-prod.yml
workflow, the npm install and build webpack step from build job emits several warnings of deprecation and vulnerabilities for the dependencies of the webpack used in the exercise.
How to reproduce
- Get to the Step 5: Deploy to a production environment based on labels
- Follow instructions Activities 1 and then Activities 2
- Once the PR is merged into main,
deploy-prod.yml
workflow will be triggered - Browse the logs for this workflow run, check build job, npm install and build webpack step
- See warnings in the log
Click here to show the text if the warning shown in the image below
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated [email protected]: some dependency vulnerabilities fixed, support for node =3.2.0 =4 =3.2.0 =4 added 1680 packages, and audited 1681 packages in 13s47 packages are looking for funding run
npm fund
for details12 vulnerabilities (1 low, 3 moderate, 8 high)
To address issues that do not require attention, run: npm audit fix
To address all issues (including breaking changes), run: npm audit fix --force
Run
npm audit
for details.
Additional context
Reference of the latest commit from this repository in which I did my exercise: 02e588bddd8c548232dd9d8b96c191f5ae8428d7