Skip to content

Commit

Permalink
Update dependency System.Text.Json (WalletWasabi#13293)
Browse files Browse the repository at this point in the history
  • Loading branch information
lontivero authored Jul 27, 2024
1 parent fc337b5 commit 69b03f3
Show file tree
Hide file tree
Showing 9 changed files with 298 additions and 91 deletions.
3 changes: 3 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.Http" Version="8.0.0" />
<PackageVersion Include="NNostr.Client" Version="0.0.49" />
<PackageVersion Include="SkiaSharp.NativeAssets.Linux" Version="2.88.8" />
<PackageVersion Include="System.IO.Pipelines" Version="8.0.0" />
<!-- JSON. -->
<PackageVersion Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.0" />
Expand All @@ -24,6 +25,8 @@
<PackageVersion Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.4" />
<PackageVersion Include="System.Private.Uri" Version="4.3.2" />
<!-- Version 4.3.0 contains a vulnerability, manually bumped to 4.3.2. -->
<PackageVersion Include="System.Text.Json" Version="8.0.4" />
<!-- Version 8.0.3 contains a vulnerability, manually bumped to 8.0.4. -->
<!-- Core libraries. -->
<PackageVersion Include="WabiSabi" Version="1.0.1.2" />
<PackageVersion Include="NBitcoin" Version="7.0.27" />
Expand Down
18 changes: 10 additions & 8 deletions WalletWasabi.Daemon/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,14 +228,6 @@
"resolved": "8.0.0",
"contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ=="
},
"System.Text.Json": {
"type": "Transitive",
"resolved": "8.0.3",
"contentHash": "hpagS9joOwv6efWfrMmV9MjQXpiXZH72PgN067Ysfr6AWMSD1/1hEcvh/U5mUpPLezEWsOJSuVrmqDIVD958iA==",
"dependencies": {
"System.Text.Encodings.Web": "8.0.0"
}
},
"System.Threading.Channels": {
"type": "Transitive",
"resolved": "8.0.0",
Expand All @@ -253,6 +245,7 @@
"NBitcoin": "[7.0.27, )",
"NNostr.Client": "[0.0.49, )",
"System.IO.Pipelines": "[8.0.0, )",
"System.Text.Json": "[8.0.4, )",
"WabiSabi": "[1.0.1.2, )"
}
},
Expand Down Expand Up @@ -347,6 +340,15 @@
"resolved": "8.0.0",
"contentHash": "FHNOatmUq0sqJOkTx+UF/9YK1f180cnW5FVqnQMvYUN0elp6wFzbtPSiqbo1/ru8ICp43JM1i7kKkk6GsNGHlA=="
},
"System.Text.Json": {
"type": "CentralTransitive",
"requested": "[8.0.4, )",
"resolved": "8.0.4",
"contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==",
"dependencies": {
"System.Text.Encodings.Web": "8.0.0"
}
},
"WabiSabi": {
"type": "CentralTransitive",
"requested": "[1.0.1.2, )",
Expand Down
18 changes: 10 additions & 8 deletions WalletWasabi.Fluent.Desktop/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -804,14 +804,6 @@
"resolved": "8.0.0",
"contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ=="
},
"System.Text.Json": {
"type": "Transitive",
"resolved": "8.0.3",
"contentHash": "hpagS9joOwv6efWfrMmV9MjQXpiXZH72PgN067Ysfr6AWMSD1/1hEcvh/U5mUpPLezEWsOJSuVrmqDIVD958iA==",
"dependencies": {
"System.Text.Encodings.Web": "8.0.0"
}
},
"System.Threading": {
"type": "Transitive",
"resolved": "4.3.0",
Expand Down Expand Up @@ -861,6 +853,7 @@
"NBitcoin": "[7.0.27, )",
"NNostr.Client": "[0.0.49, )",
"System.IO.Pipelines": "[8.0.0, )",
"System.Text.Json": "[8.0.4, )",
"WabiSabi": "[1.0.1.2, )"
}
},
Expand Down Expand Up @@ -1147,6 +1140,15 @@
"Microsoft.NETCore.Targets": "1.1.3"
}
},
"System.Text.Json": {
"type": "CentralTransitive",
"requested": "[8.0.4, )",
"resolved": "8.0.4",
"contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==",
"dependencies": {
"System.Text.Encodings.Web": "8.0.0"
}
},
"WabiSabi": {
"type": "CentralTransitive",
"requested": "[1.0.1.2, )",
Expand Down
120 changes: 64 additions & 56 deletions WalletWasabi.Fluent/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -504,14 +504,6 @@
"SkiaSharp.NativeAssets.macOS": "2.88.7"
}
},
"SkiaSharp.NativeAssets.Linux": {
"type": "Transitive",
"resolved": "2.88.7",
"contentHash": "i9VitS7/5D8Te3B1Gu7F6kakW9PYVnI3YC6MoR6NidreD9hDl1EIOQEBaa0eBsOsWNX5Bz92OVf6+7KbDrJvyg==",
"dependencies": {
"SkiaSharp": "2.88.7"
}
},
"SkiaSharp.NativeAssets.macOS": {
"type": "Transitive",
"resolved": "2.88.7",
Expand Down Expand Up @@ -868,14 +860,6 @@
"resolved": "8.0.0",
"contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ=="
},
"System.Text.Json": {
"type": "Transitive",
"resolved": "8.0.3",
"contentHash": "hpagS9joOwv6efWfrMmV9MjQXpiXZH72PgN067Ysfr6AWMSD1/1hEcvh/U5mUpPLezEWsOJSuVrmqDIVD958iA==",
"dependencies": {
"System.Text.Encodings.Web": "8.0.0"
}
},
"System.Threading": {
"type": "Transitive",
"resolved": "4.3.0",
Expand Down Expand Up @@ -917,6 +901,7 @@
"NBitcoin": "[7.0.27, )",
"NNostr.Client": "[0.0.49, )",
"System.IO.Pipelines": "[8.0.0, )",
"System.Text.Json": "[8.0.4, )",
"WabiSabi": "[1.0.1.2, )"
}
},
Expand Down Expand Up @@ -1055,12 +1040,30 @@
"System.Threading.Channels": "8.0.0"
}
},
"SkiaSharp.NativeAssets.Linux": {
"type": "CentralTransitive",
"requested": "[2.88.8, )",
"resolved": "2.88.7",
"contentHash": "i9VitS7/5D8Te3B1Gu7F6kakW9PYVnI3YC6MoR6NidreD9hDl1EIOQEBaa0eBsOsWNX5Bz92OVf6+7KbDrJvyg==",
"dependencies": {
"SkiaSharp": "2.88.7"
}
},
"System.IO.Pipelines": {
"type": "CentralTransitive",
"requested": "[8.0.0, )",
"resolved": "8.0.0",
"contentHash": "FHNOatmUq0sqJOkTx+UF/9YK1f180cnW5FVqnQMvYUN0elp6wFzbtPSiqbo1/ru8ICp43JM1i7kKkk6GsNGHlA=="
},
"System.Text.Json": {
"type": "CentralTransitive",
"requested": "[8.0.4, )",
"resolved": "8.0.4",
"contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==",
"dependencies": {
"System.Text.Encodings.Web": "8.0.0"
}
},
"WabiSabi": {
"type": "CentralTransitive",
"requested": "[1.0.1.2, )",
Expand Down Expand Up @@ -1280,14 +1283,6 @@
"runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0"
}
},
"SkiaSharp.NativeAssets.Linux": {
"type": "Transitive",
"resolved": "2.88.7",
"contentHash": "i9VitS7/5D8Te3B1Gu7F6kakW9PYVnI3YC6MoR6NidreD9hDl1EIOQEBaa0eBsOsWNX5Bz92OVf6+7KbDrJvyg==",
"dependencies": {
"SkiaSharp": "2.88.7"
}
},
"SkiaSharp.NativeAssets.macOS": {
"type": "Transitive",
"resolved": "2.88.7",
Expand Down Expand Up @@ -1475,6 +1470,15 @@
"requested": "[8.0.0, )",
"resolved": "8.0.0",
"contentHash": "9opKRyOKMCi2xJ7Bj7kxtZ1r9vbzosMvRrdEhVhDz8j8MoBGgB+WmC94yH839NPH+BclAjtQ/pyagvi/8gDLkw=="
},
"SkiaSharp.NativeAssets.Linux": {
"type": "CentralTransitive",
"requested": "[2.88.8, )",
"resolved": "2.88.7",
"contentHash": "i9VitS7/5D8Te3B1Gu7F6kakW9PYVnI3YC6MoR6NidreD9hDl1EIOQEBaa0eBsOsWNX5Bz92OVf6+7KbDrJvyg==",
"dependencies": {
"SkiaSharp": "2.88.7"
}
}
},
"net8.0/linux-x64": {
Expand Down Expand Up @@ -1686,14 +1690,6 @@
"runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0"
}
},
"SkiaSharp.NativeAssets.Linux": {
"type": "Transitive",
"resolved": "2.88.7",
"contentHash": "i9VitS7/5D8Te3B1Gu7F6kakW9PYVnI3YC6MoR6NidreD9hDl1EIOQEBaa0eBsOsWNX5Bz92OVf6+7KbDrJvyg==",
"dependencies": {
"SkiaSharp": "2.88.7"
}
},
"SkiaSharp.NativeAssets.macOS": {
"type": "Transitive",
"resolved": "2.88.7",
Expand Down Expand Up @@ -1881,6 +1877,15 @@
"requested": "[8.0.0, )",
"resolved": "8.0.0",
"contentHash": "9opKRyOKMCi2xJ7Bj7kxtZ1r9vbzosMvRrdEhVhDz8j8MoBGgB+WmC94yH839NPH+BclAjtQ/pyagvi/8gDLkw=="
},
"SkiaSharp.NativeAssets.Linux": {
"type": "CentralTransitive",
"requested": "[2.88.8, )",
"resolved": "2.88.7",
"contentHash": "i9VitS7/5D8Te3B1Gu7F6kakW9PYVnI3YC6MoR6NidreD9hDl1EIOQEBaa0eBsOsWNX5Bz92OVf6+7KbDrJvyg==",
"dependencies": {
"SkiaSharp": "2.88.7"
}
}
},
"net8.0/osx-arm64": {
Expand Down Expand Up @@ -2092,14 +2097,6 @@
"runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0"
}
},
"SkiaSharp.NativeAssets.Linux": {
"type": "Transitive",
"resolved": "2.88.7",
"contentHash": "i9VitS7/5D8Te3B1Gu7F6kakW9PYVnI3YC6MoR6NidreD9hDl1EIOQEBaa0eBsOsWNX5Bz92OVf6+7KbDrJvyg==",
"dependencies": {
"SkiaSharp": "2.88.7"
}
},
"SkiaSharp.NativeAssets.macOS": {
"type": "Transitive",
"resolved": "2.88.7",
Expand Down Expand Up @@ -2287,6 +2284,15 @@
"requested": "[8.0.0, )",
"resolved": "8.0.0",
"contentHash": "9opKRyOKMCi2xJ7Bj7kxtZ1r9vbzosMvRrdEhVhDz8j8MoBGgB+WmC94yH839NPH+BclAjtQ/pyagvi/8gDLkw=="
},
"SkiaSharp.NativeAssets.Linux": {
"type": "CentralTransitive",
"requested": "[2.88.8, )",
"resolved": "2.88.7",
"contentHash": "i9VitS7/5D8Te3B1Gu7F6kakW9PYVnI3YC6MoR6NidreD9hDl1EIOQEBaa0eBsOsWNX5Bz92OVf6+7KbDrJvyg==",
"dependencies": {
"SkiaSharp": "2.88.7"
}
}
},
"net8.0/osx-x64": {
Expand Down Expand Up @@ -2498,14 +2504,6 @@
"runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0"
}
},
"SkiaSharp.NativeAssets.Linux": {
"type": "Transitive",
"resolved": "2.88.7",
"contentHash": "i9VitS7/5D8Te3B1Gu7F6kakW9PYVnI3YC6MoR6NidreD9hDl1EIOQEBaa0eBsOsWNX5Bz92OVf6+7KbDrJvyg==",
"dependencies": {
"SkiaSharp": "2.88.7"
}
},
"SkiaSharp.NativeAssets.macOS": {
"type": "Transitive",
"resolved": "2.88.7",
Expand Down Expand Up @@ -2693,6 +2691,15 @@
"requested": "[8.0.0, )",
"resolved": "8.0.0",
"contentHash": "9opKRyOKMCi2xJ7Bj7kxtZ1r9vbzosMvRrdEhVhDz8j8MoBGgB+WmC94yH839NPH+BclAjtQ/pyagvi/8gDLkw=="
},
"SkiaSharp.NativeAssets.Linux": {
"type": "CentralTransitive",
"requested": "[2.88.8, )",
"resolved": "2.88.7",
"contentHash": "i9VitS7/5D8Te3B1Gu7F6kakW9PYVnI3YC6MoR6NidreD9hDl1EIOQEBaa0eBsOsWNX5Bz92OVf6+7KbDrJvyg==",
"dependencies": {
"SkiaSharp": "2.88.7"
}
}
},
"net8.0/win-x64": {
Expand Down Expand Up @@ -2804,14 +2811,6 @@
"System.Private.Uri": "4.3.0"
}
},
"SkiaSharp.NativeAssets.Linux": {
"type": "Transitive",
"resolved": "2.88.7",
"contentHash": "i9VitS7/5D8Te3B1Gu7F6kakW9PYVnI3YC6MoR6NidreD9hDl1EIOQEBaa0eBsOsWNX5Bz92OVf6+7KbDrJvyg==",
"dependencies": {
"SkiaSharp": "2.88.7"
}
},
"SkiaSharp.NativeAssets.macOS": {
"type": "Transitive",
"resolved": "2.88.7",
Expand Down Expand Up @@ -2999,6 +2998,15 @@
"requested": "[8.0.0, )",
"resolved": "8.0.0",
"contentHash": "9opKRyOKMCi2xJ7Bj7kxtZ1r9vbzosMvRrdEhVhDz8j8MoBGgB+WmC94yH839NPH+BclAjtQ/pyagvi/8gDLkw=="
},
"SkiaSharp.NativeAssets.Linux": {
"type": "CentralTransitive",
"requested": "[2.88.8, )",
"resolved": "2.88.7",
"contentHash": "i9VitS7/5D8Te3B1Gu7F6kakW9PYVnI3YC6MoR6NidreD9hDl1EIOQEBaa0eBsOsWNX5Bz92OVf6+7KbDrJvyg==",
"dependencies": {
"SkiaSharp": "2.88.7"
}
}
}
}
Expand Down
18 changes: 10 additions & 8 deletions WalletWasabi.Packager/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,14 +215,6 @@
"resolved": "8.0.0",
"contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ=="
},
"System.Text.Json": {
"type": "Transitive",
"resolved": "8.0.3",
"contentHash": "hpagS9joOwv6efWfrMmV9MjQXpiXZH72PgN067Ysfr6AWMSD1/1hEcvh/U5mUpPLezEWsOJSuVrmqDIVD958iA==",
"dependencies": {
"System.Text.Encodings.Web": "8.0.0"
}
},
"System.Threading.Channels": {
"type": "Transitive",
"resolved": "8.0.0",
Expand All @@ -240,6 +232,7 @@
"NBitcoin": "[7.0.27, )",
"NNostr.Client": "[0.0.49, )",
"System.IO.Pipelines": "[8.0.0, )",
"System.Text.Json": "[8.0.4, )",
"WabiSabi": "[1.0.1.2, )"
}
},
Expand Down Expand Up @@ -334,6 +327,15 @@
"resolved": "8.0.0",
"contentHash": "FHNOatmUq0sqJOkTx+UF/9YK1f180cnW5FVqnQMvYUN0elp6wFzbtPSiqbo1/ru8ICp43JM1i7kKkk6GsNGHlA=="
},
"System.Text.Json": {
"type": "CentralTransitive",
"requested": "[8.0.4, )",
"resolved": "8.0.4",
"contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==",
"dependencies": {
"System.Text.Encodings.Web": "8.0.0"
}
},
"WabiSabi": {
"type": "CentralTransitive",
"requested": "[1.0.1.2, )",
Expand Down
3 changes: 2 additions & 1 deletion WalletWasabi/WalletWasabi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
<NoWarn>1701;1702;1705;1591;1573;CA1031;CA1822;NU1903</NoWarn>
<NoWarn>1701;1702;1705;1591;1573;CA1031;CA1822</NoWarn>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
Expand Down Expand Up @@ -38,6 +38,7 @@
<PackageReference Include="Microsoft.Data.Sqlite" />
<PackageReference Include="Microsoft.Win32.SystemEvents" />
<PackageReference Include="NBitcoin" />
<PackageReference Include="System.Text.Json" />
<PackageReference Include="WabiSabi" />
</ItemGroup>

Expand Down
Loading

0 comments on commit 69b03f3

Please sign in to comment.