fix: buildkite semverScheme -> versionScheme

This commit is contained in:
Rhys Arkins 2018-06-02 18:59:02 +02:00
parent 13e8e1a2ff
commit d1f49e93eb
2 changed files with 7 additions and 7 deletions

View file

@ -52,7 +52,7 @@ function extractDependencies(content) {
lineNumber, lineNumber,
depName, depName,
purl: repo ? 'pkg:github/' + repo : undefined, purl: repo ? 'pkg:github/' + repo : undefined,
semverScheme: 'semver', versionScheme: 'semver',
currentVersion, currentVersion,
skipReason, skipReason,
}); });

View file

@ -7,24 +7,24 @@ Array [
"depName": "namespace/docker-compose", "depName": "namespace/docker-compose",
"lineNumber": 4, "lineNumber": 4,
"purl": undefined, "purl": undefined,
"semverScheme": "semver",
"skipReason": "invalid-version", "skipReason": "invalid-version",
"versionScheme": "semver",
}, },
Object { Object {
"currentVersion": "v1.3.2", "currentVersion": "v1.3.2",
"depName": "https://github.com/buildkite/plugin-docker-compose", "depName": "https://github.com/buildkite/plugin-docker-compose",
"lineNumber": 15, "lineNumber": 15,
"purl": undefined, "purl": undefined,
"semverScheme": "semver",
"skipReason": "git-plugin", "skipReason": "git-plugin",
"versionScheme": "semver",
}, },
Object { Object {
"currentVersion": "v1.3.2", "currentVersion": "v1.3.2",
"depName": "github.com/buildkite/plugin-docker-compose", "depName": "github.com/buildkite/plugin-docker-compose",
"lineNumber": 22, "lineNumber": 22,
"purl": undefined, "purl": undefined,
"semverScheme": "semver",
"skipReason": "unknown", "skipReason": "unknown",
"versionScheme": "semver",
}, },
] ]
`; `;
@ -36,16 +36,16 @@ Array [
"depName": "docker-compose", "depName": "docker-compose",
"lineNumber": 4, "lineNumber": 4,
"purl": "pkg:github/buildkite-plugins/docker-compose-buildkite-plugin", "purl": "pkg:github/buildkite-plugins/docker-compose-buildkite-plugin",
"semverScheme": "semver",
"skipReason": undefined, "skipReason": undefined,
"versionScheme": "semver",
}, },
Object { Object {
"currentVersion": "v1.3.2", "currentVersion": "v1.3.2",
"depName": "docker-compose", "depName": "docker-compose",
"lineNumber": 15, "lineNumber": 15,
"purl": "pkg:github/buildkite-plugins/docker-compose-buildkite-plugin", "purl": "pkg:github/buildkite-plugins/docker-compose-buildkite-plugin",
"semverScheme": "semver",
"skipReason": undefined, "skipReason": undefined,
"versionScheme": "semver",
}, },
] ]
`; `;
@ -57,8 +57,8 @@ Array [
"depName": "abc/detect-clowns", "depName": "abc/detect-clowns",
"lineNumber": 2, "lineNumber": 2,
"purl": "pkg:github/abc/detect-clowns-buildkite-plugin", "purl": "pkg:github/abc/detect-clowns-buildkite-plugin",
"semverScheme": "semver",
"skipReason": undefined, "skipReason": undefined,
"versionScheme": "semver",
}, },
] ]
`; `;