0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-01-26 20:59:47 +00:00
renovatebot_renovate/lib/modules/manager/nuget/__snapshots__/extract.spec.ts.snap
Rhys Arkins 0c2eaaf8bb
feat: sharedVariableName (#33111)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-01-16 15:05:07 +00:00

295 lines
6.3 KiB
Text

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`modules/manager/nuget/extract extractPackageFile() extracts all dependencies 1`] = `
[
{
"currentValue": "1.0.0",
"datasource": "nuget",
"depName": "My.Package",
"depType": "nuget",
},
{
"currentValue": "1.0.0",
"datasource": "nuget",
"depName": "Microsoft.VisualStudio.Web.CodeGeneration.Tools",
"depType": "nuget",
},
{
"currentValue": "undefined",
"datasource": "nuget",
"depName": "NotUpdatable3",
"depType": "nuget",
"skipReason": "invalid-version",
},
{
"datasource": "nuget",
"depName": "NotUpdatable3",
"depType": "nuget",
"skipReason": "invalid-version",
},
{
"datasource": "nuget",
"depName": "NotUpdatable3",
"depType": "nuget",
"skipReason": "invalid-version",
},
{
"datasource": "nuget",
"depName": "NotUpdatable3",
"depType": "nuget",
"skipReason": "invalid-version",
},
{
"datasource": "nuget",
"depName": "NotUpdatable2",
"depType": "nuget",
"skipReason": "invalid-version",
},
{
"datasource": "nuget",
"depName": "NotUpdatable1",
"depType": "nuget",
"skipReason": "invalid-version",
},
{
"currentValue": "1.2.3",
"datasource": "nuget",
"depName": "Range3",
"depType": "nuget",
},
{
"currentValue": "1.2.3",
"datasource": "nuget",
"depName": "Range2",
"depType": "nuget",
},
{
"currentValue": "1.2.3",
"datasource": "nuget",
"depName": "Range1",
"depType": "nuget",
},
{
"currentValue": "3.1.0.5",
"datasource": "nuget",
"depName": "Stateless",
"depType": "nuget",
},
{
"currentValue": "2.1.0",
"datasource": "nuget",
"depName": "Serilog.Sinks.Literate",
"depType": "nuget",
},
{
"currentValue": "1.4.0",
"datasource": "nuget",
"depName": "Serilog.Extensions.Logging",
"depType": "nuget",
},
{
"currentValue": "2.4.0",
"datasource": "nuget",
"depName": "Serilog",
"depType": "nuget",
},
{
"currentValue": "10.0.2",
"datasource": "nuget",
"depName": "Newtonsoft.Json",
"depType": "nuget",
},
{
"currentValue": "1.1.2",
"datasource": "nuget",
"depName": "Microsoft.Extensions.Logging.Debug",
"depType": "nuget",
},
{
"currentValue": "1.1.2",
"datasource": "nuget",
"depName": "Microsoft.Extensions.Configuration.Json",
"depType": "nuget",
},
{
"currentValue": "1.1.2",
"datasource": "nuget",
"depName": "Microsoft.AspNetCore.Server.Kestrel",
"depType": "nuget",
},
{
"currentValue": "1.1.3",
"datasource": "nuget",
"depName": "Microsoft.AspNetCore.Mvc.Core",
"depType": "nuget",
},
{
"datasource": "nuget",
"depName": "Microsoft.AspNetCore.Hosting",
"depType": "nuget",
"skipReason": "invalid-version",
},
{
"currentValue": "4.5.0",
"datasource": "nuget",
"depName": "Autofac.Extensions.DependencyInjection",
"depType": "nuget",
"sharedVariableName": "AutofacVersion",
},
{
"currentValue": "4.5.0",
"datasource": "nuget",
"depName": "Autofac",
"depType": "nuget",
"sharedVariableName": "AutofacVersion",
},
]
`;
exports[`modules/manager/nuget/extract extractPackageFile() extracts all dependencies from global packages file 1`] = `
[
{
"currentValue": "1.0.0",
"datasource": "nuget",
"depName": "Microsoft.VisualStudio.Web.CodeGeneration.Tools",
"depType": "nuget",
},
{
"datasource": "nuget",
"depName": "NotUpdatable3",
"depType": "nuget",
"skipReason": "invalid-version",
},
{
"datasource": "nuget",
"depName": "NotUpdatable3",
"depType": "nuget",
"skipReason": "invalid-version",
},
{
"datasource": "nuget",
"depName": "NotUpdatable3",
"depType": "nuget",
"skipReason": "invalid-version",
},
{
"datasource": "nuget",
"depName": "NotUpdatable2",
"depType": "nuget",
"skipReason": "invalid-version",
},
{
"datasource": "nuget",
"depName": "NotUpdatable1",
"depType": "nuget",
"skipReason": "invalid-version",
},
{
"currentValue": "1.2.3",
"datasource": "nuget",
"depName": "Range3",
"depType": "nuget",
},
{
"currentValue": "1.2.3",
"datasource": "nuget",
"depName": "Range2",
"depType": "nuget",
},
{
"currentValue": "1.2.3",
"datasource": "nuget",
"depName": "Range1",
"depType": "nuget",
},
{
"currentValue": "3.1.0.5",
"datasource": "nuget",
"depName": "Stateless",
"depType": "nuget",
},
{
"currentValue": "2.1.0",
"datasource": "nuget",
"depName": "Serilog.Sinks.Literate",
"depType": "nuget",
},
{
"currentValue": "1.4.0",
"datasource": "nuget",
"depName": "Serilog.Extensions.Logging",
"depType": "nuget",
},
{
"currentValue": "2.4.0",
"datasource": "nuget",
"depName": "Serilog",
"depType": "nuget",
},
{
"currentValue": "10.0.2",
"datasource": "nuget",
"depName": "Newtonsoft.Json",
"depType": "nuget",
},
{
"currentValue": "1.1.2",
"datasource": "nuget",
"depName": "Microsoft.Extensions.Logging.Debug",
"depType": "nuget",
},
{
"currentValue": "1.1.2",
"datasource": "nuget",
"depName": "Microsoft.Extensions.Configuration.Json",
"depType": "nuget",
},
{
"currentValue": "1.1.2",
"datasource": "nuget",
"depName": "Microsoft.AspNetCore.Server.Kestrel",
"depType": "nuget",
},
{
"currentValue": "1.1.3",
"datasource": "nuget",
"depName": "Microsoft.AspNetCore.Mvc.Core",
"depType": "nuget",
},
{
"currentValue": "1.1.2",
"datasource": "nuget",
"depName": "Microsoft.AspNetCore.Hosting",
"depType": "nuget",
},
{
"currentValue": "4.1.0",
"datasource": "nuget",
"depName": "Autofac.Extensions.DependencyInjection",
"depType": "nuget",
},
{
"currentValue": "4.5.0",
"datasource": "nuget",
"depName": "Autofac",
"depType": "nuget",
},
{
"currentValue": "2.0.0",
"datasource": "nuget",
"depName": "Roslynator.Analyzers",
"depType": "nuget",
},
]
`;
exports[`modules/manager/nuget/extract extractPackageFile() extracts package version dependency 1`] = `
[
{
"currentValue": "4.5.0",
"datasource": "nuget",
"depName": "Autofac",
"depType": "nuget",
},
]
`;