From 585c6d59f70b61dac05b2a8cc3ab2b888b923fb3 Mon Sep 17 00:00:00 2001 From: Rajesh V <142348849+rajeshkaremane@users.noreply.github.com> Date: Tue, 13 Aug 2024 16:38:37 +0100 Subject: [PATCH] 427058: npm audit exclude dev dependencies (#148) --- VERSION | 2 +- templates/steps/nodejs-build.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 7717884d..1cc5f657 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.26 \ No newline at end of file +1.1.0 \ No newline at end of file diff --git a/templates/steps/nodejs-build.yaml b/templates/steps/nodejs-build.yaml index e6ea2ec1..e26bf264 100644 --- a/templates/steps/nodejs-build.yaml +++ b/templates/steps/nodejs-build.yaml @@ -38,7 +38,7 @@ steps: inputs: command: custom verbose: false - customCommand: 'audit -audit-level=${{ parameters.failOnThreshold }} ' + customCommand: 'audit -audit-level=${{ parameters.failOnThreshold }} --omit=dev' continueOnError: ${{ ne(variables['Build.Reason'], 'PullRequest') }} - task: Npm@1