From b3b46e00bb0049e23ba37206f6a89f8022319717 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Sat, 26 Oct 2019 14:07:47 +0100 Subject: [PATCH] Update Newtonsoft.Json from 12.0.1 to 12.02 (latest version), which increases the minimum PS Core version from 6.2.0 to 6.2.1 --- Engine/PSScriptAnalyzer.psm1 | 2 +- .../Microsoft.PowerShell.CrossCompatibility.csproj | 2 +- Rules/Rules.csproj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Engine/PSScriptAnalyzer.psm1 b/Engine/PSScriptAnalyzer.psm1 index da62d9ef9..899f98551 100644 --- a/Engine/PSScriptAnalyzer.psm1 +++ b/Engine/PSScriptAnalyzer.psm1 @@ -16,7 +16,7 @@ if (($PSVersionTable.Keys -contains "PSEdition") -and ($PSVersionTable.PSEdition # Minimum PowerShell Core version given by PowerShell Core support itself and # also the version of NewtonSoft.Json implicitly that PSSA ships with, # which cannot be higher than the one that PowerShell ships with. - [Version] $minimumPowerShellCoreVersion = '6.2.0' + [Version] $minimumPowerShellCoreVersion = '6.2.1' if ($PSVersionTable.PSVersion -lt $minimumPowerShellCoreVersion) { throw "Minimum supported version of PSScriptAnalyzer for PowerShell Core is $minimumPowerShellCoreVersion but current version is '$($PSVersionTable.PSVersion)'. Please update PowerShell Core." } diff --git a/PSCompatibilityCollector/Microsoft.PowerShell.CrossCompatibility/Microsoft.PowerShell.CrossCompatibility.csproj b/PSCompatibilityCollector/Microsoft.PowerShell.CrossCompatibility/Microsoft.PowerShell.CrossCompatibility.csproj index 41f50f145..c1a5a2ee4 100644 --- a/PSCompatibilityCollector/Microsoft.PowerShell.CrossCompatibility/Microsoft.PowerShell.CrossCompatibility.csproj +++ b/PSCompatibilityCollector/Microsoft.PowerShell.CrossCompatibility/Microsoft.PowerShell.CrossCompatibility.csproj @@ -20,7 +20,7 @@ - + diff --git a/Rules/Rules.csproj b/Rules/Rules.csproj index 80d17b516..45ebf81d6 100644 --- a/Rules/Rules.csproj +++ b/Rules/Rules.csproj @@ -10,7 +10,7 @@ - +