/
githubmirror
/
trivy
Обзор
Документация
Войти
/
githubmirror
/
trivy
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
pkg/dependency/parser/nuget/lock/parse_testcase.go
1 027 строк
24 KB
Teppei Fukuda
refactor: unify Library and Package structs (#6633)
07 май 2024, 15:25
Не верифицирован
07 май 2024, 15:25
3eecfc6
Код
Авторство
О чём код?
package lock import ftypes "github.com/aquasecurity/trivy/pkg/fanal/types" var ( // docker run --rm -i -t mcr.microsoft.com/dotnet/sdk:latest // apt -y update && apt -y install jq // cd /usr/local/src // dotnet new mvc // dotnet add package Newtonsoft.Json // dotnet add package NuGet.Frameworks // dotnet restore --use-lock-file // cat packages.lock.json | jq -rc '.dependencies[] | keys[] as $k | "{\"\($k)\", \"\(.[$k] | .resolved)\", \"\"},"' nuGetSimple = []ftypes.Package{ { ID: "Newtonsoft.Json@12.0.3", Name: "Newtonsoft.Json", Version: "12.0.3", Relationship: ftypes.RelationshipDirect, Locations: []ftypes.Location{ { StartLine: 5, EndLine: 10, }, }, }, { ID: "NuGet.Frameworks@5.7.0", Name: "NuGet.Frameworks", Version: "5.7.0", Relationship: ftypes.RelationshipDirect, Locations: []ftypes.Location{ { StartLine: 11, EndLine: 16, }, }, }, } nuGetSimpleDeps []ftypes.Dependency // docker run --rm -i -t mcr.microsoft.com/dotnet/sdk:latest // apt -y update && apt -y install jq // cd /usr/local/src // dotnet new webapi // dotnet add package Newtonsoft.Json // dotnet add package NuGet.Frameworks // dotnet restore --use-lock-file // cat packages.lock.json | jq -rc '.dependencies[] | keys[] as $k | "{\"\($k)\", \"\(.[$k] | .resolved)\", \"\"},"' nuGetSubDependencies = []ftypes.Package{ { ID: "Microsoft.Extensions.ApiDescription.Server@3.0.0", Name: "Microsoft.Extensions.ApiDescription.Server", Version: "3.0.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 29, EndLine: 33, }, }, }, { ID: "Microsoft.OpenApi@1.1.4", Name: "Microsoft.OpenApi", Version: "1.1.4", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 34, EndLine: 38, }, }, }, { ID: "Newtonsoft.Json@12.0.3", Name: "Newtonsoft.Json", Version: "12.0.3", Relationship: ftypes.RelationshipDirect, Locations: []ftypes.Location{ { StartLine: 5, EndLine: 10, }, }, }, { ID: "NuGet.Frameworks@5.7.0", Name: "NuGet.Frameworks", Version: "5.7.0", Relationship: ftypes.RelationshipDirect, Locations: []ftypes.Location{ { StartLine: 11, EndLine: 16, }, }, }, { ID: "Swashbuckle.AspNetCore@5.5.1", Name: "Swashbuckle.AspNetCore", Version: "5.5.1", Relationship: ftypes.RelationshipDirect, Locations: []ftypes.Location{ { StartLine: 17, EndLine: 28, }, }, }, { ID: "Swashbuckle.AspNetCore.Swagger@5.5.1", Name: "Swashbuckle.AspNetCore.Swagger", Version: "5.5.1", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 39, EndLine: 46, }, }, }, { ID: "Swashbuckle.AspNetCore.SwaggerGen@5.5.1", Name: "Swashbuckle.AspNetCore.SwaggerGen", Version: "5.5.1", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 47, EndLine: 54, }, }, }, { ID: "Swashbuckle.AspNetCore.SwaggerUI@5.5.1", Name: "Swashbuckle.AspNetCore.SwaggerUI", Version: "5.5.1", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 55, EndLine: 59, }, }, }, } nuGetSubDependenciesDeps = []ftypes.Dependency{ { ID: "Swashbuckle.AspNetCore.Swagger@5.5.1", DependsOn: []string{"Microsoft.OpenApi@1.1.4"}, }, { ID: "Swashbuckle.AspNetCore.SwaggerGen@5.5.1", DependsOn: []string{"Swashbuckle.AspNetCore.Swagger@5.5.1"}, }, { ID: "Swashbuckle.AspNetCore@5.5.1", DependsOn: []string{ "Microsoft.Extensions.ApiDescription.Server@3.0.0", "Swashbuckle.AspNetCore.Swagger@5.5.1", "Swashbuckle.AspNetCore.SwaggerGen@5.5.1", "Swashbuckle.AspNetCore.SwaggerUI@5.5.1", }, }, } // mcr.microsoft.com/dotnet/sdk:latest // apt -y update && apt -y install jq // cd /usr/local/src // dotnet new console // dotnet add package Newtonsoft.Json // dotnet add package AWSSDK.Core // dotnet restore --use-lock-file // cat packages.lock.json | jq -rc '.dependencies[] | keys[] as $k | "{\"\($k)\", \"\(.[$k] | .resolved)\", \"\"},"' nuGetLegacy = []ftypes.Package{ { ID: "AWSSDK.Core@3.5.1.30", Name: "AWSSDK.Core", Version: "3.5.1.30", Relationship: ftypes.RelationshipDirect, Locations: []ftypes.Location{ { StartLine: 5, EndLine: 10, }, }, }, { ID: "Newtonsoft.Json@12.0.3", Name: "Newtonsoft.Json", Version: "12.0.3", Relationship: ftypes.RelationshipDirect, Locations: []ftypes.Location{ { StartLine: 11, EndLine: 16, }, }, }, } nuGetLegacyDeps []ftypes.Dependency // docker run --rm -i -t mcr.microsoft.com/dotnet/sdk:latest // apt -y update && apt -y install jq // cd /usr/local/src // dotnet new classlib -f net5.0 // sed -i 's~TargetFramework>net5.0</TargetFramework~TargetFrameworks>net4.0;netstandard2.0;netstandard1.0;net35;net2.0</TargetFrameworks~' src.csproj // dotnet add package Newtonsoft.Json // dotnet restore --use-lock-file // dotnet add package AWSSDK.Core // cat packages.lock.json | jq -rc '.dependencies[] | keys[] as $k | "{\"\($k)\", \"\(.[$k] | .resolved)\", \"\"},"' | sort -u nuGetMultiTarget = []ftypes.Package{ { ID: "AWSSDK.Core@3.5.1.30", Name: "AWSSDK.Core", Version: "3.5.1.30", Relationship: ftypes.RelationshipDirect, Locations: []ftypes.Location{ { StartLine: 5, EndLine: 10, }, { StartLine: 33, EndLine: 38, }, { StartLine: 61, EndLine: 66, }, { StartLine: 89, EndLine: 94, }, { StartLine: 436, EndLine: 444, }, }, }, { ID: "Microsoft.Bcl.AsyncInterfaces@1.1.0", Name: "Microsoft.Bcl.AsyncInterfaces", Version: "1.1.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 460, EndLine: 467, }, }, }, { ID: "Microsoft.CSharp@4.3.0", Name: "Microsoft.CSharp", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 138, EndLine: 147, }, }, }, { ID: "Microsoft.NETCore.Platforms@1.1.0", Name: "Microsoft.NETCore.Platforms", Version: "1.1.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 148, EndLine: 152, }, { StartLine: 468, EndLine: 472, }, }, }, { ID: "Microsoft.NETCore.Targets@1.1.0", Name: "Microsoft.NETCore.Targets", Version: "1.1.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 153, EndLine: 157, }, }, }, { ID: "Microsoft.NETFramework.ReferenceAssemblies@1.0.0", Name: "Microsoft.NETFramework.ReferenceAssemblies", Version: "1.0.0", Relationship: ftypes.RelationshipDirect, Locations: []ftypes.Location{ { StartLine: 11, EndLine: 19, }, { StartLine: 39, EndLine: 47, }, { StartLine: 67, EndLine: 75, }, }, }, { ID: "Microsoft.NETFramework.ReferenceAssemblies.net20@1.0.0", Name: "Microsoft.NETFramework.ReferenceAssemblies.net20", Version: "1.0.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 26, EndLine: 30, }, { StartLine: 54, EndLine: 58, }, }, }, { ID: "Microsoft.NETFramework.ReferenceAssemblies.net40@1.0.0", Name: "Microsoft.NETFramework.ReferenceAssemblies.net40", Version: "1.0.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 82, EndLine: 86, }, }, }, { ID: "NETStandard.Library@1.6.1", Name: "NETStandard.Library", Version: "1.6.1", Relationship: ftypes.RelationshipDirect, Locations: []ftypes.Location{ { StartLine: 95, EndLine: 125, }, }, }, { ID: "NETStandard.Library@2.0.3", Name: "NETStandard.Library", Version: "2.0.3", Relationship: ftypes.RelationshipDirect, Locations: []ftypes.Location{ { StartLine: 445, EndLine: 453, }, }, }, { ID: "Newtonsoft.Json@12.0.3", Name: "Newtonsoft.Json", Version: "12.0.3", Relationship: ftypes.RelationshipDirect, Locations: []ftypes.Location{ { StartLine: 20, EndLine: 25, }, { StartLine: 48, EndLine: 53, }, { StartLine: 76, EndLine: 81, }, { StartLine: 126, EndLine: 137, }, { StartLine: 454, EndLine: 459, }, }, }, { ID: "System.Collections@4.3.0", Name: "System.Collections", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 158, EndLine: 167, }, }, }, { ID: "System.ComponentModel@4.3.0", Name: "System.ComponentModel", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 168, EndLine: 175, }, }, }, { ID: "System.ComponentModel.Primitives@4.3.0", Name: "System.ComponentModel.Primitives", Relationship: ftypes.RelationshipIndirect, Version: "4.3.0", Locations: []ftypes.Location{ { StartLine: 176, EndLine: 185, }, }, }, { ID: "System.ComponentModel.TypeConverter@4.3.0", Name: "System.ComponentModel.TypeConverter", Relationship: ftypes.RelationshipIndirect, Version: "4.3.0", Locations: []ftypes.Location{ { StartLine: 186, EndLine: 203, }, }, }, { ID: "System.Diagnostics.Debug@4.3.0", Name: "System.Diagnostics.Debug", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 204, EndLine: 213, }, }, }, { ID: "System.Diagnostics.Tools@4.3.0", Name: "System.Diagnostics.Tools", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 214, EndLine: 223, }, }, }, { ID: "System.Dynamic.Runtime@4.3.0", Name: "System.Dynamic.Runtime", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 224, EndLine: 234, }, }, }, { ID: "System.Globalization@4.3.0", Name: "System.Globalization", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 235, EndLine: 244, }, }, }, { ID: "System.IO@4.3.0", Name: "System.IO", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 245, EndLine: 256, }, }, }, { ID: "System.Linq@4.3.0", Name: "System.Linq", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 257, EndLine: 265, }, }, }, { ID: "System.Linq.Expressions@4.3.0", Name: "System.Linq.Expressions", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 266, EndLine: 274, }, }, }, { ID: "System.Net.Primitives@4.3.0", Name: "System.Net.Primitives", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 275, EndLine: 284, }, }, }, { ID: "System.ObjectModel@4.3.0", Name: "System.ObjectModel", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 285, EndLine: 292, }, }, }, { ID: "System.Reflection@4.3.0", Name: "System.Reflection", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 293, EndLine: 304, }, }, }, { ID: "System.Reflection.Extensions@4.3.0", Name: "System.Reflection.Extensions", Relationship: ftypes.RelationshipIndirect, Version: "4.3.0", Locations: []ftypes.Location{ { StartLine: 305, EndLine: 315, }, }, }, { ID: "System.Reflection.Primitives@4.3.0", Name: "System.Reflection.Primitives", Relationship: ftypes.RelationshipIndirect, Version: "4.3.0", Locations: []ftypes.Location{ { StartLine: 316, EndLine: 325, }, }, }, { ID: "System.Resources.ResourceManager@4.3.0", Name: "System.Resources.ResourceManager", Relationship: ftypes.RelationshipIndirect, Version: "4.3.0", Locations: []ftypes.Location{ { StartLine: 326, EndLine: 337, }, }, }, { ID: "System.Runtime@4.3.0", Name: "System.Runtime", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 338, EndLine: 346, }, }, }, { ID: "System.Runtime.CompilerServices.Unsafe@4.5.2", Name: "System.Runtime.CompilerServices.Unsafe", Version: "4.5.2", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 473, EndLine: 477, }, }, }, { ID: "System.Runtime.Extensions@4.3.0", Name: "System.Runtime.Extensions", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 347, EndLine: 356, }, }, }, { ID: "System.Runtime.Serialization.Primitives@4.3.0", Name: "System.Runtime.Serialization.Primitives", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 357, EndLine: 364, }, }, }, { ID: "System.Text.Encoding@4.3.0", Name: "System.Text.Encoding", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 365, EndLine: 374, }, }, }, { ID: "System.Text.Encoding.Extensions@4.3.0", Name: "System.Text.Encoding.Extensions", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 375, EndLine: 385, }, }, }, { ID: "System.Text.RegularExpressions@4.3.0", Name: "System.Text.RegularExpressions", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 386, EndLine: 393, }, }, }, { ID: "System.Threading@4.3.0", Name: "System.Threading", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 394, EndLine: 402, }, }, }, { ID: "System.Threading.Tasks@4.3.0", Name: "System.Threading.Tasks", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 403, EndLine: 412, }, }, }, { ID: "System.Threading.Tasks.Extensions@4.5.2", Name: "System.Threading.Tasks.Extensions", Version: "4.5.2", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 478, EndLine: 485, }, }, }, { ID: "System.Xml.ReaderWriter@4.3.0", Name: "System.Xml.ReaderWriter", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 413, EndLine: 423, }, }, }, { ID: "System.Xml.XDocument@4.3.0", Name: "System.Xml.XDocument", Version: "4.3.0", Relationship: ftypes.RelationshipIndirect, Locations: []ftypes.Location{ { StartLine: 424, EndLine: 433, }, }, }, } nuGetMultiTargetDeps = []ftypes.Dependency{ { ID: "AWSSDK.Core@3.5.1.30", DependsOn: []string{"Microsoft.Bcl.AsyncInterfaces@1.1.0"}, }, { ID: "Microsoft.Bcl.AsyncInterfaces@1.1.0", DependsOn: []string{"System.Threading.Tasks.Extensions@4.5.2"}, }, { ID: "Microsoft.CSharp@4.3.0", DependsOn: []string{ "System.Dynamic.Runtime@4.3.0", "System.Linq.Expressions@4.3.0", "System.Runtime@4.3.0", }, }, { ID: "Microsoft.NETFramework.ReferenceAssemblies@1.0.0", DependsOn: []string{ "Microsoft.NETFramework.ReferenceAssemblies.net20@1.0.0", "Microsoft.NETFramework.ReferenceAssemblies.net40@1.0.0", }, }, { ID: "NETStandard.Library@1.6.1", DependsOn: []string{ "Microsoft.NETCore.Platforms@1.1.0", "System.Collections@4.3.0", "System.Diagnostics.Debug@4.3.0", "System.Diagnostics.Tools@4.3.0", "System.Globalization@4.3.0", "System.IO@4.3.0", "System.Linq.Expressions@4.3.0", "System.Linq@4.3.0", "System.Net.Primitives@4.3.0", "System.ObjectModel@4.3.0", "System.Reflection.Extensions@4.3.0", "System.Reflection.Primitives@4.3.0", "System.Reflection@4.3.0", "System.Resources.ResourceManager@4.3.0", "System.Runtime.Extensions@4.3.0", "System.Runtime@4.3.0", "System.Text.Encoding.Extensions@4.3.0", "System.Text.Encoding@4.3.0", "System.Text.RegularExpressions@4.3.0", "System.Threading.Tasks@4.3.0", "System.Threading@4.3.0", "System.Xml.ReaderWriter@4.3.0", "System.Xml.XDocument@4.3.0", }, }, { ID: "NETStandard.Library@2.0.3", DependsOn: []string{"Microsoft.NETCore.Platforms@1.1.0"}, }, { ID: "Newtonsoft.Json@12.0.3", DependsOn: []string{ "Microsoft.CSharp@4.3.0", "NETStandard.Library@1.6.1", "System.ComponentModel.TypeConverter@4.3.0", "System.Runtime.Serialization.Primitives@4.3.0", }, }, { ID: "System.Collections@4.3.0", DependsOn: []string{ "Microsoft.NETCore.Platforms@1.1.0", "Microsoft.NETCore.Targets@1.1.0", "System.Runtime@4.3.0", }, }, { ID: "System.ComponentModel.Primitives@4.3.0", DependsOn: []string{ "System.ComponentModel@4.3.0", "System.Resources.ResourceManager@4.3.0", "System.Runtime@4.3.0", }, }, { ID: "System.ComponentModel.TypeConverter@4.3.0", DependsOn: []string{ "System.Collections@4.3.0", "System.ComponentModel.Primitives@4.3.0", "System.ComponentModel@4.3.0", "System.Globalization@4.3.0", "System.Reflection.Extensions@4.3.0", "System.Reflection.Primitives@4.3.0", "System.Reflection@4.3.0", "System.Resources.ResourceManager@4.3.0", "System.Runtime.Extensions@4.3.0", "System.Runtime@4.3.0", "System.Threading@4.3.0", }, }, { ID: "System.ComponentModel@4.3.0", DependsOn: []string{"System.Runtime@4.3.0"}, }, { ID: "System.Diagnostics.Debug@4.3.0", DependsOn: []string{ "Microsoft.NETCore.Platforms@1.1.0", "Microsoft.NETCore.Targets@1.1.0", "System.Runtime@4.3.0", }, }, { ID: "System.Diagnostics.Tools@4.3.0", DependsOn: []string{ "Microsoft.NETCore.Platforms@1.1.0", "Microsoft.NETCore.Targets@1.1.0", "System.Runtime@4.3.0", }, }, { ID: "System.Dynamic.Runtime@4.3.0", DependsOn: []string{ "System.Linq.Expressions@4.3.0", "System.ObjectModel@4.3.0", "System.Reflection@4.3.0", "System.Runtime@4.3.0", }, }, { ID: "System.Globalization@4.3.0", DependsOn: []string{ "Microsoft.NETCore.Platforms@1.1.0", "Microsoft.NETCore.Targets@1.1.0", "System.Runtime@4.3.0", }, }, { ID: "System.IO@4.3.0", DependsOn: []string{ "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", }, }, { ID: "System.Linq.Expressions@4.3.0", DependsOn: []string{ "System.Reflection@4.3.0", "System.Runtime@4.3.0", }, }, { ID: "System.Linq@4.3.0", DependsOn: []string{ "System.Collections@4.3.0", "System.Runtime@4.3.0", }, }, { ID: "System.Net.Primitives@4.3.0", DependsOn: []string{ "Microsoft.NETCore.Platforms@1.1.0", "Microsoft.NETCore.Targets@1.1.0", "System.Runtime@4.3.0", }, }, { ID: "System.ObjectModel@4.3.0", DependsOn: []string{"System.Runtime@4.3.0"}, }, { ID: "System.Reflection.Extensions@4.3.0", DependsOn: []string{ "Microsoft.NETCore.Platforms@1.1.0", "Microsoft.NETCore.Targets@1.1.0", "System.Reflection@4.3.0", "System.Runtime@4.3.0", }, }, { ID: "System.Reflection.Primitives@4.3.0", DependsOn: []string{ "Microsoft.NETCore.Platforms@1.1.0", "Microsoft.NETCore.Targets@1.1.0", "System.Runtime@4.3.0", }, }, { ID: "System.Reflection@4.3.0", DependsOn: []string{ "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", }, }, { ID: "System.Resources.ResourceManager@4.3.0", DependsOn: []string{ "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", }, }, { ID: "System.Runtime.Extensions@4.3.0", DependsOn: []string{ "Microsoft.NETCore.Platforms@1.1.0", "Microsoft.NETCore.Targets@1.1.0", "System.Runtime@4.3.0", }, }, { ID: "System.Runtime.Serialization.Primitives@4.3.0", DependsOn: []string{"System.Runtime@4.3.0"}, }, { ID: "System.Runtime@4.3.0", DependsOn: []string{ "Microsoft.NETCore.Platforms@1.1.0", "Microsoft.NETCore.Targets@1.1.0", }, }, { ID: "System.Text.Encoding.Extensions@4.3.0", DependsOn: []string{ "Microsoft.NETCore.Platforms@1.1.0", "Microsoft.NETCore.Targets@1.1.0", "System.Runtime@4.3.0", "System.Text.Encoding@4.3.0", }, }, { ID: "System.Text.Encoding@4.3.0", DependsOn: []string{ "Microsoft.NETCore.Platforms@1.1.0", "Microsoft.NETCore.Targets@1.1.0", "System.Runtime@4.3.0", }, }, { ID: "System.Text.RegularExpressions@4.3.0", DependsOn: []string{"System.Runtime@4.3.0"}, }, { ID: "System.Threading.Tasks.Extensions@4.5.2", DependsOn: []string{"System.Runtime.CompilerServices.Unsafe@4.5.2"}, }, { ID: "System.Threading.Tasks@4.3.0", DependsOn: []string{ "Microsoft.NETCore.Platforms@1.1.0", "Microsoft.NETCore.Targets@1.1.0", "System.Runtime@4.3.0", }, }, { ID: "System.Threading@4.3.0", DependsOn: []string{ "System.Runtime@4.3.0", "System.Threading.Tasks@4.3.0", }, }, { ID: "System.Xml.ReaderWriter@4.3.0", DependsOn: []string{ "System.IO@4.3.0", "System.Runtime@4.3.0", "System.Text.Encoding@4.3.0", "System.Threading.Tasks@4.3.0", }, }, { ID: "System.Xml.XDocument@4.3.0", DependsOn: []string{ "System.IO@4.3.0", "System.Runtime@4.3.0", "System.Xml.ReaderWriter@4.3.0", }, }, } )