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

dependencies-hierarchy

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dependencies-hierarchy - npm Package Compare versions

Comparing version

to
8.0.7

@@ -36,3 +36,3 @@ import { DependenciesField, Registries } from '@pnpm/types';

}): Promise<{
[importerDir: string]: DependenciesHierarchy;
[projectDir: string]: DependenciesHierarchy;
}>;

@@ -152,7 +152,7 @@ "use strict";

}
function getAllDirectDependencies(lockfileImporter) {
function getAllDirectDependencies(projectSnapshot) {
return {
...lockfileImporter.dependencies,
...lockfileImporter.devDependencies,
...lockfileImporter.optionalDependencies,
...projectSnapshot.dependencies,
...projectSnapshot.devDependencies,
...projectSnapshot.optionalDependencies,
};

@@ -159,0 +159,0 @@ }

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

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

"scripts": {
"fix": "tslint -c tslint.json src/**/*.ts test/**/*.ts --fix",
"lint": "tslint -c tslint.json src/**/*.ts test/**/*.ts",
"lint": "tslint -c ../../tslint.json src/**/*.ts test/**/*.ts",
"pretest": "pnpm install -rf -C fixtures --frozen-lockfile --no-shared-workspace-lockfile --no-link-workspace-packages && pnpm install -rf -C fixtureWithLinks --frozen-lockfile --link-workspace-packages --no-shared-workspace-lockfile",
"test": "pnpm run tsc && pnpm run lint && ts-node test --type-check",
"test": "pnpm run tsc && ts-node test --type-check",
"prepublishOnly": "pnpm run tsc",

@@ -40,9 +39,9 @@ "tsc": "tsc"

"dependencies": {
"@pnpm/lockfile-file": "3.0.1",
"@pnpm/lockfile-utils": "2.0.5",
"@pnpm/modules-yaml": "5.0.0",
"@pnpm/lockfile-file": "3.0.2",
"@pnpm/lockfile-utils": "2.0.6",
"@pnpm/modules-yaml": "5.0.1",
"@pnpm/read-modules-dir": "2.0.1",
"@pnpm/types": "4.0.0",
"@pnpm/utils": "0.12.2",
"dependency-path": "4.0.2",
"@pnpm/types": "5.0.0",
"@pnpm/utils": "0.12.3",
"dependency-path": "4.0.3",
"normalize-path": "3.0.0",

@@ -55,5 +54,4 @@ "resolve-link-target": "1.0.1"

"@types/normalize-path": "3.0.0",
"dependencies-hierarchy": "link:",
"tape": "4.11.0"
"dependencies-hierarchy": "link:"
}
}

Sorry, the diff of this file is not supported yet