Skip to content

Commit e67f0c8

Browse files
authored
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 (#1357)
1 parent cdc5cf3 commit e67f0c8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Engine/PSScriptAnalyzer.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if (($PSVersionTable.Keys -contains "PSEdition") -and ($PSVersionTable.PSEdition
1616
# Minimum PowerShell Core version given by PowerShell Core support itself and
1717
# also the version of NewtonSoft.Json implicitly that PSSA ships with,
1818
# which cannot be higher than the one that PowerShell ships with.
19-
[Version] $minimumPowerShellCoreVersion = '6.2.0'
19+
[Version] $minimumPowerShellCoreVersion = '6.2.1'
2020
if ($PSVersionTable.PSVersion -lt $minimumPowerShellCoreVersion) {
2121
throw "Minimum supported version of PSScriptAnalyzer for PowerShell Core is $minimumPowerShellCoreVersion but current version is '$($PSVersionTable.PSVersion)'. Please update PowerShell Core."
2222
}

PSCompatibilityCollector/Microsoft.PowerShell.CrossCompatibility/Microsoft.PowerShell.CrossCompatibility.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<ItemGroup>
2121
<PackageReference Include="Microsoft.CSharp" Version="4.5.0" />
2222
<PackageReference Include="Microsoft.Management.Infrastructure" Version="1.0.0" />
23-
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
23+
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
2424
</ItemGroup>
2525

2626
</Project>

Rules/Rules.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<ItemGroup>
1212
<ProjectReference Include="..\Engine\Engine.csproj" />
13-
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
13+
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
1414
<PackageReference Include="Microsoft.Management.Infrastructure" Version="1.0.0" />
1515
</ItemGroup>
1616

0 commit comments

Comments
 (0)