pkgs-graph
Advanced tools
Comparing version 2.0.0-1 to 2.0.0
@@ -22,3 +22,9 @@ "use strict"; | ||
.map(depName => { | ||
const spec = npa.resolve(depName, dependencies[depName], pkg.path); | ||
let spec; | ||
try { | ||
spec = npa.resolve(depName, dependencies[depName], pkg.path); | ||
} | ||
catch (err) { | ||
return ''; | ||
} | ||
if (spec.type === 'directory') { | ||
@@ -25,0 +31,0 @@ const matchedPkg = R.values(pkgMap).find(pkg => pkg.path === spec.fetchSpec); |
{ | ||
"name": "pkgs-graph", | ||
"version": "2.0.0-1", | ||
"version": "2.0.0", | ||
"description": "Create a graph from an array of packages", | ||
@@ -19,3 +19,7 @@ "main": "lib/index.js", | ||
}, | ||
"author": "Zoltan Kochan", | ||
"author": { | ||
"name": "Zoltan Kochan", | ||
"email": "z@kochan.io", | ||
"url": "https://www.kochan.io/" | ||
}, | ||
"license": "MIT", | ||
@@ -33,3 +37,3 @@ "engines": { | ||
"tape": "^4.6.3", | ||
"ts-node": "^4.0.1", | ||
"ts-node": "^5.0.0", | ||
"typescript": "^2.2.2" | ||
@@ -36,0 +40,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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
9370
94
0