@snyk/dep-graph
Advanced tools
Comparing version 2.7.1 to 2.7.2
@@ -43,4 +43,12 @@ "use strict"; | ||
break; | ||
case 'golang': { | ||
let expected = purlPkg.namespace | ||
? `${purlPkg.namespace}/${purlPkg.name}` | ||
: purlPkg.name; | ||
if (purlPkg.subpath) | ||
expected += `/${purlPkg.subpath}`; | ||
assert(pkg.name === expected, `name and packageURL name do not match`); | ||
break; | ||
} | ||
case 'composer': | ||
case 'golang': | ||
case 'npm': | ||
@@ -47,0 +55,0 @@ case 'swift': |
@@ -71,3 +71,3 @@ { | ||
}, | ||
"version": "2.7.1" | ||
"version": "2.7.2" | ||
} |
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
130378
1940