deploy-to-azure icon indicating copy to clipboard operation
deploy-to-azure copied to clipboard

[Bug] Warnings of deprecation and vulnerabilities on step 5 - Deploy

Open rffontenelle opened this issue 3 months ago • 0 comments

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

  1. Get to the Step 5: Deploy to a production environment based on labels
  2. Follow instructions Activities 1 and then Activities 2
  3. Once the PR is merged into main, deploy-prod.yml workflow will be triggered
  4. Browse the logs for this workflow run, check build job, npm install and build webpack step
  5. 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 13s

47 packages are looking for funding run npm fund for details

12 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.

image

Additional context

Reference of the latest commit from this repository in which I did my exercise: 02e588bddd8c548232dd9d8b96c191f5ae8428d7

rffontenelle avatar Mar 20 '24 00:03 rffontenelle