@snyk/dep-graph
Advanced tools
Comparing version 1.6.0 to 1.6.1
@@ -51,3 +51,4 @@ "use strict"; | ||
function validateDepGraphData(depGraphData) { | ||
assert(semver.satisfies(depGraphData.schemaVersion, exports.SUPPORTED_SCHEMA_RANGE), "dep-graph schemaVersion not in \"" + exports.SUPPORTED_SCHEMA_RANGE + "\""); | ||
assert(!!semver.valid(depGraphData.schemaVersion) | ||
&& semver.satisfies(depGraphData.schemaVersion, exports.SUPPORTED_SCHEMA_RANGE), "dep-graph schemaVersion not in \"" + exports.SUPPORTED_SCHEMA_RANGE + "\""); | ||
assert(depGraphData.pkgManager && !!depGraphData.pkgManager.name, '.pkgManager.name is missing'); | ||
@@ -54,0 +55,0 @@ var pkgsMap = depGraphData.pkgs.reduce(function (acc, cur) { |
@@ -50,3 +50,3 @@ { | ||
}, | ||
"version": "1.6.0" | ||
"version": "1.6.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
62615
887