Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pkgs-graph

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pkgs-graph - npm Package Compare versions

Comparing version 2.0.0-1 to 2.0.0

8

lib/index.js

@@ -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);

10

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc