@snyk/dep-graph
Advanced tools
Comparing version 2.4.0 to 2.5.0
@@ -15,2 +15,3 @@ import * as types from '../core/types'; | ||
}; | ||
purl?: string; | ||
} | ||
@@ -17,0 +18,0 @@ /** |
@@ -27,2 +27,5 @@ "use strict"; | ||
}; | ||
if (depTree.purl) { | ||
rootPkg.purl = depTree.purl; | ||
} | ||
const pkgManagerInfo = { | ||
@@ -68,2 +71,5 @@ name: pkgManagerName, | ||
}; | ||
if (dep.purl) { | ||
depPkg.purl = dep.purl; | ||
} | ||
const depNodeId = getNodeId(depPkg.name, depPkg.version, subtreeHash); | ||
@@ -70,0 +76,0 @@ depNodesIds.push(depNodeId); |
@@ -71,3 +71,3 @@ { | ||
}, | ||
"version": "2.4.0" | ||
"version": "2.5.0" | ||
} |
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
121702
1831