snyk-go-plugin
Advanced tools
Comparing version 1.10.0 to 1.10.1
@@ -81,3 +81,3 @@ "use strict"; | ||
'vendor.json': 'govendor', | ||
'go.mod': 'gomod', | ||
'go.mod': 'gomodules', | ||
}; | ||
@@ -87,3 +87,3 @@ const VENDOR_SYNC_CMD_BY_PKG_MANAGER = { | ||
govendor: 'govendor sync', | ||
gomod: 'go mod download', | ||
gomodules: 'go mod download', | ||
}; | ||
@@ -94,3 +94,3 @@ function getDependencies(root, targetFile) { | ||
const packageManager = PACKAGE_MANAGER_BY_TARGET[targetFile]; | ||
if (packageManager === 'gomod') { | ||
if (packageManager === 'gomodules') { | ||
return buildDepTreeFromImportsAndModules(root); | ||
@@ -97,0 +97,0 @@ } |
@@ -117,3 +117,3 @@ import * as fs from 'fs'; | ||
'vendor.json': 'govendor', | ||
'go.mod': 'gomod', | ||
'go.mod': 'gomodules', | ||
}; | ||
@@ -124,3 +124,3 @@ | ||
govendor: 'govendor sync', | ||
gomod: 'go mod download', | ||
gomodules: 'go mod download', | ||
}; | ||
@@ -131,3 +131,3 @@ | ||
const packageManager = PACKAGE_MANAGER_BY_TARGET[targetFile]; | ||
if (packageManager === 'gomod') { | ||
if (packageManager === 'gomodules') { | ||
return buildDepTreeFromImportsAndModules(root); | ||
@@ -134,0 +134,0 @@ } |
@@ -28,3 +28,3 @@ { | ||
"graphlib": "^2.1.1", | ||
"snyk-go-parser": "1.3.0", | ||
"snyk-go-parser": "1.3.1", | ||
"tmp": "0.0.33" | ||
@@ -43,3 +43,3 @@ }, | ||
}, | ||
"version": "1.10.0" | ||
"version": "1.10.1" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73170
+ Addedsnyk-go-parser@1.3.1(transitive)
- Removedsnyk-go-parser@1.3.0(transitive)
Updatedsnyk-go-parser@1.3.1