mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-14 16:46:25 +00:00
1317 lines
33 KiB
Text
1317 lines
33 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`lib/manager/gomod/extract extractPackageFile() extracts constraints 1`] = `
|
|
Object {
|
|
"constraints": Object {
|
|
"go": "1.13",
|
|
},
|
|
"deps": Array [
|
|
Object {
|
|
"currentValue": "v0.45.1",
|
|
"datasource": "go",
|
|
"depName": "cloud.google.com/go",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 5,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.3.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/Parallels/docker-machine-parallels",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 7,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v3.5.0+incompatible",
|
|
"datasource": "go",
|
|
"depName": "github.com/blang/semver",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 9,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v2.2.1+incompatible",
|
|
"datasource": "go",
|
|
"depName": "github.com/cenkalti/backoff",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 11,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v3.0.1",
|
|
"datasource": "go",
|
|
"depName": "github.com/cheggaaa/pb/v3",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 12,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "bcc4c8345a21",
|
|
"currentValue": "v0.0.0-20151120183258-bcc4c8345a21",
|
|
"datasource": "go",
|
|
"depName": "github.com/cloudfoundry-attic/jibber_jabber",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 13,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.13.1",
|
|
"datasource": "go",
|
|
"depName": "github.com/docker/docker",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 17,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.4.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/docker/go-units",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 18,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.7.1-0.20190902101342-b170508bf44c",
|
|
"datasource": "go",
|
|
"depName": "github.com/docker/machine",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 19,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "9d40249d3c2f",
|
|
"currentValue": "v0.0.0-20190421051319-9d40249d3c2f",
|
|
"datasource": "go",
|
|
"depName": "github.com/elazarl/goproxy",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 20,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "604e922904d3",
|
|
"currentValue": "v0.0.0-20130729185459-604e922904d3",
|
|
"datasource": "go",
|
|
"depName": "github.com/golang-collections/collections",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 25,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "23def4e6c14b",
|
|
"currentValue": "v0.0.0-20160126235308-23def4e6c14b",
|
|
"datasource": "go",
|
|
"depName": "github.com/golang/glog",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 26,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.3.2-0.20191028172631-481baca67f93",
|
|
"datasource": "go",
|
|
"depName": "github.com/google/go-cmp",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 27,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "aec8da010de2",
|
|
"currentValue": "v0.0.0-20200131185320-aec8da010de2",
|
|
"datasource": "go",
|
|
"depName": "github.com/google/go-containerregistry",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 28,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v17.0.0+incompatible",
|
|
"datasource": "go",
|
|
"depName": "github.com/google/go-github",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 29,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.4.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/hashicorp/go-getter",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 32,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.5.4",
|
|
"datasource": "go",
|
|
"depName": "github.com/hashicorp/go-retryablehttp",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 33,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "1cf07e5970d8",
|
|
"currentValue": "v0.0.0-20170318115843-1cf07e5970d8",
|
|
"datasource": "go",
|
|
"depName": "github.com/hooklift/iso9660",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 35,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "c48c3734757f",
|
|
"currentValue": "v0.0.0-20200318065542-c48c3734757f",
|
|
"datasource": "go",
|
|
"depName": "github.com/johanneswuerbach/nfsexports",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 38,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "9c5c9712527c",
|
|
"currentValue": "v0.0.0-20190205081909-9c5c9712527c",
|
|
"datasource": "go",
|
|
"depName": "github.com/juju/clock",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 39,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "d21b13acf4bf",
|
|
"currentValue": "v0.0.0-20180619145857-d21b13acf4bf",
|
|
"datasource": "go",
|
|
"depName": "github.com/juju/mutex",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 42,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "95032a82bc51",
|
|
"currentValue": "v0.0.0-20180428030007-95032a82bc51",
|
|
"datasource": "go",
|
|
"depName": "github.com/kballard/go-shellquote",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 47,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v3.4.0+incompatible",
|
|
"datasource": "go",
|
|
"depName": "github.com/libvirt/libvirt-go",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 49,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.1.1",
|
|
"datasource": "go",
|
|
"depName": "github.com/machine-drivers/docker-machine-driver-vmware",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 50,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.0.11",
|
|
"datasource": "go",
|
|
"depName": "github.com/mattn/go-isatty",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 51,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "4fdf99ab2936",
|
|
"currentValue": "v0.0.0-20170309133038-4fdf99ab2936",
|
|
"datasource": "go",
|
|
"depName": "github.com/mitchellh/go-ps",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 52,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "a12cd7250bcd",
|
|
"currentValue": "v0.0.0-20171020124204-a12cd7250bcd",
|
|
"datasource": "go",
|
|
"depName": "github.com/moby/hyperkit",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 53,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.0.4",
|
|
"datasource": "go",
|
|
"depName": "github.com/olekukonko/tablewriter",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 54,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.0.0-rc1",
|
|
"datasource": "go",
|
|
"depName": "github.com/opencontainers/go-digest",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 57,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.0.2",
|
|
"datasource": "go",
|
|
"depName": "github.com/otiai10/copy",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 58,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.2.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/pborman/uuid",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 59,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "95f893ade6f2",
|
|
"currentValue": "v0.0.0-20180830031419-95f893ade6f2",
|
|
"datasource": "go",
|
|
"depName": "github.com/phayes/freeport",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 61,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "9302be274faa",
|
|
"currentValue": "v0.0.0-20160118053552-9302be274faa",
|
|
"datasource": "go",
|
|
"depName": "github.com/pkg/browser",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 62,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.9.1",
|
|
"datasource": "go",
|
|
"depName": "github.com/pkg/errors",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 63,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "3a8809bd8a80",
|
|
"currentValue": "v0.0.0-20161223203901-3a8809bd8a80",
|
|
"datasource": "go",
|
|
"depName": "github.com/pkg/profile",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 64,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.0.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/pmezard/go-difflib",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 65,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v2.18.12+incompatible",
|
|
"datasource": "go",
|
|
"depName": "github.com/shirou/gopsutil",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 70,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.0.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/spf13/cobra",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 72,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.0.5",
|
|
"datasource": "go",
|
|
"depName": "github.com/spf13/pflag",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 73,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.6.1",
|
|
"datasource": "go",
|
|
"depName": "github.com/spf13/viper",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 74,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "1d523034197f",
|
|
"currentValue": "v0.0.0-20180618132009-1d523034197f",
|
|
"datasource": "go",
|
|
"depName": "github.com/xeipuuv/gojsonschema",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 77,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "97ebf9174097",
|
|
"currentValue": "v0.0.0-20161021174912-97ebf9174097",
|
|
"datasource": "go",
|
|
"depName": "github.com/zchee/go-vmnet",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 78,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "2835ba2e683f",
|
|
"currentValue": "v0.0.0-20190927031335-2835ba2e683f",
|
|
"datasource": "go",
|
|
"depName": "golang.org/x/build",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 79,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "78000ba7a073",
|
|
"currentValue": "v0.0.0-20200302210943-78000ba7a073",
|
|
"datasource": "go",
|
|
"depName": "golang.org/x/crypto",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 80,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "cd5d95a43a6e",
|
|
"currentValue": "v0.0.0-20190911185100-cd5d95a43a6e",
|
|
"datasource": "go",
|
|
"depName": "golang.org/x/sync",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 82,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "9fbb57f87de9",
|
|
"currentValue": "v0.0.0-20200124204421-9fbb57f87de9",
|
|
"datasource": "go",
|
|
"depName": "golang.org/x/sys",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 83,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.3.2",
|
|
"datasource": "go",
|
|
"depName": "golang.org/x/text",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 84,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.9.0",
|
|
"datasource": "go",
|
|
"depName": "google.golang.org/api",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 85,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v2.2.8",
|
|
"datasource": "go",
|
|
"depName": "gopkg.in/yaml.v2",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 91,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.17.3",
|
|
"datasource": "go",
|
|
"depName": "k8s.io/api",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 93,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.17.3",
|
|
"datasource": "go",
|
|
"depName": "k8s.io/apimachinery",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 94,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.17.3",
|
|
"datasource": "go",
|
|
"depName": "k8s.io/client-go",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 95,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.0.0",
|
|
"datasource": "go",
|
|
"depName": "k8s.io/kubectl",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 96,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.17.3",
|
|
"datasource": "go",
|
|
"depName": "k8s.io/kubernetes",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 97,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v4.0.0+incompatible",
|
|
"datasource": "go",
|
|
"depName": "sigs.k8s.io/sig-storage-lib-external-provisioner",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 99,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
],
|
|
}
|
|
`;
|
|
|
|
exports[`lib/manager/gomod/extract extractPackageFile() extracts multi-line requires 1`] = `
|
|
Array [
|
|
Object {
|
|
"currentValue": "v1.15.21",
|
|
"datasource": "go",
|
|
"depName": "github.com/aws/aws-sdk-go",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 3,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "9fd32a8b3d3d",
|
|
"currentValue": "v0.0.0-20140422174119-9fd32a8b3d3d",
|
|
"datasource": "go",
|
|
"depName": "github.com/bgentry/go-netrc",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 4,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "bcc4c8345a21",
|
|
"currentValue": "v0.0.0-20151120183258-bcc4c8345a21",
|
|
"datasource": "go",
|
|
"depName": "github.com/cloudfoundry/jibber_jabber",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 5,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.1.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/davecgh/go-spew",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 6,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.9.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/emirpasic/gods",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 7,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.7.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/fatih/color",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 8,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.4.7",
|
|
"datasource": "go",
|
|
"depName": "github.com/fsnotify/fsnotify",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 9,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.38.2",
|
|
"datasource": "go",
|
|
"depName": "github.com/go-ini/ini",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 10,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "604e922904d3",
|
|
"currentValue": "v0.0.0-20130729185459-604e922904d3",
|
|
"datasource": "go",
|
|
"depName": "github.com/golang-collections/collections",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 11,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "d5fe4b57a186",
|
|
"currentValue": "v0.0.0-20171218145408-d5fe4b57a186",
|
|
"datasource": "go",
|
|
"depName": "github.com/hashicorp/go-cleanhttp",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 12,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "4bda8fa99001",
|
|
"currentValue": "v0.0.0-20180809191950-4bda8fa99001",
|
|
"datasource": "go",
|
|
"depName": "github.com/hashicorp/go-getter",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 13,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "b1a1dbde6fdc",
|
|
"currentValue": "v0.0.0-20180326211150-b1a1dbde6fdc",
|
|
"datasource": "go",
|
|
"depName": "github.com/hashicorp/go-safetemp",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 14,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.0.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/hashicorp/go-version",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 15,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "ef8a98b0bbce",
|
|
"currentValue": "v0.0.0-20180404174102-ef8a98b0bbce",
|
|
"datasource": "go",
|
|
"depName": "github.com/hashicorp/hcl",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 16,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "fc0cef2ff331",
|
|
"currentValue": "v0.0.0-20180515183152-fc0cef2ff331",
|
|
"datasource": "go",
|
|
"depName": "github.com/heroku/rollrus",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 17,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "d14ea06fba99",
|
|
"currentValue": "v0.0.0-20150711004518-d14ea06fba99",
|
|
"datasource": "go",
|
|
"depName": "github.com/jbenet/go-context",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 18,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "906e15686e63",
|
|
"currentValue": "v0.0.0-20180822080847-906e15686e63",
|
|
"datasource": "go",
|
|
"depName": "github.com/jesseduffield/go-getter",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 19,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "03e26ff3f1de",
|
|
"currentValue": "v0.0.0-20180921065632-03e26ff3f1de",
|
|
"datasource": "go",
|
|
"depName": "github.com/jesseduffield/gocui",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 20,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "1e272ff78dcb",
|
|
"currentValue": "v0.0.0-20180919093808-1e272ff78dcb",
|
|
"datasource": "go",
|
|
"depName": "github.com/jesseduffield/termbox-go",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 21,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "0b12d6b521d8",
|
|
"currentValue": "v0.0.0-20160202185014-0b12d6b521d8",
|
|
"datasource": "go",
|
|
"depName": "github.com/jmespath/go-jmespath",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 22,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "ae77be60afb1",
|
|
"currentValue": "v0.0.0-20170510131534-ae77be60afb1",
|
|
"datasource": "go",
|
|
"depName": "github.com/kardianos/osext",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 23,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "9fc7bb800b55",
|
|
"currentValue": "v0.0.0-20180317175531-9fc7bb800b55",
|
|
"datasource": "go",
|
|
"depName": "github.com/kevinburke/ssh_config",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 24,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.8.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/magiconair/properties",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 25,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.0.9",
|
|
"datasource": "go",
|
|
"depName": "github.com/mattn/go-colorable",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 26,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.0.3",
|
|
"datasource": "go",
|
|
"depName": "github.com/mattn/go-isatty",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 27,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.0.2",
|
|
"datasource": "go",
|
|
"depName": "github.com/mattn/go-runewidth",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 28,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.2.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/mgutz/str",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 29,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "58046073cbff",
|
|
"currentValue": "v0.0.0-20180801233206-58046073cbff",
|
|
"datasource": "go",
|
|
"depName": "github.com/mitchellh/go-homedir",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 30,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "a61a99592b77",
|
|
"currentValue": "v0.0.0-20171004221916-a61a99592b77",
|
|
"datasource": "go",
|
|
"depName": "github.com/mitchellh/go-testing-interface",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 31,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "f15292f7a699",
|
|
"currentValue": "v0.0.0-20180715050151-f15292f7a699",
|
|
"datasource": "go",
|
|
"depName": "github.com/mitchellh/mapstructure",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 32,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "a16b91a3ba80",
|
|
"currentValue": "v0.0.0-20180803040939-a16b91a3ba80",
|
|
"datasource": "go",
|
|
"depName": "github.com/nicksnyder/go-i18n",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 33,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.2.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/pelletier/go-buffruneio",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 34,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.2.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/pelletier/go-toml",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 35,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.8.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/pkg/errors",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 36,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.0.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/pmezard/go-difflib",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 37,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.0.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/sergi/go-diff",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 38,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "e180dbdc8da0",
|
|
"currentValue": "v0.0.0-20170330084843-e180dbdc8da0",
|
|
"datasource": "go",
|
|
"depName": "github.com/shibukawa/configdir",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 39,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.0.6",
|
|
"datasource": "go",
|
|
"depName": "github.com/sirupsen/logrus",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 40,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.1.1",
|
|
"datasource": "go",
|
|
"depName": "github.com/spf13/afero",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 41,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.2.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/spf13/cast",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 42,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "14d3d4c51834",
|
|
"currentValue": "v0.0.0-20180814060501-14d3d4c51834",
|
|
"datasource": "go",
|
|
"depName": "github.com/spf13/jwalterweatherman",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 43,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.0.2",
|
|
"datasource": "go",
|
|
"depName": "github.com/spf13/pflag",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 44,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.1.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/spf13/viper",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 45,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "59b7046e48ad",
|
|
"currentValue": "v0.0.0-20160624110644-59b7046e48ad",
|
|
"datasource": "go",
|
|
"depName": "github.com/spkg/bom",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 46,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v2.3.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/src-d/gcfg/v2",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 47,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.2.2",
|
|
"datasource": "go",
|
|
"depName": "github.com/stretchr/testify",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 48,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "3627a5cbeaea",
|
|
"currentValue": "v0.0.0-20170522205222-3627a5cbeaea",
|
|
"datasource": "go",
|
|
"depName": "github.com/stvp/roll",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 49,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.1.2",
|
|
"datasource": "go",
|
|
"depName": "github.com/tcnksm/go-gitconfig",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 50,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.5.4",
|
|
"datasource": "go",
|
|
"depName": "github.com/ulikunitz/xz",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 51,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.2.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/xanzy/ssh-agent",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 52,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "de0752318171",
|
|
"currentValue": "v0.0.0-20180808211826-de0752318171",
|
|
"datasource": "go",
|
|
"depName": "golang.org/x/crypto",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 53,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "c39426892332",
|
|
"currentValue": "v0.0.0-20180811021610-c39426892332",
|
|
"datasource": "go",
|
|
"depName": "golang.org/x/net",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 54,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentDigest": "98c5dad5d1a0",
|
|
"currentValue": "v0.0.0-20180810173357-98c5dad5d1a0",
|
|
"datasource": "go",
|
|
"depName": "golang.org/x/sys",
|
|
"depType": "require",
|
|
"digestOneAndOnly": true,
|
|
"managerData": Object {
|
|
"lineNumber": 55,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.3.0",
|
|
"datasource": "go",
|
|
"depName": "golang.org/x/text",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 56,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v4.2.0",
|
|
"datasource": "go",
|
|
"depName": "gopkg.in/src-d/go-billy.v4",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 57,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v4.0.0-20180807092216-43d17e14b714",
|
|
"datasource": "go",
|
|
"depName": "gopkg.in/src-d/go-git.v4",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 58,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.1.2",
|
|
"datasource": "go",
|
|
"depName": "gopkg.in/warnings.v0",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 59,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v2.2.1",
|
|
"datasource": "go",
|
|
"depName": "gopkg.in/yaml.v2",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 60,
|
|
"multiLine": true,
|
|
},
|
|
},
|
|
]
|
|
`;
|
|
|
|
exports[`lib/manager/gomod/extract extractPackageFile() extracts single-line requires 1`] = `
|
|
Array [
|
|
Object {
|
|
"currentValue": "v0.7.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/pkg/errors",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 2,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.15.21",
|
|
"datasource": "go",
|
|
"depName": "github.com/aws/aws-sdk-go",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 3,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v1.0.0",
|
|
"datasource": "go",
|
|
"depName": "golang.org/x/foo",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 5,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "abcdef1",
|
|
"depName": "github.com/rarkins/foo",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 6,
|
|
},
|
|
"skipReason": "unsupported-version",
|
|
},
|
|
Object {
|
|
"currentValue": "v1.0.0",
|
|
"datasource": "go",
|
|
"depName": "gopkg.in/russross/blackfriday.v1",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 7,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v25.1.0+incompatible",
|
|
"datasource": "go",
|
|
"depName": "github.com/Azure/azure-sdk-for-go",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 8,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v0.0.0",
|
|
"datasource": "go",
|
|
"depName": "github.com/pravesht/gocql",
|
|
"depType": "replace",
|
|
"managerData": Object {
|
|
"lineNumber": 11,
|
|
},
|
|
},
|
|
Object {
|
|
"currentValue": "v3.5.0+incompatible",
|
|
"datasource": "go",
|
|
"depName": "github.com/caarlos0/env",
|
|
"depType": "require",
|
|
"managerData": Object {
|
|
"lineNumber": 13,
|
|
},
|
|
},
|
|
]
|
|
`;
|