Skip to content

Commit

Permalink
Update to require safe version of System.Text.Json, also update Syste…
Browse files Browse the repository at this point in the history
…m.Memory & PolySharp version. Update test project deps also.
  • Loading branch information
lilith committed Oct 30, 2024
1 parent c01a7ab commit dc38066
Show file tree
Hide file tree
Showing 8 changed files with 356 additions and 272 deletions.
28 changes: 14 additions & 14 deletions src/Imageflow.AllPlatforms/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
},
"Microsoft.IO.RecyclableMemoryStream": {
"type": "Transitive",
"resolved": "3.0.0",
"contentHash": "irv0HuqoH8Ig5i2fO+8dmDNdFdsrO+DoQcedwIlb810qpZHBNQHZLW7C/AHBQDgLLpw2T96vmMAy/aE4Yj55Sg==",
"resolved": "3.0.1",
"contentHash": "s/s20YTVY9r9TPfTrN5g8zPF1YhwxyqO6PxUkrYTGI2B+OGPe9AdajWZrLhFqXIvqIW23fnUE4+ztrUWNU1+9g==",
"dependencies": {
"System.Memory": "4.5.5"
}
Expand Down Expand Up @@ -93,8 +93,8 @@
},
"System.Text.Json": {
"type": "Transitive",
"resolved": "6.0.9",
"contentHash": "2j16oUgtIzl7Xtk7demG0i/v5aU/ZvULcAnJvPb63U3ZhXJ494UYcxuEj5Fs49i3XDrk5kU/8I+6l9zRCw3cJw==",
"resolved": "6.0.10",
"contentHash": "NSB0kDipxn2ychp88NXWfFRFlmi1bst/xynOutbnpEfRCT9JZkZ7KOmF/I/hNKo2dILiMGnqblm+j1sggdLB9g==",
"dependencies": {
"Microsoft.Bcl.AsyncInterfaces": "6.0.0",
"System.Buffers": "4.5.1",
Expand All @@ -118,8 +118,8 @@
"dependencies": {
"Microsoft.IO.RecyclableMemoryStream": "[3.*, 4.0.0)",
"System.Buffers": "[4.*, )",
"System.Memory": "[4.*, )",
"System.Text.Json": "[6.*, )"
"System.Memory": "[4.5.5, )",
"System.Text.Json": "[6.0.10, )"
}
}
},
Expand Down Expand Up @@ -150,14 +150,14 @@
},
"Microsoft.NET.ILLink.Tasks": {
"type": "Direct",
"requested": "[8.0.2, )",
"resolved": "8.0.2",
"contentHash": "hKTrehpfVzOhAz0mreaTAZgbz0DrMEbWq4n3hAo8Ks6WdxdqQhNPvzOqn9VygKuWf1bmxPdraqzTaXriO/sn0A=="
"requested": "[8.0.10, )",
"resolved": "8.0.10",
"contentHash": "xT8jYjlroY7SLbGtoV9vUTVW/TPgodL4Egc31a444Xe0TMytLZ3UlKQ0kxMZsy/CrWsFB6wtKnSG1SsXcWreew=="
},
"Microsoft.IO.RecyclableMemoryStream": {
"type": "Transitive",
"resolved": "3.0.0",
"contentHash": "irv0HuqoH8Ig5i2fO+8dmDNdFdsrO+DoQcedwIlb810qpZHBNQHZLW7C/AHBQDgLLpw2T96vmMAy/aE4Yj55Sg=="
"resolved": "3.0.1",
"contentHash": "s/s20YTVY9r9TPfTrN5g8zPF1YhwxyqO6PxUkrYTGI2B+OGPe9AdajWZrLhFqXIvqIW23fnUE4+ztrUWNU1+9g=="
},
"System.Runtime.CompilerServices.Unsafe": {
"type": "Transitive",
Expand All @@ -174,8 +174,8 @@
},
"System.Text.Json": {
"type": "Transitive",
"resolved": "6.0.9",
"contentHash": "2j16oUgtIzl7Xtk7demG0i/v5aU/ZvULcAnJvPb63U3ZhXJ494UYcxuEj5Fs49i3XDrk5kU/8I+6l9zRCw3cJw==",
"resolved": "6.0.10",
"contentHash": "NSB0kDipxn2ychp88NXWfFRFlmi1bst/xynOutbnpEfRCT9JZkZ7KOmF/I/hNKo2dILiMGnqblm+j1sggdLB9g==",
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "6.0.0",
"System.Text.Encodings.Web": "6.0.0"
Expand All @@ -185,7 +185,7 @@
"type": "Project",
"dependencies": {
"Microsoft.IO.RecyclableMemoryStream": "[3.*, 4.0.0)",
"System.Text.Json": "[6.*, )"
"System.Text.Json": "[6.0.10, )"
}
}
}
Expand Down
8 changes: 5 additions & 3 deletions src/Imageflow/Imageflow.Net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@

<ItemGroup>
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="[3.*,4)" />
<PackageReference Include="System.Memory" Version="[4.*,)" Condition="'$(TargetFramework)' == 'netstandard2.0'" />
<PackageReference Include="System.Buffers" Version="[4.*,)" Condition="'$(TargetFramework)' == 'netstandard2.0'" />
<PackageReference Include="System.Text.Json" Version="[6.*,)"/>
<PackageReference Include="System.Text.Json" Version="[6.0.10,)" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.*" PrivateAssets="All" />
<PackageReference Include="PolySharp" Version="1.*">
<PackageReference Include="PolySharp" Version="1.14.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand All @@ -39,4 +38,7 @@
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>

</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Memory" Version="4.5.5" />
</ItemGroup>
</Project>
44 changes: 22 additions & 22 deletions src/Imageflow/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"Microsoft.IO.RecyclableMemoryStream": {
"type": "Direct",
"requested": "[3.*, 4.0.0)",
"resolved": "3.0.0",
"contentHash": "irv0HuqoH8Ig5i2fO+8dmDNdFdsrO+DoQcedwIlb810qpZHBNQHZLW7C/AHBQDgLLpw2T96vmMAy/aE4Yj55Sg==",
"resolved": "3.0.1",
"contentHash": "s/s20YTVY9r9TPfTrN5g8zPF1YhwxyqO6PxUkrYTGI2B+OGPe9AdajWZrLhFqXIvqIW23fnUE4+ztrUWNU1+9g==",
"dependencies": {
"System.Memory": "4.5.5"
}
Expand All @@ -32,7 +32,7 @@
},
"PolySharp": {
"type": "Direct",
"requested": "[1.*, )",
"requested": "[1.14.1, )",
"resolved": "1.14.1",
"contentHash": "mOOmFYwad3MIOL14VCjj02LljyF1GNw1wP0YVlxtcPvqdxjGGMNdNJJxHptlry3MOd8b40Flm8RPOM8JOlN2sQ=="
},
Expand All @@ -44,7 +44,7 @@
},
"System.Memory": {
"type": "Direct",
"requested": "[4.*, )",
"requested": "[4.5.5, )",
"resolved": "4.5.5",
"contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==",
"dependencies": {
Expand All @@ -55,9 +55,9 @@
},
"System.Text.Json": {
"type": "Direct",
"requested": "[6.*, )",
"resolved": "6.0.9",
"contentHash": "2j16oUgtIzl7Xtk7demG0i/v5aU/ZvULcAnJvPb63U3ZhXJ494UYcxuEj5Fs49i3XDrk5kU/8I+6l9zRCw3cJw==",
"requested": "[6.0.10, )",
"resolved": "6.0.10",
"contentHash": "NSB0kDipxn2ychp88NXWfFRFlmi1bst/xynOutbnpEfRCT9JZkZ7KOmF/I/hNKo2dILiMGnqblm+j1sggdLB9g==",
"dependencies": {
"Microsoft.Bcl.AsyncInterfaces": "6.0.0",
"System.Buffers": "4.5.1",
Expand Down Expand Up @@ -124,8 +124,8 @@
"Microsoft.IO.RecyclableMemoryStream": {
"type": "Direct",
"requested": "[3.*, 4.0.0)",
"resolved": "3.0.0",
"contentHash": "irv0HuqoH8Ig5i2fO+8dmDNdFdsrO+DoQcedwIlb810qpZHBNQHZLW7C/AHBQDgLLpw2T96vmMAy/aE4Yj55Sg=="
"resolved": "3.0.1",
"contentHash": "s/s20YTVY9r9TPfTrN5g8zPF1YhwxyqO6PxUkrYTGI2B+OGPe9AdajWZrLhFqXIvqIW23fnUE4+ztrUWNU1+9g=="
},
"Microsoft.SourceLink.GitHub": {
"type": "Direct",
Expand All @@ -139,15 +139,15 @@
},
"PolySharp": {
"type": "Direct",
"requested": "[1.*, )",
"requested": "[1.14.1, )",
"resolved": "1.14.1",
"contentHash": "mOOmFYwad3MIOL14VCjj02LljyF1GNw1wP0YVlxtcPvqdxjGGMNdNJJxHptlry3MOd8b40Flm8RPOM8JOlN2sQ=="
},
"System.Text.Json": {
"type": "Direct",
"requested": "[6.*, )",
"resolved": "6.0.9",
"contentHash": "2j16oUgtIzl7Xtk7demG0i/v5aU/ZvULcAnJvPb63U3ZhXJ494UYcxuEj5Fs49i3XDrk5kU/8I+6l9zRCw3cJw==",
"requested": "[6.0.10, )",
"resolved": "6.0.10",
"contentHash": "NSB0kDipxn2ychp88NXWfFRFlmi1bst/xynOutbnpEfRCT9JZkZ7KOmF/I/hNKo2dILiMGnqblm+j1sggdLB9g==",
"dependencies": {
"Microsoft.Bcl.AsyncInterfaces": "6.0.0",
"System.Buffers": "4.5.1",
Expand Down Expand Up @@ -221,14 +221,14 @@
"Microsoft.IO.RecyclableMemoryStream": {
"type": "Direct",
"requested": "[3.*, 4.0.0)",
"resolved": "3.0.0",
"contentHash": "irv0HuqoH8Ig5i2fO+8dmDNdFdsrO+DoQcedwIlb810qpZHBNQHZLW7C/AHBQDgLLpw2T96vmMAy/aE4Yj55Sg=="
"resolved": "3.0.1",
"contentHash": "s/s20YTVY9r9TPfTrN5g8zPF1YhwxyqO6PxUkrYTGI2B+OGPe9AdajWZrLhFqXIvqIW23fnUE4+ztrUWNU1+9g=="
},
"Microsoft.NET.ILLink.Tasks": {
"type": "Direct",
"requested": "[8.0.2, )",
"resolved": "8.0.2",
"contentHash": "hKTrehpfVzOhAz0mreaTAZgbz0DrMEbWq4n3hAo8Ks6WdxdqQhNPvzOqn9VygKuWf1bmxPdraqzTaXriO/sn0A=="
"requested": "[8.0.10, )",
"resolved": "8.0.10",
"contentHash": "xT8jYjlroY7SLbGtoV9vUTVW/TPgodL4Egc31a444Xe0TMytLZ3UlKQ0kxMZsy/CrWsFB6wtKnSG1SsXcWreew=="
},
"Microsoft.SourceLink.GitHub": {
"type": "Direct",
Expand All @@ -242,15 +242,15 @@
},
"PolySharp": {
"type": "Direct",
"requested": "[1.*, )",
"requested": "[1.14.1, )",
"resolved": "1.14.1",
"contentHash": "mOOmFYwad3MIOL14VCjj02LljyF1GNw1wP0YVlxtcPvqdxjGGMNdNJJxHptlry3MOd8b40Flm8RPOM8JOlN2sQ=="
},
"System.Text.Json": {
"type": "Direct",
"requested": "[6.*, )",
"resolved": "6.0.9",
"contentHash": "2j16oUgtIzl7Xtk7demG0i/v5aU/ZvULcAnJvPb63U3ZhXJ494UYcxuEj5Fs49i3XDrk5kU/8I+6l9zRCw3cJw==",
"requested": "[6.0.10, )",
"resolved": "6.0.10",
"contentHash": "NSB0kDipxn2ychp88NXWfFRFlmi1bst/xynOutbnpEfRCT9JZkZ7KOmF/I/hNKo2dILiMGnqblm+j1sggdLB9g==",
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "6.0.0",
"System.Text.Encodings.Web": "6.0.0"
Expand Down
13 changes: 6 additions & 7 deletions tests/Imageflow.Test/Imageflow.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,20 @@
<ItemGroup>
<PackageReference Include="Imageflow.NativeTool.win-x86" Version="2.0.0-preview8" />
<PackageReference Include="Imageflow.NativeTool.win-x86_64" Version="2.0.0-preview8" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="xunit" Version="2.*" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="xunit" Version="[2.9.2,)" />
<PackageReference Include="xunit.extensibility.execution" Version="2.*" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.*">
<PackageReference Include="xunit.runner.visualstudio" Version="[2.8.2,)">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Newtonsoft.Json" Version="[13.0.3,14)" />
<PackageReference Include="coverlet.collector" Version="6.0.1">
<PackageReference Include="coverlet.collector" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="3.0.0" Condition="'$(RecyclableMemoryStreamVersion)' != ''" />
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="3.0.0" Condition="'$(RecyclableMemoryStreamVersion)' == ''" />
<PackageReference Include="System.Text.Json" Version="[6.*,)" Condition="'$(SystemTextJsonVersion)' == ''" />
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="3.0.1" />
<PackageReference Include="System.Text.Json" Version="[6.0.10,)" Condition="'$(SystemTextJsonVersion)' == ''" />
<PackageReference Include="System.Text.Json" Version="$(SystemTextJsonVersion)" Condition="'$(SystemTextJsonVersion)' != ''" />
</ItemGroup>
<ItemGroup>
Expand Down
Loading

0 comments on commit dc38066

Please sign in to comment.