diff --git a/.azdo/templates/powershell-lint-template.yml b/.azdo/templates/powershell-lint-template.yml index 1be1a703..49c597aa 100644 --- a/.azdo/templates/powershell-lint-template.yml +++ b/.azdo/templates/powershell-lint-template.yml @@ -74,8 +74,8 @@ jobs: set -uo pipefail mkdir -p powershell-lint-results - echo "Installing PSScriptAnalyzer 1.22.0..." - pwsh -Command "Install-Module -Name PSScriptAnalyzer -RequiredVersion 1.22.0 -Force -Scope CurrentUser" + echo "Installing PSScriptAnalyzer 1.23.0..." + pwsh -Command "Install-Module -Name PSScriptAnalyzer -RequiredVersion 1.23.0 -Force -Scope CurrentUser" echo "=== Running PSScriptAnalyzer ===" LINT_FAILED=false diff --git a/package-lock.json b/package-lock.json index 0bf50d9c..047d61fc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2995,9 +2995,9 @@ } }, "node_modules/ip-address": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.1.0.tgz", - "integrity": "sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.2.0.tgz", + "integrity": "sha512-/+S6j4E9AHvW9SWMSEY9Xfy66O5PWvVEJ08O0y5JGyEKQpojb0K0GKpz/v5HJ/G0vi3D2sjGK78119oXZeE0qA==", "dev": true, "license": "MIT", "engines": { diff --git a/scripts/linting/Invoke-PSScriptAnalyzer.ps1 b/scripts/linting/Invoke-PSScriptAnalyzer.ps1 index 9b38cf6c..1a9e8956 100644 --- a/scripts/linting/Invoke-PSScriptAnalyzer.ps1 +++ b/scripts/linting/Invoke-PSScriptAnalyzer.ps1 @@ -12,7 +12,7 @@ Import-Module (Join-Path $PSScriptRoot '../ci/Modules/CIHelpers.psm1') -Force Import-Module (Join-Path $PSScriptRoot 'Modules/LintingHelpers.psm1') -Force if (-not (Get-Module -ListAvailable -Name PSScriptAnalyzer)) { - Install-Module -Name PSScriptAnalyzer -RequiredVersion '1.22.0' -Force -Scope CurrentUser -AllowClobber + Install-Module -Name PSScriptAnalyzer -RequiredVersion '1.23.0' -Force -Scope CurrentUser -AllowClobber } Import-Module PSScriptAnalyzer -Force