summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-10-21 11:40:51 -0600
committermo khan <mo.khan@gmail.com>2020-10-21 11:40:51 -0600
commitac29038281aaa0a4cc3956fed41dba024d874792 (patch)
treec587ef278e5a07977bb1623fb8083f8c1d041889
parent072ad5e7a6e4e055f73db5ae74796c97099cee89 (diff)
Update go modules fixture files
Caused by: * https://gitlab.com/gitlab-org/security-products/tests/go-modules/-/merge_requests/59
-rw-r--r--spec/fixtures/expected/go/modules/v1.0.json45
-rw-r--r--spec/fixtures/expected/go/modules/v1.1.json63
-rw-r--r--spec/fixtures/expected/go/modules/v2.0.json47
-rw-r--r--spec/fixtures/expected/go/modules/v2.1.json31
4 files changed, 175 insertions, 11 deletions
diff --git a/spec/fixtures/expected/go/modules/v1.0.json b/spec/fixtures/expected/go/modules/v1.0.json
index 4902d39..6efbe72 100644
--- a/spec/fixtures/expected/go/modules/v1.0.json
+++ b/spec/fixtures/expected/go/modules/v1.0.json
@@ -5,6 +5,10 @@
"name": "MIT"
},
{
+ "count": 3,
+ "name": "Apache 2.0"
+ },
+ {
"count": 2,
"name": "New BSD"
},
@@ -63,6 +67,45 @@
},
{
"license": {
+ "name": "Apache 2.0",
+ "url": "http://www.apache.org/licenses/LICENSE-2.0.txt"
+ },
+ "dependency": {
+ "name": "github.com/minio/minio",
+ "description": "",
+ "pathes": [
+ "."
+ ]
+ }
+ },
+ {
+ "license": {
+ "name": "Apache 2.0",
+ "url": "http://www.apache.org/licenses/LICENSE-2.0.txt"
+ },
+ "dependency": {
+ "name": "github.com/minio/minio-go",
+ "description": "",
+ "pathes": [
+ "."
+ ]
+ }
+ },
+ {
+ "license": {
+ "name": "Apache 2.0",
+ "url": "http://www.apache.org/licenses/LICENSE-2.0.txt"
+ },
+ "dependency": {
+ "name": "github.com/minio/sha256-simd",
+ "description": "",
+ "pathes": [
+ "."
+ ]
+ }
+ },
+ {
+ "license": {
"name": "New BSD",
"url": "http://opensource.org/licenses/BSD-3-Clause"
},
@@ -153,4 +196,4 @@
}
}
]
-}
+} \ No newline at end of file
diff --git a/spec/fixtures/expected/go/modules/v1.1.json b/spec/fixtures/expected/go/modules/v1.1.json
index f0b9112..cf53d87 100644
--- a/spec/fixtures/expected/go/modules/v1.1.json
+++ b/spec/fixtures/expected/go/modules/v1.1.json
@@ -6,6 +6,10 @@
"name": "MIT"
},
{
+ "count": 3,
+ "name": "Apache 2.0"
+ },
+ {
"count": 2,
"name": "New BSD"
},
@@ -83,6 +87,63 @@
{
"licenses": [
{
+ "name": "Apache 2.0",
+ "url": "http://www.apache.org/licenses/LICENSE-2.0.txt"
+ }
+ ],
+ "license": {
+ "name": "Apache 2.0",
+ "url": "http://www.apache.org/licenses/LICENSE-2.0.txt"
+ },
+ "dependency": {
+ "name": "github.com/minio/minio",
+ "description": "",
+ "pathes": [
+ "."
+ ]
+ }
+ },
+ {
+ "licenses": [
+ {
+ "name": "Apache 2.0",
+ "url": "http://www.apache.org/licenses/LICENSE-2.0.txt"
+ }
+ ],
+ "license": {
+ "name": "Apache 2.0",
+ "url": "http://www.apache.org/licenses/LICENSE-2.0.txt"
+ },
+ "dependency": {
+ "name": "github.com/minio/minio-go",
+ "description": "",
+ "pathes": [
+ "."
+ ]
+ }
+ },
+ {
+ "licenses": [
+ {
+ "name": "Apache 2.0",
+ "url": "http://www.apache.org/licenses/LICENSE-2.0.txt"
+ }
+ ],
+ "license": {
+ "name": "Apache 2.0",
+ "url": "http://www.apache.org/licenses/LICENSE-2.0.txt"
+ },
+ "dependency": {
+ "name": "github.com/minio/sha256-simd",
+ "description": "",
+ "pathes": [
+ "."
+ ]
+ }
+ },
+ {
+ "licenses": [
+ {
"name": "New BSD",
"url": "http://opensource.org/licenses/BSD-3-Clause"
}
@@ -218,4 +279,4 @@
}
}
]
-}
+} \ No newline at end of file
diff --git a/spec/fixtures/expected/go/modules/v2.0.json b/spec/fixtures/expected/go/modules/v2.0.json
index 49289a8..a4fc766 100644
--- a/spec/fixtures/expected/go/modules/v2.0.json
+++ b/spec/fixtures/expected/go/modules/v2.0.json
@@ -8,18 +8,18 @@
"count": 6
},
{
+ "id": "Apache-2.0",
+ "name": "Apache License 2.0",
+ "url": "https://opensource.org/licenses/Apache-2.0",
+ "count": 4
+ },
+ {
"id": "BSD-3-Clause",
"name": "BSD 3-Clause \"New\" or \"Revised\" License",
"url": "https://opensource.org/licenses/BSD-3-Clause",
"count": 2
},
{
- "id": "Apache-2.0",
- "name": "Apache License 2.0",
- "url": "https://opensource.org/licenses/Apache-2.0",
- "count": 1
- },
- {
"id": "BSD-2-Clause",
"name": "BSD 2-Clause \"Simplified\" License",
"url": "https://opensource.org/licenses/BSD-2-Clause",
@@ -67,6 +67,39 @@
]
},
{
+ "name": "github.com/minio/minio",
+ "url": "",
+ "description": "",
+ "paths": [
+ "."
+ ],
+ "licenses": [
+ "Apache-2.0"
+ ]
+ },
+ {
+ "name": "github.com/minio/minio-go",
+ "url": "",
+ "description": "",
+ "paths": [
+ "."
+ ],
+ "licenses": [
+ "Apache-2.0"
+ ]
+ },
+ {
+ "name": "github.com/minio/sha256-simd",
+ "url": "",
+ "description": "",
+ "paths": [
+ "."
+ ],
+ "licenses": [
+ "Apache-2.0"
+ ]
+ },
+ {
"name": "github.com/pmezard/go-difflib",
"url": "",
"description": "",
@@ -145,4 +178,4 @@
]
}
]
-}
+} \ No newline at end of file
diff --git a/spec/fixtures/expected/go/modules/v2.1.json b/spec/fixtures/expected/go/modules/v2.1.json
index c86fe8e..e4119cb 100644
--- a/spec/fixtures/expected/go/modules/v2.1.json
+++ b/spec/fixtures/expected/go/modules/v2.1.json
@@ -56,6 +56,33 @@
]
},
{
+ "name": "github.com/minio/minio",
+ "version": "v0.0.0-20180419184637-5a16671f721f",
+ "package_manager": "go",
+ "path": "go.sum",
+ "licenses": [
+ "Apache-2.0"
+ ]
+ },
+ {
+ "name": "github.com/minio/minio-go",
+ "version": "v6.0.14+incompatible",
+ "package_manager": "go",
+ "path": "go.sum",
+ "licenses": [
+ "Apache-2.0"
+ ]
+ },
+ {
+ "name": "github.com/minio/sha256-simd",
+ "version": "v0.1.1",
+ "package_manager": "go",
+ "path": "go.sum",
+ "licenses": [
+ "Apache-2.0"
+ ]
+ },
+ {
"name": "github.com/pmezard/go-difflib",
"version": "v1.0.0",
"package_manager": "go",
@@ -93,7 +120,7 @@
},
{
"name": "golang.org/x/sys",
- "version": "v0.0.0-20190422165155-953cdadca894",
+ "version": "v0.0.0-20191026070338-33540a1f6037",
"package_manager": "go",
"path": "go.sum",
"licenses": [
@@ -120,4 +147,4 @@
]
}
]
-}
+} \ No newline at end of file