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 7.0.0-0 to 7.0.0-1

6

lib/index.js

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

const dependency_path_1 = require("dependency-path");
const minimatch = require("minimatch");
const micromatch_1 = require("micromatch");
const normalizePath = require("normalize-path");

@@ -273,5 +273,5 @@ const path = require("path");

if (typeof searchedPkg === 'string') {
return minimatch(pkg.name, searchedPkg);
return micromatch_1.isMatch(pkg.name, searchedPkg);
}
return minimatch(pkg.name, searchedPkg.name) &&
return micromatch_1.isMatch(pkg.name, searchedPkg.name) &&
!pkg.version.startsWith('link:') &&

@@ -278,0 +278,0 @@ semver.satisfies(pkg.version, searchedPkg.range);

{
"name": "dependencies-hierarchy",
"version": "7.0.0-0",
"version": "7.0.0-1",
"description": "Creates a dependencies hierarchy for a symlinked `node_modules`",

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

"@pnpm/utils": "0.10.6",
"@types/minimatch": "3.0.3",
"dependency-path": "3.0.8",
"minimatch": "3.0.4",
"micromatch": "4.0.2",
"normalize-path": "3.0.0",

@@ -56,2 +55,3 @@ "resolve-link-target": "1.0.1",

"@pnpm/logger": "2.1.1",
"@types/micromatch": "3.1.0",
"@types/semver": "6",

@@ -58,0 +58,0 @@ "dependencies-hierarchy": "link:",

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