From 8f7ad70627f067ece911e53b341ddd66b8eee4f5 Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 13 Sep 2024 09:55:26 +0200 Subject: [PATCH 01/32] Update FCS to 92754eb9b7076c29e19d3f6d619883b2b526c23f --- Directory.Build.props | 4 +- Directory.Packages.props | 4 +- build.fsx | 1 + global.json | 4 +- src/Fantomas.Benchmarks/packages.lock.json | 10 ++--- src/Fantomas.Client.Tests/packages.lock.json | 41 ++++++++--------- src/Fantomas.Client/packages.lock.json | 46 ++++++++++---------- src/Fantomas.Core.Tests/packages.lock.json | 21 ++++----- src/Fantomas.Core/packages.lock.json | 8 ++-- src/Fantomas.FCS/Fantomas.FCS.fsproj | 3 ++ src/Fantomas.FCS/packages.lock.json | 6 +-- src/Fantomas.Tests/packages.lock.json | 23 +++++----- src/Fantomas/packages.lock.json | 21 ++++----- 13 files changed, 102 insertions(+), 90 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 7c22db742..41e011872 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -40,12 +40,12 @@ Some common use cases include: true true - $(OtherFlags) --test:GraphBasedChecking --test:ParallelOptimization --test:ParallelIlxGen --strict-indentation+ + $(OtherFlags) --test:GraphBasedChecking --test:ParallelOptimization --test:ParallelIlxGen --strict-indentation+ --realsig+ - 836d4e0603442d6053c8d439993a022501cae494 + 92754eb9b7076c29e19d3f6d619883b2b526c23f diff --git a/Directory.Packages.props b/Directory.Packages.props index 12d2619ec..f11715b05 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,9 +1,10 @@ true + true - + @@ -18,6 +19,7 @@ + diff --git a/build.fsx b/build.fsx index bd18e4e44..4c4c24f4f 100644 --- a/build.fsx +++ b/build.fsx @@ -228,6 +228,7 @@ pipeline "Init" { run (fun _ -> [| "src/Compiler/FSComp.txt" "src/Compiler/FSStrings.resx" + "src/Compiler/Utilities/NullnessShims.fs" "src/Compiler/Utilities/Activity.fsi" "src/Compiler/Utilities/Activity.fs" "src/Compiler/Utilities/sformat.fsi" diff --git a/global.json b/global.json index 8d0a1c0ac..2c089ece3 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.300", - "rollForward": "latestMinor" + "version": "9.0.100-rc.1.24452.12", + "rollForward": "latestPatch" } } \ No newline at end of file diff --git a/src/Fantomas.Benchmarks/packages.lock.json b/src/Fantomas.Benchmarks/packages.lock.json index 9b5a34797..cbcc1672c 100644 --- a/src/Fantomas.Benchmarks/packages.lock.json +++ b/src/Fantomas.Benchmarks/packages.lock.json @@ -28,9 +28,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[6.0.1, )", - "resolved": "6.0.1", - "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" + "requested": "[9.0.100-beta.24422.2, )", + "resolved": "9.0.100-beta.24422.2", + "contentHash": "NmzJmz7DS6h+kAW14ooG396DAr2xU8NbAj73RNZvQg+aNaLC0PLJYcvsQ8r6Hb0ZUZxKnjxTn3ROsQiSDSNaKg==" }, "G-Research.FSharp.Analyzers": { "type": "Direct", @@ -274,14 +274,14 @@ "fantomas.core": { "type": "Project", "dependencies": { - "FSharp.Core": "[6.0.1, )", + "FSharp.Core": "[9.0.100-beta.24422.2, )", "Fantomas.FCS": "[1.0.0, )" } }, "fantomas.fcs": { "type": "Project", "dependencies": { - "FSharp.Core": "[6.0.1, )", + "FSharp.Core": "[9.0.100-beta.24422.2, )", "System.Collections.Immutable": "[7.0.0, )", "System.Diagnostics.DiagnosticSource": "[7.0.0, )", "System.Memory": "[4.5.5, )", diff --git a/src/Fantomas.Client.Tests/packages.lock.json b/src/Fantomas.Client.Tests/packages.lock.json index 995df0067..d82dc6968 100644 --- a/src/Fantomas.Client.Tests/packages.lock.json +++ b/src/Fantomas.Client.Tests/packages.lock.json @@ -16,9 +16,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[6.0.1, )", - "resolved": "6.0.1", - "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" + "requested": "[9.0.100-beta.24422.2, )", + "resolved": "9.0.100-beta.24422.2", + "contentHash": "NmzJmz7DS6h+kAW14ooG396DAr2xU8NbAj73RNZvQg+aNaLC0PLJYcvsQ8r6Hb0ZUZxKnjxTn3ROsQiSDSNaKg==" }, "G-Research.FSharp.Analyzers": { "type": "Direct", @@ -91,8 +91,8 @@ }, "Microsoft.NETCore.Targets": { "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==" + "resolved": "1.1.3", + "contentHash": "3Wrmi0kJDzClwAC+iBdUBpEKmEle8FQNsCs77fkiOIw/9oYA07bL1EZNX0kQ2OMN3xpwvl0vAtOCYY3ndDNlhQ==" }, "Microsoft.TestPlatform.ObjectModel": { "type": "Transitive", @@ -166,11 +166,6 @@ "System.Runtime.CompilerServices.Unsafe": "4.7.1" } }, - "Newtonsoft.Json": { - "type": "Transitive", - "resolved": "13.0.1", - "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" - }, "NuGet.Frameworks": { "type": "Transitive", "resolved": "6.5.0", @@ -765,6 +760,12 @@ "StreamJsonRpc": "[2.8.28, )" } }, + "Newtonsoft.Json": { + "type": "CentralTransitive", + "requested": "[13.0.3, )", + "resolved": "13.0.3", + "contentHash": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==" + }, "SemanticVersioning": { "type": "CentralTransitive", "requested": "[2.0.2, )", @@ -796,29 +797,29 @@ "System.Collections.Immutable": { "type": "CentralTransitive", "requested": "[7.0.0, )", - "resolved": "5.0.0", - "contentHash": "FXkLXiK0sVVewcso0imKQoOxjoPAj42R8HtjjbSjVPAzwDfzoyoznWxgA3c38LDbN9SJux1xXoXYAhz98j7r2g==" + "resolved": "7.0.0", + "contentHash": "dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ==" }, "System.Diagnostics.DiagnosticSource": { "type": "CentralTransitive", "requested": "[7.0.0, )", - "resolved": "5.0.1", - "contentHash": "uXQEYqav2V3zP6OwkOKtLv+qIi6z3m1hsGyKwXX7ZA7htT4shoVccGxnJ9kVRFPNAsi1ArZTq2oh7WOto6GbkQ==" + "resolved": "7.0.0", + "contentHash": "9W0ewWDuAyDqS2PigdTxk6jDKonfgscY/hP8hm7VpxYhNHZHKvZTdRckberlFk3VnCmr3xBUyMBut12Q+T2aOw==" }, "System.Memory": { "type": "CentralTransitive", "requested": "[4.5.5, )", - "resolved": "4.5.4", - "contentHash": "1MbJTHS1lZ4bS4FmsJjnuGJOu88ZzTT2rLvrhW7Ygic+pC0NWA+3hgAen0HRdsocuQXCkUTdFn9yHJJhsijDXw==" + "resolved": "4.5.5", + "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==" }, "System.Runtime": { "type": "CentralTransitive", "requested": "[4.3.1, )", - "resolved": "4.3.0", - "contentHash": "JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", + "resolved": "4.3.1", + "contentHash": "abhfv1dTK6NXOmu4bgHIONxHyEqFjW8HwXPmpY9gmll+ix9UNo4XDcmzJn6oLooftxNssVHdJC1pGT9jkSynQg==", "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" + "Microsoft.NETCore.Platforms": "1.1.1", + "Microsoft.NETCore.Targets": "1.1.3" } } } diff --git a/src/Fantomas.Client/packages.lock.json b/src/Fantomas.Client/packages.lock.json index 484f33f58..57fc70151 100644 --- a/src/Fantomas.Client/packages.lock.json +++ b/src/Fantomas.Client/packages.lock.json @@ -121,8 +121,8 @@ }, "Microsoft.NETCore.Targets": { "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==" + "resolved": "1.1.3", + "contentHash": "3Wrmi0kJDzClwAC+iBdUBpEKmEle8FQNsCs77fkiOIw/9oYA07bL1EZNX0kQ2OMN3xpwvl0vAtOCYY3ndDNlhQ==" }, "Microsoft.SourceLink.AzureRepos.Git": { "type": "Transitive", @@ -221,11 +221,6 @@ "System.Runtime.CompilerServices.Unsafe": "4.7.1" } }, - "Newtonsoft.Json": { - "type": "Transitive", - "resolved": "12.0.2", - "contentHash": "rTK0s2EKlfHsQsH6Yx2smvcTCeyoDNgCW7FEYyV01drPlh2T243PR2DiDXqtC5N4GDm4Ma/lkxfW5a/4793vbA==" - }, "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { "type": "Transitive", "resolved": "4.3.2", @@ -584,8 +579,8 @@ }, "System.Runtime.CompilerServices.Unsafe": { "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "ZD9TMpsmYJLrxbbmdvhwt9YEgG5WntEnZ/d1eH8JBX9LBp+Ju8BSBhUGbZMNVHHomWo2KVImJhTDl2hIgw/6MA==" + "resolved": "6.0.0", + "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" }, "System.Runtime.Extensions": { "type": "Transitive", @@ -830,30 +825,37 @@ "System.Runtime.CompilerServices.Unsafe": "4.5.3" } }, + "Newtonsoft.Json": { + "type": "CentralTransitive", + "requested": "[13.0.3, )", + "resolved": "13.0.3", + "contentHash": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==" + }, "System.Collections.Immutable": { "type": "CentralTransitive", "requested": "[7.0.0, )", - "resolved": "5.0.0", - "contentHash": "FXkLXiK0sVVewcso0imKQoOxjoPAj42R8HtjjbSjVPAzwDfzoyoznWxgA3c38LDbN9SJux1xXoXYAhz98j7r2g==", + "resolved": "7.0.0", + "contentHash": "dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ==", "dependencies": { - "System.Memory": "4.5.4" + "System.Memory": "4.5.5", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" } }, "System.Diagnostics.DiagnosticSource": { "type": "CentralTransitive", "requested": "[7.0.0, )", - "resolved": "5.0.1", - "contentHash": "uXQEYqav2V3zP6OwkOKtLv+qIi6z3m1hsGyKwXX7ZA7htT4shoVccGxnJ9kVRFPNAsi1ArZTq2oh7WOto6GbkQ==", + "resolved": "7.0.0", + "contentHash": "9W0ewWDuAyDqS2PigdTxk6jDKonfgscY/hP8hm7VpxYhNHZHKvZTdRckberlFk3VnCmr3xBUyMBut12Q+T2aOw==", "dependencies": { - "System.Memory": "4.5.4", - "System.Runtime.CompilerServices.Unsafe": "5.0.0" + "System.Memory": "4.5.5", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" } }, "System.Memory": { "type": "CentralTransitive", "requested": "[4.5.5, )", - "resolved": "4.5.4", - "contentHash": "1MbJTHS1lZ4bS4FmsJjnuGJOu88ZzTT2rLvrhW7Ygic+pC0NWA+3hgAen0HRdsocuQXCkUTdFn9yHJJhsijDXw==", + "resolved": "4.5.5", + "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", "dependencies": { "System.Buffers": "4.5.1", "System.Numerics.Vectors": "4.4.0", @@ -863,11 +865,11 @@ "System.Runtime": { "type": "CentralTransitive", "requested": "[4.3.1, )", - "resolved": "4.3.0", - "contentHash": "JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", + "resolved": "4.3.1", + "contentHash": "abhfv1dTK6NXOmu4bgHIONxHyEqFjW8HwXPmpY9gmll+ix9UNo4XDcmzJn6oLooftxNssVHdJC1pGT9jkSynQg==", "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" + "Microsoft.NETCore.Platforms": "1.1.1", + "Microsoft.NETCore.Targets": "1.1.3" } } } diff --git a/src/Fantomas.Core.Tests/packages.lock.json b/src/Fantomas.Core.Tests/packages.lock.json index 4a095303b..e6a25d337 100644 --- a/src/Fantomas.Core.Tests/packages.lock.json +++ b/src/Fantomas.Core.Tests/packages.lock.json @@ -19,9 +19,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[6.0.1, )", - "resolved": "6.0.1", - "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" + "requested": "[9.0.100-beta.24422.2, )", + "resolved": "9.0.100-beta.24422.2", + "contentHash": "NmzJmz7DS6h+kAW14ooG396DAr2xU8NbAj73RNZvQg+aNaLC0PLJYcvsQ8r6Hb0ZUZxKnjxTn3ROsQiSDSNaKg==" }, "FsUnit": { "type": "Direct", @@ -109,11 +109,6 @@ "Newtonsoft.Json": "13.0.1" } }, - "Newtonsoft.Json": { - "type": "Transitive", - "resolved": "13.0.1", - "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" - }, "NuGet.Frameworks": { "type": "Transitive", "resolved": "6.5.0", @@ -149,20 +144,26 @@ "fantomas.core": { "type": "Project", "dependencies": { - "FSharp.Core": "[6.0.1, )", + "FSharp.Core": "[9.0.100-beta.24422.2, )", "Fantomas.FCS": "[1.0.0, )" } }, "fantomas.fcs": { "type": "Project", "dependencies": { - "FSharp.Core": "[6.0.1, )", + "FSharp.Core": "[9.0.100-beta.24422.2, )", "System.Collections.Immutable": "[7.0.0, )", "System.Diagnostics.DiagnosticSource": "[7.0.0, )", "System.Memory": "[4.5.5, )", "System.Runtime": "[4.3.1, )" } }, + "Newtonsoft.Json": { + "type": "CentralTransitive", + "requested": "[13.0.3, )", + "resolved": "13.0.3", + "contentHash": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==" + }, "System.Collections.Immutable": { "type": "CentralTransitive", "requested": "[7.0.0, )", diff --git a/src/Fantomas.Core/packages.lock.json b/src/Fantomas.Core/packages.lock.json index ed4ccc3fe..be2ca1511 100644 --- a/src/Fantomas.Core/packages.lock.json +++ b/src/Fantomas.Core/packages.lock.json @@ -22,9 +22,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[6.0.1, )", - "resolved": "6.0.1", - "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" + "requested": "[9.0.100-beta.24422.2, )", + "resolved": "9.0.100-beta.24422.2", + "contentHash": "NmzJmz7DS6h+kAW14ooG396DAr2xU8NbAj73RNZvQg+aNaLC0PLJYcvsQ8r6Hb0ZUZxKnjxTn3ROsQiSDSNaKg==" }, "G-Research.FSharp.Analyzers": { "type": "Direct", @@ -127,7 +127,7 @@ "fantomas.fcs": { "type": "Project", "dependencies": { - "FSharp.Core": "[6.0.1, )", + "FSharp.Core": "[9.0.100-beta.24422.2, )", "System.Collections.Immutable": "[7.0.0, )", "System.Diagnostics.DiagnosticSource": "[7.0.0, )", "System.Memory": "[4.5.5, )", diff --git a/src/Fantomas.FCS/Fantomas.FCS.fsproj b/src/Fantomas.FCS/Fantomas.FCS.fsproj index 0b8e460ff..00fa651db 100644 --- a/src/Fantomas.FCS/Fantomas.FCS.fsproj +++ b/src/Fantomas.FCS/Fantomas.FCS.fsproj @@ -23,6 +23,9 @@ FSStrings.resx FSStrings.resources + + Utilities\NullnessShims.fs + Utilities\Activity.fsi diff --git a/src/Fantomas.FCS/packages.lock.json b/src/Fantomas.FCS/packages.lock.json index f73abbc81..b5823fad7 100644 --- a/src/Fantomas.FCS/packages.lock.json +++ b/src/Fantomas.FCS/packages.lock.json @@ -22,9 +22,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[6.0.1, )", - "resolved": "6.0.1", - "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" + "requested": "[9.0.100-beta.24422.2, )", + "resolved": "9.0.100-beta.24422.2", + "contentHash": "NmzJmz7DS6h+kAW14ooG396DAr2xU8NbAj73RNZvQg+aNaLC0PLJYcvsQ8r6Hb0ZUZxKnjxTn3ROsQiSDSNaKg==" }, "FsLexYacc": { "type": "Direct", diff --git a/src/Fantomas.Tests/packages.lock.json b/src/Fantomas.Tests/packages.lock.json index 781cd7336..70f7fa48f 100644 --- a/src/Fantomas.Tests/packages.lock.json +++ b/src/Fantomas.Tests/packages.lock.json @@ -19,9 +19,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[6.0.1, )", - "resolved": "6.0.1", - "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" + "requested": "[9.0.100-beta.24422.2, )", + "resolved": "9.0.100-beta.24422.2", + "contentHash": "NmzJmz7DS6h+kAW14ooG396DAr2xU8NbAj73RNZvQg+aNaLC0PLJYcvsQ8r6Hb0ZUZxKnjxTn3ROsQiSDSNaKg==" }, "FsUnit": { "type": "Direct", @@ -196,11 +196,6 @@ "System.Runtime.CompilerServices.Unsafe": "4.7.1" } }, - "Newtonsoft.Json": { - "type": "Transitive", - "resolved": "13.0.1", - "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" - }, "NuGet.Frameworks": { "type": "Transitive", "resolved": "6.5.0", @@ -826,7 +821,7 @@ "type": "Project", "dependencies": { "Argu": "[6.2.4, )", - "FSharp.Core": "[6.0.1, )", + "FSharp.Core": "[9.0.100-beta.24422.2, )", "Fantomas.Client": "[1.0.0, )", "Fantomas.Core": "[1.0.0, )", "Ignore": "[0.1.50, )", @@ -851,14 +846,14 @@ "fantomas.core": { "type": "Project", "dependencies": { - "FSharp.Core": "[6.0.1, )", + "FSharp.Core": "[9.0.100-beta.24422.2, )", "Fantomas.FCS": "[1.0.0, )" } }, "fantomas.fcs": { "type": "Project", "dependencies": { - "FSharp.Core": "[6.0.1, )", + "FSharp.Core": "[9.0.100-beta.24422.2, )", "System.Collections.Immutable": "[7.0.0, )", "System.Diagnostics.DiagnosticSource": "[7.0.0, )", "System.Memory": "[4.5.5, )", @@ -887,6 +882,12 @@ "resolved": "0.1.50", "contentHash": "nr7/KaY5KP9QvCEf478w1k9Yz+dXQZKLEAsjfhIjuneScmyLvMKoItPL6OfkNODeCrINtHEBt8A7q7yETS1PQQ==" }, + "Newtonsoft.Json": { + "type": "CentralTransitive", + "requested": "[13.0.3, )", + "resolved": "13.0.3", + "contentHash": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==" + }, "SemanticVersioning": { "type": "CentralTransitive", "requested": "[2.0.2, )", diff --git a/src/Fantomas/packages.lock.json b/src/Fantomas/packages.lock.json index 5a219fa80..8cf056104 100644 --- a/src/Fantomas/packages.lock.json +++ b/src/Fantomas/packages.lock.json @@ -38,9 +38,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[6.0.1, )", - "resolved": "6.0.1", - "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" + "requested": "[9.0.100-beta.24422.2, )", + "resolved": "9.0.100-beta.24422.2", + "contentHash": "NmzJmz7DS6h+kAW14ooG396DAr2xU8NbAj73RNZvQg+aNaLC0PLJYcvsQ8r6Hb0ZUZxKnjxTn3ROsQiSDSNaKg==" }, "G-Research.FSharp.Analyzers": { "type": "Direct", @@ -285,11 +285,6 @@ "System.Runtime.CompilerServices.Unsafe": "4.7.1" } }, - "Newtonsoft.Json": { - "type": "Transitive", - "resolved": "12.0.2", - "contentHash": "rTK0s2EKlfHsQsH6Yx2smvcTCeyoDNgCW7FEYyV01drPlh2T243PR2DiDXqtC5N4GDm4Ma/lkxfW5a/4793vbA==" - }, "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { "type": "Transitive", "resolved": "4.3.2", @@ -903,20 +898,26 @@ "fantomas.core": { "type": "Project", "dependencies": { - "FSharp.Core": "[6.0.1, )", + "FSharp.Core": "[9.0.100-beta.24422.2, )", "Fantomas.FCS": "[1.0.0, )" } }, "fantomas.fcs": { "type": "Project", "dependencies": { - "FSharp.Core": "[6.0.1, )", + "FSharp.Core": "[9.0.100-beta.24422.2, )", "System.Collections.Immutable": "[7.0.0, )", "System.Diagnostics.DiagnosticSource": "[7.0.0, )", "System.Memory": "[4.5.5, )", "System.Runtime": "[4.3.1, )" } }, + "Newtonsoft.Json": { + "type": "CentralTransitive", + "requested": "[13.0.3, )", + "resolved": "13.0.3", + "contentHash": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==" + }, "SemanticVersioning": { "type": "CentralTransitive", "requested": "[2.0.2, )", From cb6c6833c9adb78a2549354694fde95a9f7c12cd Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 13 Sep 2024 10:11:43 +0200 Subject: [PATCH 02/32] Allow solution to build --- .../Fantomas.Core.Tests.fsproj | 1 + src/Fantomas.Core.Tests/NullnessTests.fs | 21 +++++++++++++++++++ src/Fantomas.Core/ASTTransformer.fs | 10 +++++++-- src/Fantomas/EditorConfig.fs | 2 +- 4 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 src/Fantomas.Core.Tests/NullnessTests.fs diff --git a/src/Fantomas.Core.Tests/Fantomas.Core.Tests.fsproj b/src/Fantomas.Core.Tests/Fantomas.Core.Tests.fsproj index 78718e432..dec7da75c 100644 --- a/src/Fantomas.Core.Tests/Fantomas.Core.Tests.fsproj +++ b/src/Fantomas.Core.Tests/Fantomas.Core.Tests.fsproj @@ -132,6 +132,7 @@ + diff --git a/src/Fantomas.Core.Tests/NullnessTests.fs b/src/Fantomas.Core.Tests/NullnessTests.fs new file mode 100644 index 000000000..288dd1edb --- /dev/null +++ b/src/Fantomas.Core.Tests/NullnessTests.fs @@ -0,0 +1,21 @@ +module Fantomas.Core.Tests.NullnessTests + +open NUnit.Framework +open FsUnit +open Fantomas.Core.Tests.TestHelpers + +[] +let ``abstract property`` () = + formatSourceString + """ +[] +type AbstractBase() = + abstract Property1 : string | null with get, set +""" + config + |> prepend newline + |> should + equal + """ + +""" diff --git a/src/Fantomas.Core/ASTTransformer.fs b/src/Fantomas.Core/ASTTransformer.fs index 5544c7022..3b667beb2 100644 --- a/src/Fantomas.Core/ASTTransformer.fs +++ b/src/Fantomas.Core/ASTTransformer.fs @@ -78,6 +78,10 @@ let mkSynAccess (vis: SynAccess option) = | Some(SynAccess.Private range) -> Some(stn "private" range) | Some(SynAccess.Public range) -> Some(stn "public" range) +let mkSynValSigAccess (vis: SynValSigAccess) = + // https://fsharp.github.io/fsharp-compiler-docs/reference/fsharp-compiler-syntax-synvalsigaccess.html + failwith "todo SynValSigAccess: %A" vis + let parseExpressionInSynBinding returnInfo expr = match returnInfo, expr with | Some(SynBindingReturnInfo(typeName = t1)), SynExpr.Typed(e, t2, _) when RangeHelpers.rangeEq t1.Range t2.Range -> @@ -2168,6 +2172,8 @@ let mkSynTypeConstraint (creationAide: CreationAide) (tc: SynTypeConstraint) : T TypeConstraintEnumOrDelegateNode(mkSynTypar tp, "delegate", List.map (mkType creationAide) ts, m) |> TypeConstraint.EnumOrDelegate | SynTypeConstraint.WhereSelfConstrained(t, _) -> mkType creationAide t |> TypeConstraint.WhereSelfConstrained + | SynTypeConstraint.WhereTyparNotSupportsNull(genericName, range) -> + failwithf "todo WhereTyparNotSupportsNull : %A" (genericName, range) // Arrow type is right-associative let rec (|TFuns|_|) = @@ -2845,7 +2851,7 @@ let mkMemberDefn (creationAide: CreationAide) (md: SynMemberDefn) = mkXmlDoc px, mkAttributes creationAide ats, mkSynLeadingKeyword lk, - mkSynAccess ao, + mkSynValSigAccess ao, mkIdent ident, Option.map (mkType creationAide) typeOpt, stn "=" mEq, @@ -3027,7 +3033,7 @@ let mkVal lk, Option.map (stn "inline") trivia.InlineKeyword, isMutable, - mkSynAccess ao, + mkSynValSigAccess ao, mkSynIdent synIdent, mkSynValTyparDecls creationAide (Some vtd), mkType creationAide t, diff --git a/src/Fantomas/EditorConfig.fs b/src/Fantomas/EditorConfig.fs index f362fe4ba..87af71998 100644 --- a/src/Fantomas/EditorConfig.fs +++ b/src/Fantomas/EditorConfig.fs @@ -16,7 +16,7 @@ module Reflection = DisplayName: string option Description: string option } - let inline getCustomAttribute<'t, 'v when 't :> Attribute and 't: null> + let inline getCustomAttribute<'t, 'v when 't :> Attribute and 't: null and 't: not struct> (projection: 't -> 'v) (property: PropertyInfo) : 'v option = From cf35ee088afa07ab694a071dd903f8530da80c4e Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 13 Sep 2024 10:24:19 +0200 Subject: [PATCH 03/32] Add tests for new syntax --- .../AutoPropertiesTests.fs | 37 ++++++++ .../Fantomas.Core.Tests.fsproj | 1 + src/Fantomas.Core.Tests/NullnessTests.fs | 93 ++++++++++++++++++- 3 files changed, 127 insertions(+), 4 deletions(-) create mode 100644 src/Fantomas.Core.Tests/AutoPropertiesTests.fs diff --git a/src/Fantomas.Core.Tests/AutoPropertiesTests.fs b/src/Fantomas.Core.Tests/AutoPropertiesTests.fs new file mode 100644 index 000000000..acccf16f5 --- /dev/null +++ b/src/Fantomas.Core.Tests/AutoPropertiesTests.fs @@ -0,0 +1,37 @@ +module Fantomas.Core.Tests.AutoPropertiesTests + +open NUnit.Framework +open FsUnit +open Fantomas.Core.Tests.TestHelpers + +[] +let ``public get, private set`` () = + formatSourceString + """ +type X() = + member val Y: int = 7 with public get, private set +""" + config + |> prepend newline + |> should + equal + """ + +""" + +[] +let ``public get, private set in signature`` () = + formatSignatureString + """ +module A + +type X() = + member val internal Y: int = 7 with public get, private set +""" + config + |> prepend newline + |> should + equal + """ + +""" diff --git a/src/Fantomas.Core.Tests/Fantomas.Core.Tests.fsproj b/src/Fantomas.Core.Tests/Fantomas.Core.Tests.fsproj index dec7da75c..f764d1de9 100644 --- a/src/Fantomas.Core.Tests/Fantomas.Core.Tests.fsproj +++ b/src/Fantomas.Core.Tests/Fantomas.Core.Tests.fsproj @@ -133,6 +133,7 @@ + diff --git a/src/Fantomas.Core.Tests/NullnessTests.fs b/src/Fantomas.Core.Tests/NullnessTests.fs index 288dd1edb..25e12cb28 100644 --- a/src/Fantomas.Core.Tests/NullnessTests.fs +++ b/src/Fantomas.Core.Tests/NullnessTests.fs @@ -5,12 +5,97 @@ open FsUnit open Fantomas.Core.Tests.TestHelpers [] -let ``abstract property`` () = +let ``du case of string or null`` () = formatSourceString """ -[] -type AbstractBase() = - abstract Property1 : string | null with get, set +type DU = MyCase of (string | null) +""" + config + |> prepend newline + |> should + equal + """ + +""" + +[] +let ``multiple or type`` () = + formatSourceString + """ +let myFunc ("abc" | "" : string | null | "123") = 15 +""" + config + |> prepend newline + |> should + equal + """ + +""" + +[] +let ``null type constraint`` () = + formatSourceString + """ +let myFunc() : 'T when 'T : not struct and 'T:null = null +""" + config + |> prepend newline + |> should + equal + """ + +""" + +[] +let ``not null type constraint`` () = + formatSourceString + """ +let myFunc (x: 'T when 'T: not null) = 42 +""" + config + |> prepend newline + |> should + equal + """ + +""" + +[] +let ``not null in type constraints`` () = + formatSourceString + """ +type C<'T when 'T: not null> = class end +""" + config + |> prepend newline + |> should + equal + """ + +""" + +[] +let ``or null pattern`` () = + formatSourceString + """ +match x with +| :? string | null -> () +""" + config + |> prepend newline + |> should + equal + """ + +""" + +[] +let ``nullness in signature file`` () = + formatSignatureString + """ +namespace Meh + +type DU = MyCase of (string | null) """ config |> prepend newline From 1c7e0ee042abe35522012348413d9b3e7fff73e8 Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 13 Sep 2024 10:26:15 +0200 Subject: [PATCH 04/32] Use and bang keyword from trivia. Thanks Edgar! --- src/Fantomas.Core/ASTTransformer.fs | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/Fantomas.Core/ASTTransformer.fs b/src/Fantomas.Core/ASTTransformer.fs index 3b667beb2..bd9620fa3 100644 --- a/src/Fantomas.Core/ASTTransformer.fs +++ b/src/Fantomas.Core/ASTTransformer.fs @@ -333,15 +333,18 @@ let rec collectComputationExpressionStatements let andBangs = andBangs - |> List.map (fun (SynExprAndBang(_, _, _, ap, ae, StartRange 4 (mAnd, m), trivia)) -> - ExprAndBang( - stn "and!" mAnd, - mkPat creationAide ap, - stn "=" trivia.EqualsRange, - mkExpr creationAide ae, - m - ) - |> ComputationExpressionStatement.AndBangStatement) + |> List.map + (fun + (SynExprAndBang(_, + _, + _, + ap, + ae, + m, + { AndBangKeyword = mAnd + EqualsRange = mEq })) -> + ExprAndBang(stn "and!" mAnd, mkPat creationAide ap, stn "=" mEq, mkExpr creationAide ae, m) + |> ComputationExpressionStatement.AndBangStatement) collectComputationExpressionStatements creationAide body (fun bodyStatements -> [ letOrUseBang; yield! andBangs; yield! bodyStatements ] |> finalContinuation) From 5acc1a1d7ca00a8d80d77b00048b5c4330870e93 Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 13 Sep 2024 11:06:48 +0200 Subject: [PATCH 05/32] Update SDK in Dockerfile --- .devcontainer/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 084ce71ec..6b6ba5ded 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:8.0.300 +FROM mcr.microsoft.com/dotnet/nightly/sdk:9.0 # Avoid warnings by switching to noninteractive ENV DEBIAN_FRONTEND=noninteractive From ead766d399da18ef144d6ad7f28ce864033e6263 Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 13 Sep 2024 11:08:57 +0200 Subject: [PATCH 06/32] Reuse mkSynAccess for SynValSigAccess.Single --- src/Fantomas.Core/ASTTransformer.fs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Fantomas.Core/ASTTransformer.fs b/src/Fantomas.Core/ASTTransformer.fs index bd9620fa3..faf8998d1 100644 --- a/src/Fantomas.Core/ASTTransformer.fs +++ b/src/Fantomas.Core/ASTTransformer.fs @@ -78,9 +78,11 @@ let mkSynAccess (vis: SynAccess option) = | Some(SynAccess.Private range) -> Some(stn "private" range) | Some(SynAccess.Public range) -> Some(stn "public" range) +/// https://fsharp.github.io/fsharp-compiler-docs/reference/fsharp-compiler-syntax-synvalsigaccess.html let mkSynValSigAccess (vis: SynValSigAccess) = - // https://fsharp.github.io/fsharp-compiler-docs/reference/fsharp-compiler-syntax-synvalsigaccess.html - failwith "todo SynValSigAccess: %A" vis + match vis with + | SynValSigAccess.Single(accessibility = vis) -> mkSynAccess vis + | _ -> failwithf "todo SynValSigAccess: %A" vis let parseExpressionInSynBinding returnInfo expr = match returnInfo, expr with From 4f11e2a52836f668eee06706c7342c6f9e4bf2f8 Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 13 Sep 2024 11:29:09 +0200 Subject: [PATCH 07/32] Fix existing tests --- src/Fantomas.Core.Tests/AutoPropertiesTests.fs | 2 +- src/Fantomas.Core.Tests/NullnessTests.fs | 6 ++++-- src/Fantomas.Core/ASTTransformer.fs | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Fantomas.Core.Tests/AutoPropertiesTests.fs b/src/Fantomas.Core.Tests/AutoPropertiesTests.fs index acccf16f5..a0d887ca5 100644 --- a/src/Fantomas.Core.Tests/AutoPropertiesTests.fs +++ b/src/Fantomas.Core.Tests/AutoPropertiesTests.fs @@ -25,7 +25,7 @@ let ``public get, private set in signature`` () = """ module A -type X() = +type X = member val internal Y: int = 7 with public get, private set """ config diff --git a/src/Fantomas.Core.Tests/NullnessTests.fs b/src/Fantomas.Core.Tests/NullnessTests.fs index 25e12cb28..981d2725d 100644 --- a/src/Fantomas.Core.Tests/NullnessTests.fs +++ b/src/Fantomas.Core.Tests/NullnessTests.fs @@ -43,7 +43,7 @@ let myFunc() : 'T when 'T : not struct and 'T:null = null |> should equal """ - +let myFunc () : 'T when 'T: not struct and 'T: null = null """ [] @@ -86,7 +86,9 @@ match x with |> should equal """ - +match x with +| :? string +| null -> () """ [] diff --git a/src/Fantomas.Core/ASTTransformer.fs b/src/Fantomas.Core/ASTTransformer.fs index faf8998d1..308ca96ff 100644 --- a/src/Fantomas.Core/ASTTransformer.fs +++ b/src/Fantomas.Core/ASTTransformer.fs @@ -81,6 +81,7 @@ let mkSynAccess (vis: SynAccess option) = /// https://fsharp.github.io/fsharp-compiler-docs/reference/fsharp-compiler-syntax-synvalsigaccess.html let mkSynValSigAccess (vis: SynValSigAccess) = match vis with + | SynValSigAccess.GetSet(accessibility = vis; getterAccessibility = None; setterAccessibility = None) | SynValSigAccess.Single(accessibility = vis) -> mkSynAccess vis | _ -> failwithf "todo SynValSigAccess: %A" vis From 16f46a6044655213dbcaeadd294aaa7fd3a77108 Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 13 Sep 2024 11:33:16 +0200 Subject: [PATCH 08/32] Correct signature in test --- src/Fantomas.Core.Tests/AutoPropertiesTests.fs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Fantomas.Core.Tests/AutoPropertiesTests.fs b/src/Fantomas.Core.Tests/AutoPropertiesTests.fs index a0d887ca5..288fcf496 100644 --- a/src/Fantomas.Core.Tests/AutoPropertiesTests.fs +++ b/src/Fantomas.Core.Tests/AutoPropertiesTests.fs @@ -26,7 +26,8 @@ let ``public get, private set in signature`` () = module A type X = - member val internal Y: int = 7 with public get, private set + new: unit -> X + member internal Y: int with public get, private set """ config |> prepend newline From a19dde416c6e653dd366b407dc0254dbaff066de Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 13 Sep 2024 11:37:23 +0200 Subject: [PATCH 09/32] Support SynType.WithNull --- src/Fantomas.Core/ASTTransformer.fs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Fantomas.Core/ASTTransformer.fs b/src/Fantomas.Core/ASTTransformer.fs index 308ca96ff..3736e6f8b 100644 --- a/src/Fantomas.Core/ASTTransformer.fs +++ b/src/Fantomas.Core/ASTTransformer.fs @@ -2321,6 +2321,8 @@ let mkType (creationAide: CreationAide) (t: SynType) : Type = yield Choice1Of2(mkType creationAide t) ] TypeIntersectionNode(typesAndSeparators, m) |> Type.Intersection + | SynType.StaticConstantNull(m) -> stn "null" m |> Type.Var + | SynType.WithNull(innerType, ambivalent, range) -> failwithf $"SynType.WithNull %A{(innerType, ambivalent, range)}" | t -> failwith $"unexpected type: %A{t}" let rec (|OpenL|_|) = From 1744b0510d50cffe506a8969a60e39be15ea06fa Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 13 Sep 2024 11:50:40 +0200 Subject: [PATCH 10/32] Add support for SynType.WithNull --- src/Fantomas.Core.Tests/NullnessTests.fs | 6 ++++-- src/Fantomas.Core/ASTTransformer.fs | 7 ++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/Fantomas.Core.Tests/NullnessTests.fs b/src/Fantomas.Core.Tests/NullnessTests.fs index 981d2725d..7cafeb700 100644 --- a/src/Fantomas.Core.Tests/NullnessTests.fs +++ b/src/Fantomas.Core.Tests/NullnessTests.fs @@ -15,7 +15,7 @@ type DU = MyCase of (string | null) |> should equal """ - +type DU = MyCase of (string | null) """ [] @@ -29,7 +29,7 @@ let myFunc ("abc" | "" : string | null | "123") = 15 |> should equal """ - +let myFunc ("abc" | "": string | null | "123") = 15 """ [] @@ -104,5 +104,7 @@ type DU = MyCase of (string | null) |> should equal """ +namespace Meh +type DU = MyCase of (string | null) """ diff --git a/src/Fantomas.Core/ASTTransformer.fs b/src/Fantomas.Core/ASTTransformer.fs index 3736e6f8b..4c61e24d1 100644 --- a/src/Fantomas.Core/ASTTransformer.fs +++ b/src/Fantomas.Core/ASTTransformer.fs @@ -2322,7 +2322,12 @@ let mkType (creationAide: CreationAide) (t: SynType) : Type = TypeIntersectionNode(typesAndSeparators, m) |> Type.Intersection | SynType.StaticConstantNull(m) -> stn "null" m |> Type.Var - | SynType.WithNull(innerType, ambivalent, range) -> failwithf $"SynType.WithNull %A{(innerType, ambivalent, range)}" + // string | null + | SynType.WithNull(innerType, _, EndRange 4 (mNull, m)) -> + let nullType = stn "null" mNull |> Type.Var + + TypeOrNode(mkType creationAide innerType, stn "|" Range.Zero, nullType, m) + |> Type.Or | t -> failwith $"unexpected type: %A{t}" let rec (|OpenL|_|) = From 8bd2e249c2ac4da107489406a66566d877c57297 Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 13 Sep 2024 12:07:46 +0200 Subject: [PATCH 11/32] Add support for SynTypeConstraint.WhereTyparNotSupportsNull --- src/Fantomas.Core.Tests/NullnessTests.fs | 4 ++-- src/Fantomas.Core/ASTTransformer.fs | 5 +++-- src/Fantomas.Core/CodePrinter.fs | 7 +++++++ src/Fantomas.Core/SyntaxOak.fs | 11 +++++++++++ 4 files changed, 23 insertions(+), 4 deletions(-) diff --git a/src/Fantomas.Core.Tests/NullnessTests.fs b/src/Fantomas.Core.Tests/NullnessTests.fs index 7cafeb700..c3adc78df 100644 --- a/src/Fantomas.Core.Tests/NullnessTests.fs +++ b/src/Fantomas.Core.Tests/NullnessTests.fs @@ -57,7 +57,7 @@ let myFunc (x: 'T when 'T: not null) = 42 |> should equal """ - +let myFunc (x: 'T when 'T: not null) = 42 """ [] @@ -71,7 +71,7 @@ type C<'T when 'T: not null> = class end |> should equal """ - +type C<'T when 'T: not null> = class end """ [] diff --git a/src/Fantomas.Core/ASTTransformer.fs b/src/Fantomas.Core/ASTTransformer.fs index 4c61e24d1..a4e58cc3d 100644 --- a/src/Fantomas.Core/ASTTransformer.fs +++ b/src/Fantomas.Core/ASTTransformer.fs @@ -2178,8 +2178,9 @@ let mkSynTypeConstraint (creationAide: CreationAide) (tc: SynTypeConstraint) : T TypeConstraintEnumOrDelegateNode(mkSynTypar tp, "delegate", List.map (mkType creationAide) ts, m) |> TypeConstraint.EnumOrDelegate | SynTypeConstraint.WhereSelfConstrained(t, _) -> mkType creationAide t |> TypeConstraint.WhereSelfConstrained - | SynTypeConstraint.WhereTyparNotSupportsNull(genericName, range) -> - failwithf "todo WhereTyparNotSupportsNull : %A" (genericName, range) + | SynTypeConstraint.WhereTyparNotSupportsNull(typar, EndRange 4 (mNull, m)) -> + TypeConstraintWhereNotSupportsNull(mkSynTypar typar, stn "null" mNull, m) + |> TypeConstraint.WhereNotSupportsNull // Arrow type is right-associative let rec (|TFuns|_|) = diff --git a/src/Fantomas.Core/CodePrinter.fs b/src/Fantomas.Core/CodePrinter.fs index 0bed5fcd3..24168b124 100644 --- a/src/Fantomas.Core/CodePrinter.fs +++ b/src/Fantomas.Core/CodePrinter.fs @@ -3156,6 +3156,13 @@ let genTypeConstraint (tc: TypeConstraint) = +> !- ">" |> genNode node | TypeConstraint.WhereSelfConstrained t -> genType t + | TypeConstraint.WhereNotSupportsNull node -> + genSingleTextNode node.Typar + +> sepColon + +> !- "not" + +> sepSpace + +> genSingleTextNode node.Null + |> genNode node let genTypeConstraints (tcs: TypeConstraint list) = let short = colPre (sepSpace +> !- "when ") wordAnd tcs genTypeConstraint diff --git a/src/Fantomas.Core/SyntaxOak.fs b/src/Fantomas.Core/SyntaxOak.fs index 5d2de5a89..fe1798aa0 100644 --- a/src/Fantomas.Core/SyntaxOak.fs +++ b/src/Fantomas.Core/SyntaxOak.fs @@ -2787,6 +2787,15 @@ type TypeConstraintEnumOrDelegateNode(typar: SingleTextNode, verb: string, ts: T member val Verb = verb member val Types = ts +type TypeConstraintWhereNotSupportsNull(typar: SingleTextNode, nullNode: SingleTextNode, range) = + inherit NodeBase(range) + + override val Children: Node array = [| yield typar; yield nullNode |] + + member val Typar = typar + + member val Null = nullNode + [] type TypeConstraint = | Single of TypeConstraintSingleNode @@ -2795,6 +2804,7 @@ type TypeConstraint = | SupportsMember of TypeConstraintSupportsMemberNode | EnumOrDelegate of TypeConstraintEnumOrDelegateNode | WhereSelfConstrained of Type + | WhereNotSupportsNull of TypeConstraintWhereNotSupportsNull static member Node(tc: TypeConstraint) : Node = match tc with @@ -2804,6 +2814,7 @@ type TypeConstraint = | SupportsMember n -> n | EnumOrDelegate n -> n | WhereSelfConstrained t -> Type.Node t + | WhereNotSupportsNull n -> n type UnitOfMeasureNode(lessThan: SingleTextNode, measure: Measure, greaterThan: SingleTextNode, range) = inherit NodeBase(range) From 33050b8957f09af4de92ff1538369cac7ef892d4 Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 13 Sep 2024 14:28:59 +0200 Subject: [PATCH 12/32] Support SynValSigAccess --- .../AutoPropertiesTests.fs | 57 ++++++++++ src/Fantomas.Core/ASTTransformer.fs | 106 ++++++++++++------ 2 files changed, 129 insertions(+), 34 deletions(-) diff --git a/src/Fantomas.Core.Tests/AutoPropertiesTests.fs b/src/Fantomas.Core.Tests/AutoPropertiesTests.fs index 288fcf496..ab6a962df 100644 --- a/src/Fantomas.Core.Tests/AutoPropertiesTests.fs +++ b/src/Fantomas.Core.Tests/AutoPropertiesTests.fs @@ -16,7 +16,40 @@ type X() = |> should equal """ +type X() = + member val Y: int = 7 with public get, private set +""" +[] +let ``plain get, private set`` () = + formatSourceString + """ +type X() = + member val Y: int = 7 with get, private set +""" + config + |> prepend newline + |> should + equal + """ +type X() = + member val Y: int = 7 with get, private set +""" + +[] +let ``internal get, plain set`` () = + formatSourceString + """ +type X() = + member val Y: int = 7 with internal get, set +""" + config + |> prepend newline + |> should + equal + """ +type X() = + member val Y: int = 7 with internal get, set """ [] @@ -34,5 +67,29 @@ type X = |> should equal """ +module A + +type X = + new: unit -> X + member internal Y: int with public get, private set +""" +[] +let ``abstract member with public get, private set`` () = + formatSignatureString + """ +namespace Meh + +type X = + abstract Y: int with public get, private set +""" + config + |> prepend newline + |> should + equal + """ +namespace Meh + +type X = + abstract Y: int with public get, private set """ diff --git a/src/Fantomas.Core/ASTTransformer.fs b/src/Fantomas.Core/ASTTransformer.fs index a4e58cc3d..ccade4454 100644 --- a/src/Fantomas.Core/ASTTransformer.fs +++ b/src/Fantomas.Core/ASTTransformer.fs @@ -78,12 +78,15 @@ let mkSynAccess (vis: SynAccess option) = | Some(SynAccess.Private range) -> Some(stn "private" range) | Some(SynAccess.Public range) -> Some(stn "public" range) -/// https://fsharp.github.io/fsharp-compiler-docs/reference/fsharp-compiler-syntax-synvalsigaccess.html -let mkSynValSigAccess (vis: SynValSigAccess) = - match vis with - | SynValSigAccess.GetSet(accessibility = vis; getterAccessibility = None; setterAccessibility = None) - | SynValSigAccess.Single(accessibility = vis) -> mkSynAccess vis - | _ -> failwithf "todo SynValSigAccess: %A" vis +let (|AccessSynValSigAccess|) (valSigAccess: SynValSigAccess) = + match valSigAccess with + | SynValSigAccess.GetSet(accessibility = vis) + | SynValSigAccess.Single(accessibility = vis) -> vis + +let (|SynValSigAccessAll|) (valSigAccess: SynValSigAccess) = + match valSigAccess with + | SynValSigAccess.Single(vis) -> vis, None, None + | SynValSigAccess.GetSet(vis, g, s) -> vis, g, s let parseExpressionInSynBinding returnInfo expr = match returnInfo, expr with @@ -2652,20 +2655,44 @@ let mkTypeDefn TypeDefnRegularNode(typeNameNode, allMembers, typeDefnRange) |> TypeDefn.Regular | _ -> failwithf "Could not create a TypeDefn for %A" typeRepr -let mkWithGetSet (withKeyword: range option) (getSet: GetSetKeywords option) = +let mkWithGetSet + (withKeyword: range option) + (getSet: GetSetKeywords option) + (visGet: SynAccess option) + (visSet: SynAccess option) + = match withKeyword, getSet with | Some mWith, Some gs -> let withNode = stn "with" mWith let m = unionRanges mWith gs.Range + let visNodes vis = Option.toList (mkSynAccess vis) match gs with - | GetSetKeywords.Get mGet -> Some(MultipleTextsNode([ withNode; stn "get" mGet ], m)) - | GetSetKeywords.Set mSet -> Some(MultipleTextsNode([ withNode; stn "set" mSet ], m)) + | GetSetKeywords.Get mGet -> Some(MultipleTextsNode([ withNode; yield! visNodes visGet; stn "get" mGet ], m)) + | GetSetKeywords.Set mSet -> Some(MultipleTextsNode([ withNode; yield! visNodes visSet; stn "set" mSet ], m)) | GetSetKeywords.GetSet(mGet, mSet) -> if rangeBeforePos mGet mSet.Start then - Some(MultipleTextsNode([ withNode; stn "get," mGet; stn "set" mSet ], m)) + Some( + MultipleTextsNode( + [ withNode + yield! visNodes visGet + stn "get," mGet + yield! visNodes visSet + stn "set" mSet ], + m + ) + ) else - Some(MultipleTextsNode([ withNode; stn "set," mSet; stn "get" mGet ], m)) + Some( + MultipleTextsNode( + [ withNode + yield! visNodes visSet + stn "set," mSet + yield! visNodes visGet + stn "get" mGet ], + m + ) + ) | _ -> None let mkPropertyGetSetBinding @@ -2846,35 +2873,45 @@ let mkMemberDefn (creationAide: CreationAide) (md: SynMemberDefn) = memberDefinitionRange ) |> MemberDefn.Interface - | SynMemberDefn.AutoProperty(ats, - _isStatic, - ident, - typeOpt, - _, - _, - _, - px, - ao, - e, - _, - { LeadingKeyword = lk - EqualsRange = Some mEq - WithKeyword = mWith - GetSetKeywords = mGS }) -> + | SynMemberDefn.AutoProperty( + attributes = ats + ident = ident + typeOpt = typeOpt + xmlDoc = px + accessibility = valSigAccess + synExpr = e + trivia = { LeadingKeyword = lk + EqualsRange = Some mEq + WithKeyword = mWith + GetSetKeywords = mGS }) -> + let vis, getVis, setVis = + match valSigAccess with + | SynValSigAccess.Single(ao) -> ao, None, None + | SynValSigAccess.GetSet(ao, g, s) -> ao, g, s + MemberDefnAutoPropertyNode( mkXmlDoc px, mkAttributes creationAide ats, mkSynLeadingKeyword lk, - mkSynValSigAccess ao, + mkSynAccess vis, mkIdent ident, Option.map (mkType creationAide) typeOpt, stn "=" mEq, mkExpr creationAide e, - mkWithGetSet mWith mGS, + mkWithGetSet mWith mGS getVis setVis, memberDefinitionRange ) |> MemberDefn.AutoProperty - | SynMemberDefn.AbstractSlot(SynValSig(ats, ident, tds, t, _, _, _, px, _ao, _, _, trivia), _, _, abstractSlotTrivia) -> + | SynMemberDefn.AbstractSlot( + slotSig = SynValSig( + attributes = ats + ident = ident + explicitTypeParams = tds + synType = t + xmlDoc = px + accessibility = SynValSigAccessAll(_ao, visGet, visSet) + trivia = trivia) + trivia = abstractSlotTrivia) -> MemberDefnAbstractSlotNode( mkXmlDoc px, mkAttributes creationAide ats, @@ -2882,7 +2919,7 @@ let mkMemberDefn (creationAide: CreationAide) (md: SynMemberDefn) = mkSynIdent ident, mkSynValTyparDecls creationAide (Some tds), mkType creationAide t, - mkWithGetSet trivia.WithKeyword abstractSlotTrivia.GetSetKeywords, + mkWithGetSet trivia.WithKeyword abstractSlotTrivia.GetSetKeywords visGet visSet, memberDefinitionRange ) |> MemberDefn.AbstractSlot @@ -3034,7 +3071,7 @@ let mkMemberDefn (creationAide: CreationAide) (md: SynMemberDefn) = let mkVal (creationAide: CreationAide) - (SynValSig(ats, synIdent, vtd, t, _vi, _isInline, isMutable, px, ao, eo, range, trivia)) + (SynValSig(ats, synIdent, vtd, t, _vi, _isInline, isMutable, px, AccessSynValSigAccess(ao), eo, range, trivia)) : ValNode = let lk = match trivia.LeadingKeyword with @@ -3047,7 +3084,7 @@ let mkVal lk, Option.map (stn "inline") trivia.InlineKeyword, isMutable, - mkSynValSigAccess ao, + mkSynAccess ao, mkSynIdent synIdent, mkSynValTyparDecls creationAide (Some vtd), mkType creationAide t, @@ -3061,11 +3098,12 @@ let mkMemberSig (creationAide: CreationAide) (ms: SynMemberSig) = match ms with | SynMemberSig.Member(vs, _, _, memberTrivia) -> - let (SynValSig(trivia = trivia)) = vs + let (SynValSig(trivia = trivia; accessibility = SynValSigAccessAll(_ao, visGet, visSet))) = + vs MemberDefnSigMemberNode( mkVal creationAide vs, - mkWithGetSet trivia.WithKeyword memberTrivia.GetSetKeywords, + mkWithGetSet trivia.WithKeyword memberTrivia.GetSetKeywords visGet visSet, memberSigRange ) |> MemberDefn.SigMember From df2a74ed58553d1abeb162647a04ff3642dadd97 Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 13 Sep 2024 14:33:38 +0200 Subject: [PATCH 13/32] Go back to 8.0.400 SDK --- .devcontainer/Dockerfile | 2 +- Directory.Packages.props | 2 +- global.json | 4 ++-- src/Fantomas.Benchmarks/packages.lock.json | 10 +++++----- src/Fantomas.Client.Tests/packages.lock.json | 6 +++--- src/Fantomas.Core.Tests/packages.lock.json | 10 +++++----- src/Fantomas.Core/packages.lock.json | 8 ++++---- src/Fantomas.FCS/Fantomas.FCS.fsproj | 2 +- src/Fantomas.FCS/packages.lock.json | 6 +++--- src/Fantomas.Tests/packages.lock.json | 12 ++++++------ src/Fantomas/packages.lock.json | 10 +++++----- 11 files changed, 36 insertions(+), 36 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 6b6ba5ded..bda0692f1 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/nightly/sdk:9.0 +FROM mcr.microsoft.com/dotnet/sdk:8.0.400 # Avoid warnings by switching to noninteractive ENV DEBIAN_FRONTEND=noninteractive diff --git a/Directory.Packages.props b/Directory.Packages.props index f11715b05..63af138ee 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -4,7 +4,7 @@ true - + diff --git a/global.json b/global.json index 2c089ece3..d66f18b16 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "9.0.100-rc.1.24452.12", - "rollForward": "latestPatch" + "version": "8.0.400", + "rollForward": "latestMinor" } } \ No newline at end of file diff --git a/src/Fantomas.Benchmarks/packages.lock.json b/src/Fantomas.Benchmarks/packages.lock.json index cbcc1672c..8458cdd64 100644 --- a/src/Fantomas.Benchmarks/packages.lock.json +++ b/src/Fantomas.Benchmarks/packages.lock.json @@ -28,9 +28,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[9.0.100-beta.24422.2, )", - "resolved": "9.0.100-beta.24422.2", - "contentHash": "NmzJmz7DS6h+kAW14ooG396DAr2xU8NbAj73RNZvQg+aNaLC0PLJYcvsQ8r6Hb0ZUZxKnjxTn3ROsQiSDSNaKg==" + "requested": "[8.0.400, )", + "resolved": "8.0.400", + "contentHash": "kHMdDDmlZl98tujgHCmL8/HNH9VKbxsRMC9s7wbwr4noR40SSa5D4d00yF8cMK52s8jabVuiLLcrUw9r+PkKDQ==" }, "G-Research.FSharp.Analyzers": { "type": "Direct", @@ -274,14 +274,14 @@ "fantomas.core": { "type": "Project", "dependencies": { - "FSharp.Core": "[9.0.100-beta.24422.2, )", + "FSharp.Core": "[8.0.400, )", "Fantomas.FCS": "[1.0.0, )" } }, "fantomas.fcs": { "type": "Project", "dependencies": { - "FSharp.Core": "[9.0.100-beta.24422.2, )", + "FSharp.Core": "[8.0.400, )", "System.Collections.Immutable": "[7.0.0, )", "System.Diagnostics.DiagnosticSource": "[7.0.0, )", "System.Memory": "[4.5.5, )", diff --git a/src/Fantomas.Client.Tests/packages.lock.json b/src/Fantomas.Client.Tests/packages.lock.json index d82dc6968..c7b595497 100644 --- a/src/Fantomas.Client.Tests/packages.lock.json +++ b/src/Fantomas.Client.Tests/packages.lock.json @@ -16,9 +16,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[9.0.100-beta.24422.2, )", - "resolved": "9.0.100-beta.24422.2", - "contentHash": "NmzJmz7DS6h+kAW14ooG396DAr2xU8NbAj73RNZvQg+aNaLC0PLJYcvsQ8r6Hb0ZUZxKnjxTn3ROsQiSDSNaKg==" + "requested": "[8.0.400, )", + "resolved": "8.0.400", + "contentHash": "kHMdDDmlZl98tujgHCmL8/HNH9VKbxsRMC9s7wbwr4noR40SSa5D4d00yF8cMK52s8jabVuiLLcrUw9r+PkKDQ==" }, "G-Research.FSharp.Analyzers": { "type": "Direct", diff --git a/src/Fantomas.Core.Tests/packages.lock.json b/src/Fantomas.Core.Tests/packages.lock.json index e6a25d337..24469b53b 100644 --- a/src/Fantomas.Core.Tests/packages.lock.json +++ b/src/Fantomas.Core.Tests/packages.lock.json @@ -19,9 +19,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[9.0.100-beta.24422.2, )", - "resolved": "9.0.100-beta.24422.2", - "contentHash": "NmzJmz7DS6h+kAW14ooG396DAr2xU8NbAj73RNZvQg+aNaLC0PLJYcvsQ8r6Hb0ZUZxKnjxTn3ROsQiSDSNaKg==" + "requested": "[8.0.400, )", + "resolved": "8.0.400", + "contentHash": "kHMdDDmlZl98tujgHCmL8/HNH9VKbxsRMC9s7wbwr4noR40SSa5D4d00yF8cMK52s8jabVuiLLcrUw9r+PkKDQ==" }, "FsUnit": { "type": "Direct", @@ -144,14 +144,14 @@ "fantomas.core": { "type": "Project", "dependencies": { - "FSharp.Core": "[9.0.100-beta.24422.2, )", + "FSharp.Core": "[8.0.400, )", "Fantomas.FCS": "[1.0.0, )" } }, "fantomas.fcs": { "type": "Project", "dependencies": { - "FSharp.Core": "[9.0.100-beta.24422.2, )", + "FSharp.Core": "[8.0.400, )", "System.Collections.Immutable": "[7.0.0, )", "System.Diagnostics.DiagnosticSource": "[7.0.0, )", "System.Memory": "[4.5.5, )", diff --git a/src/Fantomas.Core/packages.lock.json b/src/Fantomas.Core/packages.lock.json index be2ca1511..644922891 100644 --- a/src/Fantomas.Core/packages.lock.json +++ b/src/Fantomas.Core/packages.lock.json @@ -22,9 +22,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[9.0.100-beta.24422.2, )", - "resolved": "9.0.100-beta.24422.2", - "contentHash": "NmzJmz7DS6h+kAW14ooG396DAr2xU8NbAj73RNZvQg+aNaLC0PLJYcvsQ8r6Hb0ZUZxKnjxTn3ROsQiSDSNaKg==" + "requested": "[8.0.400, )", + "resolved": "8.0.400", + "contentHash": "kHMdDDmlZl98tujgHCmL8/HNH9VKbxsRMC9s7wbwr4noR40SSa5D4d00yF8cMK52s8jabVuiLLcrUw9r+PkKDQ==" }, "G-Research.FSharp.Analyzers": { "type": "Direct", @@ -127,7 +127,7 @@ "fantomas.fcs": { "type": "Project", "dependencies": { - "FSharp.Core": "[9.0.100-beta.24422.2, )", + "FSharp.Core": "[8.0.400, )", "System.Collections.Immutable": "[7.0.0, )", "System.Diagnostics.DiagnosticSource": "[7.0.0, )", "System.Memory": "[4.5.5, )", diff --git a/src/Fantomas.FCS/Fantomas.FCS.fsproj b/src/Fantomas.FCS/Fantomas.FCS.fsproj index 00fa651db..8ef624318 100644 --- a/src/Fantomas.FCS/Fantomas.FCS.fsproj +++ b/src/Fantomas.FCS/Fantomas.FCS.fsproj @@ -6,7 +6,7 @@ $(NoWarn);57; $(NoWarn);1204 $(NoWarn);1178 - $(DefineConstants);COMPILER;FSHARPCORE_USE_PACKAGE + $(DefineConstants);COMPILER;FSHARPCORE_USE_PACKAGE;NO_CHECKNULLS generated\$(TargetFramework)\ generated\$(TargetFramework)\ true diff --git a/src/Fantomas.FCS/packages.lock.json b/src/Fantomas.FCS/packages.lock.json index b5823fad7..d232fc558 100644 --- a/src/Fantomas.FCS/packages.lock.json +++ b/src/Fantomas.FCS/packages.lock.json @@ -22,9 +22,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[9.0.100-beta.24422.2, )", - "resolved": "9.0.100-beta.24422.2", - "contentHash": "NmzJmz7DS6h+kAW14ooG396DAr2xU8NbAj73RNZvQg+aNaLC0PLJYcvsQ8r6Hb0ZUZxKnjxTn3ROsQiSDSNaKg==" + "requested": "[8.0.400, )", + "resolved": "8.0.400", + "contentHash": "kHMdDDmlZl98tujgHCmL8/HNH9VKbxsRMC9s7wbwr4noR40SSa5D4d00yF8cMK52s8jabVuiLLcrUw9r+PkKDQ==" }, "FsLexYacc": { "type": "Direct", diff --git a/src/Fantomas.Tests/packages.lock.json b/src/Fantomas.Tests/packages.lock.json index 70f7fa48f..076608839 100644 --- a/src/Fantomas.Tests/packages.lock.json +++ b/src/Fantomas.Tests/packages.lock.json @@ -19,9 +19,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[9.0.100-beta.24422.2, )", - "resolved": "9.0.100-beta.24422.2", - "contentHash": "NmzJmz7DS6h+kAW14ooG396DAr2xU8NbAj73RNZvQg+aNaLC0PLJYcvsQ8r6Hb0ZUZxKnjxTn3ROsQiSDSNaKg==" + "requested": "[8.0.400, )", + "resolved": "8.0.400", + "contentHash": "kHMdDDmlZl98tujgHCmL8/HNH9VKbxsRMC9s7wbwr4noR40SSa5D4d00yF8cMK52s8jabVuiLLcrUw9r+PkKDQ==" }, "FsUnit": { "type": "Direct", @@ -821,7 +821,7 @@ "type": "Project", "dependencies": { "Argu": "[6.2.4, )", - "FSharp.Core": "[9.0.100-beta.24422.2, )", + "FSharp.Core": "[8.0.400, )", "Fantomas.Client": "[1.0.0, )", "Fantomas.Core": "[1.0.0, )", "Ignore": "[0.1.50, )", @@ -846,14 +846,14 @@ "fantomas.core": { "type": "Project", "dependencies": { - "FSharp.Core": "[9.0.100-beta.24422.2, )", + "FSharp.Core": "[8.0.400, )", "Fantomas.FCS": "[1.0.0, )" } }, "fantomas.fcs": { "type": "Project", "dependencies": { - "FSharp.Core": "[9.0.100-beta.24422.2, )", + "FSharp.Core": "[8.0.400, )", "System.Collections.Immutable": "[7.0.0, )", "System.Diagnostics.DiagnosticSource": "[7.0.0, )", "System.Memory": "[4.5.5, )", diff --git a/src/Fantomas/packages.lock.json b/src/Fantomas/packages.lock.json index 8cf056104..6b3dea62a 100644 --- a/src/Fantomas/packages.lock.json +++ b/src/Fantomas/packages.lock.json @@ -38,9 +38,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[9.0.100-beta.24422.2, )", - "resolved": "9.0.100-beta.24422.2", - "contentHash": "NmzJmz7DS6h+kAW14ooG396DAr2xU8NbAj73RNZvQg+aNaLC0PLJYcvsQ8r6Hb0ZUZxKnjxTn3ROsQiSDSNaKg==" + "requested": "[8.0.400, )", + "resolved": "8.0.400", + "contentHash": "kHMdDDmlZl98tujgHCmL8/HNH9VKbxsRMC9s7wbwr4noR40SSa5D4d00yF8cMK52s8jabVuiLLcrUw9r+PkKDQ==" }, "G-Research.FSharp.Analyzers": { "type": "Direct", @@ -898,14 +898,14 @@ "fantomas.core": { "type": "Project", "dependencies": { - "FSharp.Core": "[9.0.100-beta.24422.2, )", + "FSharp.Core": "[8.0.400, )", "Fantomas.FCS": "[1.0.0, )" } }, "fantomas.fcs": { "type": "Project", "dependencies": { - "FSharp.Core": "[9.0.100-beta.24422.2, )", + "FSharp.Core": "[8.0.400, )", "System.Collections.Immutable": "[7.0.0, )", "System.Diagnostics.DiagnosticSource": "[7.0.0, )", "System.Memory": "[4.5.5, )", From 245fccf3eb7294dad95943968ac3fae23ef2611d Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 13 Sep 2024 15:11:45 +0200 Subject: [PATCH 14/32] Revert F# Core version and add TailCall attribute --- Directory.Packages.props | 2 +- global.json | 2 +- src/Fantomas.Benchmarks/packages.lock.json | 10 +++++----- src/Fantomas.Client.Tests/packages.lock.json | 6 +++--- src/Fantomas.Core.Tests/packages.lock.json | 10 +++++----- src/Fantomas.Core/packages.lock.json | 8 ++++---- src/Fantomas.FCS/Fantomas.FCS.fsproj | 1 + src/Fantomas.FCS/TailCall.fs | 7 +++++++ src/Fantomas.FCS/packages.lock.json | 6 +++--- src/Fantomas.Tests/packages.lock.json | 12 ++++++------ src/Fantomas/packages.lock.json | 10 +++++----- 11 files changed, 41 insertions(+), 33 deletions(-) create mode 100644 src/Fantomas.FCS/TailCall.fs diff --git a/Directory.Packages.props b/Directory.Packages.props index 63af138ee..37b265adc 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -4,7 +4,7 @@ true - + diff --git a/global.json b/global.json index d66f18b16..6f6aff9de 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { "version": "8.0.400", - "rollForward": "latestMinor" + "rollForward": "latestPatch" } } \ No newline at end of file diff --git a/src/Fantomas.Benchmarks/packages.lock.json b/src/Fantomas.Benchmarks/packages.lock.json index 8458cdd64..9b5a34797 100644 --- a/src/Fantomas.Benchmarks/packages.lock.json +++ b/src/Fantomas.Benchmarks/packages.lock.json @@ -28,9 +28,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[8.0.400, )", - "resolved": "8.0.400", - "contentHash": "kHMdDDmlZl98tujgHCmL8/HNH9VKbxsRMC9s7wbwr4noR40SSa5D4d00yF8cMK52s8jabVuiLLcrUw9r+PkKDQ==" + "requested": "[6.0.1, )", + "resolved": "6.0.1", + "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" }, "G-Research.FSharp.Analyzers": { "type": "Direct", @@ -274,14 +274,14 @@ "fantomas.core": { "type": "Project", "dependencies": { - "FSharp.Core": "[8.0.400, )", + "FSharp.Core": "[6.0.1, )", "Fantomas.FCS": "[1.0.0, )" } }, "fantomas.fcs": { "type": "Project", "dependencies": { - "FSharp.Core": "[8.0.400, )", + "FSharp.Core": "[6.0.1, )", "System.Collections.Immutable": "[7.0.0, )", "System.Diagnostics.DiagnosticSource": "[7.0.0, )", "System.Memory": "[4.5.5, )", diff --git a/src/Fantomas.Client.Tests/packages.lock.json b/src/Fantomas.Client.Tests/packages.lock.json index c7b595497..c3cc3d7db 100644 --- a/src/Fantomas.Client.Tests/packages.lock.json +++ b/src/Fantomas.Client.Tests/packages.lock.json @@ -16,9 +16,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[8.0.400, )", - "resolved": "8.0.400", - "contentHash": "kHMdDDmlZl98tujgHCmL8/HNH9VKbxsRMC9s7wbwr4noR40SSa5D4d00yF8cMK52s8jabVuiLLcrUw9r+PkKDQ==" + "requested": "[6.0.1, )", + "resolved": "6.0.1", + "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" }, "G-Research.FSharp.Analyzers": { "type": "Direct", diff --git a/src/Fantomas.Core.Tests/packages.lock.json b/src/Fantomas.Core.Tests/packages.lock.json index 24469b53b..9da29aaa1 100644 --- a/src/Fantomas.Core.Tests/packages.lock.json +++ b/src/Fantomas.Core.Tests/packages.lock.json @@ -19,9 +19,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[8.0.400, )", - "resolved": "8.0.400", - "contentHash": "kHMdDDmlZl98tujgHCmL8/HNH9VKbxsRMC9s7wbwr4noR40SSa5D4d00yF8cMK52s8jabVuiLLcrUw9r+PkKDQ==" + "requested": "[6.0.1, )", + "resolved": "6.0.1", + "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" }, "FsUnit": { "type": "Direct", @@ -144,14 +144,14 @@ "fantomas.core": { "type": "Project", "dependencies": { - "FSharp.Core": "[8.0.400, )", + "FSharp.Core": "[6.0.1, )", "Fantomas.FCS": "[1.0.0, )" } }, "fantomas.fcs": { "type": "Project", "dependencies": { - "FSharp.Core": "[8.0.400, )", + "FSharp.Core": "[6.0.1, )", "System.Collections.Immutable": "[7.0.0, )", "System.Diagnostics.DiagnosticSource": "[7.0.0, )", "System.Memory": "[4.5.5, )", diff --git a/src/Fantomas.Core/packages.lock.json b/src/Fantomas.Core/packages.lock.json index 644922891..ed4ccc3fe 100644 --- a/src/Fantomas.Core/packages.lock.json +++ b/src/Fantomas.Core/packages.lock.json @@ -22,9 +22,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[8.0.400, )", - "resolved": "8.0.400", - "contentHash": "kHMdDDmlZl98tujgHCmL8/HNH9VKbxsRMC9s7wbwr4noR40SSa5D4d00yF8cMK52s8jabVuiLLcrUw9r+PkKDQ==" + "requested": "[6.0.1, )", + "resolved": "6.0.1", + "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" }, "G-Research.FSharp.Analyzers": { "type": "Direct", @@ -127,7 +127,7 @@ "fantomas.fcs": { "type": "Project", "dependencies": { - "FSharp.Core": "[8.0.400, )", + "FSharp.Core": "[6.0.1, )", "System.Collections.Immutable": "[7.0.0, )", "System.Diagnostics.DiagnosticSource": "[7.0.0, )", "System.Memory": "[4.5.5, )", diff --git a/src/Fantomas.FCS/Fantomas.FCS.fsproj b/src/Fantomas.FCS/Fantomas.FCS.fsproj index 8ef624318..db012a03f 100644 --- a/src/Fantomas.FCS/Fantomas.FCS.fsproj +++ b/src/Fantomas.FCS/Fantomas.FCS.fsproj @@ -16,6 +16,7 @@ + FSComp.txt diff --git a/src/Fantomas.FCS/TailCall.fs b/src/Fantomas.FCS/TailCall.fs new file mode 100644 index 000000000..5088f93a3 --- /dev/null +++ b/src/Fantomas.FCS/TailCall.fs @@ -0,0 +1,7 @@ +module Microsoft.FSharp.Core + +open System + +[] +type TailCallAttribute() = + inherit Attribute() diff --git a/src/Fantomas.FCS/packages.lock.json b/src/Fantomas.FCS/packages.lock.json index d232fc558..f73abbc81 100644 --- a/src/Fantomas.FCS/packages.lock.json +++ b/src/Fantomas.FCS/packages.lock.json @@ -22,9 +22,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[8.0.400, )", - "resolved": "8.0.400", - "contentHash": "kHMdDDmlZl98tujgHCmL8/HNH9VKbxsRMC9s7wbwr4noR40SSa5D4d00yF8cMK52s8jabVuiLLcrUw9r+PkKDQ==" + "requested": "[6.0.1, )", + "resolved": "6.0.1", + "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" }, "FsLexYacc": { "type": "Direct", diff --git a/src/Fantomas.Tests/packages.lock.json b/src/Fantomas.Tests/packages.lock.json index 076608839..2d6c37764 100644 --- a/src/Fantomas.Tests/packages.lock.json +++ b/src/Fantomas.Tests/packages.lock.json @@ -19,9 +19,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[8.0.400, )", - "resolved": "8.0.400", - "contentHash": "kHMdDDmlZl98tujgHCmL8/HNH9VKbxsRMC9s7wbwr4noR40SSa5D4d00yF8cMK52s8jabVuiLLcrUw9r+PkKDQ==" + "requested": "[6.0.1, )", + "resolved": "6.0.1", + "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" }, "FsUnit": { "type": "Direct", @@ -821,7 +821,7 @@ "type": "Project", "dependencies": { "Argu": "[6.2.4, )", - "FSharp.Core": "[8.0.400, )", + "FSharp.Core": "[6.0.1, )", "Fantomas.Client": "[1.0.0, )", "Fantomas.Core": "[1.0.0, )", "Ignore": "[0.1.50, )", @@ -846,14 +846,14 @@ "fantomas.core": { "type": "Project", "dependencies": { - "FSharp.Core": "[8.0.400, )", + "FSharp.Core": "[6.0.1, )", "Fantomas.FCS": "[1.0.0, )" } }, "fantomas.fcs": { "type": "Project", "dependencies": { - "FSharp.Core": "[8.0.400, )", + "FSharp.Core": "[6.0.1, )", "System.Collections.Immutable": "[7.0.0, )", "System.Diagnostics.DiagnosticSource": "[7.0.0, )", "System.Memory": "[4.5.5, )", diff --git a/src/Fantomas/packages.lock.json b/src/Fantomas/packages.lock.json index 6b3dea62a..b83849303 100644 --- a/src/Fantomas/packages.lock.json +++ b/src/Fantomas/packages.lock.json @@ -38,9 +38,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[8.0.400, )", - "resolved": "8.0.400", - "contentHash": "kHMdDDmlZl98tujgHCmL8/HNH9VKbxsRMC9s7wbwr4noR40SSa5D4d00yF8cMK52s8jabVuiLLcrUw9r+PkKDQ==" + "requested": "[6.0.1, )", + "resolved": "6.0.1", + "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" }, "G-Research.FSharp.Analyzers": { "type": "Direct", @@ -898,14 +898,14 @@ "fantomas.core": { "type": "Project", "dependencies": { - "FSharp.Core": "[8.0.400, )", + "FSharp.Core": "[6.0.1, )", "Fantomas.FCS": "[1.0.0, )" } }, "fantomas.fcs": { "type": "Project", "dependencies": { - "FSharp.Core": "[8.0.400, )", + "FSharp.Core": "[6.0.1, )", "System.Collections.Immutable": "[7.0.0, )", "System.Diagnostics.DiagnosticSource": "[7.0.0, )", "System.Memory": "[4.5.5, )", From cff445c6939542df9b764f297449e45b2d6b3569 Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 13 Sep 2024 15:33:44 +0200 Subject: [PATCH 15/32] Replace TailCall in FCS with Microsoft.FSharp.Core.TailCall --- build.fsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.fsx b/build.fsx index 4c4c24f4f..49be79b35 100644 --- a/build.fsx +++ b/build.fsx @@ -194,6 +194,8 @@ let updateFileRaw (file: FileInfo) = |> Array.map (fun line -> if line.Contains("FSharp.Compiler") then line.Replace("FSharp.Compiler", "Fantomas.FCS") + elif line.Contains("[]") then + line.Replace("[]", "[]") else line) File.WriteAllLines(file.FullName, updatedLines) From d4bf85319b515e3099b0802a9359b4d5f0b3779b Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 13 Sep 2024 15:57:38 +0200 Subject: [PATCH 16/32] Use the static logger --- src/Fantomas/Logging.fs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Fantomas/Logging.fs b/src/Fantomas/Logging.fs index c6ebda69a..c5a4d53be 100644 --- a/src/Fantomas/Logging.fs +++ b/src/Fantomas/Logging.fs @@ -20,15 +20,13 @@ let initLogger (level: VerbosityLevel) : VerbosityLevel = Log.Logger <- logger level -let logger = Log.Logger - /// log a message -let stdlog (s: string) = logger.Information(s) +let stdlog (s: string) = Log.Logger.Information(s) /// log an error -let elog (s: string) = logger.Error(s) +let elog (s: string) = Log.Logger.Error(s) /// log a message if the verbosity level is >= Detailed -let logGrEqDetailed s = logger.Debug(s) +let logGrEqDetailed s = Log.Logger.Debug(s) let closeAndFlushLog () = Log.CloseAndFlush() From 2bf0c71c39039cd7c7d9518d9c07633cdea875a4 Mon Sep 17 00:00:00 2001 From: nojaf Date: Sat, 14 Sep 2024 14:05:30 +0200 Subject: [PATCH 17/32] Apply code review feedback --- src/Fantomas.Core/ASTTransformer.fs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/Fantomas.Core/ASTTransformer.fs b/src/Fantomas.Core/ASTTransformer.fs index ccade4454..5dd8aff0c 100644 --- a/src/Fantomas.Core/ASTTransformer.fs +++ b/src/Fantomas.Core/ASTTransformer.fs @@ -80,8 +80,8 @@ let mkSynAccess (vis: SynAccess option) = let (|AccessSynValSigAccess|) (valSigAccess: SynValSigAccess) = match valSigAccess with - | SynValSigAccess.GetSet(accessibility = vis) - | SynValSigAccess.Single(accessibility = vis) -> vis + | SynValSigAccess.Single(accessibility = vis) + | SynValSigAccess.GetSet(accessibility = vis) -> vis let (|SynValSigAccessAll|) (valSigAccess: SynValSigAccess) = match valSigAccess with @@ -2878,16 +2878,12 @@ let mkMemberDefn (creationAide: CreationAide) (md: SynMemberDefn) = ident = ident typeOpt = typeOpt xmlDoc = px - accessibility = valSigAccess + accessibility = SynValSigAccessAll(vis, getVis, setVis) synExpr = e trivia = { LeadingKeyword = lk EqualsRange = Some mEq WithKeyword = mWith GetSetKeywords = mGS }) -> - let vis, getVis, setVis = - match valSigAccess with - | SynValSigAccess.Single(ao) -> ao, None, None - | SynValSigAccess.GetSet(ao, g, s) -> ao, g, s MemberDefnAutoPropertyNode( mkXmlDoc px, From fad20c866a57a3afe5598968c38c24d911dbb725 Mon Sep 17 00:00:00 2001 From: nojaf Date: Mon, 16 Sep 2024 14:01:27 +0200 Subject: [PATCH 18/32] Use trivia from Nullness --- Directory.Build.props | 2 +- src/Fantomas.Core.Tests/NullnessTests.fs | 40 +++++++++++++++++++++ src/Fantomas.Core/ASTTransformer.fs | 9 +++-- src/Fantomas.Core/CodePrinter.fs | 46 +++++++++++++++++------- src/Fantomas.Core/SyntaxOak.fs | 10 +++--- 5 files changed, 85 insertions(+), 22 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 41e011872..26e34508a 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -45,7 +45,7 @@ Some common use cases include: - 92754eb9b7076c29e19d3f6d619883b2b526c23f + e668b90e3c087e5fba8a855e502af60bf35be45e diff --git a/src/Fantomas.Core.Tests/NullnessTests.fs b/src/Fantomas.Core.Tests/NullnessTests.fs index c3adc78df..2f80450a3 100644 --- a/src/Fantomas.Core.Tests/NullnessTests.fs +++ b/src/Fantomas.Core.Tests/NullnessTests.fs @@ -108,3 +108,43 @@ namespace Meh type DU = MyCase of (string | null) """ + +[] +let ``trivia in SynType.WithNull`` () = + formatSourceString + """ +type DU = MyCase of (string + | // but why? + null) +""" + config + |> prepend newline + |> should + equal + """ +type DU = + | MyCase of + (string | // but why? + null) +""" + +[] +let ``trivia in SynTypeConstraint.WhereTyparNotSupportsNull`` () = + formatSourceString + """ +type C<'T when + 'T + : // comment 1 + not // comment 2 + null> = class end +""" + config + |> prepend newline + |> should + equal + """ +type C<'T + when 'T: // comment 1 + not // comment 2 + null> = class end +""" diff --git a/src/Fantomas.Core/ASTTransformer.fs b/src/Fantomas.Core/ASTTransformer.fs index 5dd8aff0c..93240f743 100644 --- a/src/Fantomas.Core/ASTTransformer.fs +++ b/src/Fantomas.Core/ASTTransformer.fs @@ -2181,8 +2181,8 @@ let mkSynTypeConstraint (creationAide: CreationAide) (tc: SynTypeConstraint) : T TypeConstraintEnumOrDelegateNode(mkSynTypar tp, "delegate", List.map (mkType creationAide) ts, m) |> TypeConstraint.EnumOrDelegate | SynTypeConstraint.WhereSelfConstrained(t, _) -> mkType creationAide t |> TypeConstraint.WhereSelfConstrained - | SynTypeConstraint.WhereTyparNotSupportsNull(typar, EndRange 4 (mNull, m)) -> - TypeConstraintWhereNotSupportsNull(mkSynTypar typar, stn "null" mNull, m) + | SynTypeConstraint.WhereTyparNotSupportsNull(typar, EndRange 4 (mNull, m), { ColonRange = mColon; NotRange = mNot }) -> + TypeConstraintWhereNotSupportsNull(mkSynTypar typar, stn ":" mColon, stn "not" mNot, stn "null" mNull, m) |> TypeConstraint.WhereNotSupportsNull // Arrow type is right-associative @@ -2327,11 +2327,10 @@ let mkType (creationAide: CreationAide) (t: SynType) : Type = TypeIntersectionNode(typesAndSeparators, m) |> Type.Intersection | SynType.StaticConstantNull(m) -> stn "null" m |> Type.Var // string | null - | SynType.WithNull(innerType, _, EndRange 4 (mNull, m)) -> + | SynType.WithNull(innerType, _, EndRange 4 (mNull, m), { BarRange = mBar }) -> let nullType = stn "null" mNull |> Type.Var - TypeOrNode(mkType creationAide innerType, stn "|" Range.Zero, nullType, m) - |> Type.Or + TypeOrNode(mkType creationAide innerType, stn "|" mBar, nullType, m) |> Type.Or | t -> failwith $"unexpected type: %A{t}" let rec (|OpenL|_|) = diff --git a/src/Fantomas.Core/CodePrinter.fs b/src/Fantomas.Core/CodePrinter.fs index 24168b124..a61575d9c 100644 --- a/src/Fantomas.Core/CodePrinter.fs +++ b/src/Fantomas.Core/CodePrinter.fs @@ -3157,12 +3157,26 @@ let genTypeConstraint (tc: TypeConstraint) = |> genNode node | TypeConstraint.WhereSelfConstrained t -> genType t | TypeConstraint.WhereNotSupportsNull node -> - genSingleTextNode node.Typar - +> sepColon - +> !- "not" - +> sepSpace - +> genSingleTextNode node.Null - |> genNode node + let short = + genSingleTextNode node.Typar + +> onlyIfCtx (fun ctx -> ctx.Config.SpaceBeforeColon) sepSpace + +> genSingleTextNode node.Colon + +> sepSpace + +> genSingleTextNode node.Not + +> sepSpace + +> genSingleTextNode node.Null + + let long = + genSingleTextNode node.Typar + +> onlyIfCtx (fun ctx -> ctx.Config.SpaceBeforeColon) sepSpace + +> genSingleTextNode node.Colon + +> indentSepNlnUnindent ( + genSingleTextNode node.Not + +> sepNlnWhenWriteBeforeNewlineNotEmptyOr sepSpace + +> genSingleTextNode node.Null + ) + + expressionFitsOnRestOfLine short long |> genNode node let genTypeConstraints (tcs: TypeConstraint list) = let short = colPre (sepSpace +> !- "when ") wordAnd tcs genTypeConstraint @@ -3300,12 +3314,20 @@ let genType (t: Type) = +> autoIndentAndNlnIfExpressionExceedsPageWidth (genType node.Type) |> genNode node | Type.Or node -> - genType node.LeftHandSide - +> sepSpace - +> genSingleTextNode node.Or - +> sepSpace - +> genType node.RightHandSide - |> genNode node + let short = + genType node.LeftHandSide + +> sepSpace + +> genSingleTextNode node.Or + +> sepSpace + +> genType node.RightHandSide + + let long = + genType node.LeftHandSide + +> sepSpace + +> genSingleTextNode node.Or + +> indentSepNlnUnindent (genType node.RightHandSide) + + expressionFitsOnRestOfLine short long |> genNode node | Type.LongIdentApp node -> genType node.AppType +> sepDot +> genIdentListNode node.LongIdent |> genNode node diff --git a/src/Fantomas.Core/SyntaxOak.fs b/src/Fantomas.Core/SyntaxOak.fs index fe1798aa0..c15dc6f0d 100644 --- a/src/Fantomas.Core/SyntaxOak.fs +++ b/src/Fantomas.Core/SyntaxOak.fs @@ -2787,13 +2787,15 @@ type TypeConstraintEnumOrDelegateNode(typar: SingleTextNode, verb: string, ts: T member val Verb = verb member val Types = ts -type TypeConstraintWhereNotSupportsNull(typar: SingleTextNode, nullNode: SingleTextNode, range) = +/// `'T: not null` in `type C<'T when 'T: not null> = class end` +type TypeConstraintWhereNotSupportsNull + (typar: SingleTextNode, colon: SingleTextNode, notNode: SingleTextNode, nullNode: SingleTextNode, range) = inherit NodeBase(range) - override val Children: Node array = [| yield typar; yield nullNode |] - + override val Children: Node array = [| yield typar; yield colon; yield notNode; yield nullNode |] member val Typar = typar - + member val Colon = colon + member val Not = notNode member val Null = nullNode [] From 3f98e13776929cb39a8983877c719c318f5b65a2 Mon Sep 17 00:00:00 2001 From: nojaf Date: Mon, 16 Sep 2024 14:22:29 +0200 Subject: [PATCH 19/32] Bump tfm to net8.0 --- src/Fantomas/Fantomas.fsproj | 2 +- src/Fantomas/packages.lock.json | 16 +++++----------- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/src/Fantomas/Fantomas.fsproj b/src/Fantomas/Fantomas.fsproj index 6210ac75a..08a87ac2b 100644 --- a/src/Fantomas/Fantomas.fsproj +++ b/src/Fantomas/Fantomas.fsproj @@ -1,7 +1,7 @@ Exe - net6.0 + net8.0 en diff --git a/src/Fantomas/packages.lock.json b/src/Fantomas/packages.lock.json index b83849303..d0d3541ea 100644 --- a/src/Fantomas/packages.lock.json +++ b/src/Fantomas/packages.lock.json @@ -1,7 +1,7 @@ { "version": 2, "dependencies": { - "net6.0": { + "net8.0": { "Argu": { "type": "Direct", "requested": "[6.2.4, )", @@ -625,8 +625,8 @@ }, "System.Runtime.CompilerServices.Unsafe": { "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" + "resolved": "4.7.1", + "contentHash": "zOHkQmzPCn5zm/BH+cxC1XbUS3P4Yoi3xzW7eRgVpDR2tPGSzyMZ17Ig1iRkfJuY0nhxkQQde8pgePNiA7z7TQ==" }, "System.Runtime.Extensions": { "type": "Transitive", @@ -928,19 +928,13 @@ "type": "CentralTransitive", "requested": "[7.0.0, )", "resolved": "7.0.0", - "contentHash": "dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } + "contentHash": "dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ==" }, "System.Diagnostics.DiagnosticSource": { "type": "CentralTransitive", "requested": "[7.0.0, )", "resolved": "7.0.0", - "contentHash": "9W0ewWDuAyDqS2PigdTxk6jDKonfgscY/hP8hm7VpxYhNHZHKvZTdRckberlFk3VnCmr3xBUyMBut12Q+T2aOw==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } + "contentHash": "9W0ewWDuAyDqS2PigdTxk6jDKonfgscY/hP8hm7VpxYhNHZHKvZTdRckberlFk3VnCmr3xBUyMBut12Q+T2aOw==" }, "System.Memory": { "type": "CentralTransitive", From 506beb94212dd50fcac94ebfc2cd40321b01ed15 Mon Sep 17 00:00:00 2001 From: nojaf Date: Mon, 16 Sep 2024 14:27:11 +0200 Subject: [PATCH 20/32] Add first alpha changelog --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f346263c..c86fda49d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 7.0.0-alpha-001 - 2024-09-16 + +### Added +* Add initial support for Nullness syntax. [#3118](https://github.com/fsprojects/fantomas/pull/3118) + +### Changed +* Update FCS to 'Add trivia to Nullness nodes in SyntaxTree', commit 836d4e0603442d6053c8d439993a022501cae494 [#3118](https://github.com/fsprojects/fantomas/pull/3118) + ## 6.3.16 - 2024-10-29 ### Fixed From 0dc03a2e563ee0c1297b1bfd8f444424d2bee41f Mon Sep 17 00:00:00 2001 From: Florian Verdonck Date: Thu, 19 Sep 2024 19:05:41 +0200 Subject: [PATCH 21/32] Ensure endsWithMultilineTupleParameter happens with correct Context. (#3125) --- src/Fantomas.Core.Tests/ClassTests.fs | 19 +++++++++++++++++++ src/Fantomas.Core/CodePrinter.fs | 23 +++++++++++++---------- 2 files changed, 32 insertions(+), 10 deletions(-) diff --git a/src/Fantomas.Core.Tests/ClassTests.fs b/src/Fantomas.Core.Tests/ClassTests.fs index 1231463d3..7a9f9a39f 100644 --- a/src/Fantomas.Core.Tests/ClassTests.fs +++ b/src/Fantomas.Core.Tests/ClassTests.fs @@ -1323,3 +1323,22 @@ type X() = // some comment with get, set """ + +[] +let ``long tuple on single line, 3124`` () = + formatSourceString + """ +type Y = + static member putItem (client: AmazonDynamoDBClient, tableName: string, attributeValueDict: Dictionary) : TaskResult = () +""" + config + |> prepend newline + |> should + equal + """ +type Y = + static member putItem + (client: AmazonDynamoDBClient, tableName: string, attributeValueDict: Dictionary) + : TaskResult = + () +""" diff --git a/src/Fantomas.Core/CodePrinter.fs b/src/Fantomas.Core/CodePrinter.fs index a61575d9c..2f74ee753 100644 --- a/src/Fantomas.Core/CodePrinter.fs +++ b/src/Fantomas.Core/CodePrinter.fs @@ -2925,7 +2925,7 @@ let genBinding (b: BindingNode) (ctx: Context) : Context = /// : rt /// = let long (ctx: Context) = - let endsWithMultilineTupleParameter = + let endsWithMultilineTupleParameter ctx = match List.tryLast b.Parameters with | Some(Pattern.Paren parenNode as p) -> match parenNode.Pattern with @@ -2950,21 +2950,24 @@ let genBinding (b: BindingNode) (ctx: Context) : Context = beforeInline || beforeIdentifier || beforeAccessibility - let nlnOnSeparateLine = not endsWithMultilineTupleParameter || alternativeSyntax - (onlyIf hasTriviaAfterLeadingKeyword indent +> afterLetKeyword +> sepSpace +> genFunctionName +> indent +> sepNln - +> genParameters - +> onlyIf nlnOnSeparateLine sepNln - +> leadingExpressionIsMultiline (genReturnType nlnOnSeparateLine) (fun isMultiline -> - if (alternativeSyntax && Option.isSome b.ReturnType) || isMultiline then - sepNln +> genSingleTextNode b.Equals - else - sepSpace +> genSingleTextNode b.Equals) + +> (fun ctx -> + let nlnOnSeparateLine = + not (endsWithMultilineTupleParameter ctx) || alternativeSyntax + + (genParameters + +> onlyIf nlnOnSeparateLine sepNln + +> leadingExpressionIsMultiline (genReturnType nlnOnSeparateLine) (fun isMultiline -> + if (alternativeSyntax && Option.isSome b.ReturnType) || isMultiline then + sepNln +> genSingleTextNode b.Equals + else + sepSpace +> genSingleTextNode b.Equals)) + ctx) +> unindent +> onlyIf hasTriviaAfterLeadingKeyword unindent) ctx From 75e84740dc6daa1ba38d1fdb50dbf871c482d516 Mon Sep 17 00:00:00 2001 From: Florian Verdonck Date: Sat, 2 Nov 2024 09:54:13 +0100 Subject: [PATCH 22/32] Don't put a space before a prefix operator, unless we have to. (#3134) * Don't put a space before a prefix operator, unless we have to. * Add feedback from code review * Only add space to measure when constant has sign. * Remove unnecessary open --- .../ControlStructureTests.fs | 2 +- .../Fantomas.Core.Tests.fsproj | 1 + .../InterpolatedStringTests.fs | 14 -- src/Fantomas.Core.Tests/LambdaTests.fs | 2 +- src/Fantomas.Core.Tests/LetBindingTests.fs | 2 +- .../MultiLineLambdaClosingNewlineTests.fs | 2 +- src/Fantomas.Core.Tests/OperatorTests.fs | 117 ---------- src/Fantomas.Core.Tests/PrefixTests.fs | 210 ++++++++++++++++++ .../SpaceBeforeLowercaseInvocationTests.fs | 6 +- .../SpaceBeforeUppercaseInvocationTests.fs | 6 +- src/Fantomas.Core/CodePrinter.fs | 38 ++-- 11 files changed, 244 insertions(+), 156 deletions(-) create mode 100644 src/Fantomas.Core.Tests/PrefixTests.fs diff --git a/src/Fantomas.Core.Tests/ControlStructureTests.fs b/src/Fantomas.Core.Tests/ControlStructureTests.fs index 8f55dc26f..000b1ff60 100644 --- a/src/Fantomas.Core.Tests/ControlStructureTests.fs +++ b/src/Fantomas.Core.Tests/ControlStructureTests.fs @@ -644,7 +644,7 @@ let genPropertyWithGetSet astContext (b1, b2) rangeOfMember = genPreXmlDoc px +> genAttributes astContext ats +> genMemberFlags astContext mf1 - +> ifElse isInline (!- "inline ") sepNone + +> ifElse isInline (!-"inline ") sepNone +> opt sepSpace ao genAccess assert (ps1 |> Seq.map fst |> Seq.forall Option.isNone) diff --git a/src/Fantomas.Core.Tests/Fantomas.Core.Tests.fsproj b/src/Fantomas.Core.Tests/Fantomas.Core.Tests.fsproj index f764d1de9..6f606dc0c 100644 --- a/src/Fantomas.Core.Tests/Fantomas.Core.Tests.fsproj +++ b/src/Fantomas.Core.Tests/Fantomas.Core.Tests.fsproj @@ -134,6 +134,7 @@ + diff --git a/src/Fantomas.Core.Tests/InterpolatedStringTests.fs b/src/Fantomas.Core.Tests/InterpolatedStringTests.fs index a960bb7d1..47665d4ef 100644 --- a/src/Fantomas.Core.Tests/InterpolatedStringTests.fs +++ b/src/Fantomas.Core.Tests/InterpolatedStringTests.fs @@ -165,20 +165,6 @@ $\"\"\"one: {1}< >two: {2}\"\"\" " -[] -let ``prefix application, 1414`` () = - formatSourceString - """ -!- $".{s}" -""" - config - |> prepend newline - |> should - equal - """ -!- $".{s}" -""" - [] let ``format in FillExpr, 1549`` () = formatSourceString diff --git a/src/Fantomas.Core.Tests/LambdaTests.fs b/src/Fantomas.Core.Tests/LambdaTests.fs index 517732422..45d1011d2 100644 --- a/src/Fantomas.Core.Tests/LambdaTests.fs +++ b/src/Fantomas.Core.Tests/LambdaTests.fs @@ -354,7 +354,7 @@ let genMemberFlagsForMemberBinding astContext (mf: MemberFlags) (rangeOfBindingA | Token { TokenInfo = { TokenName = "MEMBER" } } -> r.StartLine = rangeOfBindingAndRhs.StartLine | _ -> false) - |> Option.defaultValue (!- "override ") + |> Option.defaultValue (!-"override ") <| ctx) <| ctx """ diff --git a/src/Fantomas.Core.Tests/LetBindingTests.fs b/src/Fantomas.Core.Tests/LetBindingTests.fs index 046f6fb41..60cb6dca2 100644 --- a/src/Fantomas.Core.Tests/LetBindingTests.fs +++ b/src/Fantomas.Core.Tests/LetBindingTests.fs @@ -1342,7 +1342,7 @@ let internal sepSpace = then ctx else - (!- " ") ctx + (!-" ") ctx """ [] diff --git a/src/Fantomas.Core.Tests/MultiLineLambdaClosingNewlineTests.fs b/src/Fantomas.Core.Tests/MultiLineLambdaClosingNewlineTests.fs index 09397a552..c0df14649 100644 --- a/src/Fantomas.Core.Tests/MultiLineLambdaClosingNewlineTests.fs +++ b/src/Fantomas.Core.Tests/MultiLineLambdaClosingNewlineTests.fs @@ -268,7 +268,7 @@ let expr = es (fun e -> match e with - | Paren(_, Lambda _, _) -> !- "lambda" + | Paren(_, Lambda _, _) -> !-"lambda" | _ -> genExpr astContext e ) """ diff --git a/src/Fantomas.Core.Tests/OperatorTests.fs b/src/Fantomas.Core.Tests/OperatorTests.fs index 75d2c59ad..ef0184895 100644 --- a/src/Fantomas.Core.Tests/OperatorTests.fs +++ b/src/Fantomas.Core.Tests/OperatorTests.fs @@ -5,41 +5,6 @@ open FsUnit open Fantomas.Core.Tests.TestHelpers open Fantomas.Core -[] -let ``should format prefix operators`` () = - formatSourceString - """let x = -y -let z = !!x - """ - config - |> should - equal - """let x = -y -let z = !!x -""" - -[] -let ``should keep triple ~~~ operator`` () = - formatSourceString - """x ~~~FileAttributes.ReadOnly - """ - config - |> should - equal - """x ~~~FileAttributes.ReadOnly -""" - -[] -let ``should keep single triple ~~~ operator`` () = - formatSourceString - """~~~FileAttributes.ReadOnly - """ - config - |> should - equal - """~~~FileAttributes.ReadOnly -""" - [] let ``should keep parens around ? operator definition`` () = formatSourceString @@ -62,17 +27,6 @@ let ``should keep parens around ?<- operator definition`` () = """let (?<-) f s = f s """ -[] -let ``should keep parens around !+ prefix operator definition`` () = - formatSourceString - """let (!+) x = Include x - """ - config - |> should - equal - """let (!+) x = Include x -""" - [] let ``should keep parens around ++ infix operator definition`` () = formatSourceString @@ -474,19 +428,6 @@ let result = (typ.GetInterface(typeof.FullName) = null) """ -[] -let ``operator before verbatim string add extra space, 736`` () = - formatSourceString - """Target M.Tools (fun _ -> !! @"Tools\Tools.sln" |> rebuild) -""" - config - |> prepend newline - |> should - equal - """ -Target M.Tools (fun _ -> !! @"Tools\Tools.sln" |> rebuild) -""" - [] let ``function call before pipe operator, 754`` () = formatSourceString @@ -1178,42 +1119,6 @@ module Foo = | false -> id) """ -let operator_application_literal_values = - [ "-86y" - "86uy" - "-86s" - "86us" - "-86" - "-86l" - "86u" - "86ul" - "-123n" - "0x00002D3Fun" - "-86L" - "86UL" - "-4.41F" - "-4.14" - "-12456I" - "-0.7833M" - "'a'" - "\"text\"" - "'a'B" - "\"text\"B" ] - -[] -let ``operators maintain spacing from literal values`` (literalValue: string) = - formatSourceString - $""" -let subtractTwo = + %s{literalValue} -""" - config - |> prepend newline - |> should - equal - $""" -let subtractTwo = + %s{literalValue} -""" - [] let ``qualified name to active pattern, 1937`` () = formatSourceString @@ -1515,25 +1420,3 @@ let allDecls = @+ iimplsLs @+ ctorLs """ - -[] -let ``adding space after prefix operator breaks code, 2796`` () = - formatSourceString - """ -let inline (~%%) id = int id - -let f a b = a + b - -let foo () = f %%"17" %%"42" -""" - config - |> prepend newline - |> should - equal - """ -let inline (~%%) id = int id - -let f a b = a + b - -let foo () = f %%"17" %%"42" -""" diff --git a/src/Fantomas.Core.Tests/PrefixTests.fs b/src/Fantomas.Core.Tests/PrefixTests.fs new file mode 100644 index 000000000..df39c3032 --- /dev/null +++ b/src/Fantomas.Core.Tests/PrefixTests.fs @@ -0,0 +1,210 @@ +module Fantomas.Core.Tests.PrefixTests + +open NUnit.Framework +open FsUnit +open Fantomas.Core.Tests.TestHelpers + +[] +let ``should format prefix operators`` () = + formatSourceString + """let x = -y +let z = !!x + """ + config + |> should + equal + """let x = -y +let z = !!x +""" + +[] +let ``should keep triple ~~~ operator`` () = + formatSourceString + """x ~~~FileAttributes.ReadOnly + """ + config + |> should + equal + """x ~~~FileAttributes.ReadOnly +""" + +[] +let ``should keep single triple ~~~ operator`` () = + formatSourceString + """~~~FileAttributes.ReadOnly + """ + config + |> should + equal + """~~~FileAttributes.ReadOnly +""" + +[] +let ``operator before verbatim string add extra space, 736`` () = + formatSourceString + """Target M.Tools (fun _ -> !! @"Tools\Tools.sln" |> rebuild) +""" + config + |> prepend newline + |> should + equal + """ +Target M.Tools (fun _ -> !! @"Tools\Tools.sln" |> rebuild) +""" + +[] +let ``should keep parens around !+ prefix operator definition`` () = + formatSourceString + """let (!+) x = Include x + """ + config + |> should + equal + """let (!+) x = Include x +""" + +[] +let ``adding space after prefix operator breaks code, 2796`` () = + formatSourceString + """ +let inline (~%%) id = int id + +let f a b = a + b + +let foo () = f %%"17" %%"42" +""" + config + |> prepend newline + |> should + equal + """ +let inline (~%%) id = int id + +let f a b = a + b + +let foo () = f %%"17" %%"42" +""" + +[] +let ``tilde unary operator with literal and variable, 3131`` () = + formatSourceString + """ +let x = ~~1 +let y = ~~x +""" + config + |> prepend newline + |> should + equal + """ +let x = ~~1 +let y = ~~x +""" + +[] +let ``prefix application with interpolated string, 1414`` () = + formatSourceString + """ +!- $".{s}" +""" + config + |> prepend newline + |> should + equal + """ +!- $".{s}" +""" + +let operator_application_literal_values_with_sign = + [ "-86y" + "-86s" + "-86" + "-86l" + "-123n" + "-86L" + "-4.41F" + "-4.14" + "-12456I" + "-0.7833M" + "+46y" + "+46s" + "+46" + "+46l" + "+423n" + "+46L" + "+3.41F" + "+3.14" + "+32456I" + "+0.7833M" ] + +[] +let ``operators maintain spacing from literal values which start with + or -`` (literalValue: string) = + formatSourceString + $""" +let subtractTwo = + %s{literalValue} +""" + config + |> prepend newline + |> should + equal + $""" +let subtractTwo = + %s{literalValue} +""" + +let operator_application_literal_values_without_sign = + [ "86uy" + "86us" + "86u" + "86ul" + "0x00002D3Fun" + "86UL" + "'a'" + "\"text\"" + "'a'B" + "\"text\"B" ] + +[] +let ``no space added between prefix operators and literal values that do not start with a symbol`` + (literalValue: string) + = + formatSourceString + $""" +let subtractTwo = + %s{literalValue} +""" + config + |> prepend newline + |> should + equal + $""" +let subtractTwo = +%s{literalValue} +""" + +[] +let ``add space between prefix and quotation`` () = + formatSourceString + """ +let _ = + <@ 1 @> +""" + config + |> prepend newline + |> should + equal + """ +let _ = + <@ 1 @> +""" + +[] +let ``add space between prefix and measure literal that starts with a symbol`` () = + formatSourceString + """ +let _ = - +1 +let _ = - -1 +""" + config + |> prepend newline + |> should + equal + """ +let _ = - +1 +let _ = - -1 +""" diff --git a/src/Fantomas.Core.Tests/SpaceBeforeLowercaseInvocationTests.fs b/src/Fantomas.Core.Tests/SpaceBeforeLowercaseInvocationTests.fs index 73df26b7d..f14ede490 100644 --- a/src/Fantomas.Core.Tests/SpaceBeforeLowercaseInvocationTests.fs +++ b/src/Fantomas.Core.Tests/SpaceBeforeLowercaseInvocationTests.fs @@ -217,9 +217,9 @@ let ``ignore setting when function call is the argument of prefix application`` |> should equal """ -!- String.Empty.padLeft(braceSize + spaceAround) -(!- System.String.Empty.padRight(delta)) ({ ctx with RecordBraceStart = rest }) -!- meh() +!-String.Empty.padLeft(braceSize + spaceAround) +(!-System.String.Empty.padRight(delta)) ({ ctx with RecordBraceStart = rest }) +!-meh() """ [] diff --git a/src/Fantomas.Core.Tests/SpaceBeforeUppercaseInvocationTests.fs b/src/Fantomas.Core.Tests/SpaceBeforeUppercaseInvocationTests.fs index 23843758a..04983e94f 100644 --- a/src/Fantomas.Core.Tests/SpaceBeforeUppercaseInvocationTests.fs +++ b/src/Fantomas.Core.Tests/SpaceBeforeUppercaseInvocationTests.fs @@ -251,9 +251,9 @@ let ``ignore setting when function call is the argument of prefix application, 1 |> should equal """ -!- String.Empty.PadLeft(braceSize + spaceAround) -(!- System.String.Empty.PadRight(delta)) ({ ctx with RecordBraceStart = rest }) -!- Meh() +!-String.Empty.PadLeft(braceSize + spaceAround) +(!-System.String.Empty.PadRight(delta)) ({ ctx with RecordBraceStart = rest }) +!-Meh() """ [] diff --git a/src/Fantomas.Core/CodePrinter.fs b/src/Fantomas.Core/CodePrinter.fs index 2f74ee753..b65149d47 100644 --- a/src/Fantomas.Core/CodePrinter.fs +++ b/src/Fantomas.Core/CodePrinter.fs @@ -753,33 +753,41 @@ let genExpr (e: Expr) = |> genNode node | Expr.Dynamic node -> genExpr node.FuncExpr +> !- "?" +> genExpr node.ArgExpr |> genNode node | Expr.PrefixApp node -> - let fallback = genSingleTextNode node.Operator +> genExpr node.Expr + let genWithoutSpace = genSingleTextNode node.Operator +> genExpr node.Expr + let genWithSpace = genSingleTextNode node.Operator +> sepSpace +> genExpr node.Expr + + let rec (|ConstantWithSign|_|) = + function + | Constant.FromText(stn) -> + match stn.Text.[0] with + | '@' + | '-' + | '+' -> Some() + | _ -> None + | Constant.Measure measure -> (|ConstantWithSign|_|) measure.Constant + | Constant.Unit _ -> None match node.Expr with - | Expr.Constant _ - | Expr.InterpolatedStringExpr _ when not (String.startsWithOrdinal "%" node.Operator.Text) -> - genSingleTextNode node.Operator +> sepSpace +> genExpr node.Expr + // E.g. + <@ 1 @> + | Expr.Quote _ -> genWithSpace + // E.g. !! @"foobar", because !!@ would be mistaken for an operator. + | Expr.Constant(ConstantWithSign) -> genWithSpace + // !- $"blah{s}" + | Expr.InterpolatedStringExpr _ -> genWithSpace + // We don't respect SpaceBeforeLowercaseInvocation here because it can alter the meaning of the code. + // E.g. !-meh() | Expr.AppSingleParenArg appNode -> genSingleTextNode node.Operator - +> sepSpace +> genExpr appNode.FunctionExpr +> genExpr appNode.ArgExpr + // E.g. !-Foo.Meh(a) | Expr.AppLongIdentAndSingleParenArg appNode -> let mOptVarNode = appNode.FunctionName.Range genSingleTextNode node.Operator - +> sepSpace +> genExpr (Expr.OptVar(ExprOptVarNode(false, appNode.FunctionName, mOptVarNode))) +> genExpr appNode.ArgExpr - | Expr.App appNode -> - match appNode.Arguments with - | [ Expr.Constant(Constant.Unit _) as argExpr ] -> - genSingleTextNode node.Operator - +> sepSpace - +> genExpr appNode.FunctionExpr - +> genExpr argExpr - | _ -> fallback - | _ -> fallback + | _ -> genWithoutSpace |> genNode node | Expr.SameInfixApps node -> let headIsSynExprLambdaOrIfThenElse = isLambdaOrIfThenElse node.LeadingExpr From 148d113a0510b3de8572feeb640f52777164949b Mon Sep 17 00:00:00 2001 From: nojaf Date: Sat, 2 Nov 2024 10:00:07 +0100 Subject: [PATCH 23/32] Add changelog entry for 7.0.0-alpha-002 --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c86fda49d..e9f77d6b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 7.0.0-alpha-002 - 2024-11-02 + +### Changed +* Unary operators: inconsistent formatting when arg is literal vs variable. [#3131](https://github.com/fsprojects/fantomas/issues/3131) + ## 7.0.0-alpha-001 - 2024-09-16 ### Added From df13126e9b4f7c85a4b023546e5b3918c4099db9 Mon Sep 17 00:00:00 2001 From: Florian Verdonck Date: Fri, 29 Nov 2024 07:31:52 +0100 Subject: [PATCH 24/32] Remove MaxDotGetExpressionWidth (#3138) * Remove MaxDotGetExpressionWidth * Fix remaining tests --- docs/docs/end-users/Configuration.fsx | 22 ----- src/Fantomas.Core.Tests/ChainTests.fs | 29 ++---- src/Fantomas.Core.Tests/CommentTests.fs | 3 +- .../CompilerDirectivesTests.fs | 13 +-- .../ComputationExpressionTests.fs | 12 +-- .../ControlStructureTests.fs | 3 +- .../CrampedMultilineBracketStyleTests.fs | 5 +- src/Fantomas.Core.Tests/DallasTests.fs | 4 +- src/Fantomas.Core.Tests/DotGetTests.fs | 92 ++++++------------- src/Fantomas.Core.Tests/DotIndexedGetTests.fs | 1 - src/Fantomas.Core.Tests/IfThenElseTests.fs | 13 +-- src/Fantomas.Core.Tests/LambdaTests.fs | 1 - src/Fantomas.Core.Tests/LetBindingTests.fs | 22 ++--- .../MultiLineLambdaClosingNewlineTests.fs | 3 +- src/Fantomas.Core.Tests/QuotationTests.fs | 6 +- .../SpaceBeforeUppercaseInvocationTests.fs | 7 +- src/Fantomas.Core.Tests/SynConstTests.fs | 1 - src/Fantomas.Core.Tests/SynExprSetTests.fs | 6 +- src/Fantomas.Core.Tests/SynLongIdentTests.fs | 10 +- src/Fantomas.Core.Tests/TestHelpers.fs | 2 + .../TypeDeclarationTests.fs | 1 - src/Fantomas.Core/CodePrinter.fs | 16 ++-- src/Fantomas.Core/FormatConfig.fs | 5 - 23 files changed, 75 insertions(+), 202 deletions(-) diff --git a/docs/docs/end-users/Configuration.fsx b/docs/docs/end-users/Configuration.fsx index 78d290583..efa721750 100644 --- a/docs/docs/end-users/Configuration.fsx +++ b/docs/docs/end-users/Configuration.fsx @@ -729,28 +729,6 @@ fsharp_max_function_binding_width = 10 """ (*** include-output ***) -(** - -### fsharp_max_dot_get_expression_width - - -Control the maximum width for which (nested) [SynExpr.DotGet](https://fsharp.github.io/fsharp-compiler-docs/reference/fsharp-compiler-syntax-synexpr.html#DotGet) expressions should be in one line. -*) - -(*** hide ***) -printfn - $"# Default\n{toEditorConfigName (nameof FormatConfig.Default.MaxDotGetExpressionWidth)} = {FormatConfig.Default.MaxDotGetExpressionWidth}" -(*** include-output ***) - -formatCode - """ - let job = JobBuilder.UsingJobData(jobDataMap).Create().Build() - """ - """ -fsharp_max_dot_get_expression_width = 60 - """ -(*** include-output ***) - (** ### fsharp_multiline_bracket_style diff --git a/src/Fantomas.Core.Tests/ChainTests.fs b/src/Fantomas.Core.Tests/ChainTests.fs index 09780fea3..bfac68858 100644 --- a/src/Fantomas.Core.Tests/ChainTests.fs +++ b/src/Fantomas.Core.Tests/ChainTests.fs @@ -181,8 +181,7 @@ let ``identifier dot appUnit dot typed appUnit `` () = """ A.B().C<'d>() """ - { config with - MaxDotGetExpressionWidth = 0 } + { config with MaxLineLength = 10 } |> prepend newline |> should equal @@ -198,8 +197,7 @@ let ``identifier dot appUnit dot typed identifier `` () = """ A.B().C<'d> """ - { config with - MaxDotGetExpressionWidth = 0 } + { config with MaxLineLength = 10 } |> prepend newline |> should equal @@ -215,8 +213,7 @@ let ``identifier dot identifier dot appExpr dot appUnit dot index expr`` () = """ A.B.C(D).E().[0] """ - { config with - MaxDotGetExpressionWidth = 0 } + { config with MaxLineLength = 10 } |> prepend newline |> should equal @@ -233,8 +230,7 @@ let ``identifier dot identifier dot appExpr dot identifier dot index expr`` () = """ A.B.C(D).E.[0] """ - { config with - MaxDotGetExpressionWidth = 0 } + { config with MaxLineLength = 10 } |> prepend newline |> should equal @@ -288,8 +284,7 @@ Map .empty<_, obj> .Add("headerAction", modifyHeader.Action.ArmValue) """ - { config with - MaxDotGetExpressionWidth = 0 } + { config with MaxLineLength = 55 } |> prepend newline |> should equal @@ -310,7 +305,7 @@ let d = Duck() d.Duck.Duck.Duck.Goose().Duck.Goose().Duck.Duck.Goose().Duck.Duck.Duck.Goose().Duck.Duck.Duck.Duck.Goose() """ - config + { config with MaxLineLength = 45 } |> prepend newline |> should equal @@ -335,9 +330,7 @@ let ``very long chain with a some index expressions`` () = """ Universe.Galaxy.SolarSystem.Planet.[3].Countries.[9].People.Count """ - { config with - MaxDotGetExpressionWidth = 0 - MaxLineLength = 50 } + { config with MaxLineLength = 50 } |> prepend newline |> should equal @@ -353,9 +346,7 @@ let ``even longer chain with only simple links`` () = Fooooooooooo.Baaaaaaaaaaaaaaaaar.Foooooooooooooooooo.Baaaaaaaar.Basssss.Baazzzzzzzzzzzzzzzzzz.[0].Meeeeeeeeeeeeeeeeeh .Moooooooooooooooo.Booooooooooooooooooooh.Yooooooooooooooou.Meeeeeeh.Meh2 """ - { config with - MaxDotGetExpressionWidth = 0 - MaxLineLength = 50 } + { config with MaxLineLength = 50 } |> prepend newline |> should equal @@ -426,9 +417,7 @@ Animal< "Spot" ) """ - { config with - MaxDotGetExpressionWidth = 0 - MaxLineLength = 10 } + { config with MaxLineLength = 10 } |> prepend newline |> should equal diff --git a/src/Fantomas.Core.Tests/CommentTests.fs b/src/Fantomas.Core.Tests/CommentTests.fs index 6e57f7f96..e3285e3e3 100644 --- a/src/Fantomas.Core.Tests/CommentTests.fs +++ b/src/Fantomas.Core.Tests/CommentTests.fs @@ -1587,8 +1587,7 @@ Host // """ - { config with - MaxDotGetExpressionWidth = 40 } + { config with MaxLineLength = 55 } |> prepend newline |> should equal diff --git a/src/Fantomas.Core.Tests/CompilerDirectivesTests.fs b/src/Fantomas.Core.Tests/CompilerDirectivesTests.fs index 61edc26e0..7d646d717 100644 --- a/src/Fantomas.Core.Tests/CompilerDirectivesTests.fs +++ b/src/Fantomas.Core.Tests/CompilerDirectivesTests.fs @@ -651,8 +651,7 @@ type FunctionComponent = static member Foo = () """ - { config with - MaxDotGetExpressionWidth = 50 } + config |> should equal """namespace Fable.React @@ -673,8 +672,7 @@ type FunctionComponent = let elemType = ReactBindings.React.``lazy`` (fun () -> // React.lazy requires a default export - (importValueDynamic f) - .``then`` (fun x -> createObj [ "default" ==> x ])) + (importValueDynamic f).``then`` (fun x -> createObj [ "default" ==> x ])) fun props -> ReactElementType.create @@ -845,8 +843,7 @@ type FunctionComponent = static member Foo = () """ - { config with - MaxDotGetExpressionWidth = 50 } + config |> should equal """namespace Fable.React @@ -867,8 +864,7 @@ type FunctionComponent = let elemType = ReactBindings.React.``lazy`` (fun () -> // React.lazy requires a default export - (importValueDynamic f) - .``then`` (fun x -> createObj [ "default" ==> x ])) + (importValueDynamic f).``then`` (fun x -> createObj [ "default" ==> x ])) fun props -> ReactElementType.create @@ -2214,7 +2210,6 @@ let loader (projectRoot: string) (siteContent: SiteContents) = disableLiveRefresh """ { config with - MaxDotGetExpressionWidth = 50 MaxInfixOperatorExpression = 50 } |> prepend newline |> should diff --git a/src/Fantomas.Core.Tests/ComputationExpressionTests.fs b/src/Fantomas.Core.Tests/ComputationExpressionTests.fs index c8aeaaca2..31c1a96c7 100644 --- a/src/Fantomas.Core.Tests/ComputationExpressionTests.fs +++ b/src/Fantomas.Core.Tests/ComputationExpressionTests.fs @@ -1001,18 +1001,13 @@ let ``let bang + do expression + let + return in ce`` () = return Ok(user.Identity.Name, collectClaims user) } """ - { config with - MaxDotGetExpressionWidth = 50 } + config |> prepend newline |> should equal """ task { - let! config = - manager - .GetConfigurationAsync() - .ConfigureAwait(false) - + let! config = manager.GetConfigurationAsync().ConfigureAwait(false) parameters.IssuerSigningKeys <- config.SigningKeys let user, _ = handler.ValidateToken((token: string), parameters) return Ok(user.Identity.Name, collectClaims user) @@ -2300,8 +2295,7 @@ aggregateResult { } """ { config with - MaxInfixOperatorExpression = 40 - MaxDotGetExpressionWidth = 50 } + MaxInfixOperatorExpression = 40 } |> prepend newline |> should equal diff --git a/src/Fantomas.Core.Tests/ControlStructureTests.fs b/src/Fantomas.Core.Tests/ControlStructureTests.fs index 000b1ff60..2ff0e97c0 100644 --- a/src/Fantomas.Core.Tests/ControlStructureTests.fs +++ b/src/Fantomas.Core.Tests/ControlStructureTests.fs @@ -723,8 +723,7 @@ let ``keep new line before for loop, 1317`` () = state """ - { config with - MaxDotGetExpressionWidth = 60 } + { config with MaxLineLength = 85 } |> prepend newline |> should equal diff --git a/src/Fantomas.Core.Tests/CrampedMultilineBracketStyleTests.fs b/src/Fantomas.Core.Tests/CrampedMultilineBracketStyleTests.fs index 81b8cf59b..443ba0b1c 100644 --- a/src/Fantomas.Core.Tests/CrampedMultilineBracketStyleTests.fs +++ b/src/Fantomas.Core.Tests/CrampedMultilineBracketStyleTests.fs @@ -778,9 +778,7 @@ let expect = args = [] commands = [] } """ - { config with - MaxDotGetExpressionWidth = 50 - MaxArrayOrListWidth = 40 } + { config with MaxArrayOrListWidth = 40 } |> prepend newline |> should equal @@ -1988,7 +1986,6 @@ let defaultTestOptions fwk common (o: DotNet.TestOptions) = Configuration = DotNet.BuildConfiguration.Debug } """ { config with - MaxDotGetExpressionWidth = 50 MaxInfixOperatorExpression = 50 MaxRecordWidth = 55 } |> prepend newline diff --git a/src/Fantomas.Core.Tests/DallasTests.fs b/src/Fantomas.Core.Tests/DallasTests.fs index 0b1ad2723..cabce2838 100644 --- a/src/Fantomas.Core.Tests/DallasTests.fs +++ b/src/Fantomas.Core.Tests/DallasTests.fs @@ -1464,7 +1464,7 @@ let longExpr = genExpr e +> indentSepNlnUnindent (genSynLongIdentMultiline true fun ctx -> isShortExpression - ctx.Config.MaxDotGetExpressionWidth + ctx.Config.Blaaaaaaaaaaaaaaaaaaaaaaaaah shortExpr longExpr ctx @@ -1477,7 +1477,7 @@ fun ctx -> let shortExpr = genExpr e +> genSynLongIdent true sli let longExpr = genExpr e +> indentSepNlnUnindent (genSynLongIdentMultiline true sli) -fun ctx -> isShortExpression ctx.Config.MaxDotGetExpressionWidth shortExpr longExpr ctx +fun ctx -> isShortExpression ctx.Config.Blaaaaaaaaaaaaaaaaaaaaaaaaah shortExpr longExpr ctx """ [] diff --git a/src/Fantomas.Core.Tests/DotGetTests.fs b/src/Fantomas.Core.Tests/DotGetTests.fs index c23bf1e7e..91e606a95 100644 --- a/src/Fantomas.Core.Tests/DotGetTests.fs +++ b/src/Fantomas.Core.Tests/DotGetTests.fs @@ -11,18 +11,13 @@ let ``a TypeApp inside a DotGet should stay on the same line, 994`` () = """ Microsoft.FSharp.Reflection.FSharpType.GetUnionCases(typeof>>.GetGenericTypeDefinition().MakeGenericType(t)).Assembly """ - { config with - MaxDotGetExpressionWidth = 50 } + config |> prepend newline |> should equal """ Microsoft.FSharp.Reflection.FSharpType - .GetUnionCases( - typeof>> - .GetGenericTypeDefinition() - .MakeGenericType(t) - ) + .GetUnionCases(typeof>>.GetGenericTypeDefinition().MakeGenericType(t)) .Assembly """ @@ -33,19 +28,13 @@ let ``a DotGetApp inside a DotGet should stay on the same line, 1051`` () = System.Diagnostics.FileVersionInfo.GetVersionInfo( System.Reflection.Assembly.GetExecutingAssembly().Location).FileVersion """ - { config with - MaxLineLength = 80 - MaxDotGetExpressionWidth = 50 } + { config with MaxLineLength = 80 } |> prepend newline |> should equal """ System.Diagnostics.FileVersionInfo - .GetVersionInfo( - System.Reflection.Assembly - .GetExecutingAssembly() - .Location - ) + .GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly().Location) .FileVersion """ @@ -60,7 +49,6 @@ let ``split chained method call expression, 246`` () = System.Reflection.Assembly.GetExecutingAssembly().Location).FileVersion) """ { config with - MaxDotGetExpressionWidth = 50 MaxInfixOperatorExpression = 50 } |> prepend newline |> should @@ -70,11 +58,7 @@ root.SetAttribute( "driverVersion", "AltCover.Recorder " + System.Diagnostics.FileVersionInfo - .GetVersionInfo( - System.Reflection.Assembly - .GetExecutingAssembly() - .Location - ) + .GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly().Location) .FileVersion ) """ @@ -139,9 +123,7 @@ module Services = ) = match storage with | Storage.MemoryStore store -> - Equinox.MemoryStore - .Resolver(store, FsCodec.Box.Codec.Create(), fold, initial) - .Resolve + Equinox.MemoryStore.Resolver(store, FsCodec.Box.Codec.Create(), fold, initial).Resolve | Storage.EventStore(gateway, cache) -> let accessStrategy = Equinox.EventStore.AccessStrategy.RollingSnapshots snapshot @@ -196,10 +178,7 @@ let main args = Host .CreateDefaultBuilder(args) .ConfigureWebHostDefaults(fun builder -> - builder - .CaptureStartupErrors(true) - .UseSerilog(dispose = true) - .UseStartup() + builder.CaptureStartupErrors(true).UseSerilog(dispose = true).UseStartup() |> ignore) .Build() .Run() @@ -218,7 +197,7 @@ let job = .WithIdentity(taskName, groupName) .Build() """ - config + { config with MaxLineLength = 50 } |> prepend newline |> should equal @@ -241,7 +220,7 @@ let c = .UseSerilog(dispose = true) .UseStartup() """ - config + { config with MaxLineLength = 40 } |> prepend newline |> should equal @@ -283,7 +262,7 @@ let ``long ident with dots inside app inside dotget`` () = Equinox.MemoryStore.Resolver(store, FsCodec.Box.Codec.Create(), fold, initial) .Resolve """ - config + { config with MaxLineLength = 65 } |> prepend newline |> should equal @@ -305,7 +284,7 @@ let ``long ident with dots inside type app inside dotget`` () = accessStrategy) .Resolve """ - config + { config with MaxLineLength = 100 } |> prepend newline |> should equal @@ -632,7 +611,8 @@ Log.Logger <- .CreateLogger() """ { config with - SpaceBeforeUppercaseInvocation = true } + SpaceBeforeUppercaseInvocation = true + MaxLineLength = 40 } |> prepend newline |> should equal @@ -655,7 +635,8 @@ Log.Logger <- .CreateLogger() """ { config with - SpaceBeforeUppercaseInvocation = true } + SpaceBeforeUppercaseInvocation = true + MaxLineLength = 40 } |> prepend newline |> should equal @@ -862,8 +843,7 @@ let PublishValueDefn cenv env declKind (vspec: Val) = () """ - { config with - MaxDotGetExpressionWidth = 50 } + config |> prepend newline |> should equal @@ -871,16 +851,14 @@ let PublishValueDefn cenv env declKind (vspec: Val) = let PublishValueDefn cenv env declKind (vspec: Val) = if (declKind = ModuleOrMemberBinding) - && ((GetCurrAccumulatedModuleOrNamespaceType env) - .ModuleOrNamespaceKind = Namespace) + && ((GetCurrAccumulatedModuleOrNamespaceType env).ModuleOrNamespaceKind = Namespace) && (Option.isNone vspec.MemberInfo) then errorR (Error(FSComp.SR.tcNamespaceCannotContainValues (), vspec.Range)) if (declKind = ExtrinsicExtensionBinding) - && ((GetCurrAccumulatedModuleOrNamespaceType env) - .ModuleOrNamespaceKind = Namespace) + && ((GetCurrAccumulatedModuleOrNamespaceType env).ModuleOrNamespaceKind = Namespace) then errorR (Error(FSComp.SR.tcNamespaceCannotContainExtensionMembers (), vspec.Range)) @@ -912,9 +890,7 @@ type Foobar = FileSystem.SafeExists filename && ((tcConfig.GetTargetFrameworkDirectories() |> List.exists (fun clrRoot -> clrRoot = Path.GetDirectoryName filename)) - || (tcConfig.FxResolver - .GetSystemAssemblies() - .Contains(fileNameWithoutExtension filename)) + || (tcConfig.FxResolver.GetSystemAssemblies().Contains(fileNameWithoutExtension filename)) || tcConfig.FxResolver.IsInReferenceAssemblyPackDirectory filename) with _ -> false @@ -950,8 +926,7 @@ services .AddIdentityCore(fun options -> ()) .AddUserManager>() """ - { config with - MaxDotGetExpressionWidth = 200 } + { config with MaxLineLength = 200 } |> prepend newline |> should equal @@ -1137,8 +1112,7 @@ let ``dotget function application should add space before argument, long`` () = """ m.Property(fun p -> p.Name).IsRequired().HasColumnName("ModelName").HasMaxLength 64 """ - { config with - MaxDotGetExpressionWidth = 70 } + { config with MaxLineLength = 70 } |> prepend newline |> should equal @@ -1157,8 +1131,7 @@ let ``dotget lambda multiline application`` () = """ m.Property(fun p -> p.Name).IsRequired().HasColumnName("ModelName").HasMaxLength """ - { config with - MaxDotGetExpressionWidth = 50 } + { config with MaxLineLength = 50 } |> prepend newline |> should equal @@ -1195,12 +1168,7 @@ db.Schema.Users.Query | Role.User companyId -> companyId | _ -> __ ) - .In( - db.Schema.Companies.Query - .Where(fun x -> x.LicenceId) - .Equals(licenceId) - .Select(fun x -> x.Id) - ) + .In(db.Schema.Companies.Query.Where(fun x -> x.LicenceId).Equals(licenceId).Select(fun x -> x.Id)) """ [] @@ -1229,8 +1197,7 @@ module Program = builder.Build().RunAsync() |> ignore 0 """ - { config with - MaxDotGetExpressionWidth = 50 } + config |> prepend newline |> should equal @@ -1266,17 +1233,12 @@ let ``dotget inside a quotation, 2154`` () = """ (fun (Singleton arg) -> <@@ ((%%arg: Indicators) :> IIndicators).AsyncGetIndicator(indicatorIdVal) @@>) """ - { config with - MaxDotGetExpressionWidth = 50 } + config |> prepend newline |> should equal """ -(fun (Singleton arg) -> - <@@ - ((%%arg: Indicators) :> IIndicators) - .AsyncGetIndicator(indicatorIdVal) - @@>) +(fun (Singleton arg) -> <@@ ((%%arg: Indicators) :> IIndicators).AsyncGetIndicator(indicatorIdVal) @@>) """ [] @@ -1285,7 +1247,7 @@ let ``argument in short type app as function name, 2683`` () = """ Assembly.GetExecutingAssembly().GetCustomAttribute().SomeProperty """ - config + { config with MaxLineLength = 50 } |> prepend newline |> should equal diff --git a/src/Fantomas.Core.Tests/DotIndexedGetTests.fs b/src/Fantomas.Core.Tests/DotIndexedGetTests.fs index 7ec7f9bc1..9a73e8f71 100644 --- a/src/Fantomas.Core.Tests/DotIndexedGetTests.fs +++ b/src/Fantomas.Core.Tests/DotIndexedGetTests.fs @@ -86,7 +86,6 @@ let mySampleMethod() = AlignFunctionSignatureToIndentation = true AlternativeLongMemberDefinitions = true MultiLineLambdaClosingNewline = true - MaxDotGetExpressionWidth = 50 MaxInfixOperatorExpression = 50 } |> prepend newline |> should diff --git a/src/Fantomas.Core.Tests/IfThenElseTests.fs b/src/Fantomas.Core.Tests/IfThenElseTests.fs index 867d6a172..927db2262 100644 --- a/src/Fantomas.Core.Tests/IfThenElseTests.fs +++ b/src/Fantomas.Core.Tests/IfThenElseTests.fs @@ -1656,10 +1656,7 @@ let private tryGetUrlWithExactMatch (urlPattern: string) (document: Document) = - if - (UMX.untag pathPattern) - .Equals(UMX.untag document.Name, System.StringComparison.Ordinal) - then + if (UMX.untag pathPattern).Equals(UMX.untag document.Name, System.StringComparison.Ordinal) then Some(urlPattern, normalizeRepoPath (UMX.cast pathPattern), document) else None @@ -1669,10 +1666,7 @@ let private tryGetUrlWithExactMatch (urlPattern: string) (document: Document) = - if - (UMX.untag pathPattern) - .Equals(UMX.untag document.Name, System.StringComparison.Ordinal) - then + if (UMX.untag pathPattern).Equals(UMX.untag document.Name, System.StringComparison.Ordinal) then Some(urlPattern, normalizeRepoPath (UMX.cast pathPattern), document) else None @@ -2362,8 +2356,7 @@ module Foo = None else Some "hi" """ - { config with - MaxDotGetExpressionWidth = 50 } + { config with MaxLineLength = 80 } |> prepend newline |> should equal diff --git a/src/Fantomas.Core.Tests/LambdaTests.fs b/src/Fantomas.Core.Tests/LambdaTests.fs index 45d1011d2..987ca3e59 100644 --- a/src/Fantomas.Core.Tests/LambdaTests.fs +++ b/src/Fantomas.Core.Tests/LambdaTests.fs @@ -295,7 +295,6 @@ CloudStorageAccount.SetConfigurationSettingPublisher(fun configName configSettin configSettingPublisher.Invoke(connectionString) |> ignore) """ { config with - MaxDotGetExpressionWidth = 50 MaxInfixOperatorExpression = 50 } |> prepend newline |> should diff --git a/src/Fantomas.Core.Tests/LetBindingTests.fs b/src/Fantomas.Core.Tests/LetBindingTests.fs index 60cb6dca2..62207419d 100644 --- a/src/Fantomas.Core.Tests/LetBindingTests.fs +++ b/src/Fantomas.Core.Tests/LetBindingTests.fs @@ -110,8 +110,8 @@ let tomorrow = .AddDays(1.) """ { config with - MaxValueBindingWidth = 70 - MaxDotGetExpressionWidth = 50 } + MaxValueBindingWidth = 60 + MaxLineLength = 70 } |> prepend newline |> should equal @@ -850,8 +850,7 @@ let private authenticateRequest (logger: ILogger) header = logger.LogError(sprintf "Could not authenticate token %s\n%A" token exn) task { return None } """ - { config with - MaxDotGetExpressionWidth = 50 } + config |> prepend newline |> should equal @@ -878,11 +877,7 @@ let private authenticateRequest (logger: ILogger) header = try task { - let! config = - manager - .GetConfigurationAsync() - .ConfigureAwait(false) - + let! config = manager.GetConfigurationAsync().ConfigureAwait(false) parameters.IssuerSigningKeys <- config.SigningKeys let user, _ = handler.ValidateToken((token: string), parameters) @@ -1043,8 +1038,7 @@ let ``don't add additional newline before SynExpr.New, 1049`` () = new HttpResponseMessage(HttpStatusCode.OK, Content = new StringContent(version, System.Text.Encoding.UTF8, "application/text")) """ - { config with - MaxDotGetExpressionWidth = 50 } + config |> prepend newline |> should equal @@ -1193,8 +1187,7 @@ let x = else false """ - { config with - MaxDotGetExpressionWidth = 50 } + config |> prepend newline |> should equal @@ -1254,8 +1247,7 @@ let x = else false """ - { config with - MaxDotGetExpressionWidth = 50 } + config |> prepend newline |> should equal diff --git a/src/Fantomas.Core.Tests/MultiLineLambdaClosingNewlineTests.fs b/src/Fantomas.Core.Tests/MultiLineLambdaClosingNewlineTests.fs index c0df14649..3b76c9567 100644 --- a/src/Fantomas.Core.Tests/MultiLineLambdaClosingNewlineTests.fs +++ b/src/Fantomas.Core.Tests/MultiLineLambdaClosingNewlineTests.fs @@ -922,8 +922,7 @@ configuration .WriteTo .Logger(fun x -> x * x) """ - { config with - MaxDotGetExpressionWidth = 50 } + { config with MaxLineLength = 50 } |> prepend newline |> should equal diff --git a/src/Fantomas.Core.Tests/QuotationTests.fs b/src/Fantomas.Core.Tests/QuotationTests.fs index be6ace6d4..39f40f8a0 100644 --- a/src/Fantomas.Core.Tests/QuotationTests.fs +++ b/src/Fantomas.Core.Tests/QuotationTests.fs @@ -41,8 +41,7 @@ let logger = .Returns(()) .Create() """ - { config with - MaxDotGetExpressionWidth = 50 } + { config with MaxLineLength = 50 } |> prepend newline |> should equal @@ -69,8 +68,7 @@ let action = @> """ { config with - MaxInfixOperatorExpression = 50 - MaxDotGetExpressionWidth = 50 } + MaxInfixOperatorExpression = 50 } |> prepend newline |> should equal diff --git a/src/Fantomas.Core.Tests/SpaceBeforeUppercaseInvocationTests.fs b/src/Fantomas.Core.Tests/SpaceBeforeUppercaseInvocationTests.fs index 04983e94f..8cca85900 100644 --- a/src/Fantomas.Core.Tests/SpaceBeforeUppercaseInvocationTests.fs +++ b/src/Fantomas.Core.Tests/SpaceBeforeUppercaseInvocationTests.fs @@ -54,15 +54,12 @@ let ``spaceBeforeUppercaseInvocation should not have impact when member is calle """ let x = DateTimeOffset(2017,6,1,10,3,14,TimeSpan(1,30,0)).LocalDateTime """ - { spaceBeforeConfig with - MaxDotGetExpressionWidth = 50 } + spaceBeforeConfig |> prepend newline |> should equal """ -let x = - DateTimeOffset(2017, 6, 1, 10, 3, 14, TimeSpan (1, 30, 0)) - .LocalDateTime +let x = DateTimeOffset(2017, 6, 1, 10, 3, 14, TimeSpan (1, 30, 0)).LocalDateTime """ // Space before parentheses (a+b) in Uppercase function call diff --git a/src/Fantomas.Core.Tests/SynConstTests.fs b/src/Fantomas.Core.Tests/SynConstTests.fs index a0859dab9..14b0761ae 100644 --- a/src/Fantomas.Core.Tests/SynConstTests.fs +++ b/src/Fantomas.Core.Tests/SynConstTests.fs @@ -604,7 +604,6 @@ a:hover {color: #ecc;} xmlform.Save packable " { config with - MaxDotGetExpressionWidth = 50 MaxInfixOperatorExpression = 50 MaxArrayOrListWidth = 40 } |> prepend newline diff --git a/src/Fantomas.Core.Tests/SynExprSetTests.fs b/src/Fantomas.Core.Tests/SynExprSetTests.fs index 8e577f97d..c5491adcd 100644 --- a/src/Fantomas.Core.Tests/SynExprSetTests.fs +++ b/src/Fantomas.Core.Tests/SynExprSetTests.fs @@ -262,11 +262,7 @@ Log.Logger <- |> should equal """ -Log.Logger <- - LoggerConfiguration() - .Destructure.FSharpTypes() - .WriteTo.Console() - .CreateLogger () +Log.Logger <- LoggerConfiguration().Destructure.FSharpTypes().WriteTo.Console().CreateLogger () """ [] diff --git a/src/Fantomas.Core.Tests/SynLongIdentTests.fs b/src/Fantomas.Core.Tests/SynLongIdentTests.fs index fc008c2ce..eed7c2d0e 100644 --- a/src/Fantomas.Core.Tests/SynLongIdentTests.fs +++ b/src/Fantomas.Core.Tests/SynLongIdentTests.fs @@ -18,8 +18,7 @@ Log.Logger <- .Destructure.FSharpTypes() .WriteTo.Console() .CreateLogger()""" - { config with - MaxDotGetExpressionWidth = 50 } + { config with MaxLineLength = 60 } |> prepend newline |> should equal @@ -117,8 +116,7 @@ let main _ = finally Log.CloseAndFlush() """ - { config with - MaxDotGetExpressionWidth = 50 } + config |> prepend newline |> should equal @@ -132,9 +130,7 @@ let main _ = Config.Logger.configure () let config = - ConfigurationBuilder() - .SetBasePath(Directory.GetCurrentDirectory()) - .Build() + ConfigurationBuilder().SetBasePath(Directory.GetCurrentDirectory()).Build() WebHostBuilder() .UseConfiguration(config) diff --git a/src/Fantomas.Core.Tests/TestHelpers.fs b/src/Fantomas.Core.Tests/TestHelpers.fs index 236ee7ca9..616b5e2d8 100644 --- a/src/Fantomas.Core.Tests/TestHelpers.fs +++ b/src/Fantomas.Core.Tests/TestHelpers.fs @@ -31,6 +31,8 @@ let formatFSharpString isFsiFile (s: string) config = if formattedCode <> secondFormattedCode then failwith $"The formatted result was not idempotent.\n%s{formattedCode}\n%s{secondFormattedCode}" + printfn "formatted code:\n%s\n" formattedCode + return formattedCode } |> Async.RunSynchronously diff --git a/src/Fantomas.Core.Tests/TypeDeclarationTests.fs b/src/Fantomas.Core.Tests/TypeDeclarationTests.fs index f3210c601..f94afd13c 100644 --- a/src/Fantomas.Core.Tests/TypeDeclarationTests.fs +++ b/src/Fantomas.Core.Tests/TypeDeclarationTests.fs @@ -816,7 +816,6 @@ type BlobHelper(Account : CloudStorageAccount) = BlobHelper(CloudStorageAccount.FromConfigurationSetting(configurationSettingName)) """ { config with - MaxDotGetExpressionWidth = 50 MaxInfixOperatorExpression = 40 } |> prepend newline |> should diff --git a/src/Fantomas.Core/CodePrinter.fs b/src/Fantomas.Core/CodePrinter.fs index b65149d47..f53e7def4 100644 --- a/src/Fantomas.Core/CodePrinter.fs +++ b/src/Fantomas.Core/CodePrinter.fs @@ -1009,14 +1009,11 @@ let genExpr (e: Expr) = | LeadingSimpleChain(leadingChain, links) -> match links with | [] -> - fun ctx -> - isShortExpression - ctx.Config.MaxDotGetExpressionWidth - short - (match leadingChain with - | [] -> sepNone - | head :: links -> genLink false head +> indent +> genIndentedLinks true links +> unindent) - ctx + expressionFitsOnRestOfLine + short + (match leadingChain with + | [] -> sepNone + | head :: links -> genLink false head +> indent +> genIndentedLinks true links +> unindent) | _ -> expressionFitsOnRestOfLine (coli sepNone leadingChain (fun idx -> genLink (idx = lastIndex))) @@ -1028,8 +1025,7 @@ let genExpr (e: Expr) = | head :: links -> genFirstLinkAndIndentOther head links - (fun ctx -> isShortExpression ctx.Config.MaxDotGetExpressionWidth short long ctx) - |> genNode node + expressionFitsOnRestOfLine short long |> genNode node // path.Replace("../../../", "....") | Expr.AppLongIdentAndSingleParenArg node -> diff --git a/src/Fantomas.Core/FormatConfig.fs b/src/Fantomas.Core/FormatConfig.fs index e2abad724..20692b189 100644 --- a/src/Fantomas.Core/FormatConfig.fs +++ b/src/Fantomas.Core/FormatConfig.fs @@ -179,10 +179,6 @@ type FormatConfig = [] MaxFunctionBindingWidth: Num - [] - [] - MaxDotGetExpressionWidth: Num - [] [] NewlineBetweenTypeDefinitionAndMembers: bool @@ -257,7 +253,6 @@ type FormatConfig = ArrayOrListMultilineFormatter = MultilineFormatterType.CharacterWidth MaxValueBindingWidth = 80 MaxFunctionBindingWidth = 40 - MaxDotGetExpressionWidth = 80 NewlineBetweenTypeDefinitionAndMembers = true AlignFunctionSignatureToIndentation = false AlternativeLongMemberDefinitions = false From 724aa043eaa03365ff2ccd628bd39e89921570df Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 29 Nov 2024 08:42:00 +0100 Subject: [PATCH 25/32] Add alpha 3 entry in changelog --- CHANGELOG.md | 5 +++++ build.fsx | 20 ++++++++++++++++++++ docs/docs/end-users/UpgradeGuide.md | 8 ++++++++ 3 files changed, 33 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9f77d6b5..c5c2b31b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 7.0.0-alpha-003 - 2024-11-29 + +### Removed +* setting `MaxDotGetExpressionWidth`. [#3138](https://github.com/fsprojects/fantomas/pull/3138) + ## 7.0.0-alpha-002 - 2024-11-02 ### Changed diff --git a/build.fsx b/build.fsx index 49be79b35..896b9a95e 100644 --- a/build.fsx +++ b/build.fsx @@ -478,4 +478,24 @@ pipeline "Release" { runIfOnlySpecified true } +pipeline "PublishAlpha" { + workingDir __SOURCE_DIRECTORY__ + stage "Clean" { run (cleanFolders [| analysisReportsDir; "artifacts" |]) } + stage "Build" { run "dotnet build -c Release --tl" } + stage "Pack" { run "dotnet pack --no-restore -c Release --tl" } + stage "Publish" { + run (fun ctx -> + async { + let nugetPackages = + Directory.EnumerateFiles("artifacts/package/release", "*.nupkg", SearchOption.TopDirectoryOnly) + |> Seq.filter (fun nupkg -> not (nupkg.Contains("Fantomas.Client"))) + |> Seq.toArray + + let! nugetExitCodes = nugetPackages |> Array.map pushPackage |> Async.Sequential + + return Seq.sum nugetExitCodes + }) + } +} + tryPrintPipelineCommandHelp () diff --git a/docs/docs/end-users/UpgradeGuide.md b/docs/docs/end-users/UpgradeGuide.md index 637521550..c0767fff2 100644 --- a/docs/docs/end-users/UpgradeGuide.md +++ b/docs/docs/end-users/UpgradeGuide.md @@ -82,4 +82,12 @@ fsharp_experimental_stroustrup_style = true ### Miscellaneous - The namespace in [Fantomas.FCS](https://www.nuget.org/packages/Fantomas.FCS) changed from `FSharp.Compiler` to `Fantomas.FCS`. +## v7 alpha + +### console application +- Target framework is now `net8.0`. + +### .editorconfig +- `fsharp_max_dot_get_expression_width` was removed. + From 335f9bce4e229a057c02dde2e46805dc84924d6f Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 29 Nov 2024 08:47:14 +0100 Subject: [PATCH 26/32] Bump F# Core version --- Directory.Packages.props | 2 +- src/Fantomas.Benchmarks/packages.lock.json | 10 +++++----- src/Fantomas.Client.Tests/packages.lock.json | 8 ++++---- src/Fantomas.Client/Fantomas.Client.fsproj | 2 +- src/Fantomas.Client/packages.lock.json | 6 +++--- src/Fantomas.Core.Tests/packages.lock.json | 10 +++++----- src/Fantomas.Core/packages.lock.json | 8 ++++---- src/Fantomas.FCS/packages.lock.json | 6 +++--- src/Fantomas.Tests/packages.lock.json | 14 +++++++------- src/Fantomas/packages.lock.json | 12 ++++++------ 10 files changed, 39 insertions(+), 39 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 37b265adc..3570a9c42 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -4,7 +4,7 @@ true - + diff --git a/src/Fantomas.Benchmarks/packages.lock.json b/src/Fantomas.Benchmarks/packages.lock.json index 9b5a34797..a5fae6101 100644 --- a/src/Fantomas.Benchmarks/packages.lock.json +++ b/src/Fantomas.Benchmarks/packages.lock.json @@ -28,9 +28,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[6.0.1, )", - "resolved": "6.0.1", - "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" + "requested": "[8.0.100, )", + "resolved": "8.0.100", + "contentHash": "ZOVZ/o+jI3ormTZOa28Wh0tSRoyle1f7lKFcUN61sPiXI7eDZu8eSveFybgTeyIEyW0ujjp31cp7GOglDgsNEg==" }, "G-Research.FSharp.Analyzers": { "type": "Direct", @@ -274,14 +274,14 @@ "fantomas.core": { "type": "Project", "dependencies": { - "FSharp.Core": "[6.0.1, )", + "FSharp.Core": "[8.0.100, )", "Fantomas.FCS": "[1.0.0, )" } }, "fantomas.fcs": { "type": "Project", "dependencies": { - "FSharp.Core": "[6.0.1, )", + "FSharp.Core": "[8.0.100, )", "System.Collections.Immutable": "[7.0.0, )", "System.Diagnostics.DiagnosticSource": "[7.0.0, )", "System.Memory": "[4.5.5, )", diff --git a/src/Fantomas.Client.Tests/packages.lock.json b/src/Fantomas.Client.Tests/packages.lock.json index c3cc3d7db..f3ed6e788 100644 --- a/src/Fantomas.Client.Tests/packages.lock.json +++ b/src/Fantomas.Client.Tests/packages.lock.json @@ -16,9 +16,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[6.0.1, )", - "resolved": "6.0.1", - "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" + "requested": "[8.0.100, )", + "resolved": "8.0.100", + "contentHash": "ZOVZ/o+jI3ormTZOa28Wh0tSRoyle1f7lKFcUN61sPiXI7eDZu8eSveFybgTeyIEyW0ujjp31cp7GOglDgsNEg==" }, "G-Research.FSharp.Analyzers": { "type": "Direct", @@ -755,7 +755,7 @@ "fantomas.client": { "type": "Project", "dependencies": { - "FSharp.Core": "[5.0.1, )", + "FSharp.Core": "[8.0.100, )", "SemanticVersioning": "[2.0.2, )", "StreamJsonRpc": "[2.8.28, )" } diff --git a/src/Fantomas.Client/Fantomas.Client.fsproj b/src/Fantomas.Client/Fantomas.Client.fsproj index 02c6aef7e..5fec5fed3 100644 --- a/src/Fantomas.Client/Fantomas.Client.fsproj +++ b/src/Fantomas.Client/Fantomas.Client.fsproj @@ -18,7 +18,7 @@ - + diff --git a/src/Fantomas.Client/packages.lock.json b/src/Fantomas.Client/packages.lock.json index 57fc70151..ca87b93aa 100644 --- a/src/Fantomas.Client/packages.lock.json +++ b/src/Fantomas.Client/packages.lock.json @@ -22,9 +22,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[5.0.1, )", - "resolved": "5.0.1", - "contentHash": "96YN8cgEVSpFhENBs+oXmxskFOQIjdW/pGCtyR+X8URYGbbQk0Fpu56uKHTOl7BEj6bSiZCuE8sjr9FdlXjoUQ==" + "requested": "[8.0.100, )", + "resolved": "8.0.100", + "contentHash": "ZOVZ/o+jI3ormTZOa28Wh0tSRoyle1f7lKFcUN61sPiXI7eDZu8eSveFybgTeyIEyW0ujjp31cp7GOglDgsNEg==" }, "G-Research.FSharp.Analyzers": { "type": "Direct", diff --git a/src/Fantomas.Core.Tests/packages.lock.json b/src/Fantomas.Core.Tests/packages.lock.json index 9da29aaa1..d40c6536f 100644 --- a/src/Fantomas.Core.Tests/packages.lock.json +++ b/src/Fantomas.Core.Tests/packages.lock.json @@ -19,9 +19,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[6.0.1, )", - "resolved": "6.0.1", - "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" + "requested": "[8.0.100, )", + "resolved": "8.0.100", + "contentHash": "ZOVZ/o+jI3ormTZOa28Wh0tSRoyle1f7lKFcUN61sPiXI7eDZu8eSveFybgTeyIEyW0ujjp31cp7GOglDgsNEg==" }, "FsUnit": { "type": "Direct", @@ -144,14 +144,14 @@ "fantomas.core": { "type": "Project", "dependencies": { - "FSharp.Core": "[6.0.1, )", + "FSharp.Core": "[8.0.100, )", "Fantomas.FCS": "[1.0.0, )" } }, "fantomas.fcs": { "type": "Project", "dependencies": { - "FSharp.Core": "[6.0.1, )", + "FSharp.Core": "[8.0.100, )", "System.Collections.Immutable": "[7.0.0, )", "System.Diagnostics.DiagnosticSource": "[7.0.0, )", "System.Memory": "[4.5.5, )", diff --git a/src/Fantomas.Core/packages.lock.json b/src/Fantomas.Core/packages.lock.json index ed4ccc3fe..62104cf4b 100644 --- a/src/Fantomas.Core/packages.lock.json +++ b/src/Fantomas.Core/packages.lock.json @@ -22,9 +22,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[6.0.1, )", - "resolved": "6.0.1", - "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" + "requested": "[8.0.100, )", + "resolved": "8.0.100", + "contentHash": "ZOVZ/o+jI3ormTZOa28Wh0tSRoyle1f7lKFcUN61sPiXI7eDZu8eSveFybgTeyIEyW0ujjp31cp7GOglDgsNEg==" }, "G-Research.FSharp.Analyzers": { "type": "Direct", @@ -127,7 +127,7 @@ "fantomas.fcs": { "type": "Project", "dependencies": { - "FSharp.Core": "[6.0.1, )", + "FSharp.Core": "[8.0.100, )", "System.Collections.Immutable": "[7.0.0, )", "System.Diagnostics.DiagnosticSource": "[7.0.0, )", "System.Memory": "[4.5.5, )", diff --git a/src/Fantomas.FCS/packages.lock.json b/src/Fantomas.FCS/packages.lock.json index f73abbc81..51d3c275f 100644 --- a/src/Fantomas.FCS/packages.lock.json +++ b/src/Fantomas.FCS/packages.lock.json @@ -22,9 +22,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[6.0.1, )", - "resolved": "6.0.1", - "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" + "requested": "[8.0.100, )", + "resolved": "8.0.100", + "contentHash": "ZOVZ/o+jI3ormTZOa28Wh0tSRoyle1f7lKFcUN61sPiXI7eDZu8eSveFybgTeyIEyW0ujjp31cp7GOglDgsNEg==" }, "FsLexYacc": { "type": "Direct", diff --git a/src/Fantomas.Tests/packages.lock.json b/src/Fantomas.Tests/packages.lock.json index 2d6c37764..f6f5d01b5 100644 --- a/src/Fantomas.Tests/packages.lock.json +++ b/src/Fantomas.Tests/packages.lock.json @@ -19,9 +19,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[6.0.1, )", - "resolved": "6.0.1", - "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" + "requested": "[8.0.100, )", + "resolved": "8.0.100", + "contentHash": "ZOVZ/o+jI3ormTZOa28Wh0tSRoyle1f7lKFcUN61sPiXI7eDZu8eSveFybgTeyIEyW0ujjp31cp7GOglDgsNEg==" }, "FsUnit": { "type": "Direct", @@ -821,7 +821,7 @@ "type": "Project", "dependencies": { "Argu": "[6.2.4, )", - "FSharp.Core": "[6.0.1, )", + "FSharp.Core": "[8.0.100, )", "Fantomas.Client": "[1.0.0, )", "Fantomas.Core": "[1.0.0, )", "Ignore": "[0.1.50, )", @@ -838,7 +838,7 @@ "fantomas.client": { "type": "Project", "dependencies": { - "FSharp.Core": "[5.0.1, )", + "FSharp.Core": "[8.0.100, )", "SemanticVersioning": "[2.0.2, )", "StreamJsonRpc": "[2.8.28, )" } @@ -846,14 +846,14 @@ "fantomas.core": { "type": "Project", "dependencies": { - "FSharp.Core": "[6.0.1, )", + "FSharp.Core": "[8.0.100, )", "Fantomas.FCS": "[1.0.0, )" } }, "fantomas.fcs": { "type": "Project", "dependencies": { - "FSharp.Core": "[6.0.1, )", + "FSharp.Core": "[8.0.100, )", "System.Collections.Immutable": "[7.0.0, )", "System.Diagnostics.DiagnosticSource": "[7.0.0, )", "System.Memory": "[4.5.5, )", diff --git a/src/Fantomas/packages.lock.json b/src/Fantomas/packages.lock.json index d0d3541ea..e3c4a30c0 100644 --- a/src/Fantomas/packages.lock.json +++ b/src/Fantomas/packages.lock.json @@ -38,9 +38,9 @@ }, "FSharp.Core": { "type": "Direct", - "requested": "[6.0.1, )", - "resolved": "6.0.1", - "contentHash": "VrFAiW8dEEekk+0aqlbvMNZzDvYXmgWZwAt68AUBqaWK8RnoEVUNglj66bZzhs4/U63q0EfXlhcEKnH1sTYLjw==" + "requested": "[8.0.100, )", + "resolved": "8.0.100", + "contentHash": "ZOVZ/o+jI3ormTZOa28Wh0tSRoyle1f7lKFcUN61sPiXI7eDZu8eSveFybgTeyIEyW0ujjp31cp7GOglDgsNEg==" }, "G-Research.FSharp.Analyzers": { "type": "Direct", @@ -890,7 +890,7 @@ "fantomas.client": { "type": "Project", "dependencies": { - "FSharp.Core": "[5.0.1, )", + "FSharp.Core": "[8.0.100, )", "SemanticVersioning": "[2.0.2, )", "StreamJsonRpc": "[2.8.28, )" } @@ -898,14 +898,14 @@ "fantomas.core": { "type": "Project", "dependencies": { - "FSharp.Core": "[6.0.1, )", + "FSharp.Core": "[8.0.100, )", "Fantomas.FCS": "[1.0.0, )" } }, "fantomas.fcs": { "type": "Project", "dependencies": { - "FSharp.Core": "[6.0.1, )", + "FSharp.Core": "[8.0.100, )", "System.Collections.Immutable": "[7.0.0, )", "System.Diagnostics.DiagnosticSource": "[7.0.0, )", "System.Memory": "[4.5.5, )", From cc21486e7684c060303ead80cc7cec78999e25d4 Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 29 Nov 2024 09:11:02 +0100 Subject: [PATCH 27/32] Update NuGet dependencies --- Directory.Packages.props | 36 +- NuGet.config | 5 - src/Fantomas.Benchmarks/packages.lock.json | 54 +- src/Fantomas.Client.Tests/packages.lock.json | 767 ++--------------- src/Fantomas.Client/packages.lock.json | 724 +++------------- src/Fantomas.Core.Tests/packages.lock.json | 98 +-- src/Fantomas.Core/packages.lock.json | 42 +- src/Fantomas.FCS/packages.lock.json | 48 +- src/Fantomas.Tests/packages.lock.json | 852 +++---------------- src/Fantomas/packages.lock.json | 776 ++--------------- 10 files changed, 490 insertions(+), 2912 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 3570a9c42..084fea47d 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -5,11 +5,11 @@ - - - + + + - + @@ -18,26 +18,26 @@ - + - - + + - + - - - - + + + + - - - - - + + + + + - + \ No newline at end of file diff --git a/NuGet.config b/NuGet.config index dba2cef5d..a70bac65f 100644 --- a/NuGet.config +++ b/NuGet.config @@ -3,14 +3,9 @@ - - - - - diff --git a/src/Fantomas.Benchmarks/packages.lock.json b/src/Fantomas.Benchmarks/packages.lock.json index a5fae6101..cc618a980 100644 --- a/src/Fantomas.Benchmarks/packages.lock.json +++ b/src/Fantomas.Benchmarks/packages.lock.json @@ -4,19 +4,19 @@ "net8.0": { "BenchmarkDotNet": { "type": "Direct", - "requested": "[0.13.13-nightly.20240213.132, )", - "resolved": "0.13.13-nightly.20240213.132", - "contentHash": "2dGQPEr47nGnsgipskl3rWS+dVWm+xkVzS/1jAF49VdDdGh6JLQkaVv5k59UewMF6ofGV1EvF5HeO55wwTRaww==", + "requested": "[0.14.0, )", + "resolved": "0.14.0", + "contentHash": "eIPSDKi3oni734M1rt/XJAwGQQOIf9gLjRRKKJ0HuVy3vYd7gnmAIX1bTjzI9ZbAY/nPddgqqgM/TeBYitMCIg==", "dependencies": { - "BenchmarkDotNet.Annotations": "0.13.13-nightly.20240213.132", + "BenchmarkDotNet.Annotations": "0.14.0", "CommandLineParser": "2.9.1", "Gee.External.Capstone": "2.3.0", "Iced": "1.17.0", "Microsoft.CodeAnalysis.CSharp": "4.1.0", "Microsoft.Diagnostics.Runtime": "2.2.332302", - "Microsoft.Diagnostics.Tracing.TraceEvent": "3.0.2", + "Microsoft.Diagnostics.Tracing.TraceEvent": "3.1.8", "Microsoft.DotNet.PlatformAbstractions": "3.1.6", - "Perfolizer": "[0.2.1]", + "Perfolizer": "[0.3.17]", "System.Management": "5.0.0" } }, @@ -46,8 +46,8 @@ }, "BenchmarkDotNet.Annotations": { "type": "Transitive", - "resolved": "0.13.13-nightly.20240213.132", - "contentHash": "G40jV79QmtgQbqaIPUmQ2CCswnfO7j/tdL0ENbAevVsuBW5rGoxj2V3NlMiSUQO9MogRk3rWMnXytFYcRFmP4w==" + "resolved": "0.14.0", + "contentHash": "CUDCg6bgHrDzhjnA+IOBl5gAo8Y5hZ2YSs7MBXrYMlMKpBZqrD5ez0537uDveOkcf+YWAoK+S4sMcuWPbIz8bw==" }, "CommandLineParser": { "type": "Transitive", @@ -117,10 +117,11 @@ }, "Microsoft.Diagnostics.Tracing.TraceEvent": { "type": "Transitive", - "resolved": "3.0.2", - "contentHash": "Pr7t+Z/qBe6DxCow4BmYmDycHe2MrGESaflWXRcSUI4XNGyznx1ttS+9JNOxLuBZSoBSPTKw9Dyheo01Yi6anQ==", + "resolved": "3.1.8", + "contentHash": "kl3UMrZKSeSEYZ8rt/GjLUQToREjgQABqfg6PzQBmSlYHTZOKE9ePEOS2xptROQ9SVvngg3QGX51TIT11iZ0wA==", "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "4.5.3" + "Microsoft.Win32.Registry": "4.4.0", + "System.Runtime.CompilerServices.Unsafe": "5.0.0" } }, "Microsoft.DotNet.PlatformAbstractions": { @@ -212,11 +213,8 @@ }, "Perfolizer": { "type": "Transitive", - "resolved": "0.2.1", - "contentHash": "Dt4aCxCT8NPtWBKA8k+FsN/RezOQ2C6omNGm5o/qmYRiIwlQYF93UgFmeF1ezVNsztTnkg7P5P63AE+uNkLfrw==", - "dependencies": { - "System.Memory": "4.5.3" - } + "resolved": "0.3.17", + "contentHash": "FQgtCoF2HFwvzKWulAwBS5BGLlh8pgbrJtOp47jyBwh2CW16juVtacN1azOA2BqdrJXkXTNLNRMo7ZlHHiuAnA==" }, "System.CodeDom": { "type": "Transitive", @@ -282,29 +280,29 @@ "type": "Project", "dependencies": { "FSharp.Core": "[8.0.100, )", - "System.Collections.Immutable": "[7.0.0, )", - "System.Diagnostics.DiagnosticSource": "[7.0.0, )", - "System.Memory": "[4.5.5, )", + "System.Collections.Immutable": "[8.0.0, )", + "System.Diagnostics.DiagnosticSource": "[8.0.1, )", + "System.Memory": "[4.6.0, )", "System.Runtime": "[4.3.1, )" } }, "System.Collections.Immutable": { "type": "CentralTransitive", - "requested": "[7.0.0, )", - "resolved": "7.0.0", - "contentHash": "dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ==" + "requested": "[8.0.0, )", + "resolved": "8.0.0", + "contentHash": "AurL6Y5BA1WotzlEvVaIDpqzpIPvYnnldxru8oXJU2yFxFUy3+pNXjXd1ymO+RA0rq0+590Q8gaz2l3Sr7fmqg==" }, "System.Diagnostics.DiagnosticSource": { "type": "CentralTransitive", - "requested": "[7.0.0, )", - "resolved": "7.0.0", - "contentHash": "9W0ewWDuAyDqS2PigdTxk6jDKonfgscY/hP8hm7VpxYhNHZHKvZTdRckberlFk3VnCmr3xBUyMBut12Q+T2aOw==" + "requested": "[8.0.1, )", + "resolved": "8.0.1", + "contentHash": "vaoWjvkG1aenR2XdjaVivlCV9fADfgyhW5bZtXT23qaEea0lWiUljdQuze4E31vKM7ZWJaSUsbYIKE3rnzfZUg==" }, "System.Memory": { "type": "CentralTransitive", - "requested": "[4.5.5, )", - "resolved": "4.5.5", - "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==" + "requested": "[4.6.0, )", + "resolved": "4.6.0", + "contentHash": "OEkbBQoklHngJ8UD8ez2AERSk2g+/qpAaSWWCBFbpH727HxDq5ydVkuncBaKcKfwRqXGWx64dS6G1SUScMsitg==" }, "System.Runtime": { "type": "CentralTransitive", diff --git a/src/Fantomas.Client.Tests/packages.lock.json b/src/Fantomas.Client.Tests/packages.lock.json index f3ed6e788..6bbec117f 100644 --- a/src/Fantomas.Client.Tests/packages.lock.json +++ b/src/Fantomas.Client.Tests/packages.lock.json @@ -4,9 +4,9 @@ "net8.0": { "CliWrap": { "type": "Direct", - "requested": "[3.6.4, )", - "resolved": "3.6.4", - "contentHash": "KVGVZlR0GWgN3Xr88oZMSzYu38TXIogwLz588e6wku3mIfg6lPchxpYWtZSZfurpTY63ANF61xWp8EZF3jkN4g==" + "requested": "[3.6.7, )", + "resolved": "3.6.7", + "contentHash": "KYhA0OAGmNg22xI2OjkqG0zlgd61OCJOHYb+/uvSILriQNMQNmAjsRj7OqAh9dgltEuNpuPvN9+Y7pMBD/0NyQ==" }, "FSharp.Analyzers.Build": { "type": "Direct", @@ -34,730 +34,112 @@ }, "Microsoft.NET.Test.Sdk": { "type": "Direct", - "requested": "[17.8.0, )", - "resolved": "17.8.0", - "contentHash": "BmTYGbD/YuDHmApIENdoyN1jCk0Rj1fJB0+B/fVekyTdVidr91IlzhqzytiUgaEAzL1ZJcYCme0MeBMYvJVzvw==", + "requested": "[17.12.0, )", + "resolved": "17.12.0", + "contentHash": "kt/PKBZ91rFCWxVIJZSgVLk+YR+4KxTuHf799ho8WNiK5ZQpJNAEZCAWX86vcKrs+DiYjiibpYKdGZP6+/N17w==", "dependencies": { - "Microsoft.CodeCoverage": "17.8.0", - "Microsoft.TestPlatform.TestHost": "17.8.0" + "Microsoft.CodeCoverage": "17.12.0", + "Microsoft.TestPlatform.TestHost": "17.12.0" } }, "NUnit": { "type": "Direct", - "requested": "[4.0.1, )", - "resolved": "4.0.1", - "contentHash": "jNTHZ01hJsDNPDSBycoHpavFZUBf9vRVQLCyuo78LRrrFj6Ol/CeqK+NIeTk5d8Eycjk59KseWb7X5Ge6z7CgQ==" + "requested": "[4.2.2, )", + "resolved": "4.2.2", + "contentHash": "mon0OPko28yZ/foVXrhiUvq1LReaGsBdziumyyYGxV/pOE4q92fuYeN+AF+gEU5pCjzykcdBt5l7xobTaiBjsg==" }, "NUnit3TestAdapter": { "type": "Direct", - "requested": "[4.5.0, )", - "resolved": "4.5.0", - "contentHash": "s8JpqTe9bI2f49Pfr3dFRfoVSuFQyraTj68c3XXjIS/MRGvvkLnrg6RLqnTjdShX+AdFUCCU/4Xex58AdUfs6A==" + "requested": "[4.6.0, )", + "resolved": "4.6.0", + "contentHash": "R7e1+a4vuV/YS+ItfL7f//rG+JBvVeVLX4mHzFEZo4W1qEKl8Zz27AqvQSAqo+BtIzUCo4aAJMYa56VXS4hudw==" }, "MessagePack": { "type": "Transitive", - "resolved": "2.2.85", - "contentHash": "3SqAgwNV5LOf+ZapHmjQMUc7WDy/1ur9CfFNjgnfMZKCB5CxkVVbyHa06fObjGTEHZI7mcDathYjkI+ncr92ZQ==", + "resolved": "2.5.187", + "contentHash": "uW4j8m4Nc+2Mk5n6arOChavJ9bLjkis0qWASOj2h2OwmfINuzYv+mjCHUymrYhmyyKTu3N+ObtTXAY4uQ7jIhg==", "dependencies": { - "MessagePack.Annotations": "2.2.85", - "Microsoft.Bcl.AsyncInterfaces": "1.0.0", - "System.Collections.Immutable": "1.5.0", - "System.Memory": "4.5.3", - "System.Reflection.Emit": "4.6.0", - "System.Reflection.Emit.Lightweight": "4.6.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.2", - "System.Threading.Tasks.Extensions": "4.5.3" + "MessagePack.Annotations": "2.5.187", + "Microsoft.NET.StringTools": "17.6.3" } }, "MessagePack.Annotations": { "type": "Transitive", - "resolved": "2.2.85", - "contentHash": "YptRsDCQK35K5FhmZ0LojW4t8I6DpetLfK5KG8PVY2f6h7/gdyr8f4++xdSEK/xS6XX7/GPvEpqszKVPksCsiQ==" - }, - "Microsoft.Bcl.AsyncInterfaces": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "W8DPQjkMScOMTtJbPwmPyj9c3zYSFGawDW3jwlBOOsnY+EzZFLgNQ/UMkK35JmkNOVPdCyPr2Tw7Vv9N+KA3ZQ==" + "resolved": "2.5.187", + "contentHash": "/IvvMMS8opvlHjEJ/fR2Cal4Co726Kj77Z8KiohFhuHfLHHmb9uUxW5+tSCL4ToKFfkQlrS3HD638mRq83ySqA==" }, "Microsoft.CodeCoverage": { "type": "Transitive", - "resolved": "17.8.0", - "contentHash": "KC8SXWbGIdoFVdlxKk9WHccm0llm9HypcHMLUUFabRiTS3SO2fQXNZfdiF3qkEdTJhbRrxhdRxjL4jbtwPq4Ew==" + "resolved": "17.12.0", + "contentHash": "4svMznBd5JM21JIG2xZKGNanAHNXplxf/kQDFfLHXQ3OnpJkayRK/TjacFjA+EYmoyuNXHo/sOETEfcYtAzIrA==" }, - "Microsoft.NETCore.Platforms": { + "Microsoft.NET.StringTools": { "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "VyPlqzH2wavqquTcYpkIIAQ6WdenuKoFN0BdYBbCWsclXacSOHNQn66Gt4z5NBqEYW0FAPm5rlvki9ZiCij5xQ==" - }, - "Microsoft.NETCore.Targets": { - "type": "Transitive", - "resolved": "1.1.3", - "contentHash": "3Wrmi0kJDzClwAC+iBdUBpEKmEle8FQNsCs77fkiOIw/9oYA07bL1EZNX0kQ2OMN3xpwvl0vAtOCYY3ndDNlhQ==" + "resolved": "17.6.3", + "contentHash": "N0ZIanl1QCgvUumEL1laasU0a7sOE5ZwLZVTn0pAePnfhq8P7SvTjF8Axq+CnavuQkmdQpGNXQ1efZtu5kDFbA==" }, "Microsoft.TestPlatform.ObjectModel": { "type": "Transitive", - "resolved": "17.8.0", - "contentHash": "AYy6vlpGMfz5kOFq99L93RGbqftW/8eQTqjT9iGXW6s9MRP3UdtY8idJ8rJcjeSja8A18IhIro5YnH3uv1nz4g==", + "resolved": "17.12.0", + "contentHash": "TDqkTKLfQuAaPcEb3pDDWnh7b3SyZF+/W9OZvWFp6eJCIiiYFdSB6taE2I6tWrFw5ywhzOb6sreoGJTI6m3rSQ==", "dependencies": { - "NuGet.Frameworks": "6.5.0", "System.Reflection.Metadata": "1.6.0" } }, "Microsoft.TestPlatform.TestHost": { "type": "Transitive", - "resolved": "17.8.0", - "contentHash": "9ivcl/7SGRmOT0YYrHQGohWiT5YCpkmy/UEzldfVisLm6QxbLaK3FAJqZXI34rnRLmqqDCeMQxKINwmKwAPiDw==", + "resolved": "17.12.0", + "contentHash": "MiPEJQNyADfwZ4pJNpQex+t9/jOClBGMiCiVVFuELCMSX2nmNfvUor3uFVxNNCg30uxDP8JDYfPnMXQzsfzYyg==", "dependencies": { - "Microsoft.TestPlatform.ObjectModel": "17.8.0", + "Microsoft.TestPlatform.ObjectModel": "17.12.0", "Newtonsoft.Json": "13.0.1" } }, "Microsoft.VisualStudio.Threading": { "type": "Transitive", - "resolved": "16.9.60", - "contentHash": "9igpltD4NDMb1QeLiuAShr4inAG/MEm/GL0VE3tCUXQmwrfrbrmwrhAn5fXy2uiZ1g2s2qSUkyEvx7sp2h7M8Q==", + "resolved": "17.10.48", + "contentHash": "7onkbbE0AOAhxKe+ZAa2NMzo4R5G4qypZmNIE0GhBohT/tl6e5aLnLx4Gg6trf6SUn3DfLRowMtNe5Q+PmhKgQ==", "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "5.0.0", - "Microsoft.VisualStudio.Threading.Analyzers": "16.9.60", - "Microsoft.VisualStudio.Validation": "16.8.33", - "Microsoft.Win32.Registry": "5.0.0", - "System.Threading.Tasks.Extensions": "4.5.4" + "Microsoft.VisualStudio.Threading.Analyzers": "17.10.48", + "Microsoft.VisualStudio.Validation": "17.8.8" } }, "Microsoft.VisualStudio.Threading.Analyzers": { "type": "Transitive", - "resolved": "16.9.60", - "contentHash": "kbl+ra5Ao93lDar3A2vUSdfWiHMYBBsLM3Z6i/t6fH2iPHGyMTqvt3z20XCZ+L+1gcc8lpbhmkFS4rh+zwfsTg==" + "resolved": "17.10.48", + "contentHash": "xwvwT91oqFjLgQykUp6y/JPYxz8LchbfJKrLVatfczWddXKng8DAo8RiiIodt+pRdsVXP9Ud02GtJoY7ifdXPQ==" }, "Microsoft.VisualStudio.Validation": { "type": "Transitive", - "resolved": "16.8.33", - "contentHash": "onzrXL8gsjht1knmmViGLTU3l1LIKoVLDL+gLN9Pdd+gclED9jLgxx/5X3mJHqETHMi7Va//hNCekiJ11LezSg==" - }, - "Microsoft.Win32.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "9ZQKCWxH7Ijp9BfahvL2Zyf1cJIk8XYLF6Yjzr2yi0b2cOut/HQ31qf1ThHAgCc3WiZMdnWcfJCgN82/0UunxA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "Microsoft.Win32.Registry": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "dDoKi0PnDz31yAyETfRntsLArTlVAVzUzCIvvEDsDsucrl33Dl8pIJG06ePTJTI3tGpeyHS9Cq7Foc/s4EeKcg==", - "dependencies": { - "System.Security.AccessControl": "5.0.0", - "System.Security.Principal.Windows": "5.0.0" - } + "resolved": "17.8.8", + "contentHash": "rWXThIpyQd4YIXghNkiv2+VLvzS+MCMKVRDR0GAMlflsdo+YcAN2g2r5U1Ah98OFjQMRexTFtXQQ2LkajxZi3g==" }, "Nerdbank.Streams": { "type": "Transitive", - "resolved": "2.6.81", - "contentHash": "htBHFE359qyyFwrvAGvFxrbBAoldZdl0XjtQdDWTJ8t5sWWs7QVXID5y1ZGJE61UgpV5CqWsj/NT0LOAn5GdZw==", - "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "1.1.1", - "Microsoft.VisualStudio.Threading": "16.7.56", - "Microsoft.VisualStudio.Validation": "15.5.31", - "System.IO.Pipelines": "4.7.2", - "System.Net.WebSockets": "4.3.0", - "System.Runtime.CompilerServices.Unsafe": "4.7.1" - } - }, - "NuGet.Frameworks": { - "type": "Transitive", - "resolved": "6.5.0", - "contentHash": "QWINE2x3MbTODsWT1Gh71GaGb5icBz4chS8VYvTgsBnsi8esgN6wtHhydd7fvToWECYGq7T4cgBBDiKD/363fg==" - }, - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "7VSGO0URRKoMEAq0Sc9cRz8mb6zbyx/BZDEWhgPdzzpmFhkam3fJ1DAGWFXBI4nGlma+uPKpfuMQP5LXRnOH5g==" - }, - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "0oAaTAm6e2oVH+/Zttt0cuhGaePQYKII1dY8iaqP7CvOpVKgLybKRFvQjXR2LtxXOXTVPNv14j0ot8uV+HrUmw==" - }, - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "G24ibsCNi5Kbz0oXWynBoRgtGvsw5ZSVEWjv13/KiCAM8C6wz9zzcCniMeQFIkJ2tasjo2kXlvlBZhplL51kGg==" - }, - "runtime.native.System": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZVuZJqnnegJhd2k/PtAbbIcZ3aZeITq3sj06oKfMBSfphW3HDmk/t4ObvbOk/JA/swGR0LNqMksAh/f7gpTROg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "DloMk88juo0OuOWr56QG7MNchmafTLYWvABy36izkrLI5VledI0rq28KGs1i9wbpeT9NPQrx/wTf8U2vazqQ3Q==", + "resolved": "2.11.74", + "contentHash": "r4G7uHHfoo8LCilPOdtf2C+Q5ymHOAXtciT4ZtB2xRlAvv4gPkWBYNAijFblStv3+uidp81j5DP11jMZl4BfJw==", "dependencies": { - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "4.3.0" - } - }, - "runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "QR1OwtwehHxSeQvZKXe+iSd+d3XZNkEcuWMFYa2i0aG1l+lR739HPicKMlTbJst3spmeekDVBUS7SeS26s4U/g==", - "dependencies": { - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" - } - }, - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "I+GNKGg2xCHueRd1m9PzeEW7WLbNNLznmTuEi8/vZX71HudUbx1UTwlGkiwMri7JLl8hGaIAWnA/GONhu+LOyQ==" - }, - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "1Z3TAq1ytS1IBRtPXJvEUZdVsfWfeNEhBkbiOCGEl9wwAfsjP2lz3ZFDx5tq8p60/EqbS0HItG5piHuB71RjoA==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kVXCuMTrTlxq4XOOMAysuNwsXWpYeboGddNGpIgNSZmv1b6r/s/DPk0fYMB7Q5Qo4bY68o48jt4T4y5BVecbCQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "6mU/cVmmHtQiDXhnzUImxIcDL48GbTk+TsptXyJA+MIOG9LRjPoAQC/qBFB7X+UNyK86bmvGwC8t+M66wsYC8w==" - }, - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "vjwG0GGcTW/PPg6KVud8F9GLWYuAV1rrw1BKAqY0oh4jcUqg15oYF1+qkGR2x2ZHM4DQnWKQ7cJgYbfncz/lYg==" - }, - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "7KMFpTkHC/zoExs+PwP8jDCWcrK9H6L7soowT80CUx3e+nxP/AFnq0AQAW5W76z2WYbLAYCRyPfwYFG6zkvQRw==" - }, - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "xrlmRCnKZJLHxyyLIqkZjNXqgxnKdZxfItrPkjI+6pkRo5lHX8YvSZlWrSI5AVwLMi4HbNWP7064hcAWeZKp5w==" - }, - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "leXiwfiIkW7Gmn7cgnNcdtNAU70SjmKW3jxGj1iKHOvdn0zRWsgv/l2OJUO5zdGdiv2VRFnAsxxhDgMzofPdWg==" - }, - "System.Collections": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Collections.Concurrent": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ztl69Xp0Y/UXCL+3v3tEU+lIy+bvjKNUmopn1wep/a291pVPK7dxBd6T7WnlQqRog+d1a/hSsgRsmFnIBKTPLQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Diagnostics.Debug": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Diagnostics.Tracing": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "rswfv0f/Cqkh78rA5S8eN8Neocz234+emGCtTF3lxPY96F+mmmUen6tbn0glN6PMvlKQb9bPAY5e9u7fgPTkKw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Calendars": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "GUlBtdOWT4LTV3I+9/PJW+56AnnChTaOqqTLFtdmype/L500M2LIyXgmtd9X2P2VOkmJd5c67H5SaC2QcL1bFA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "FhKmdR6MPG+pxow6wGtNAWdZh7noIOpdD5TwQ3CprzgIE1bBBoim0vbR1+AWsWjQmU7zXHgQo4TWSP6lCeiWcQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "System.IO": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.FileSystem": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.FileSystem.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==", - "dependencies": { - "System.Runtime": "4.3.0" + "Microsoft.VisualStudio.Threading": "17.10.48", + "Microsoft.VisualStudio.Validation": "17.8.8", + "System.IO.Pipelines": "8.0.0" } }, "System.IO.Pipelines": { "type": "Transitive", - "resolved": "5.0.1", - "contentHash": "qEePWsaq9LoEEIqhbGe6D5J8c9IqQOUuTzzV6wn1POlfdLkJliZY3OlB0j0f17uMWlqZYjH7txj+2YbyrIA8Yg==" - }, - "System.Linq": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.4", - "contentHash": "aOa2d51SEbmM+H+Csw7yJOuNZoHkrP2XnAurye5HWYgGVVU54YZDvsLUYRv6h18X3sPnjNCANmN7ZhIPiqMcjA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.1", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.DiagnosticSource": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Extensions": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Security.Cryptography.X509Certificates": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" - } - }, - "System.Net.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "qOu+hDwFwoZPbzPvwut2qATe3ygjeQBDQj91xlsaqGFQUI5i4ZnZb8yyQuLGpDGivEPIt8EJkd1BVzVoP31FXA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Net.WebSockets": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "u6fFNY5q4T8KerUAVbya7bR6b7muBuSTAersyrihkcmE5QhEOiH3t5rh4il15SexbVlpXFHGuMwr/m8fDrnkQg==", - "dependencies": { - "Microsoft.Win32.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Reflection": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit": { - "type": "Transitive", - "resolved": "4.7.0", - "contentHash": "VR4kk8XLKebQ4MZuKuIni/7oh+QGFmZW3qORd1GvBq/8026OpW501SzT/oypwiQl4TvT8ErnReh/NzY9u+C6wQ==" - }, - "System.Reflection.Emit.Lightweight": { - "type": "Transitive", - "resolved": "4.6.0", - "contentHash": "j/V5HVvxvBQ7uubYD0PptQW2KGsi1Pc2kZ9yfwLixv3ADdjL/4M78KyC5e+ymW612DY8ZE4PFoZmWpoNmN2mqg==" + "resolved": "8.0.0", + "contentHash": "FHNOatmUq0sqJOkTx+UF/9YK1f180cnW5FVqnQMvYUN0elp6wFzbtPSiqbo1/ru8ICp43JM1i7kKkk6GsNGHlA==" }, "System.Reflection.Metadata": { "type": "Transitive", "resolved": "1.6.0", "contentHash": "COC1aiAJjCoA5GBF+QKL2uLqEBew4JsCkQmoHKbN3TlOZKa2fKLz5CpiRQKDz0RsAOEGsVKqOD5bomsXq/4STQ==" }, - "System.Reflection.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Resources.ResourceManager": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "4.7.1", - "contentHash": "zOHkQmzPCn5zm/BH+cxC1XbUS3P4Yoi3xzW7eRgVpDR2tPGSzyMZ17Ig1iRkfJuY0nhxkQQde8pgePNiA7z7TQ==" - }, - "System.Runtime.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.Handles": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.InteropServices": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Reflection": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Runtime.Numerics": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "yMH+MfdzHjy17l2KESnPiF2dwq7T+xLnSJar7slyimAkUh/gTrS9/UQOtv7xarskJ2/XDSNvfLGOBQPjL7PaHQ==", - "dependencies": { - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Security.AccessControl": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "dagJ1mHZO3Ani8GH0PHpPEe/oYO+rVdbQjvjJkBRNQkX4t0r1iaeGn8+/ybkSLEan3/slM0t59SVdHzuHf2jmw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "5.0.0", - "System.Security.Principal.Windows": "5.0.0" - } - }, - "System.Security.Cryptography.Algorithms": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.Apple": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Cng": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "03idZOqFlsKRL4W+LuCpJ6dBYDUWReug6lZjBa3uJWnk5sPCUXckocevTaUA8iT/MFSrY/2HXkOt753xQ/cf8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Security.Cryptography.Csp": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X4s/FCkEUnRGnwR3aSfVIkldBmtURMhmexALNTwpjklzxWU7yjMk7GHLKOZTNkgnWnE0q7+BCf9N2LVRWxewaA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Security.Cryptography.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Collections.Concurrent": "4.3.0", - "System.Linq": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "h4CEgOgv5PKVF/HwaHzJRiVboL2THYCou97zpmhjghx5frc7fIvlkY1jL+lnIQyChrJDMNEXS6r7byGif8Cy4w==", - "dependencies": { - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==", - "dependencies": { - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Security.Cryptography.X509Certificates": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Calendars": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Cng": "4.3.0", - "System.Security.Cryptography.Csp": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Principal.Windows": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "t0MGLukB5WAVU9bO3MGzvlGnyJPgUlcwerXn1kzBRjwLKixT96XV0Uza41W49gVd8zEMFu9vQEFlv0IOrytICA==" - }, - "System.Text.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Threading": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==", - "dependencies": { - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Threading.Tasks": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Threading.Tasks.Dataflow": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "NBp0zSAMZp4muDje6XmbDfmkqw9+qsDCHp+YMEtnVgHEjQZ3Q7MzFTTp3eHqpExn4BwMrS7JkUVOTcVchig4Sw==" - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.5.4", - "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==" - }, "fantomas.client": { "type": "Project", "dependencies": { "FSharp.Core": "[8.0.100, )", "SemanticVersioning": "[2.0.2, )", - "StreamJsonRpc": "[2.8.28, )" + "StreamJsonRpc": "[2.20.20, )" } }, "Newtonsoft.Json": { @@ -774,52 +156,17 @@ }, "StreamJsonRpc": { "type": "CentralTransitive", - "requested": "[2.8.28, )", - "resolved": "2.8.28", - "contentHash": "i2hKUXJSLEoWpPqQNyISqLDqmFHMiyasjTC/PrrHNWhQyauFeVoebSct3E4OTUzRC1DYjVJ9AMiVbp/uVYLnjQ==", - "dependencies": { - "MessagePack": "2.2.85", - "Microsoft.Bcl.AsyncInterfaces": "5.0.0", - "Microsoft.VisualStudio.Threading": "16.9.60", - "Nerdbank.Streams": "2.6.81", - "Newtonsoft.Json": "12.0.2", - "System.Collections.Immutable": "5.0.0", - "System.Diagnostics.DiagnosticSource": "5.0.1", - "System.IO.Pipelines": "5.0.1", - "System.Memory": "4.5.4", - "System.Net.Http": "4.3.4", - "System.Net.WebSockets": "4.3.0", - "System.Reflection.Emit": "4.7.0", - "System.Threading.Tasks.Dataflow": "5.0.0", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "System.Collections.Immutable": { - "type": "CentralTransitive", - "requested": "[7.0.0, )", - "resolved": "7.0.0", - "contentHash": "dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ==" - }, - "System.Diagnostics.DiagnosticSource": { - "type": "CentralTransitive", - "requested": "[7.0.0, )", - "resolved": "7.0.0", - "contentHash": "9W0ewWDuAyDqS2PigdTxk6jDKonfgscY/hP8hm7VpxYhNHZHKvZTdRckberlFk3VnCmr3xBUyMBut12Q+T2aOw==" - }, - "System.Memory": { - "type": "CentralTransitive", - "requested": "[4.5.5, )", - "resolved": "4.5.5", - "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==" - }, - "System.Runtime": { - "type": "CentralTransitive", - "requested": "[4.3.1, )", - "resolved": "4.3.1", - "contentHash": "abhfv1dTK6NXOmu4bgHIONxHyEqFjW8HwXPmpY9gmll+ix9UNo4XDcmzJn6oLooftxNssVHdJC1pGT9jkSynQg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.1", - "Microsoft.NETCore.Targets": "1.1.3" + "requested": "[2.20.20, )", + "resolved": "2.20.20", + "contentHash": "gwG7KViLbSWS7EI0kYevinVmIga9wZNrpSY/FnWyC6DbdjKJ1xlv/FV1L9b0rLkVP8cGxfIMexdvo/+2W5eq6Q==", + "dependencies": { + "MessagePack": "2.5.187", + "Microsoft.VisualStudio.Threading": "17.10.48", + "Microsoft.VisualStudio.Threading.Analyzers": "17.10.48", + "Microsoft.VisualStudio.Validation": "17.8.8", + "Nerdbank.Streams": "2.11.74", + "Newtonsoft.Json": "13.0.1", + "System.IO.Pipelines": "8.0.0" } } } diff --git a/src/Fantomas.Client/packages.lock.json b/src/Fantomas.Client/packages.lock.json index ca87b93aa..65f0ab569 100644 --- a/src/Fantomas.Client/packages.lock.json +++ b/src/Fantomas.Client/packages.lock.json @@ -61,50 +61,48 @@ }, "StreamJsonRpc": { "type": "Direct", - "requested": "[2.8.28, )", - "resolved": "2.8.28", - "contentHash": "i2hKUXJSLEoWpPqQNyISqLDqmFHMiyasjTC/PrrHNWhQyauFeVoebSct3E4OTUzRC1DYjVJ9AMiVbp/uVYLnjQ==", - "dependencies": { - "MessagePack": "2.2.85", - "Microsoft.Bcl.AsyncInterfaces": "5.0.0", - "Microsoft.VisualStudio.Threading": "16.9.60", - "Nerdbank.Streams": "2.6.81", - "Newtonsoft.Json": "12.0.2", - "System.Collections.Immutable": "5.0.0", - "System.Diagnostics.DiagnosticSource": "5.0.1", - "System.IO.Pipelines": "5.0.1", - "System.Memory": "4.5.4", - "System.Net.Http": "4.3.4", - "System.Net.WebSockets": "4.3.0", - "System.Reflection.Emit": "4.7.0", - "System.Threading.Tasks.Dataflow": "5.0.0", - "System.Threading.Tasks.Extensions": "4.5.4" + "requested": "[2.20.20, )", + "resolved": "2.20.20", + "contentHash": "gwG7KViLbSWS7EI0kYevinVmIga9wZNrpSY/FnWyC6DbdjKJ1xlv/FV1L9b0rLkVP8cGxfIMexdvo/+2W5eq6Q==", + "dependencies": { + "MessagePack": "2.5.187", + "Microsoft.Bcl.AsyncInterfaces": "8.0.0", + "Microsoft.VisualStudio.Threading": "17.10.48", + "Microsoft.VisualStudio.Threading.Analyzers": "17.10.48", + "Microsoft.VisualStudio.Validation": "17.8.8", + "Nerdbank.Streams": "2.11.74", + "Newtonsoft.Json": "13.0.1", + "System.Collections.Immutable": "6.0.0", + "System.Diagnostics.DiagnosticSource": "6.0.1", + "System.IO.Pipelines": "8.0.0", + "System.Text.Json": "8.0.5", + "System.Threading.Tasks.Dataflow": "6.0.0" } }, "MessagePack": { "type": "Transitive", - "resolved": "2.2.85", - "contentHash": "3SqAgwNV5LOf+ZapHmjQMUc7WDy/1ur9CfFNjgnfMZKCB5CxkVVbyHa06fObjGTEHZI7mcDathYjkI+ncr92ZQ==", + "resolved": "2.5.187", + "contentHash": "uW4j8m4Nc+2Mk5n6arOChavJ9bLjkis0qWASOj2h2OwmfINuzYv+mjCHUymrYhmyyKTu3N+ObtTXAY4uQ7jIhg==", "dependencies": { - "MessagePack.Annotations": "2.2.85", - "Microsoft.Bcl.AsyncInterfaces": "1.0.0", - "System.Collections.Immutable": "1.5.0", - "System.Memory": "4.5.3", - "System.Reflection.Emit": "4.6.0", - "System.Reflection.Emit.Lightweight": "4.6.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.2", - "System.Threading.Tasks.Extensions": "4.5.3" + "MessagePack.Annotations": "2.5.187", + "Microsoft.Bcl.AsyncInterfaces": "6.0.0", + "Microsoft.NET.StringTools": "17.6.3", + "System.Collections.Immutable": "6.0.0", + "System.Reflection.Emit": "4.7.0", + "System.Reflection.Emit.Lightweight": "4.7.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Threading.Tasks.Extensions": "4.5.4" } }, "MessagePack.Annotations": { "type": "Transitive", - "resolved": "2.2.85", - "contentHash": "YptRsDCQK35K5FhmZ0LojW4t8I6DpetLfK5KG8PVY2f6h7/gdyr8f4++xdSEK/xS6XX7/GPvEpqszKVPksCsiQ==" + "resolved": "2.5.187", + "contentHash": "/IvvMMS8opvlHjEJ/fR2Cal4Co726Kj77Z8KiohFhuHfLHHmb9uUxW5+tSCL4ToKFfkQlrS3HD638mRq83ySqA==" }, "Microsoft.Bcl.AsyncInterfaces": { "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "W8DPQjkMScOMTtJbPwmPyj9c3zYSFGawDW3jwlBOOsnY+EzZFLgNQ/UMkK35JmkNOVPdCyPr2Tw7Vv9N+KA3ZQ==", + "resolved": "8.0.0", + "contentHash": "3WA9q9yVqJp222P3x1wYIGDAkpjAku0TMUaaQV22g6L67AI0LdOIrVS7Ht2vJfLHGSPVuqN94vIr15qn+HEkHw==", "dependencies": { "System.Threading.Tasks.Extensions": "4.5.4" } @@ -114,15 +112,19 @@ "resolved": "1.1.1", "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" }, - "Microsoft.NETCore.Platforms": { + "Microsoft.NET.StringTools": { "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "TMBuzAHpTenGbGgk0SMTwyEkyijY/Eae4ZGsFNYJvAr/LDn1ku3Etp3FPxChmDp5HHF3kzJuoaa08N0xjqAJfQ==" + "resolved": "17.6.3", + "contentHash": "N0ZIanl1QCgvUumEL1laasU0a7sOE5ZwLZVTn0pAePnfhq8P7SvTjF8Axq+CnavuQkmdQpGNXQ1efZtu5kDFbA==", + "dependencies": { + "System.Memory": "4.5.5", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" + } }, - "Microsoft.NETCore.Targets": { + "Microsoft.NETCore.Platforms": { "type": "Transitive", - "resolved": "1.1.3", - "contentHash": "3Wrmi0kJDzClwAC+iBdUBpEKmEle8FQNsCs77fkiOIw/9oYA07bL1EZNX0kQ2OMN3xpwvl0vAtOCYY3ndDNlhQ==" + "resolved": "1.1.0", + "contentHash": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==" }, "Microsoft.SourceLink.AzureRepos.Git": { "type": "Transitive", @@ -167,35 +169,27 @@ }, "Microsoft.VisualStudio.Threading": { "type": "Transitive", - "resolved": "16.9.60", - "contentHash": "9igpltD4NDMb1QeLiuAShr4inAG/MEm/GL0VE3tCUXQmwrfrbrmwrhAn5fXy2uiZ1g2s2qSUkyEvx7sp2h7M8Q==", + "resolved": "17.10.48", + "contentHash": "7onkbbE0AOAhxKe+ZAa2NMzo4R5G4qypZmNIE0GhBohT/tl6e5aLnLx4Gg6trf6SUn3DfLRowMtNe5Q+PmhKgQ==", "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "5.0.0", - "Microsoft.VisualStudio.Threading.Analyzers": "16.9.60", - "Microsoft.VisualStudio.Validation": "16.8.33", + "Microsoft.Bcl.AsyncInterfaces": "6.0.0", + "Microsoft.VisualStudio.Threading.Analyzers": "17.10.48", + "Microsoft.VisualStudio.Validation": "17.8.8", "Microsoft.Win32.Registry": "5.0.0", + "System.Memory": "4.5.5", + "System.Runtime.CompilerServices.Unsafe": "6.0.0", "System.Threading.Tasks.Extensions": "4.5.4" } }, "Microsoft.VisualStudio.Threading.Analyzers": { "type": "Transitive", - "resolved": "16.9.60", - "contentHash": "kbl+ra5Ao93lDar3A2vUSdfWiHMYBBsLM3Z6i/t6fH2iPHGyMTqvt3z20XCZ+L+1gcc8lpbhmkFS4rh+zwfsTg==" + "resolved": "17.10.48", + "contentHash": "xwvwT91oqFjLgQykUp6y/JPYxz8LchbfJKrLVatfczWddXKng8DAo8RiiIodt+pRdsVXP9Ud02GtJoY7ifdXPQ==" }, "Microsoft.VisualStudio.Validation": { "type": "Transitive", - "resolved": "16.8.33", - "contentHash": "onzrXL8gsjht1knmmViGLTU3l1LIKoVLDL+gLN9Pdd+gclED9jLgxx/5X3mJHqETHMi7Va//hNCekiJ11LezSg==" - }, - "Microsoft.Win32.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "9ZQKCWxH7Ijp9BfahvL2Zyf1cJIk8XYLF6Yjzr2yi0b2cOut/HQ31qf1ThHAgCc3WiZMdnWcfJCgN82/0UunxA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } + "resolved": "17.8.8", + "contentHash": "rWXThIpyQd4YIXghNkiv2+VLvzS+MCMKVRDR0GAMlflsdo+YcAN2g2r5U1Ah98OFjQMRexTFtXQQ2LkajxZi3g==" }, "Microsoft.Win32.Registry": { "type": "Transitive", @@ -210,329 +204,35 @@ }, "Nerdbank.Streams": { "type": "Transitive", - "resolved": "2.6.81", - "contentHash": "htBHFE359qyyFwrvAGvFxrbBAoldZdl0XjtQdDWTJ8t5sWWs7QVXID5y1ZGJE61UgpV5CqWsj/NT0LOAn5GdZw==", - "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "1.1.1", - "Microsoft.VisualStudio.Threading": "16.7.56", - "Microsoft.VisualStudio.Validation": "15.5.31", - "System.IO.Pipelines": "4.7.2", - "System.Net.WebSockets": "4.3.0", - "System.Runtime.CompilerServices.Unsafe": "4.7.1" - } - }, - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "7VSGO0URRKoMEAq0Sc9cRz8mb6zbyx/BZDEWhgPdzzpmFhkam3fJ1DAGWFXBI4nGlma+uPKpfuMQP5LXRnOH5g==" - }, - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "0oAaTAm6e2oVH+/Zttt0cuhGaePQYKII1dY8iaqP7CvOpVKgLybKRFvQjXR2LtxXOXTVPNv14j0ot8uV+HrUmw==" - }, - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "G24ibsCNi5Kbz0oXWynBoRgtGvsw5ZSVEWjv13/KiCAM8C6wz9zzcCniMeQFIkJ2tasjo2kXlvlBZhplL51kGg==" - }, - "runtime.native.System": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==", + "resolved": "2.11.74", + "contentHash": "r4G7uHHfoo8LCilPOdtf2C+Q5ymHOAXtciT4ZtB2xRlAvv4gPkWBYNAijFblStv3+uidp81j5DP11jMZl4BfJw==", "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZVuZJqnnegJhd2k/PtAbbIcZ3aZeITq3sj06oKfMBSfphW3HDmk/t4ObvbOk/JA/swGR0LNqMksAh/f7gpTROg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "DloMk88juo0OuOWr56QG7MNchmafTLYWvABy36izkrLI5VledI0rq28KGs1i9wbpeT9NPQrx/wTf8U2vazqQ3Q==", - "dependencies": { - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "4.3.0" - } - }, - "runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "QR1OwtwehHxSeQvZKXe+iSd+d3XZNkEcuWMFYa2i0aG1l+lR739HPicKMlTbJst3spmeekDVBUS7SeS26s4U/g==", - "dependencies": { - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" + "Microsoft.Bcl.AsyncInterfaces": "6.0.0", + "Microsoft.VisualStudio.Threading": "17.10.48", + "Microsoft.VisualStudio.Validation": "17.8.8", + "System.IO.Pipelines": "8.0.0", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" } }, - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "I+GNKGg2xCHueRd1m9PzeEW7WLbNNLznmTuEi8/vZX71HudUbx1UTwlGkiwMri7JLl8hGaIAWnA/GONhu+LOyQ==" - }, - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "1Z3TAq1ytS1IBRtPXJvEUZdVsfWfeNEhBkbiOCGEl9wwAfsjP2lz3ZFDx5tq8p60/EqbS0HItG5piHuB71RjoA==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kVXCuMTrTlxq4XOOMAysuNwsXWpYeboGddNGpIgNSZmv1b6r/s/DPk0fYMB7Q5Qo4bY68o48jt4T4y5BVecbCQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "6mU/cVmmHtQiDXhnzUImxIcDL48GbTk+TsptXyJA+MIOG9LRjPoAQC/qBFB7X+UNyK86bmvGwC8t+M66wsYC8w==" - }, - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "vjwG0GGcTW/PPg6KVud8F9GLWYuAV1rrw1BKAqY0oh4jcUqg15oYF1+qkGR2x2ZHM4DQnWKQ7cJgYbfncz/lYg==" - }, - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "7KMFpTkHC/zoExs+PwP8jDCWcrK9H6L7soowT80CUx3e+nxP/AFnq0AQAW5W76z2WYbLAYCRyPfwYFG6zkvQRw==" - }, - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "xrlmRCnKZJLHxyyLIqkZjNXqgxnKdZxfItrPkjI+6pkRo5lHX8YvSZlWrSI5AVwLMi4HbNWP7064hcAWeZKp5w==" - }, - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "leXiwfiIkW7Gmn7cgnNcdtNAU70SjmKW3jxGj1iKHOvdn0zRWsgv/l2OJUO5zdGdiv2VRFnAsxxhDgMzofPdWg==" - }, "System.Buffers": { "type": "Transitive", - "resolved": "4.5.1", - "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" - }, - "System.Collections": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Collections.Concurrent": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ztl69Xp0Y/UXCL+3v3tEU+lIy+bvjKNUmopn1wep/a291pVPK7dxBd6T7WnlQqRog+d1a/hSsgRsmFnIBKTPLQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Diagnostics.Debug": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Diagnostics.Tracing": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "rswfv0f/Cqkh78rA5S8eN8Neocz234+emGCtTF3lxPY96F+mmmUen6tbn0glN6PMvlKQb9bPAY5e9u7fgPTkKw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Calendars": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "GUlBtdOWT4LTV3I+9/PJW+56AnnChTaOqqTLFtdmype/L500M2LIyXgmtd9X2P2VOkmJd5c67H5SaC2QcL1bFA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "FhKmdR6MPG+pxow6wGtNAWdZh7noIOpdD5TwQ3CprzgIE1bBBoim0vbR1+AWsWjQmU7zXHgQo4TWSP6lCeiWcQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "System.IO": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.FileSystem": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.FileSystem.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==", - "dependencies": { - "System.Runtime": "4.3.0" - } + "resolved": "4.6.0", + "contentHash": "lN6tZi7Q46zFzAbRYXTIvfXcyvQQgxnY7Xm6C6xQ9784dEL1amjM6S6Iw4ZpsvesAKnRVsM4scrDQaDqSClkjA==" }, "System.IO.Pipelines": { "type": "Transitive", - "resolved": "5.0.1", - "contentHash": "qEePWsaq9LoEEIqhbGe6D5J8c9IqQOUuTzzV6wn1POlfdLkJliZY3OlB0j0f17uMWlqZYjH7txj+2YbyrIA8Yg==", + "resolved": "8.0.0", + "contentHash": "FHNOatmUq0sqJOkTx+UF/9YK1f180cnW5FVqnQMvYUN0elp6wFzbtPSiqbo1/ru8ICp43JM1i7kKkk6GsNGHlA==", "dependencies": { "System.Buffers": "4.5.1", - "System.Memory": "4.5.4", + "System.Memory": "4.5.5", "System.Threading.Tasks.Extensions": "4.5.4" } }, - "System.Linq": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.4", - "contentHash": "aOa2d51SEbmM+H+Csw7yJOuNZoHkrP2XnAurye5HWYgGVVU54YZDvsLUYRv6h18X3sPnjNCANmN7ZhIPiqMcjA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.1", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.DiagnosticSource": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Extensions": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Security.Cryptography.X509Certificates": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" - } - }, - "System.Net.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "qOu+hDwFwoZPbzPvwut2qATe3ygjeQBDQj91xlsaqGFQUI5i4ZnZb8yyQuLGpDGivEPIt8EJkd1BVzVoP31FXA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Net.WebSockets": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "u6fFNY5q4T8KerUAVbya7bR6b7muBuSTAersyrihkcmE5QhEOiH3t5rh4il15SexbVlpXFHGuMwr/m8fDrnkQg==", - "dependencies": { - "Microsoft.Win32.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, "System.Numerics.Vectors": { "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "UiLzLW+Lw6HLed1Hcg+8jSRttrbuXv7DANVj0DkL9g6EnnzbL75EB7EWsw5uRbhxd/4YdG8li5XizGWepmG3PQ==" - }, - "System.Reflection": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } + "resolved": "4.6.0", + "contentHash": "t+SoieZsRuEyiw/J+qXUbolyO219tKQQI0+2/YI+Qv7YdGValA6WiuokrNKqjrTNsy5ABWU11bdKOzUdheteXg==" }, "System.Reflection.Emit": { "type": "Transitive", @@ -549,82 +249,16 @@ }, "System.Reflection.Emit.Lightweight": { "type": "Transitive", - "resolved": "4.6.0", - "contentHash": "j/V5HVvxvBQ7uubYD0PptQW2KGsi1Pc2kZ9yfwLixv3ADdjL/4M78KyC5e+ymW612DY8ZE4PFoZmWpoNmN2mqg==", - "dependencies": { - "System.Reflection.Emit.ILGeneration": "4.6.0" - } - }, - "System.Reflection.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Resources.ResourceManager": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==", + "resolved": "4.7.0", + "contentHash": "a4OLB4IITxAXJeV74MDx49Oq2+PsF6Sml54XAFv+2RyWwtDBcabzoxiiJRhdhx+gaohLh4hEGCLQyBozXoQPqA==", "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" + "System.Reflection.Emit.ILGeneration": "4.7.0" } }, "System.Runtime.CompilerServices.Unsafe": { "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" - }, - "System.Runtime.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.Handles": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.InteropServices": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Reflection": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Runtime.Numerics": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "yMH+MfdzHjy17l2KESnPiF2dwq7T+xLnSJar7slyimAkUh/gTrS9/UQOtv7xarskJ2/XDSNvfLGOBQPjL7PaHQ==", - "dependencies": { - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } + "resolved": "6.1.0", + "contentHash": "5o/HZxx6RVqYlhKSq8/zronDkALJZUT2Vz0hx43f0gwe8mwlM0y2nYlqdBwLMzr262Bwvpikeb/yEwkAa5PADg==" }, "System.Security.AccessControl": { "type": "Transitive", @@ -634,188 +268,38 @@ "System.Security.Principal.Windows": "5.0.0" } }, - "System.Security.Cryptography.Algorithms": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.Apple": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Cng": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "03idZOqFlsKRL4W+LuCpJ6dBYDUWReug6lZjBa3uJWnk5sPCUXckocevTaUA8iT/MFSrY/2HXkOt753xQ/cf8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Security.Cryptography.Csp": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X4s/FCkEUnRGnwR3aSfVIkldBmtURMhmexALNTwpjklzxWU7yjMk7GHLKOZTNkgnWnE0q7+BCf9N2LVRWxewaA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Security.Cryptography.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Collections.Concurrent": "4.3.0", - "System.Linq": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "h4CEgOgv5PKVF/HwaHzJRiVboL2THYCou97zpmhjghx5frc7fIvlkY1jL+lnIQyChrJDMNEXS6r7byGif8Cy4w==", - "dependencies": { - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==", - "dependencies": { - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Security.Cryptography.X509Certificates": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Calendars": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Cng": "4.3.0", - "System.Security.Cryptography.Csp": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, "System.Security.Principal.Windows": { "type": "Transitive", "resolved": "5.0.0", "contentHash": "t0MGLukB5WAVU9bO3MGzvlGnyJPgUlcwerXn1kzBRjwLKixT96XV0Uza41W49gVd8zEMFu9vQEFlv0IOrytICA==" }, - "System.Text.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Threading": { + "System.Text.Encodings.Web": { "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==", + "resolved": "8.0.0", + "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", "dependencies": { - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" + "System.Buffers": "4.5.1", + "System.Memory": "4.5.5", + "System.Runtime.CompilerServices.Unsafe": "6.0.0" } }, - "System.Threading.Tasks": { + "System.Text.Json": { "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", + "resolved": "8.0.5", + "contentHash": "0f1B50Ss7rqxXiaBJyzUu9bWFOO2/zSlifZ/UNMdiIpDYe4cY4LQQicP4nirK1OS31I43rn062UIJ1Q9bpmHpg==", "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" + "Microsoft.Bcl.AsyncInterfaces": "8.0.0", + "System.Buffers": "4.5.1", + "System.Memory": "4.5.5", + "System.Runtime.CompilerServices.Unsafe": "6.0.0", + "System.Text.Encodings.Web": "8.0.0", + "System.Threading.Tasks.Extensions": "4.5.4" } }, "System.Threading.Tasks.Dataflow": { "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "NBp0zSAMZp4muDje6XmbDfmkqw9+qsDCHp+YMEtnVgHEjQZ3Q7MzFTTp3eHqpExn4BwMrS7JkUVOTcVchig4Sw==" + "resolved": "6.0.0", + "contentHash": "+tyDCU3/B1lDdOOAJywHQoFwyXIUghIaP2BxG79uvhfTnO+D9qIgjVlL/JV2NTliYbMHpd6eKDmHp2VHpij7MA==" }, "System.Threading.Tasks.Extensions": { "type": "Transitive", @@ -833,9 +317,9 @@ }, "System.Collections.Immutable": { "type": "CentralTransitive", - "requested": "[7.0.0, )", - "resolved": "7.0.0", - "contentHash": "dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ==", + "requested": "[8.0.0, )", + "resolved": "8.0.0", + "contentHash": "AurL6Y5BA1WotzlEvVaIDpqzpIPvYnnldxru8oXJU2yFxFUy3+pNXjXd1ymO+RA0rq0+590Q8gaz2l3Sr7fmqg==", "dependencies": { "System.Memory": "4.5.5", "System.Runtime.CompilerServices.Unsafe": "6.0.0" @@ -843,9 +327,9 @@ }, "System.Diagnostics.DiagnosticSource": { "type": "CentralTransitive", - "requested": "[7.0.0, )", - "resolved": "7.0.0", - "contentHash": "9W0ewWDuAyDqS2PigdTxk6jDKonfgscY/hP8hm7VpxYhNHZHKvZTdRckberlFk3VnCmr3xBUyMBut12Q+T2aOw==", + "requested": "[8.0.1, )", + "resolved": "8.0.1", + "contentHash": "vaoWjvkG1aenR2XdjaVivlCV9fADfgyhW5bZtXT23qaEea0lWiUljdQuze4E31vKM7ZWJaSUsbYIKE3rnzfZUg==", "dependencies": { "System.Memory": "4.5.5", "System.Runtime.CompilerServices.Unsafe": "6.0.0" @@ -853,23 +337,13 @@ }, "System.Memory": { "type": "CentralTransitive", - "requested": "[4.5.5, )", - "resolved": "4.5.5", - "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Numerics.Vectors": "4.4.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "System.Runtime": { - "type": "CentralTransitive", - "requested": "[4.3.1, )", - "resolved": "4.3.1", - "contentHash": "abhfv1dTK6NXOmu4bgHIONxHyEqFjW8HwXPmpY9gmll+ix9UNo4XDcmzJn6oLooftxNssVHdJC1pGT9jkSynQg==", + "requested": "[4.6.0, )", + "resolved": "4.6.0", + "contentHash": "OEkbBQoklHngJ8UD8ez2AERSk2g+/qpAaSWWCBFbpH727HxDq5ydVkuncBaKcKfwRqXGWx64dS6G1SUScMsitg==", "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.1", - "Microsoft.NETCore.Targets": "1.1.3" + "System.Buffers": "4.6.0", + "System.Numerics.Vectors": "4.6.0", + "System.Runtime.CompilerServices.Unsafe": "6.1.0" } } } diff --git a/src/Fantomas.Core.Tests/packages.lock.json b/src/Fantomas.Core.Tests/packages.lock.json index d40c6536f..50a2903a9 100644 --- a/src/Fantomas.Core.Tests/packages.lock.json +++ b/src/Fantomas.Core.Tests/packages.lock.json @@ -25,9 +25,9 @@ }, "FsUnit": { "type": "Direct", - "requested": "[6.0.0, )", - "resolved": "6.0.0", - "contentHash": "XDZamUZ6uu9517/sGnMGtGLZQf/r1JReCjir6aZHrfIH7ZLw49PjmIOjtNmFL3w7F1ii7S/j9e7tO4HNEqlv9A==", + "requested": "[6.0.1, )", + "resolved": "6.0.1", + "contentHash": "egPDe9qKbQdWLGSoyFa1wyxVPUfbKBB9Z4zeZe5gRHAnR5BV509dCv8TXkeOXZb0u7YPf6+CC4gWoiagA3UCzg==", "dependencies": { "FSharp.Core": "5.0.2", "NUnit": "4.0.1" @@ -47,39 +47,39 @@ }, "Microsoft.NET.Test.Sdk": { "type": "Direct", - "requested": "[17.8.0, )", - "resolved": "17.8.0", - "contentHash": "BmTYGbD/YuDHmApIENdoyN1jCk0Rj1fJB0+B/fVekyTdVidr91IlzhqzytiUgaEAzL1ZJcYCme0MeBMYvJVzvw==", + "requested": "[17.12.0, )", + "resolved": "17.12.0", + "contentHash": "kt/PKBZ91rFCWxVIJZSgVLk+YR+4KxTuHf799ho8WNiK5ZQpJNAEZCAWX86vcKrs+DiYjiibpYKdGZP6+/N17w==", "dependencies": { - "Microsoft.CodeCoverage": "17.8.0", - "Microsoft.TestPlatform.TestHost": "17.8.0" + "Microsoft.CodeCoverage": "17.12.0", + "Microsoft.TestPlatform.TestHost": "17.12.0" } }, "NUnit": { "type": "Direct", - "requested": "[4.0.1, )", - "resolved": "4.0.1", - "contentHash": "jNTHZ01hJsDNPDSBycoHpavFZUBf9vRVQLCyuo78LRrrFj6Ol/CeqK+NIeTk5d8Eycjk59KseWb7X5Ge6z7CgQ==" + "requested": "[4.2.2, )", + "resolved": "4.2.2", + "contentHash": "mon0OPko28yZ/foVXrhiUvq1LReaGsBdziumyyYGxV/pOE4q92fuYeN+AF+gEU5pCjzykcdBt5l7xobTaiBjsg==" }, "NUnit3TestAdapter": { "type": "Direct", - "requested": "[4.5.0, )", - "resolved": "4.5.0", - "contentHash": "s8JpqTe9bI2f49Pfr3dFRfoVSuFQyraTj68c3XXjIS/MRGvvkLnrg6RLqnTjdShX+AdFUCCU/4Xex58AdUfs6A==" + "requested": "[4.6.0, )", + "resolved": "4.6.0", + "contentHash": "R7e1+a4vuV/YS+ItfL7f//rG+JBvVeVLX4mHzFEZo4W1qEKl8Zz27AqvQSAqo+BtIzUCo4aAJMYa56VXS4hudw==" }, "System.IO.Abstractions.TestingHelpers": { "type": "Direct", - "requested": "[20.0.4, )", - "resolved": "20.0.4", - "contentHash": "Dp6gPoqJ7i8dRGubfxzA219fFCtkam9BgSmuIT+fQcFPKkW6vx9PuLTSELsNq+gRoEAzxGbWjsT/3WslfcmRfg==", + "requested": "[21.1.3, )", + "resolved": "21.1.3", + "contentHash": "2EcDkDtYXem8IqFrbg/tMIgEiwql7kMeU5ttoE7Au79BIhmpqSUZqEEBJe6B7kJmY9EI6YXOUccx+ce3+wQWMQ==", "dependencies": { - "TestableIO.System.IO.Abstractions.TestingHelpers": "20.0.4" + "TestableIO.System.IO.Abstractions.TestingHelpers": "21.1.3" } }, "Microsoft.CodeCoverage": { "type": "Transitive", - "resolved": "17.8.0", - "contentHash": "KC8SXWbGIdoFVdlxKk9WHccm0llm9HypcHMLUUFabRiTS3SO2fQXNZfdiF3qkEdTJhbRrxhdRxjL4jbtwPq4Ew==" + "resolved": "17.12.0", + "contentHash": "4svMznBd5JM21JIG2xZKGNanAHNXplxf/kQDFfLHXQ3OnpJkayRK/TjacFjA+EYmoyuNXHo/sOETEfcYtAzIrA==" }, "Microsoft.NETCore.Platforms": { "type": "Transitive", @@ -93,27 +93,21 @@ }, "Microsoft.TestPlatform.ObjectModel": { "type": "Transitive", - "resolved": "17.8.0", - "contentHash": "AYy6vlpGMfz5kOFq99L93RGbqftW/8eQTqjT9iGXW6s9MRP3UdtY8idJ8rJcjeSja8A18IhIro5YnH3uv1nz4g==", + "resolved": "17.12.0", + "contentHash": "TDqkTKLfQuAaPcEb3pDDWnh7b3SyZF+/W9OZvWFp6eJCIiiYFdSB6taE2I6tWrFw5ywhzOb6sreoGJTI6m3rSQ==", "dependencies": { - "NuGet.Frameworks": "6.5.0", "System.Reflection.Metadata": "1.6.0" } }, "Microsoft.TestPlatform.TestHost": { "type": "Transitive", - "resolved": "17.8.0", - "contentHash": "9ivcl/7SGRmOT0YYrHQGohWiT5YCpkmy/UEzldfVisLm6QxbLaK3FAJqZXI34rnRLmqqDCeMQxKINwmKwAPiDw==", + "resolved": "17.12.0", + "contentHash": "MiPEJQNyADfwZ4pJNpQex+t9/jOClBGMiCiVVFuELCMSX2nmNfvUor3uFVxNNCg30uxDP8JDYfPnMXQzsfzYyg==", "dependencies": { - "Microsoft.TestPlatform.ObjectModel": "17.8.0", + "Microsoft.TestPlatform.ObjectModel": "17.12.0", "Newtonsoft.Json": "13.0.1" } }, - "NuGet.Frameworks": { - "type": "Transitive", - "resolved": "6.5.0", - "contentHash": "QWINE2x3MbTODsWT1Gh71GaGb5icBz4chS8VYvTgsBnsi8esgN6wtHhydd7fvToWECYGq7T4cgBBDiKD/363fg==" - }, "System.Reflection.Metadata": { "type": "Transitive", "resolved": "1.6.0", @@ -121,24 +115,24 @@ }, "TestableIO.System.IO.Abstractions": { "type": "Transitive", - "resolved": "20.0.4", - "contentHash": "zvuE3an8qmEjlz72ZKyW/gBZprR0TMTDxuw77i1OXi5wEagXRhHwP4lOaLvHIXNlwyCAmdmei6iLHsfsZcuUAA==" + "resolved": "21.1.3", + "contentHash": "qe/gIjOPCoyiSCToouJx/vCvcTQXVGj/eJVRK/7s2F8yIv0zvEpjByfXZvS3yqmcpg0/S6x6w7DvNyPrLe/RRw==" }, "TestableIO.System.IO.Abstractions.TestingHelpers": { "type": "Transitive", - "resolved": "20.0.4", - "contentHash": "O8YeM+jsunyWt4ch93QnvWmMN/uguU0uX2VvDEvlltOxxHfCOuy0jG9m9p/lys52orlbpRa/Rl6mMXwoK2tdcA==", + "resolved": "21.1.3", + "contentHash": "sMRPFcqvmSeocHtb5JVf7heBqvBsaFGiodEOoysIB0KneV4+3Yg0ka1421kzBLjRW+itU3FVjjqAAa9fqvUmhA==", "dependencies": { - "TestableIO.System.IO.Abstractions": "20.0.4", - "TestableIO.System.IO.Abstractions.Wrappers": "20.0.4" + "TestableIO.System.IO.Abstractions": "21.1.3", + "TestableIO.System.IO.Abstractions.Wrappers": "21.1.3" } }, "TestableIO.System.IO.Abstractions.Wrappers": { "type": "Transitive", - "resolved": "20.0.4", - "contentHash": "LbVaZauZfCkcGmHyPhQ2yiKv5GQqTvMViPYd3NjU1tGxp0N2p7Oc6Q/2trN6ZNIZCr42ujJdYUB63hE4mtsHRQ==", + "resolved": "21.1.3", + "contentHash": "5LEVwt5+K5TnL1ekfCbQszlgRnO77plpgQAgkXL7wXKGd0PQWE01eSss0+L7E8GGLGbtD7mzYJVq/bd79ZDBlQ==", "dependencies": { - "TestableIO.System.IO.Abstractions": "20.0.4" + "TestableIO.System.IO.Abstractions": "21.1.3" } }, "fantomas.core": { @@ -152,9 +146,9 @@ "type": "Project", "dependencies": { "FSharp.Core": "[8.0.100, )", - "System.Collections.Immutable": "[7.0.0, )", - "System.Diagnostics.DiagnosticSource": "[7.0.0, )", - "System.Memory": "[4.5.5, )", + "System.Collections.Immutable": "[8.0.0, )", + "System.Diagnostics.DiagnosticSource": "[8.0.1, )", + "System.Memory": "[4.6.0, )", "System.Runtime": "[4.3.1, )" } }, @@ -166,21 +160,21 @@ }, "System.Collections.Immutable": { "type": "CentralTransitive", - "requested": "[7.0.0, )", - "resolved": "7.0.0", - "contentHash": "dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ==" + "requested": "[8.0.0, )", + "resolved": "8.0.0", + "contentHash": "AurL6Y5BA1WotzlEvVaIDpqzpIPvYnnldxru8oXJU2yFxFUy3+pNXjXd1ymO+RA0rq0+590Q8gaz2l3Sr7fmqg==" }, "System.Diagnostics.DiagnosticSource": { "type": "CentralTransitive", - "requested": "[7.0.0, )", - "resolved": "7.0.0", - "contentHash": "9W0ewWDuAyDqS2PigdTxk6jDKonfgscY/hP8hm7VpxYhNHZHKvZTdRckberlFk3VnCmr3xBUyMBut12Q+T2aOw==" + "requested": "[8.0.1, )", + "resolved": "8.0.1", + "contentHash": "vaoWjvkG1aenR2XdjaVivlCV9fADfgyhW5bZtXT23qaEea0lWiUljdQuze4E31vKM7ZWJaSUsbYIKE3rnzfZUg==" }, "System.Memory": { "type": "CentralTransitive", - "requested": "[4.5.5, )", - "resolved": "4.5.5", - "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==" + "requested": "[4.6.0, )", + "resolved": "4.6.0", + "contentHash": "OEkbBQoklHngJ8UD8ez2AERSk2g+/qpAaSWWCBFbpH727HxDq5ydVkuncBaKcKfwRqXGWx64dS6G1SUScMsitg==" }, "System.Runtime": { "type": "CentralTransitive", diff --git a/src/Fantomas.Core/packages.lock.json b/src/Fantomas.Core/packages.lock.json index 62104cf4b..423ac6384 100644 --- a/src/Fantomas.Core/packages.lock.json +++ b/src/Fantomas.Core/packages.lock.json @@ -111,34 +111,34 @@ }, "System.Buffers": { "type": "Transitive", - "resolved": "4.5.1", - "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" + "resolved": "4.6.0", + "contentHash": "lN6tZi7Q46zFzAbRYXTIvfXcyvQQgxnY7Xm6C6xQ9784dEL1amjM6S6Iw4ZpsvesAKnRVsM4scrDQaDqSClkjA==" }, "System.Numerics.Vectors": { "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "UiLzLW+Lw6HLed1Hcg+8jSRttrbuXv7DANVj0DkL9g6EnnzbL75EB7EWsw5uRbhxd/4YdG8li5XizGWepmG3PQ==" + "resolved": "4.6.0", + "contentHash": "t+SoieZsRuEyiw/J+qXUbolyO219tKQQI0+2/YI+Qv7YdGValA6WiuokrNKqjrTNsy5ABWU11bdKOzUdheteXg==" }, "System.Runtime.CompilerServices.Unsafe": { "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" + "resolved": "6.1.0", + "contentHash": "5o/HZxx6RVqYlhKSq8/zronDkALJZUT2Vz0hx43f0gwe8mwlM0y2nYlqdBwLMzr262Bwvpikeb/yEwkAa5PADg==" }, "fantomas.fcs": { "type": "Project", "dependencies": { "FSharp.Core": "[8.0.100, )", - "System.Collections.Immutable": "[7.0.0, )", - "System.Diagnostics.DiagnosticSource": "[7.0.0, )", - "System.Memory": "[4.5.5, )", + "System.Collections.Immutable": "[8.0.0, )", + "System.Diagnostics.DiagnosticSource": "[8.0.1, )", + "System.Memory": "[4.6.0, )", "System.Runtime": "[4.3.1, )" } }, "System.Collections.Immutable": { "type": "CentralTransitive", - "requested": "[7.0.0, )", - "resolved": "7.0.0", - "contentHash": "dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ==", + "requested": "[8.0.0, )", + "resolved": "8.0.0", + "contentHash": "AurL6Y5BA1WotzlEvVaIDpqzpIPvYnnldxru8oXJU2yFxFUy3+pNXjXd1ymO+RA0rq0+590Q8gaz2l3Sr7fmqg==", "dependencies": { "System.Memory": "4.5.5", "System.Runtime.CompilerServices.Unsafe": "6.0.0" @@ -146,9 +146,9 @@ }, "System.Diagnostics.DiagnosticSource": { "type": "CentralTransitive", - "requested": "[7.0.0, )", - "resolved": "7.0.0", - "contentHash": "9W0ewWDuAyDqS2PigdTxk6jDKonfgscY/hP8hm7VpxYhNHZHKvZTdRckberlFk3VnCmr3xBUyMBut12Q+T2aOw==", + "requested": "[8.0.1, )", + "resolved": "8.0.1", + "contentHash": "vaoWjvkG1aenR2XdjaVivlCV9fADfgyhW5bZtXT23qaEea0lWiUljdQuze4E31vKM7ZWJaSUsbYIKE3rnzfZUg==", "dependencies": { "System.Memory": "4.5.5", "System.Runtime.CompilerServices.Unsafe": "6.0.0" @@ -156,13 +156,13 @@ }, "System.Memory": { "type": "CentralTransitive", - "requested": "[4.5.5, )", - "resolved": "4.5.5", - "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", + "requested": "[4.6.0, )", + "resolved": "4.6.0", + "contentHash": "OEkbBQoklHngJ8UD8ez2AERSk2g+/qpAaSWWCBFbpH727HxDq5ydVkuncBaKcKfwRqXGWx64dS6G1SUScMsitg==", "dependencies": { - "System.Buffers": "4.5.1", - "System.Numerics.Vectors": "4.4.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.3" + "System.Buffers": "4.6.0", + "System.Numerics.Vectors": "4.6.0", + "System.Runtime.CompilerServices.Unsafe": "6.1.0" } }, "System.Runtime": { diff --git a/src/Fantomas.FCS/packages.lock.json b/src/Fantomas.FCS/packages.lock.json index 51d3c275f..9482e407e 100644 --- a/src/Fantomas.FCS/packages.lock.json +++ b/src/Fantomas.FCS/packages.lock.json @@ -28,12 +28,12 @@ }, "FsLexYacc": { "type": "Direct", - "requested": "[11.2.0, )", - "resolved": "11.2.0", - "contentHash": "YfCWpEr1z34mtfBLINYLndmsUTLgADnwY1j1WibS1EbuGVVX9r6pkdqmN8/vWqBi5qvY/s7pBjdq51Ks1Dk5MQ==", + "requested": "[11.3.0, )", + "resolved": "11.3.0", + "contentHash": "v0Q3/c0tizN8vRZ72Tdo+OKU767Yjul0wRJgG1/W15H4tK/9qHne/mylw/gTEIC8FV2zgiDlAudhQpdZXYG3IA==", "dependencies": { "FSharp.Core": "4.6.2", - "FsLexYacc.Runtime": "11.2.0" + "FsLexYacc.Runtime": "11.3.0" } }, "G-Research.FSharp.Analyzers": { @@ -65,9 +65,9 @@ }, "System.Collections.Immutable": { "type": "Direct", - "requested": "[7.0.0, )", - "resolved": "7.0.0", - "contentHash": "dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ==", + "requested": "[8.0.0, )", + "resolved": "8.0.0", + "contentHash": "AurL6Y5BA1WotzlEvVaIDpqzpIPvYnnldxru8oXJU2yFxFUy3+pNXjXd1ymO+RA0rq0+590Q8gaz2l3Sr7fmqg==", "dependencies": { "System.Memory": "4.5.5", "System.Runtime.CompilerServices.Unsafe": "6.0.0" @@ -75,9 +75,9 @@ }, "System.Diagnostics.DiagnosticSource": { "type": "Direct", - "requested": "[7.0.0, )", - "resolved": "7.0.0", - "contentHash": "9W0ewWDuAyDqS2PigdTxk6jDKonfgscY/hP8hm7VpxYhNHZHKvZTdRckberlFk3VnCmr3xBUyMBut12Q+T2aOw==", + "requested": "[8.0.1, )", + "resolved": "8.0.1", + "contentHash": "vaoWjvkG1aenR2XdjaVivlCV9fADfgyhW5bZtXT23qaEea0lWiUljdQuze4E31vKM7ZWJaSUsbYIKE3rnzfZUg==", "dependencies": { "System.Memory": "4.5.5", "System.Runtime.CompilerServices.Unsafe": "6.0.0" @@ -85,13 +85,13 @@ }, "System.Memory": { "type": "Direct", - "requested": "[4.5.5, )", - "resolved": "4.5.5", - "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", + "requested": "[4.6.0, )", + "resolved": "4.6.0", + "contentHash": "OEkbBQoklHngJ8UD8ez2AERSk2g+/qpAaSWWCBFbpH727HxDq5ydVkuncBaKcKfwRqXGWx64dS6G1SUScMsitg==", "dependencies": { - "System.Buffers": "4.5.1", - "System.Numerics.Vectors": "4.4.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.3" + "System.Buffers": "4.6.0", + "System.Numerics.Vectors": "4.6.0", + "System.Runtime.CompilerServices.Unsafe": "6.1.0" } }, "System.Runtime": { @@ -106,8 +106,8 @@ }, "FsLexYacc.Runtime": { "type": "Transitive", - "resolved": "11.2.0", - "contentHash": "psv1xPIm2NOEdd1RfaBSnN7y6M7XRS69QYB2kP2hD8LKaepGIGM5qAC7xHNpqO1v7QfyMFmuZ5/KqyWhfAfKJg==", + "resolved": "11.3.0", + "contentHash": "36b+4G+85WXU3kmbtq9hFSMGCLkn1nLzJoPgNaLUusnjXrC5ndAyS+hl13H6frpLCS3DB1wAmx/1SGYDe0avMw==", "dependencies": { "FSharp.Core": "4.6.2" } @@ -170,18 +170,18 @@ }, "System.Buffers": { "type": "Transitive", - "resolved": "4.5.1", - "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" + "resolved": "4.6.0", + "contentHash": "lN6tZi7Q46zFzAbRYXTIvfXcyvQQgxnY7Xm6C6xQ9784dEL1amjM6S6Iw4ZpsvesAKnRVsM4scrDQaDqSClkjA==" }, "System.Numerics.Vectors": { "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "UiLzLW+Lw6HLed1Hcg+8jSRttrbuXv7DANVj0DkL9g6EnnzbL75EB7EWsw5uRbhxd/4YdG8li5XizGWepmG3PQ==" + "resolved": "4.6.0", + "contentHash": "t+SoieZsRuEyiw/J+qXUbolyO219tKQQI0+2/YI+Qv7YdGValA6WiuokrNKqjrTNsy5ABWU11bdKOzUdheteXg==" }, "System.Runtime.CompilerServices.Unsafe": { "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" + "resolved": "6.1.0", + "contentHash": "5o/HZxx6RVqYlhKSq8/zronDkALJZUT2Vz0hx43f0gwe8mwlM0y2nYlqdBwLMzr262Bwvpikeb/yEwkAa5PADg==" } } } diff --git a/src/Fantomas.Tests/packages.lock.json b/src/Fantomas.Tests/packages.lock.json index f6f5d01b5..7c8f686eb 100644 --- a/src/Fantomas.Tests/packages.lock.json +++ b/src/Fantomas.Tests/packages.lock.json @@ -25,9 +25,9 @@ }, "FsUnit": { "type": "Direct", - "requested": "[6.0.0, )", - "resolved": "6.0.0", - "contentHash": "XDZamUZ6uu9517/sGnMGtGLZQf/r1JReCjir6aZHrfIH7ZLw49PjmIOjtNmFL3w7F1ii7S/j9e7tO4HNEqlv9A==", + "requested": "[6.0.1, )", + "resolved": "6.0.1", + "contentHash": "egPDe9qKbQdWLGSoyFa1wyxVPUfbKBB9Z4zeZe5gRHAnR5BV509dCv8TXkeOXZb0u7YPf6+CC4gWoiagA3UCzg==", "dependencies": { "FSharp.Core": "5.0.2", "NUnit": "4.0.1" @@ -47,77 +47,71 @@ }, "Microsoft.NET.Test.Sdk": { "type": "Direct", - "requested": "[17.8.0, )", - "resolved": "17.8.0", - "contentHash": "BmTYGbD/YuDHmApIENdoyN1jCk0Rj1fJB0+B/fVekyTdVidr91IlzhqzytiUgaEAzL1ZJcYCme0MeBMYvJVzvw==", + "requested": "[17.12.0, )", + "resolved": "17.12.0", + "contentHash": "kt/PKBZ91rFCWxVIJZSgVLk+YR+4KxTuHf799ho8WNiK5ZQpJNAEZCAWX86vcKrs+DiYjiibpYKdGZP6+/N17w==", "dependencies": { - "Microsoft.CodeCoverage": "17.8.0", - "Microsoft.TestPlatform.TestHost": "17.8.0" + "Microsoft.CodeCoverage": "17.12.0", + "Microsoft.TestPlatform.TestHost": "17.12.0" } }, "NUnit": { "type": "Direct", - "requested": "[4.0.1, )", - "resolved": "4.0.1", - "contentHash": "jNTHZ01hJsDNPDSBycoHpavFZUBf9vRVQLCyuo78LRrrFj6Ol/CeqK+NIeTk5d8Eycjk59KseWb7X5Ge6z7CgQ==" + "requested": "[4.2.2, )", + "resolved": "4.2.2", + "contentHash": "mon0OPko28yZ/foVXrhiUvq1LReaGsBdziumyyYGxV/pOE4q92fuYeN+AF+gEU5pCjzykcdBt5l7xobTaiBjsg==" }, "NUnit3TestAdapter": { "type": "Direct", - "requested": "[4.5.0, )", - "resolved": "4.5.0", - "contentHash": "s8JpqTe9bI2f49Pfr3dFRfoVSuFQyraTj68c3XXjIS/MRGvvkLnrg6RLqnTjdShX+AdFUCCU/4Xex58AdUfs6A==" + "requested": "[4.6.0, )", + "resolved": "4.6.0", + "contentHash": "R7e1+a4vuV/YS+ItfL7f//rG+JBvVeVLX4mHzFEZo4W1qEKl8Zz27AqvQSAqo+BtIzUCo4aAJMYa56VXS4hudw==" }, "System.IO.Abstractions.TestingHelpers": { "type": "Direct", - "requested": "[20.0.4, )", - "resolved": "20.0.4", - "contentHash": "Dp6gPoqJ7i8dRGubfxzA219fFCtkam9BgSmuIT+fQcFPKkW6vx9PuLTSELsNq+gRoEAzxGbWjsT/3WslfcmRfg==", + "requested": "[21.1.3, )", + "resolved": "21.1.3", + "contentHash": "2EcDkDtYXem8IqFrbg/tMIgEiwql7kMeU5ttoE7Au79BIhmpqSUZqEEBJe6B7kJmY9EI6YXOUccx+ce3+wQWMQ==", "dependencies": { - "TestableIO.System.IO.Abstractions.TestingHelpers": "20.0.4" + "TestableIO.System.IO.Abstractions.TestingHelpers": "21.1.3" } }, "Fable.Core": { "type": "Transitive", - "resolved": "3.0.0", - "contentHash": "pkCOWJKAkCk36f5+q4F3XqlfsgCJL6i2lTLl4ZZVDswn8rjXo21EBG/gJ296a88LVBkI5LL2VwxQYqGZncomJw==", + "resolved": "3.1.6", + "contentHash": "w6M1F0zoLk4kTFc1Lx6x1Ft6BD3QwRe0eaLiinAqbjVkcF+iK+NiXGJO+a6q9RAF9NCg0vI48Xku7aNeqG4JVw==", "dependencies": { - "FSharp.Core": "4.5.2" + "FSharp.Core": "4.7.1" } }, "MessagePack": { "type": "Transitive", - "resolved": "2.2.85", - "contentHash": "3SqAgwNV5LOf+ZapHmjQMUc7WDy/1ur9CfFNjgnfMZKCB5CxkVVbyHa06fObjGTEHZI7mcDathYjkI+ncr92ZQ==", + "resolved": "2.5.187", + "contentHash": "uW4j8m4Nc+2Mk5n6arOChavJ9bLjkis0qWASOj2h2OwmfINuzYv+mjCHUymrYhmyyKTu3N+ObtTXAY4uQ7jIhg==", "dependencies": { - "MessagePack.Annotations": "2.2.85", - "Microsoft.Bcl.AsyncInterfaces": "1.0.0", - "System.Collections.Immutable": "1.5.0", - "System.Memory": "4.5.3", - "System.Reflection.Emit": "4.6.0", - "System.Reflection.Emit.Lightweight": "4.6.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.2", - "System.Threading.Tasks.Extensions": "4.5.3" + "MessagePack.Annotations": "2.5.187", + "Microsoft.NET.StringTools": "17.6.3" } }, "MessagePack.Annotations": { "type": "Transitive", - "resolved": "2.2.85", - "contentHash": "YptRsDCQK35K5FhmZ0LojW4t8I6DpetLfK5KG8PVY2f6h7/gdyr8f4++xdSEK/xS6XX7/GPvEpqszKVPksCsiQ==" + "resolved": "2.5.187", + "contentHash": "/IvvMMS8opvlHjEJ/fR2Cal4Co726Kj77Z8KiohFhuHfLHHmb9uUxW5+tSCL4ToKFfkQlrS3HD638mRq83ySqA==" }, - "Microsoft.Bcl.AsyncInterfaces": { + "Microsoft.CodeCoverage": { "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "W8DPQjkMScOMTtJbPwmPyj9c3zYSFGawDW3jwlBOOsnY+EzZFLgNQ/UMkK35JmkNOVPdCyPr2Tw7Vv9N+KA3ZQ==" + "resolved": "17.12.0", + "contentHash": "4svMznBd5JM21JIG2xZKGNanAHNXplxf/kQDFfLHXQ3OnpJkayRK/TjacFjA+EYmoyuNXHo/sOETEfcYtAzIrA==" }, - "Microsoft.CodeCoverage": { + "Microsoft.NET.StringTools": { "type": "Transitive", - "resolved": "17.8.0", - "contentHash": "KC8SXWbGIdoFVdlxKk9WHccm0llm9HypcHMLUUFabRiTS3SO2fQXNZfdiF3qkEdTJhbRrxhdRxjL4jbtwPq4Ew==" + "resolved": "17.6.3", + "contentHash": "N0ZIanl1QCgvUumEL1laasU0a7sOE5ZwLZVTn0pAePnfhq8P7SvTjF8Axq+CnavuQkmdQpGNXQ1efZtu5kDFbA==" }, "Microsoft.NETCore.Platforms": { "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "VyPlqzH2wavqquTcYpkIIAQ6WdenuKoFN0BdYBbCWsclXacSOHNQn66Gt4z5NBqEYW0FAPm5rlvki9ZiCij5xQ==" + "resolved": "1.1.1", + "contentHash": "TMBuzAHpTenGbGgk0SMTwyEkyijY/Eae4ZGsFNYJvAr/LDn1ku3Etp3FPxChmDp5HHF3kzJuoaa08N0xjqAJfQ==" }, "Microsoft.NETCore.Targets": { "type": "Transitive", @@ -126,204 +120,48 @@ }, "Microsoft.TestPlatform.ObjectModel": { "type": "Transitive", - "resolved": "17.8.0", - "contentHash": "AYy6vlpGMfz5kOFq99L93RGbqftW/8eQTqjT9iGXW6s9MRP3UdtY8idJ8rJcjeSja8A18IhIro5YnH3uv1nz4g==", + "resolved": "17.12.0", + "contentHash": "TDqkTKLfQuAaPcEb3pDDWnh7b3SyZF+/W9OZvWFp6eJCIiiYFdSB6taE2I6tWrFw5ywhzOb6sreoGJTI6m3rSQ==", "dependencies": { - "NuGet.Frameworks": "6.5.0", "System.Reflection.Metadata": "1.6.0" } }, "Microsoft.TestPlatform.TestHost": { "type": "Transitive", - "resolved": "17.8.0", - "contentHash": "9ivcl/7SGRmOT0YYrHQGohWiT5YCpkmy/UEzldfVisLm6QxbLaK3FAJqZXI34rnRLmqqDCeMQxKINwmKwAPiDw==", + "resolved": "17.12.0", + "contentHash": "MiPEJQNyADfwZ4pJNpQex+t9/jOClBGMiCiVVFuELCMSX2nmNfvUor3uFVxNNCg30uxDP8JDYfPnMXQzsfzYyg==", "dependencies": { - "Microsoft.TestPlatform.ObjectModel": "17.8.0", + "Microsoft.TestPlatform.ObjectModel": "17.12.0", "Newtonsoft.Json": "13.0.1" } }, "Microsoft.VisualStudio.Threading": { "type": "Transitive", - "resolved": "16.9.60", - "contentHash": "9igpltD4NDMb1QeLiuAShr4inAG/MEm/GL0VE3tCUXQmwrfrbrmwrhAn5fXy2uiZ1g2s2qSUkyEvx7sp2h7M8Q==", + "resolved": "17.10.48", + "contentHash": "7onkbbE0AOAhxKe+ZAa2NMzo4R5G4qypZmNIE0GhBohT/tl6e5aLnLx4Gg6trf6SUn3DfLRowMtNe5Q+PmhKgQ==", "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "5.0.0", - "Microsoft.VisualStudio.Threading.Analyzers": "16.9.60", - "Microsoft.VisualStudio.Validation": "16.8.33", - "Microsoft.Win32.Registry": "5.0.0", - "System.Threading.Tasks.Extensions": "4.5.4" + "Microsoft.VisualStudio.Threading.Analyzers": "17.10.48", + "Microsoft.VisualStudio.Validation": "17.8.8" } }, "Microsoft.VisualStudio.Threading.Analyzers": { "type": "Transitive", - "resolved": "16.9.60", - "contentHash": "kbl+ra5Ao93lDar3A2vUSdfWiHMYBBsLM3Z6i/t6fH2iPHGyMTqvt3z20XCZ+L+1gcc8lpbhmkFS4rh+zwfsTg==" + "resolved": "17.10.48", + "contentHash": "xwvwT91oqFjLgQykUp6y/JPYxz8LchbfJKrLVatfczWddXKng8DAo8RiiIodt+pRdsVXP9Ud02GtJoY7ifdXPQ==" }, "Microsoft.VisualStudio.Validation": { "type": "Transitive", - "resolved": "16.8.33", - "contentHash": "onzrXL8gsjht1knmmViGLTU3l1LIKoVLDL+gLN9Pdd+gclED9jLgxx/5X3mJHqETHMi7Va//hNCekiJ11LezSg==" - }, - "Microsoft.Win32.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "9ZQKCWxH7Ijp9BfahvL2Zyf1cJIk8XYLF6Yjzr2yi0b2cOut/HQ31qf1ThHAgCc3WiZMdnWcfJCgN82/0UunxA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "Microsoft.Win32.Registry": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "dDoKi0PnDz31yAyETfRntsLArTlVAVzUzCIvvEDsDsucrl33Dl8pIJG06ePTJTI3tGpeyHS9Cq7Foc/s4EeKcg==", - "dependencies": { - "System.Security.AccessControl": "5.0.0", - "System.Security.Principal.Windows": "5.0.0" - } + "resolved": "17.8.8", + "contentHash": "rWXThIpyQd4YIXghNkiv2+VLvzS+MCMKVRDR0GAMlflsdo+YcAN2g2r5U1Ah98OFjQMRexTFtXQQ2LkajxZi3g==" }, "Nerdbank.Streams": { "type": "Transitive", - "resolved": "2.6.81", - "contentHash": "htBHFE359qyyFwrvAGvFxrbBAoldZdl0XjtQdDWTJ8t5sWWs7QVXID5y1ZGJE61UgpV5CqWsj/NT0LOAn5GdZw==", - "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "1.1.1", - "Microsoft.VisualStudio.Threading": "16.7.56", - "Microsoft.VisualStudio.Validation": "15.5.31", - "System.IO.Pipelines": "4.7.2", - "System.Net.WebSockets": "4.3.0", - "System.Runtime.CompilerServices.Unsafe": "4.7.1" - } - }, - "NuGet.Frameworks": { - "type": "Transitive", - "resolved": "6.5.0", - "contentHash": "QWINE2x3MbTODsWT1Gh71GaGb5icBz4chS8VYvTgsBnsi8esgN6wtHhydd7fvToWECYGq7T4cgBBDiKD/363fg==" - }, - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "7VSGO0URRKoMEAq0Sc9cRz8mb6zbyx/BZDEWhgPdzzpmFhkam3fJ1DAGWFXBI4nGlma+uPKpfuMQP5LXRnOH5g==" - }, - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "0oAaTAm6e2oVH+/Zttt0cuhGaePQYKII1dY8iaqP7CvOpVKgLybKRFvQjXR2LtxXOXTVPNv14j0ot8uV+HrUmw==" - }, - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "G24ibsCNi5Kbz0oXWynBoRgtGvsw5ZSVEWjv13/KiCAM8C6wz9zzcCniMeQFIkJ2tasjo2kXlvlBZhplL51kGg==" - }, - "runtime.native.System": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZVuZJqnnegJhd2k/PtAbbIcZ3aZeITq3sj06oKfMBSfphW3HDmk/t4ObvbOk/JA/swGR0LNqMksAh/f7gpTROg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "DloMk88juo0OuOWr56QG7MNchmafTLYWvABy36izkrLI5VledI0rq28KGs1i9wbpeT9NPQrx/wTf8U2vazqQ3Q==", + "resolved": "2.11.74", + "contentHash": "r4G7uHHfoo8LCilPOdtf2C+Q5ymHOAXtciT4ZtB2xRlAvv4gPkWBYNAijFblStv3+uidp81j5DP11jMZl4BfJw==", "dependencies": { - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "4.3.0" - } - }, - "runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "QR1OwtwehHxSeQvZKXe+iSd+d3XZNkEcuWMFYa2i0aG1l+lR739HPicKMlTbJst3spmeekDVBUS7SeS26s4U/g==", - "dependencies": { - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" - } - }, - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "I+GNKGg2xCHueRd1m9PzeEW7WLbNNLznmTuEi8/vZX71HudUbx1UTwlGkiwMri7JLl8hGaIAWnA/GONhu+LOyQ==" - }, - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "1Z3TAq1ytS1IBRtPXJvEUZdVsfWfeNEhBkbiOCGEl9wwAfsjP2lz3ZFDx5tq8p60/EqbS0HItG5piHuB71RjoA==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kVXCuMTrTlxq4XOOMAysuNwsXWpYeboGddNGpIgNSZmv1b6r/s/DPk0fYMB7Q5Qo4bY68o48jt4T4y5BVecbCQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "6mU/cVmmHtQiDXhnzUImxIcDL48GbTk+TsptXyJA+MIOG9LRjPoAQC/qBFB7X+UNyK86bmvGwC8t+M66wsYC8w==" - }, - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "vjwG0GGcTW/PPg6KVud8F9GLWYuAV1rrw1BKAqY0oh4jcUqg15oYF1+qkGR2x2ZHM4DQnWKQ7cJgYbfncz/lYg==" - }, - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "7KMFpTkHC/zoExs+PwP8jDCWcrK9H6L7soowT80CUx3e+nxP/AFnq0AQAW5W76z2WYbLAYCRyPfwYFG6zkvQRw==" - }, - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "xrlmRCnKZJLHxyyLIqkZjNXqgxnKdZxfItrPkjI+6pkRo5lHX8YvSZlWrSI5AVwLMi4HbNWP7064hcAWeZKp5w==" - }, - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "leXiwfiIkW7Gmn7cgnNcdtNAU70SjmKW3jxGj1iKHOvdn0zRWsgv/l2OJUO5zdGdiv2VRFnAsxxhDgMzofPdWg==" - }, - "System.Collections": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Collections.Concurrent": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ztl69Xp0Y/UXCL+3v3tEU+lIy+bvjKNUmopn1wep/a291pVPK7dxBd6T7WnlQqRog+d1a/hSsgRsmFnIBKTPLQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" + "Microsoft.VisualStudio.Threading": "17.10.48", + "Microsoft.VisualStudio.Validation": "17.8.8", + "System.IO.Pipelines": "8.0.0" } }, "System.Configuration.ConfigurationManager": { @@ -334,487 +172,41 @@ "System.Security.Cryptography.ProtectedData": "4.4.0" } }, - "System.Diagnostics.Debug": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Diagnostics.Tracing": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "rswfv0f/Cqkh78rA5S8eN8Neocz234+emGCtTF3lxPY96F+mmmUen6tbn0glN6PMvlKQb9bPAY5e9u7fgPTkKw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Calendars": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "GUlBtdOWT4LTV3I+9/PJW+56AnnChTaOqqTLFtdmype/L500M2LIyXgmtd9X2P2VOkmJd5c67H5SaC2QcL1bFA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "FhKmdR6MPG+pxow6wGtNAWdZh7noIOpdD5TwQ3CprzgIE1bBBoim0vbR1+AWsWjQmU7zXHgQo4TWSP6lCeiWcQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "System.IO": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.FileSystem": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.FileSystem.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, "System.IO.Pipelines": { "type": "Transitive", - "resolved": "5.0.1", - "contentHash": "qEePWsaq9LoEEIqhbGe6D5J8c9IqQOUuTzzV6wn1POlfdLkJliZY3OlB0j0f17uMWlqZYjH7txj+2YbyrIA8Yg==" - }, - "System.Linq": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.4", - "contentHash": "aOa2d51SEbmM+H+Csw7yJOuNZoHkrP2XnAurye5HWYgGVVU54YZDvsLUYRv6h18X3sPnjNCANmN7ZhIPiqMcjA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.1", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.DiagnosticSource": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Extensions": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Security.Cryptography.X509Certificates": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" - } - }, - "System.Net.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "qOu+hDwFwoZPbzPvwut2qATe3ygjeQBDQj91xlsaqGFQUI5i4ZnZb8yyQuLGpDGivEPIt8EJkd1BVzVoP31FXA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Net.WebSockets": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "u6fFNY5q4T8KerUAVbya7bR6b7muBuSTAersyrihkcmE5QhEOiH3t5rh4il15SexbVlpXFHGuMwr/m8fDrnkQg==", - "dependencies": { - "Microsoft.Win32.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Reflection": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit": { - "type": "Transitive", - "resolved": "4.7.0", - "contentHash": "VR4kk8XLKebQ4MZuKuIni/7oh+QGFmZW3qORd1GvBq/8026OpW501SzT/oypwiQl4TvT8ErnReh/NzY9u+C6wQ==" - }, - "System.Reflection.Emit.Lightweight": { - "type": "Transitive", - "resolved": "4.6.0", - "contentHash": "j/V5HVvxvBQ7uubYD0PptQW2KGsi1Pc2kZ9yfwLixv3ADdjL/4M78KyC5e+ymW612DY8ZE4PFoZmWpoNmN2mqg==" + "resolved": "8.0.0", + "contentHash": "FHNOatmUq0sqJOkTx+UF/9YK1f180cnW5FVqnQMvYUN0elp6wFzbtPSiqbo1/ru8ICp43JM1i7kKkk6GsNGHlA==" }, "System.Reflection.Metadata": { "type": "Transitive", "resolved": "1.6.0", "contentHash": "COC1aiAJjCoA5GBF+QKL2uLqEBew4JsCkQmoHKbN3TlOZKa2fKLz5CpiRQKDz0RsAOEGsVKqOD5bomsXq/4STQ==" }, - "System.Reflection.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Resources.ResourceManager": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "4.7.1", - "contentHash": "zOHkQmzPCn5zm/BH+cxC1XbUS3P4Yoi3xzW7eRgVpDR2tPGSzyMZ17Ig1iRkfJuY0nhxkQQde8pgePNiA7z7TQ==" - }, - "System.Runtime.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.Handles": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.InteropServices": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Reflection": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Runtime.Numerics": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "yMH+MfdzHjy17l2KESnPiF2dwq7T+xLnSJar7slyimAkUh/gTrS9/UQOtv7xarskJ2/XDSNvfLGOBQPjL7PaHQ==", - "dependencies": { - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Security.AccessControl": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "dagJ1mHZO3Ani8GH0PHpPEe/oYO+rVdbQjvjJkBRNQkX4t0r1iaeGn8+/ybkSLEan3/slM0t59SVdHzuHf2jmw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "5.0.0", - "System.Security.Principal.Windows": "5.0.0" - } - }, - "System.Security.Cryptography.Algorithms": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.Apple": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Cng": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "03idZOqFlsKRL4W+LuCpJ6dBYDUWReug6lZjBa3uJWnk5sPCUXckocevTaUA8iT/MFSrY/2HXkOt753xQ/cf8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Security.Cryptography.Csp": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X4s/FCkEUnRGnwR3aSfVIkldBmtURMhmexALNTwpjklzxWU7yjMk7GHLKOZTNkgnWnE0q7+BCf9N2LVRWxewaA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Security.Cryptography.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Collections.Concurrent": "4.3.0", - "System.Linq": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "h4CEgOgv5PKVF/HwaHzJRiVboL2THYCou97zpmhjghx5frc7fIvlkY1jL+lnIQyChrJDMNEXS6r7byGif8Cy4w==", - "dependencies": { - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==", - "dependencies": { - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, "System.Security.Cryptography.ProtectedData": { "type": "Transitive", "resolved": "4.4.0", "contentHash": "cJV7ScGW7EhatRsjehfvvYVBvtiSMKgN8bOVI0bQhnF5bU7vnHVIsH49Kva7i7GWaWYvmEzkYVk1TC+gZYBEog==" }, - "System.Security.Cryptography.X509Certificates": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Calendars": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Cng": "4.3.0", - "System.Security.Cryptography.Csp": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Principal.Windows": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "t0MGLukB5WAVU9bO3MGzvlGnyJPgUlcwerXn1kzBRjwLKixT96XV0Uza41W49gVd8zEMFu9vQEFlv0IOrytICA==" - }, - "System.Text.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Threading": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==", - "dependencies": { - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Threading.Tasks": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Threading.Tasks.Dataflow": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "NBp0zSAMZp4muDje6XmbDfmkqw9+qsDCHp+YMEtnVgHEjQZ3Q7MzFTTp3eHqpExn4BwMrS7JkUVOTcVchig4Sw==" - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.5.4", - "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==" - }, "TestableIO.System.IO.Abstractions": { "type": "Transitive", - "resolved": "20.0.4", - "contentHash": "zvuE3an8qmEjlz72ZKyW/gBZprR0TMTDxuw77i1OXi5wEagXRhHwP4lOaLvHIXNlwyCAmdmei6iLHsfsZcuUAA==" + "resolved": "21.1.3", + "contentHash": "qe/gIjOPCoyiSCToouJx/vCvcTQXVGj/eJVRK/7s2F8yIv0zvEpjByfXZvS3yqmcpg0/S6x6w7DvNyPrLe/RRw==" }, "TestableIO.System.IO.Abstractions.TestingHelpers": { "type": "Transitive", - "resolved": "20.0.4", - "contentHash": "O8YeM+jsunyWt4ch93QnvWmMN/uguU0uX2VvDEvlltOxxHfCOuy0jG9m9p/lys52orlbpRa/Rl6mMXwoK2tdcA==", + "resolved": "21.1.3", + "contentHash": "sMRPFcqvmSeocHtb5JVf7heBqvBsaFGiodEOoysIB0KneV4+3Yg0ka1421kzBLjRW+itU3FVjjqAAa9fqvUmhA==", "dependencies": { - "TestableIO.System.IO.Abstractions": "20.0.4", - "TestableIO.System.IO.Abstractions.Wrappers": "20.0.4" + "TestableIO.System.IO.Abstractions": "21.1.3", + "TestableIO.System.IO.Abstractions.Wrappers": "21.1.3" } }, "TestableIO.System.IO.Abstractions.Wrappers": { "type": "Transitive", - "resolved": "20.0.4", - "contentHash": "LbVaZauZfCkcGmHyPhQ2yiKv5GQqTvMViPYd3NjU1tGxp0N2p7Oc6Q/2trN6ZNIZCr42ujJdYUB63hE4mtsHRQ==", + "resolved": "21.1.3", + "contentHash": "5LEVwt5+K5TnL1ekfCbQszlgRnO77plpgQAgkXL7wXKGd0PQWE01eSss0+L7E8GGLGbtD7mzYJVq/bd79ZDBlQ==", "dependencies": { - "TestableIO.System.IO.Abstractions": "20.0.4" + "TestableIO.System.IO.Abstractions": "21.1.3" } }, "fantomas": { @@ -824,14 +216,14 @@ "FSharp.Core": "[8.0.100, )", "Fantomas.Client": "[1.0.0, )", "Fantomas.Core": "[1.0.0, )", - "Ignore": "[0.1.50, )", - "Serilog": "[3.1.1, )", - "Serilog.Sinks.Console": "[5.0.1, )", + "Ignore": "[0.2.1, )", + "Serilog": "[4.1.0, )", + "Serilog.Sinks.Console": "[6.0.0, )", "SerilogTraceListener": "[3.2.1-dev-00011, )", - "Spectre.Console": "[0.48.0, )", - "StreamJsonRpc": "[2.8.28, )", - "System.IO.Abstractions": "[20.0.4, )", - "Thoth.Json.Net": "[8.0.0, )", + "Spectre.Console": "[0.49.1, )", + "StreamJsonRpc": "[2.20.20, )", + "System.IO.Abstractions": "[21.1.3, )", + "Thoth.Json.Net": "[12.0.0, )", "editorconfig": "[0.15.0, )" } }, @@ -840,7 +232,7 @@ "dependencies": { "FSharp.Core": "[8.0.100, )", "SemanticVersioning": "[2.0.2, )", - "StreamJsonRpc": "[2.8.28, )" + "StreamJsonRpc": "[2.20.20, )" } }, "fantomas.core": { @@ -854,9 +246,9 @@ "type": "Project", "dependencies": { "FSharp.Core": "[8.0.100, )", - "System.Collections.Immutable": "[7.0.0, )", - "System.Diagnostics.DiagnosticSource": "[7.0.0, )", - "System.Memory": "[4.5.5, )", + "System.Collections.Immutable": "[8.0.0, )", + "System.Diagnostics.DiagnosticSource": "[8.0.1, )", + "System.Memory": "[4.6.0, )", "System.Runtime": "[4.3.1, )" } }, @@ -878,9 +270,9 @@ }, "Ignore": { "type": "CentralTransitive", - "requested": "[0.1.50, )", - "resolved": "0.1.50", - "contentHash": "nr7/KaY5KP9QvCEf478w1k9Yz+dXQZKLEAsjfhIjuneScmyLvMKoItPL6OfkNODeCrINtHEBt8A7q7yETS1PQQ==" + "requested": "[0.2.1, )", + "resolved": "0.2.1", + "contentHash": "Qw3s0pTwK3o6Iv6kTMjmxzOt91pczU533OmtAvFRsJ7PdCVMhGCRyUkMsCOI7ejxOtHJdRsj141HeZWeedlqkQ==" }, "Newtonsoft.Json": { "type": "CentralTransitive", @@ -896,17 +288,17 @@ }, "Serilog": { "type": "CentralTransitive", - "requested": "[3.1.1, )", - "resolved": "3.1.1", - "contentHash": "P6G4/4Kt9bT635bhuwdXlJ2SCqqn2nhh4gqFqQueCOr9bK/e7W9ll/IoX1Ter948cV2Z/5+5v8pAfJYUISY03A==" + "requested": "[4.1.0, )", + "resolved": "4.1.0", + "contentHash": "u1aZI8HZ62LWlq5dZLFwm6jMax/sUwnWZSw5lkPsCt518cJBxFKoNmc7oSxe5aA5BgSkzy9rzwFGR/i/acnSPw==" }, "Serilog.Sinks.Console": { "type": "CentralTransitive", - "requested": "[5.0.1, )", - "resolved": "5.0.1", - "contentHash": "6Jt8jl9y2ey8VV7nVEUAyjjyxjAQuvd5+qj4XYAT9CwcsvR70HHULGBeD+K2WCALFXf7CFsNQT4lON6qXcu2AA==", + "requested": "[6.0.0, )", + "resolved": "6.0.0", + "contentHash": "fQGWqVMClCP2yEyTXPIinSr5c+CBGUvBybPxjAGcf7ctDhadFhrQw03Mv8rJ07/wR5PDfFjewf2LimvXCDzpbA==", "dependencies": { - "Serilog": "3.1.1" + "Serilog": "4.0.0" } }, "SerilogTraceListener": { @@ -920,62 +312,52 @@ }, "Spectre.Console": { "type": "CentralTransitive", - "requested": "[0.48.0, )", - "resolved": "0.48.0", - "contentHash": "4Mc1UT7Azgtyb8FyNwK5FZmoZbKuT5PmY7ZwaKUytjD5kGFMNBACpOZTwYtkuY377YkYtZYBeDDTJUwTW86QXw==", - "dependencies": { - "System.Memory": "4.5.5" - } + "requested": "[0.49.1, )", + "resolved": "0.49.1", + "contentHash": "USV+pdu49OJ3nCjxNuw1K9Zw/c1HCBbwbjXZp0EOn6wM99tFdAtN34KEBZUMyRuJuXlUMDqhd8Yq9obW2MslYA==" }, "StreamJsonRpc": { "type": "CentralTransitive", - "requested": "[2.8.28, )", - "resolved": "2.8.28", - "contentHash": "i2hKUXJSLEoWpPqQNyISqLDqmFHMiyasjTC/PrrHNWhQyauFeVoebSct3E4OTUzRC1DYjVJ9AMiVbp/uVYLnjQ==", + "requested": "[2.20.20, )", + "resolved": "2.20.20", + "contentHash": "gwG7KViLbSWS7EI0kYevinVmIga9wZNrpSY/FnWyC6DbdjKJ1xlv/FV1L9b0rLkVP8cGxfIMexdvo/+2W5eq6Q==", "dependencies": { - "MessagePack": "2.2.85", - "Microsoft.Bcl.AsyncInterfaces": "5.0.0", - "Microsoft.VisualStudio.Threading": "16.9.60", - "Nerdbank.Streams": "2.6.81", - "Newtonsoft.Json": "12.0.2", - "System.Collections.Immutable": "5.0.0", - "System.Diagnostics.DiagnosticSource": "5.0.1", - "System.IO.Pipelines": "5.0.1", - "System.Memory": "4.5.4", - "System.Net.Http": "4.3.4", - "System.Net.WebSockets": "4.3.0", - "System.Reflection.Emit": "4.7.0", - "System.Threading.Tasks.Dataflow": "5.0.0", - "System.Threading.Tasks.Extensions": "4.5.4" + "MessagePack": "2.5.187", + "Microsoft.VisualStudio.Threading": "17.10.48", + "Microsoft.VisualStudio.Threading.Analyzers": "17.10.48", + "Microsoft.VisualStudio.Validation": "17.8.8", + "Nerdbank.Streams": "2.11.74", + "Newtonsoft.Json": "13.0.1", + "System.IO.Pipelines": "8.0.0" } }, "System.Collections.Immutable": { "type": "CentralTransitive", - "requested": "[7.0.0, )", - "resolved": "7.0.0", - "contentHash": "dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ==" + "requested": "[8.0.0, )", + "resolved": "8.0.0", + "contentHash": "AurL6Y5BA1WotzlEvVaIDpqzpIPvYnnldxru8oXJU2yFxFUy3+pNXjXd1ymO+RA0rq0+590Q8gaz2l3Sr7fmqg==" }, "System.Diagnostics.DiagnosticSource": { "type": "CentralTransitive", - "requested": "[7.0.0, )", - "resolved": "7.0.0", - "contentHash": "9W0ewWDuAyDqS2PigdTxk6jDKonfgscY/hP8hm7VpxYhNHZHKvZTdRckberlFk3VnCmr3xBUyMBut12Q+T2aOw==" + "requested": "[8.0.1, )", + "resolved": "8.0.1", + "contentHash": "vaoWjvkG1aenR2XdjaVivlCV9fADfgyhW5bZtXT23qaEea0lWiUljdQuze4E31vKM7ZWJaSUsbYIKE3rnzfZUg==" }, "System.IO.Abstractions": { "type": "CentralTransitive", - "requested": "[20.0.4, )", - "resolved": "20.0.4", - "contentHash": "Vv3DffYCM/DEQ7+9Dn7ydq852WSVtdeoLNlztIqaMAl4o6aALyAJQRTQ30d/3D7BVf5pALsGm22HYb4Y6h8xvw==", + "requested": "[21.1.3, )", + "resolved": "21.1.3", + "contentHash": "WgLx25YHAepNu5Wym1kBqYLqYMo/lmGakWILFYtpEtuxAVoeWvAj2U6oVfqmikPXVYit19tTGWnfbZhVUNjkrg==", "dependencies": { - "TestableIO.System.IO.Abstractions": "20.0.4", - "TestableIO.System.IO.Abstractions.Wrappers": "20.0.4" + "TestableIO.System.IO.Abstractions": "21.1.3", + "TestableIO.System.IO.Abstractions.Wrappers": "21.1.3" } }, "System.Memory": { "type": "CentralTransitive", - "requested": "[4.5.5, )", - "resolved": "4.5.5", - "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==" + "requested": "[4.6.0, )", + "resolved": "4.6.0", + "contentHash": "OEkbBQoklHngJ8UD8ez2AERSk2g+/qpAaSWWCBFbpH727HxDq5ydVkuncBaKcKfwRqXGWx64dS6G1SUScMsitg==" }, "System.Runtime": { "type": "CentralTransitive", @@ -989,13 +371,13 @@ }, "Thoth.Json.Net": { "type": "CentralTransitive", - "requested": "[8.0.0, )", - "resolved": "8.0.0", - "contentHash": "C/b+8g/xUTJTn7pbKC4bMAOy2tyolXAuHTXguT5TNzDKQ6sjnUfFa9B81fTt9PuUOdWFLyRKlXASuFhSQciJGQ==", + "requested": "[12.0.0, )", + "resolved": "12.0.0", + "contentHash": "n2YyONYdWCFS4Pu7wrqgV/l5tPuN+t3gxEfs/2RwqCiQkRnbgKs9dK61zHeZS5YganAoFbxLSwbaNL7SvSrS9g==", "dependencies": { "FSharp.Core": "4.7.2", - "Fable.Core": "[3.0.0, 4.0.0)", - "Newtonsoft.Json": "11.0.2" + "Fable.Core": "3.1.6", + "Newtonsoft.Json": "13.0.1" } } } diff --git a/src/Fantomas/packages.lock.json b/src/Fantomas/packages.lock.json index e3c4a30c0..a69893af5 100644 --- a/src/Fantomas/packages.lock.json +++ b/src/Fantomas/packages.lock.json @@ -50,9 +50,9 @@ }, "Ignore": { "type": "Direct", - "requested": "[0.1.50, )", - "resolved": "0.1.50", - "contentHash": "nr7/KaY5KP9QvCEf478w1k9Yz+dXQZKLEAsjfhIjuneScmyLvMKoItPL6OfkNODeCrINtHEBt8A7q7yETS1PQQ==" + "requested": "[0.2.1, )", + "resolved": "0.2.1", + "contentHash": "Qw3s0pTwK3o6Iv6kTMjmxzOt91pczU533OmtAvFRsJ7PdCVMhGCRyUkMsCOI7ejxOtHJdRsj141HeZWeedlqkQ==" }, "Ionide.Analyzers": { "type": "Direct", @@ -68,17 +68,17 @@ }, "Serilog": { "type": "Direct", - "requested": "[3.1.1, )", - "resolved": "3.1.1", - "contentHash": "P6G4/4Kt9bT635bhuwdXlJ2SCqqn2nhh4gqFqQueCOr9bK/e7W9ll/IoX1Ter948cV2Z/5+5v8pAfJYUISY03A==" + "requested": "[4.1.0, )", + "resolved": "4.1.0", + "contentHash": "u1aZI8HZ62LWlq5dZLFwm6jMax/sUwnWZSw5lkPsCt518cJBxFKoNmc7oSxe5aA5BgSkzy9rzwFGR/i/acnSPw==" }, "Serilog.Sinks.Console": { "type": "Direct", - "requested": "[5.0.1, )", - "resolved": "5.0.1", - "contentHash": "6Jt8jl9y2ey8VV7nVEUAyjjyxjAQuvd5+qj4XYAT9CwcsvR70HHULGBeD+K2WCALFXf7CFsNQT4lON6qXcu2AA==", + "requested": "[6.0.0, )", + "resolved": "6.0.0", + "contentHash": "fQGWqVMClCP2yEyTXPIinSr5c+CBGUvBybPxjAGcf7ctDhadFhrQw03Mv8rJ07/wR5PDfFjewf2LimvXCDzpbA==", "dependencies": { - "Serilog": "3.1.1" + "Serilog": "4.0.0" } }, "SerilogTraceListener": { @@ -92,98 +92,82 @@ }, "Spectre.Console": { "type": "Direct", - "requested": "[0.48.0, )", - "resolved": "0.48.0", - "contentHash": "4Mc1UT7Azgtyb8FyNwK5FZmoZbKuT5PmY7ZwaKUytjD5kGFMNBACpOZTwYtkuY377YkYtZYBeDDTJUwTW86QXw==", - "dependencies": { - "System.Memory": "4.5.5" - } + "requested": "[0.49.1, )", + "resolved": "0.49.1", + "contentHash": "USV+pdu49OJ3nCjxNuw1K9Zw/c1HCBbwbjXZp0EOn6wM99tFdAtN34KEBZUMyRuJuXlUMDqhd8Yq9obW2MslYA==" }, "StreamJsonRpc": { "type": "Direct", - "requested": "[2.8.28, )", - "resolved": "2.8.28", - "contentHash": "i2hKUXJSLEoWpPqQNyISqLDqmFHMiyasjTC/PrrHNWhQyauFeVoebSct3E4OTUzRC1DYjVJ9AMiVbp/uVYLnjQ==", + "requested": "[2.20.20, )", + "resolved": "2.20.20", + "contentHash": "gwG7KViLbSWS7EI0kYevinVmIga9wZNrpSY/FnWyC6DbdjKJ1xlv/FV1L9b0rLkVP8cGxfIMexdvo/+2W5eq6Q==", "dependencies": { - "MessagePack": "2.2.85", - "Microsoft.Bcl.AsyncInterfaces": "5.0.0", - "Microsoft.VisualStudio.Threading": "16.9.60", - "Nerdbank.Streams": "2.6.81", - "Newtonsoft.Json": "12.0.2", - "System.Collections.Immutable": "5.0.0", - "System.Diagnostics.DiagnosticSource": "5.0.1", - "System.IO.Pipelines": "5.0.1", - "System.Memory": "4.5.4", - "System.Net.Http": "4.3.4", - "System.Net.WebSockets": "4.3.0", - "System.Reflection.Emit": "4.7.0", - "System.Threading.Tasks.Dataflow": "5.0.0", - "System.Threading.Tasks.Extensions": "4.5.4" + "MessagePack": "2.5.187", + "Microsoft.VisualStudio.Threading": "17.10.48", + "Microsoft.VisualStudio.Threading.Analyzers": "17.10.48", + "Microsoft.VisualStudio.Validation": "17.8.8", + "Nerdbank.Streams": "2.11.74", + "Newtonsoft.Json": "13.0.1", + "System.IO.Pipelines": "8.0.0" } }, "System.IO.Abstractions": { "type": "Direct", - "requested": "[20.0.4, )", - "resolved": "20.0.4", - "contentHash": "Vv3DffYCM/DEQ7+9Dn7ydq852WSVtdeoLNlztIqaMAl4o6aALyAJQRTQ30d/3D7BVf5pALsGm22HYb4Y6h8xvw==", + "requested": "[21.1.3, )", + "resolved": "21.1.3", + "contentHash": "WgLx25YHAepNu5Wym1kBqYLqYMo/lmGakWILFYtpEtuxAVoeWvAj2U6oVfqmikPXVYit19tTGWnfbZhVUNjkrg==", "dependencies": { - "TestableIO.System.IO.Abstractions": "20.0.4", - "TestableIO.System.IO.Abstractions.Wrappers": "20.0.4" + "TestableIO.System.IO.Abstractions": "21.1.3", + "TestableIO.System.IO.Abstractions.Wrappers": "21.1.3" } }, "Thoth.Json.Net": { "type": "Direct", - "requested": "[8.0.0, )", - "resolved": "8.0.0", - "contentHash": "C/b+8g/xUTJTn7pbKC4bMAOy2tyolXAuHTXguT5TNzDKQ6sjnUfFa9B81fTt9PuUOdWFLyRKlXASuFhSQciJGQ==", + "requested": "[12.0.0, )", + "resolved": "12.0.0", + "contentHash": "n2YyONYdWCFS4Pu7wrqgV/l5tPuN+t3gxEfs/2RwqCiQkRnbgKs9dK61zHeZS5YganAoFbxLSwbaNL7SvSrS9g==", "dependencies": { "FSharp.Core": "4.7.2", - "Fable.Core": "[3.0.0, 4.0.0)", - "Newtonsoft.Json": "11.0.2" + "Fable.Core": "3.1.6", + "Newtonsoft.Json": "13.0.1" } }, "Fable.Core": { "type": "Transitive", - "resolved": "3.0.0", - "contentHash": "pkCOWJKAkCk36f5+q4F3XqlfsgCJL6i2lTLl4ZZVDswn8rjXo21EBG/gJ296a88LVBkI5LL2VwxQYqGZncomJw==", + "resolved": "3.1.6", + "contentHash": "w6M1F0zoLk4kTFc1Lx6x1Ft6BD3QwRe0eaLiinAqbjVkcF+iK+NiXGJO+a6q9RAF9NCg0vI48Xku7aNeqG4JVw==", "dependencies": { - "FSharp.Core": "4.5.2" + "FSharp.Core": "4.7.1" } }, "MessagePack": { "type": "Transitive", - "resolved": "2.2.85", - "contentHash": "3SqAgwNV5LOf+ZapHmjQMUc7WDy/1ur9CfFNjgnfMZKCB5CxkVVbyHa06fObjGTEHZI7mcDathYjkI+ncr92ZQ==", + "resolved": "2.5.187", + "contentHash": "uW4j8m4Nc+2Mk5n6arOChavJ9bLjkis0qWASOj2h2OwmfINuzYv+mjCHUymrYhmyyKTu3N+ObtTXAY4uQ7jIhg==", "dependencies": { - "MessagePack.Annotations": "2.2.85", - "Microsoft.Bcl.AsyncInterfaces": "1.0.0", - "System.Collections.Immutable": "1.5.0", - "System.Memory": "4.5.3", - "System.Reflection.Emit": "4.6.0", - "System.Reflection.Emit.Lightweight": "4.6.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.2", - "System.Threading.Tasks.Extensions": "4.5.3" + "MessagePack.Annotations": "2.5.187", + "Microsoft.NET.StringTools": "17.6.3" } }, "MessagePack.Annotations": { "type": "Transitive", - "resolved": "2.2.85", - "contentHash": "YptRsDCQK35K5FhmZ0LojW4t8I6DpetLfK5KG8PVY2f6h7/gdyr8f4++xdSEK/xS6XX7/GPvEpqszKVPksCsiQ==" - }, - "Microsoft.Bcl.AsyncInterfaces": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "W8DPQjkMScOMTtJbPwmPyj9c3zYSFGawDW3jwlBOOsnY+EzZFLgNQ/UMkK35JmkNOVPdCyPr2Tw7Vv9N+KA3ZQ==" + "resolved": "2.5.187", + "contentHash": "/IvvMMS8opvlHjEJ/fR2Cal4Co726Kj77Z8KiohFhuHfLHHmb9uUxW5+tSCL4ToKFfkQlrS3HD638mRq83ySqA==" }, "Microsoft.Build.Tasks.Git": { "type": "Transitive", "resolved": "1.1.1", "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" }, + "Microsoft.NET.StringTools": { + "type": "Transitive", + "resolved": "17.6.3", + "contentHash": "N0ZIanl1QCgvUumEL1laasU0a7sOE5ZwLZVTn0pAePnfhq8P7SvTjF8Axq+CnavuQkmdQpGNXQ1efZtu5kDFbA==" + }, "Microsoft.NETCore.Platforms": { "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "VyPlqzH2wavqquTcYpkIIAQ6WdenuKoFN0BdYBbCWsclXacSOHNQn66Gt4z5NBqEYW0FAPm5rlvki9ZiCij5xQ==" + "resolved": "1.1.1", + "contentHash": "TMBuzAHpTenGbGgk0SMTwyEkyijY/Eae4ZGsFNYJvAr/LDn1ku3Etp3FPxChmDp5HHF3kzJuoaa08N0xjqAJfQ==" }, "Microsoft.NETCore.Targets": { "type": "Transitive", @@ -233,181 +217,31 @@ }, "Microsoft.VisualStudio.Threading": { "type": "Transitive", - "resolved": "16.9.60", - "contentHash": "9igpltD4NDMb1QeLiuAShr4inAG/MEm/GL0VE3tCUXQmwrfrbrmwrhAn5fXy2uiZ1g2s2qSUkyEvx7sp2h7M8Q==", + "resolved": "17.10.48", + "contentHash": "7onkbbE0AOAhxKe+ZAa2NMzo4R5G4qypZmNIE0GhBohT/tl6e5aLnLx4Gg6trf6SUn3DfLRowMtNe5Q+PmhKgQ==", "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "5.0.0", - "Microsoft.VisualStudio.Threading.Analyzers": "16.9.60", - "Microsoft.VisualStudio.Validation": "16.8.33", - "Microsoft.Win32.Registry": "5.0.0", - "System.Threading.Tasks.Extensions": "4.5.4" + "Microsoft.VisualStudio.Threading.Analyzers": "17.10.48", + "Microsoft.VisualStudio.Validation": "17.8.8" } }, "Microsoft.VisualStudio.Threading.Analyzers": { "type": "Transitive", - "resolved": "16.9.60", - "contentHash": "kbl+ra5Ao93lDar3A2vUSdfWiHMYBBsLM3Z6i/t6fH2iPHGyMTqvt3z20XCZ+L+1gcc8lpbhmkFS4rh+zwfsTg==" + "resolved": "17.10.48", + "contentHash": "xwvwT91oqFjLgQykUp6y/JPYxz8LchbfJKrLVatfczWddXKng8DAo8RiiIodt+pRdsVXP9Ud02GtJoY7ifdXPQ==" }, "Microsoft.VisualStudio.Validation": { "type": "Transitive", - "resolved": "16.8.33", - "contentHash": "onzrXL8gsjht1knmmViGLTU3l1LIKoVLDL+gLN9Pdd+gclED9jLgxx/5X3mJHqETHMi7Va//hNCekiJ11LezSg==" - }, - "Microsoft.Win32.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "9ZQKCWxH7Ijp9BfahvL2Zyf1cJIk8XYLF6Yjzr2yi0b2cOut/HQ31qf1ThHAgCc3WiZMdnWcfJCgN82/0UunxA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "Microsoft.Win32.Registry": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "dDoKi0PnDz31yAyETfRntsLArTlVAVzUzCIvvEDsDsucrl33Dl8pIJG06ePTJTI3tGpeyHS9Cq7Foc/s4EeKcg==", - "dependencies": { - "System.Security.AccessControl": "5.0.0", - "System.Security.Principal.Windows": "5.0.0" - } + "resolved": "17.8.8", + "contentHash": "rWXThIpyQd4YIXghNkiv2+VLvzS+MCMKVRDR0GAMlflsdo+YcAN2g2r5U1Ah98OFjQMRexTFtXQQ2LkajxZi3g==" }, "Nerdbank.Streams": { "type": "Transitive", - "resolved": "2.6.81", - "contentHash": "htBHFE359qyyFwrvAGvFxrbBAoldZdl0XjtQdDWTJ8t5sWWs7QVXID5y1ZGJE61UgpV5CqWsj/NT0LOAn5GdZw==", + "resolved": "2.11.74", + "contentHash": "r4G7uHHfoo8LCilPOdtf2C+Q5ymHOAXtciT4ZtB2xRlAvv4gPkWBYNAijFblStv3+uidp81j5DP11jMZl4BfJw==", "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "1.1.1", - "Microsoft.VisualStudio.Threading": "16.7.56", - "Microsoft.VisualStudio.Validation": "15.5.31", - "System.IO.Pipelines": "4.7.2", - "System.Net.WebSockets": "4.3.0", - "System.Runtime.CompilerServices.Unsafe": "4.7.1" - } - }, - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "7VSGO0URRKoMEAq0Sc9cRz8mb6zbyx/BZDEWhgPdzzpmFhkam3fJ1DAGWFXBI4nGlma+uPKpfuMQP5LXRnOH5g==" - }, - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "0oAaTAm6e2oVH+/Zttt0cuhGaePQYKII1dY8iaqP7CvOpVKgLybKRFvQjXR2LtxXOXTVPNv14j0ot8uV+HrUmw==" - }, - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "G24ibsCNi5Kbz0oXWynBoRgtGvsw5ZSVEWjv13/KiCAM8C6wz9zzcCniMeQFIkJ2tasjo2kXlvlBZhplL51kGg==" - }, - "runtime.native.System": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZVuZJqnnegJhd2k/PtAbbIcZ3aZeITq3sj06oKfMBSfphW3HDmk/t4ObvbOk/JA/swGR0LNqMksAh/f7gpTROg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "DloMk88juo0OuOWr56QG7MNchmafTLYWvABy36izkrLI5VledI0rq28KGs1i9wbpeT9NPQrx/wTf8U2vazqQ3Q==", - "dependencies": { - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "4.3.0" - } - }, - "runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "QR1OwtwehHxSeQvZKXe+iSd+d3XZNkEcuWMFYa2i0aG1l+lR739HPicKMlTbJst3spmeekDVBUS7SeS26s4U/g==", - "dependencies": { - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2", - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" - } - }, - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "I+GNKGg2xCHueRd1m9PzeEW7WLbNNLznmTuEi8/vZX71HudUbx1UTwlGkiwMri7JLl8hGaIAWnA/GONhu+LOyQ==" - }, - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "1Z3TAq1ytS1IBRtPXJvEUZdVsfWfeNEhBkbiOCGEl9wwAfsjP2lz3ZFDx5tq8p60/EqbS0HItG5piHuB71RjoA==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kVXCuMTrTlxq4XOOMAysuNwsXWpYeboGddNGpIgNSZmv1b6r/s/DPk0fYMB7Q5Qo4bY68o48jt4T4y5BVecbCQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "6mU/cVmmHtQiDXhnzUImxIcDL48GbTk+TsptXyJA+MIOG9LRjPoAQC/qBFB7X+UNyK86bmvGwC8t+M66wsYC8w==" - }, - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "vjwG0GGcTW/PPg6KVud8F9GLWYuAV1rrw1BKAqY0oh4jcUqg15oYF1+qkGR2x2ZHM4DQnWKQ7cJgYbfncz/lYg==" - }, - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "7KMFpTkHC/zoExs+PwP8jDCWcrK9H6L7soowT80CUx3e+nxP/AFnq0AQAW5W76z2WYbLAYCRyPfwYFG6zkvQRw==" - }, - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "xrlmRCnKZJLHxyyLIqkZjNXqgxnKdZxfItrPkjI+6pkRo5lHX8YvSZlWrSI5AVwLMi4HbNWP7064hcAWeZKp5w==" - }, - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.2", - "contentHash": "leXiwfiIkW7Gmn7cgnNcdtNAU70SjmKW3jxGj1iKHOvdn0zRWsgv/l2OJUO5zdGdiv2VRFnAsxxhDgMzofPdWg==" - }, - "System.Collections": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Collections.Concurrent": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ztl69Xp0Y/UXCL+3v3tEU+lIy+bvjKNUmopn1wep/a291pVPK7dxBd6T7WnlQqRog+d1a/hSsgRsmFnIBKTPLQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" + "Microsoft.VisualStudio.Threading": "17.10.48", + "Microsoft.VisualStudio.Validation": "17.8.8", + "System.IO.Pipelines": "8.0.0" } }, "System.Configuration.ConfigurationManager": { @@ -418,473 +252,27 @@ "System.Security.Cryptography.ProtectedData": "4.4.0" } }, - "System.Diagnostics.Debug": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Diagnostics.Tracing": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "rswfv0f/Cqkh78rA5S8eN8Neocz234+emGCtTF3lxPY96F+mmmUen6tbn0glN6PMvlKQb9bPAY5e9u7fgPTkKw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Calendars": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "GUlBtdOWT4LTV3I+9/PJW+56AnnChTaOqqTLFtdmype/L500M2LIyXgmtd9X2P2VOkmJd5c67H5SaC2QcL1bFA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "FhKmdR6MPG+pxow6wGtNAWdZh7noIOpdD5TwQ3CprzgIE1bBBoim0vbR1+AWsWjQmU7zXHgQo4TWSP6lCeiWcQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "System.IO": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.FileSystem": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.FileSystem.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, "System.IO.Pipelines": { "type": "Transitive", - "resolved": "5.0.1", - "contentHash": "qEePWsaq9LoEEIqhbGe6D5J8c9IqQOUuTzzV6wn1POlfdLkJliZY3OlB0j0f17uMWlqZYjH7txj+2YbyrIA8Yg==" - }, - "System.Linq": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.4", - "contentHash": "aOa2d51SEbmM+H+Csw7yJOuNZoHkrP2XnAurye5HWYgGVVU54YZDvsLUYRv6h18X3sPnjNCANmN7ZhIPiqMcjA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.1", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.DiagnosticSource": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Extensions": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Security.Cryptography.X509Certificates": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.2" - } - }, - "System.Net.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "qOu+hDwFwoZPbzPvwut2qATe3ygjeQBDQj91xlsaqGFQUI5i4ZnZb8yyQuLGpDGivEPIt8EJkd1BVzVoP31FXA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Net.WebSockets": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "u6fFNY5q4T8KerUAVbya7bR6b7muBuSTAersyrihkcmE5QhEOiH3t5rh4il15SexbVlpXFHGuMwr/m8fDrnkQg==", - "dependencies": { - "Microsoft.Win32.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Reflection": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit": { - "type": "Transitive", - "resolved": "4.7.0", - "contentHash": "VR4kk8XLKebQ4MZuKuIni/7oh+QGFmZW3qORd1GvBq/8026OpW501SzT/oypwiQl4TvT8ErnReh/NzY9u+C6wQ==" - }, - "System.Reflection.Emit.Lightweight": { - "type": "Transitive", - "resolved": "4.6.0", - "contentHash": "j/V5HVvxvBQ7uubYD0PptQW2KGsi1Pc2kZ9yfwLixv3ADdjL/4M78KyC5e+ymW612DY8ZE4PFoZmWpoNmN2mqg==" - }, - "System.Reflection.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Resources.ResourceManager": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "4.7.1", - "contentHash": "zOHkQmzPCn5zm/BH+cxC1XbUS3P4Yoi3xzW7eRgVpDR2tPGSzyMZ17Ig1iRkfJuY0nhxkQQde8pgePNiA7z7TQ==" - }, - "System.Runtime.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.Handles": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.InteropServices": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Reflection": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Runtime.Numerics": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "yMH+MfdzHjy17l2KESnPiF2dwq7T+xLnSJar7slyimAkUh/gTrS9/UQOtv7xarskJ2/XDSNvfLGOBQPjL7PaHQ==", - "dependencies": { - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Security.AccessControl": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "dagJ1mHZO3Ani8GH0PHpPEe/oYO+rVdbQjvjJkBRNQkX4t0r1iaeGn8+/ybkSLEan3/slM0t59SVdHzuHf2jmw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "5.0.0", - "System.Security.Principal.Windows": "5.0.0" - } - }, - "System.Security.Cryptography.Algorithms": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.Apple": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Cng": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "03idZOqFlsKRL4W+LuCpJ6dBYDUWReug6lZjBa3uJWnk5sPCUXckocevTaUA8iT/MFSrY/2HXkOt753xQ/cf8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Security.Cryptography.Csp": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X4s/FCkEUnRGnwR3aSfVIkldBmtURMhmexALNTwpjklzxWU7yjMk7GHLKOZTNkgnWnE0q7+BCf9N2LVRWxewaA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Security.Cryptography.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Collections.Concurrent": "4.3.0", - "System.Linq": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "h4CEgOgv5PKVF/HwaHzJRiVboL2THYCou97zpmhjghx5frc7fIvlkY1jL+lnIQyChrJDMNEXS6r7byGif8Cy4w==", - "dependencies": { - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==", - "dependencies": { - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } + "resolved": "8.0.0", + "contentHash": "FHNOatmUq0sqJOkTx+UF/9YK1f180cnW5FVqnQMvYUN0elp6wFzbtPSiqbo1/ru8ICp43JM1i7kKkk6GsNGHlA==" }, "System.Security.Cryptography.ProtectedData": { "type": "Transitive", "resolved": "4.4.0", "contentHash": "cJV7ScGW7EhatRsjehfvvYVBvtiSMKgN8bOVI0bQhnF5bU7vnHVIsH49Kva7i7GWaWYvmEzkYVk1TC+gZYBEog==" }, - "System.Security.Cryptography.X509Certificates": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Calendars": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Cng": "4.3.0", - "System.Security.Cryptography.Csp": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Principal.Windows": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "t0MGLukB5WAVU9bO3MGzvlGnyJPgUlcwerXn1kzBRjwLKixT96XV0Uza41W49gVd8zEMFu9vQEFlv0IOrytICA==" - }, - "System.Text.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Threading": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==", - "dependencies": { - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Threading.Tasks": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Threading.Tasks.Dataflow": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "NBp0zSAMZp4muDje6XmbDfmkqw9+qsDCHp+YMEtnVgHEjQZ3Q7MzFTTp3eHqpExn4BwMrS7JkUVOTcVchig4Sw==" - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.5.4", - "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==" - }, "TestableIO.System.IO.Abstractions": { "type": "Transitive", - "resolved": "20.0.4", - "contentHash": "zvuE3an8qmEjlz72ZKyW/gBZprR0TMTDxuw77i1OXi5wEagXRhHwP4lOaLvHIXNlwyCAmdmei6iLHsfsZcuUAA==" + "resolved": "21.1.3", + "contentHash": "qe/gIjOPCoyiSCToouJx/vCvcTQXVGj/eJVRK/7s2F8yIv0zvEpjByfXZvS3yqmcpg0/S6x6w7DvNyPrLe/RRw==" }, "TestableIO.System.IO.Abstractions.Wrappers": { "type": "Transitive", - "resolved": "20.0.4", - "contentHash": "LbVaZauZfCkcGmHyPhQ2yiKv5GQqTvMViPYd3NjU1tGxp0N2p7Oc6Q/2trN6ZNIZCr42ujJdYUB63hE4mtsHRQ==", + "resolved": "21.1.3", + "contentHash": "5LEVwt5+K5TnL1ekfCbQszlgRnO77plpgQAgkXL7wXKGd0PQWE01eSss0+L7E8GGLGbtD7mzYJVq/bd79ZDBlQ==", "dependencies": { - "TestableIO.System.IO.Abstractions": "20.0.4" + "TestableIO.System.IO.Abstractions": "21.1.3" } }, "fantomas.client": { @@ -892,7 +280,7 @@ "dependencies": { "FSharp.Core": "[8.0.100, )", "SemanticVersioning": "[2.0.2, )", - "StreamJsonRpc": "[2.8.28, )" + "StreamJsonRpc": "[2.20.20, )" } }, "fantomas.core": { @@ -906,9 +294,9 @@ "type": "Project", "dependencies": { "FSharp.Core": "[8.0.100, )", - "System.Collections.Immutable": "[7.0.0, )", - "System.Diagnostics.DiagnosticSource": "[7.0.0, )", - "System.Memory": "[4.5.5, )", + "System.Collections.Immutable": "[8.0.0, )", + "System.Diagnostics.DiagnosticSource": "[8.0.1, )", + "System.Memory": "[4.6.0, )", "System.Runtime": "[4.3.1, )" } }, @@ -926,21 +314,21 @@ }, "System.Collections.Immutable": { "type": "CentralTransitive", - "requested": "[7.0.0, )", - "resolved": "7.0.0", - "contentHash": "dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ==" + "requested": "[8.0.0, )", + "resolved": "8.0.0", + "contentHash": "AurL6Y5BA1WotzlEvVaIDpqzpIPvYnnldxru8oXJU2yFxFUy3+pNXjXd1ymO+RA0rq0+590Q8gaz2l3Sr7fmqg==" }, "System.Diagnostics.DiagnosticSource": { "type": "CentralTransitive", - "requested": "[7.0.0, )", - "resolved": "7.0.0", - "contentHash": "9W0ewWDuAyDqS2PigdTxk6jDKonfgscY/hP8hm7VpxYhNHZHKvZTdRckberlFk3VnCmr3xBUyMBut12Q+T2aOw==" + "requested": "[8.0.1, )", + "resolved": "8.0.1", + "contentHash": "vaoWjvkG1aenR2XdjaVivlCV9fADfgyhW5bZtXT23qaEea0lWiUljdQuze4E31vKM7ZWJaSUsbYIKE3rnzfZUg==" }, "System.Memory": { "type": "CentralTransitive", - "requested": "[4.5.5, )", - "resolved": "4.5.5", - "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==" + "requested": "[4.6.0, )", + "resolved": "4.6.0", + "contentHash": "OEkbBQoklHngJ8UD8ez2AERSk2g+/qpAaSWWCBFbpH727HxDq5ydVkuncBaKcKfwRqXGWx64dS6G1SUScMsitg==" }, "System.Runtime": { "type": "CentralTransitive", From 3009288da7e7c5a3c2df6047aeb4ef1ad5d43b1d Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 29 Nov 2024 09:12:03 +0100 Subject: [PATCH 28/32] Add PublishAlpha pipeline --- build.fsx | 1 + 1 file changed, 1 insertion(+) diff --git a/build.fsx b/build.fsx index 896b9a95e..63c8458d3 100644 --- a/build.fsx +++ b/build.fsx @@ -496,6 +496,7 @@ pipeline "PublishAlpha" { return Seq.sum nugetExitCodes }) } + runIfOnlySpecified true } tryPrintPipelineCommandHelp () From 5d7a37958b9103cde6c31129e45ed26bf0b58693 Mon Sep 17 00:00:00 2001 From: Florian Verdonck Date: Thu, 12 Dec 2024 11:07:31 +0100 Subject: [PATCH 29/32] Add active pattern for empty computation expression (#3141) * Add active pattern for empty computation expression * Comment out lex.fsi * Add changelog entry --- CHANGELOG.md | 5 +++++ .../ComputationExpressionTests.fs | 14 ++++++++++++++ src/Fantomas.Core/ASTTransformer.fs | 19 +++++++++++++++++++ src/Fantomas.FCS/Fantomas.FCS.fsproj | 6 +++--- 4 files changed, 41 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c5c2b31b7..af5acb1f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 7.0.0-alpha-004 - 2024-12-12 + +### Fixed +* (Empty/NoEmpty)-bodied named computation expression produces inconsistent formatting. [#3140](https://github.com/fsprojects/fantomas/issues/3140) + ## 7.0.0-alpha-003 - 2024-11-29 ### Removed diff --git a/src/Fantomas.Core.Tests/ComputationExpressionTests.fs b/src/Fantomas.Core.Tests/ComputationExpressionTests.fs index 31c1a96c7..1b7912be9 100644 --- a/src/Fantomas.Core.Tests/ComputationExpressionTests.fs +++ b/src/Fantomas.Core.Tests/ComputationExpressionTests.fs @@ -2453,3 +2453,17 @@ let zero = async { () } // foo |> ignore """ + +[] +let ``empty computation expression with application`` () = + formatSourceString + """ +A() {} +""" + config + |> prepend newline + |> should + equal + """ +A() { } +""" diff --git a/src/Fantomas.Core/ASTTransformer.fs b/src/Fantomas.Core/ASTTransformer.fs index 93240f743..f1c4d9784 100644 --- a/src/Fantomas.Core/ASTTransformer.fs +++ b/src/Fantomas.Core/ASTTransformer.fs @@ -455,6 +455,15 @@ let (|IndexWithoutDot|_|) expr = Some(identifierExpr, indexExpr) | _ -> None +let (|EmptyComputationExpr|_|) expr = + match expr with + | SynExpr.App(ExprAtomicFlag.NonAtomic, + false, + funcExpr, + SynExpr.Record(recordFields = []; range = StartEndRange 1 (mOpen, _, mClose)), + range) -> Some(funcExpr, mOpen, mClose, range) + | _ -> None + let (|MultipleConsInfixApps|_|) expr = let rec visit expr (headAndLastOperator: (SynExpr * SingleTextNode) option) (xs: Queue) = match expr with @@ -1252,6 +1261,16 @@ let mkExpr (creationAide: CreationAide) (e: SynExpr) : Expr = ExprIndexWithoutDotNode(mkExpr creationAide identifierExpr, mkExpr creationAide indexExpr, exprRange) |> Expr.IndexWithoutDot + | EmptyComputationExpr(expr, mOpen, mClose, m) -> + ExprNamedComputationNode( + mkExpr creationAide expr, + stn "{" mOpen, + Expr.Ident(stn "" Range.Zero), + stn "}" mClose, + m + ) + |> Expr.NamedComputation + | ChainExpr links -> let chainLinks = links diff --git a/src/Fantomas.FCS/Fantomas.FCS.fsproj b/src/Fantomas.FCS/Fantomas.FCS.fsproj index db012a03f..dc2b8f3d4 100644 --- a/src/Fantomas.FCS/Fantomas.FCS.fsproj +++ b/src/Fantomas.FCS/Fantomas.FCS.fsproj @@ -303,9 +303,9 @@ SyntaxTree\FsLexOutput\pplex.fs - - SyntaxTree\FsLexOutput\lex.fsi - + + + SyntaxTree\FsLexOutput\lex.fs From c8aedfc45a54115921d3c4edd93d496c85f6c397 Mon Sep 17 00:00:00 2001 From: nojaf Date: Mon, 30 Dec 2024 09:07:31 +0100 Subject: [PATCH 30/32] Add v7 beta 1 to CHANGELOG.md --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index af5acb1f1..bd4122560 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 7.0.0-beta-001 - 2024-12-30 + +### Miscellaneous +* Stable API of v7, no more breaking changes going forward. + ## 7.0.0-alpha-004 - 2024-12-12 ### Fixed From 649eebdf4ff7543c33ab99ff0a7848b3eb56b473 Mon Sep 17 00:00:00 2001 From: nojaf Date: Fri, 10 Jan 2025 14:15:11 +0100 Subject: [PATCH 31/32] Add changelog entry --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd4122560..1f7120554 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 7.0.0 - 2025-01-10 + +### Miscellaneous +* Stable release. + ## 7.0.0-beta-001 - 2024-12-30 ### Miscellaneous From 2ebba1b353f7590554a1d9aa9e405092d814f94d Mon Sep 17 00:00:00 2001 From: Florian Verdonck Date: Fri, 10 Jan 2025 14:09:58 +0000 Subject: [PATCH 32/32] Try stable version instead? --- src/Fantomas.Client.Tests/EndToEndTests.fs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Fantomas.Client.Tests/EndToEndTests.fs b/src/Fantomas.Client.Tests/EndToEndTests.fs index e3b46ff3e..44d1f51e5 100644 --- a/src/Fantomas.Client.Tests/EndToEndTests.fs +++ b/src/Fantomas.Client.Tests/EndToEndTests.fs @@ -76,7 +76,7 @@ type EndToEndTests() = [] [] [] - [] + [] member _.Version(version: string) = withVersion version (fun fsharpFile -> backgroundTask { @@ -87,7 +87,7 @@ type EndToEndTests() = [] [] [] - [] + [] member _.FormatDocument(version: string) = withVersion version (fun fsharpFile -> backgroundTask {