New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dependencies-hierarchy

Package Overview
Dependencies
Maintainers
1
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dependencies-hierarchy - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

lib/index.js

@@ -87,3 +87,3 @@ "use strict";

function getTree(opts, packages, keypath, parentId) {
if (opts.currentDepth > opts.maxDepth)
if (opts.currentDepth > opts.maxDepth || !packages[parentId])
return [];

@@ -90,0 +90,0 @@ const deps = opts.prod

{
"name": "dependencies-hierarchy",
"version": "1.0.0",
"version": "1.0.1",
"description": "Creates a dependencies hierarchy for a symlinked `node_modules`",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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