2018-06-14 09:15:52 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2018-11-04 17:51:23 +00:00
|
|
|
exports[`lib/manager/nuget/extract extractPackageFile() extracts all dependencies 1`] = `
|
2018-06-14 09:15:52 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
2018-06-14 13:52:37 +00:00
|
|
|
"currentValue": "4.5.0",
|
2019-02-04 08:41:22 +00:00
|
|
|
"datasource": "nuget",
|
2018-06-14 09:15:52 +00:00
|
|
|
"depName": "Autofac",
|
|
|
|
"depType": "nuget",
|
2019-07-22 07:40:22 +00:00
|
|
|
"managerData": Object {
|
|
|
|
"lineNumber": 12,
|
|
|
|
},
|
2018-06-14 09:15:52 +00:00
|
|
|
},
|
|
|
|
Object {
|
2018-06-14 13:52:37 +00:00
|
|
|
"currentValue": "4.1.0",
|
2019-02-04 08:41:22 +00:00
|
|
|
"datasource": "nuget",
|
2018-06-14 09:15:52 +00:00
|
|
|
"depName": "Autofac.Extensions.DependencyInjection",
|
|
|
|
"depType": "nuget",
|
2019-07-22 07:40:22 +00:00
|
|
|
"managerData": Object {
|
|
|
|
"lineNumber": 13,
|
|
|
|
},
|
2018-06-14 09:15:52 +00:00
|
|
|
},
|
|
|
|
Object {
|
2018-06-14 13:52:37 +00:00
|
|
|
"currentValue": "1.1.2",
|
2019-02-04 08:41:22 +00:00
|
|
|
"datasource": "nuget",
|
2018-06-14 09:15:52 +00:00
|
|
|
"depName": "Microsoft.AspNetCore.Hosting",
|
|
|
|
"depType": "nuget",
|
2019-07-22 07:40:22 +00:00
|
|
|
"managerData": Object {
|
|
|
|
"lineNumber": 14,
|
|
|
|
},
|
2018-06-14 09:15:52 +00:00
|
|
|
},
|
|
|
|
Object {
|
2018-06-14 13:52:37 +00:00
|
|
|
"currentValue": "1.1.3",
|
2019-02-04 08:41:22 +00:00
|
|
|
"datasource": "nuget",
|
2018-06-14 09:15:52 +00:00
|
|
|
"depName": "Microsoft.AspNetCore.Mvc.Core",
|
|
|
|
"depType": "nuget",
|
2019-07-22 07:40:22 +00:00
|
|
|
"managerData": Object {
|
|
|
|
"lineNumber": 15,
|
|
|
|
},
|
2018-06-14 09:15:52 +00:00
|
|
|
},
|
|
|
|
Object {
|
2018-06-14 13:52:37 +00:00
|
|
|
"currentValue": "1.1.2",
|
2019-02-04 08:41:22 +00:00
|
|
|
"datasource": "nuget",
|
2018-06-14 09:15:52 +00:00
|
|
|
"depName": "Microsoft.AspNetCore.Server.Kestrel",
|
|
|
|
"depType": "nuget",
|
2019-07-22 07:40:22 +00:00
|
|
|
"managerData": Object {
|
|
|
|
"lineNumber": 16,
|
|
|
|
},
|
2018-06-14 09:15:52 +00:00
|
|
|
},
|
|
|
|
Object {
|
2018-06-14 13:52:37 +00:00
|
|
|
"currentValue": "1.1.2",
|
2019-02-04 08:41:22 +00:00
|
|
|
"datasource": "nuget",
|
2018-06-14 09:15:52 +00:00
|
|
|
"depName": "Microsoft.Extensions.Configuration.Json",
|
|
|
|
"depType": "nuget",
|
2019-07-22 07:40:22 +00:00
|
|
|
"managerData": Object {
|
|
|
|
"lineNumber": 17,
|
|
|
|
},
|
2018-06-14 09:15:52 +00:00
|
|
|
},
|
|
|
|
Object {
|
2018-06-14 13:52:37 +00:00
|
|
|
"currentValue": "1.1.2",
|
2019-02-04 08:41:22 +00:00
|
|
|
"datasource": "nuget",
|
2018-06-14 09:15:52 +00:00
|
|
|
"depName": "Microsoft.Extensions.Logging.Debug",
|
|
|
|
"depType": "nuget",
|
2019-07-22 07:40:22 +00:00
|
|
|
"managerData": Object {
|
|
|
|
"lineNumber": 18,
|
|
|
|
},
|
2018-06-14 09:15:52 +00:00
|
|
|
},
|
|
|
|
Object {
|
2018-06-14 13:52:37 +00:00
|
|
|
"currentValue": "10.0.2",
|
2019-02-04 08:41:22 +00:00
|
|
|
"datasource": "nuget",
|
2018-06-14 09:15:52 +00:00
|
|
|
"depName": "Newtonsoft.Json",
|
|
|
|
"depType": "nuget",
|
2019-07-22 07:40:22 +00:00
|
|
|
"managerData": Object {
|
|
|
|
"lineNumber": 19,
|
|
|
|
},
|
2018-06-14 09:15:52 +00:00
|
|
|
},
|
|
|
|
Object {
|
2018-06-14 13:52:37 +00:00
|
|
|
"currentValue": "2.4.0",
|
2019-02-04 08:41:22 +00:00
|
|
|
"datasource": "nuget",
|
2018-06-14 09:15:52 +00:00
|
|
|
"depName": "Serilog",
|
|
|
|
"depType": "nuget",
|
2019-07-22 07:40:22 +00:00
|
|
|
"managerData": Object {
|
|
|
|
"lineNumber": 20,
|
|
|
|
},
|
2018-06-14 09:15:52 +00:00
|
|
|
},
|
|
|
|
Object {
|
2018-06-14 13:52:37 +00:00
|
|
|
"currentValue": "1.4.0",
|
2019-02-04 08:41:22 +00:00
|
|
|
"datasource": "nuget",
|
2018-06-14 09:15:52 +00:00
|
|
|
"depName": "Serilog.Extensions.Logging",
|
|
|
|
"depType": "nuget",
|
2019-07-22 07:40:22 +00:00
|
|
|
"managerData": Object {
|
|
|
|
"lineNumber": 21,
|
|
|
|
},
|
2018-06-14 09:15:52 +00:00
|
|
|
},
|
|
|
|
Object {
|
2018-06-14 13:52:37 +00:00
|
|
|
"currentValue": "2.1.0",
|
2019-02-04 08:41:22 +00:00
|
|
|
"datasource": "nuget",
|
2018-06-14 09:15:52 +00:00
|
|
|
"depName": "Serilog.Sinks.Literate",
|
|
|
|
"depType": "nuget",
|
2019-07-22 07:40:22 +00:00
|
|
|
"managerData": Object {
|
|
|
|
"lineNumber": 22,
|
|
|
|
},
|
2018-06-14 09:15:52 +00:00
|
|
|
},
|
|
|
|
Object {
|
2018-06-14 13:52:37 +00:00
|
|
|
"currentValue": "3.1.0.5",
|
2019-02-04 08:41:22 +00:00
|
|
|
"datasource": "nuget",
|
2018-06-14 09:15:52 +00:00
|
|
|
"depName": "Stateless",
|
|
|
|
"depType": "nuget",
|
2019-07-22 07:40:22 +00:00
|
|
|
"managerData": Object {
|
|
|
|
"lineNumber": 23,
|
|
|
|
},
|
2018-06-14 13:52:37 +00:00
|
|
|
"skipReason": "not-version",
|
2018-06-14 09:15:52 +00:00
|
|
|
},
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
2018-11-04 17:51:23 +00:00
|
|
|
exports[`lib/manager/nuget/extract extractPackageFile() returns empty for invalid csproj 1`] = `
|
2018-06-14 09:15:52 +00:00
|
|
|
Object {
|
|
|
|
"deps": Array [],
|
|
|
|
}
|
|
|
|
`;
|