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

@pnpm/pkg-manager.direct-dep-linker

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/pkg-manager.direct-dep-linker - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

2

lib/linkDirectDeps.d.ts

@@ -18,2 +18,2 @@ export interface LinkedDirectDep {

dedupe: boolean;
}): Promise<void>;
}): Promise<number>;

@@ -19,7 +19,8 @@ "use strict";

}
await Promise.all(Object.values(projects).map(linkDirectDepsOfProject));
const numberOfLinkedDeps = await Promise.all(Object.values(projects).map(linkDirectDepsOfProject));
return numberOfLinkedDeps.reduce((sum, count) => sum + count, 0);
}
exports.linkDirectDeps = linkDirectDeps;
async function linkDirectDepsAndDedupe(rootProject, projects) {
await linkDirectDepsOfProject(rootProject);
const linkedDeps = await linkDirectDepsOfProject(rootProject);
const pkgsLinkedToRoot = await readLinkedDeps(rootProject.modulesDir);

@@ -40,2 +41,3 @@ await Promise.all(Object.values(projects).map(async (project) => {

}));
return linkedDeps;
}

@@ -80,2 +82,3 @@ function omitDepsFromRoot(deps, pkgsLinkedToRoot) {

async function linkDirectDepsOfProject(project) {
let linkedDeps = 0;
await Promise.all(project.dependencies.map(async (dep) => {

@@ -109,4 +112,6 @@ if (dep.isExternalLink) {

});
linkedDeps++;
}));
return linkedDeps;
}
//# sourceMappingURL=linkDirectDeps.js.map
{
"name": "@pnpm/pkg-manager.direct-dep-linker",
"description": "Fast installation using only pnpm-lock.yaml",
"version": "2.0.0",
"version": "2.1.0",
"bugs": {

@@ -19,3 +19,3 @@ "url": "https://github.com/pnpm/pnpm/issues"

"@types/ramda": "0.28.20",
"@pnpm/pkg-manager.direct-dep-linker": "2.0.0"
"@pnpm/pkg-manager.direct-dep-linker": "2.1.0"
},

@@ -22,0 +22,0 @@ "homepage": "https://github.com/pnpm/pnpm/blob/main/pkg-manager/direct-dep-linker#readme",

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