| { |
| "fixups": [ |
| { |
| "pattern": "Scanning your code and (\\d+) packages across (\\d+)", |
| "replace": "Scanning your code and P packages across M" |
| }, |
| { |
| "pattern": "Scanner: govulncheck@v.*", |
| "replace": "Scanner: govulncheck@v1.0.0" |
| }, |
| { |
| "pattern": "\"([^\"]*\") is a file", |
| "replace": "govulncheck: myfile is a file" |
| }, |
| { |
| "pattern": "\"scanner_version\": \"[^\"]*\"", |
| "replace": "\"scanner_version\": \"v0.0.0-00000000000-20000101010101\"" |
| }, |
| { |
| "pattern": "file:///(.*)/testdata/(.*)/vulndb", |
| "replace": "testdata/vulndb" |
| }, |
| { |
| "pattern": "package (.*) is not in (GOROOT|std) (.*)", |
| "replace": "package foo is not in GOROOT (/tmp/foo)" |
| }, |
| { |
| "pattern": "modified (.*)\\)", |
| "replace": "modified 01 Jan 21 00:00 UTC)" |
| }, |
| { |
| "pattern": "Go: (go1.[\\.\\d]*|devel).*", |
| "replace": "Go: go1.18" |
| }, |
| { |
| "pattern": "\"go_version\": \"go[^\\s\"]*\"", |
| "replace": "\"go_version\": \"go1.18\"" |
| }, |
| { |
| "pattern": "\"timestamp\": (.*),", |
| "replace": "\"timestamp\": \"2024-01-01T00:00:00\"," |
| }, |
| { |
| "pattern": "path\": \"stdlib\",\n *\"version\": \"[^\\s]*\"", |
| "replace": "path\": \"stdlib\",\n \"version\": \"v1.18.0\"" |
| } |
| ] |
| } |