
Security News
/Company News
Socket Is Sponsoring Composer and Packagist
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.
@changesets/get-dependents-graph
Advanced tools
Small helper utility extracted from bolt to get a graph of relationships between packages.
import { getDependentsGraph } from "@changesets/get-dependents-graph";
import { getPackages } from "@manypkg/get-packages";
const packages = await getPackages(cwd);
let { graph, valid } = getDependentsGraph(packages);
Mostly published for use in changesets
Lerna is a popular tool for managing JavaScript projects with multiple packages. It offers a wide range of functionalities including dependency graph management, versioning, and publishing. Compared to @changesets/get-dependents-graph, Lerna provides a more comprehensive suite of tools for monorepo management.
Nx is a set of extensible dev tools for monorepos, which helps in managing dependencies, building, and testing. It offers advanced features like dependency graph visualization and affected project detection. While @changesets/get-dependents-graph focuses on dependency graph, Nx provides a broader set of functionalities for monorepo development.
FAQs
Get the graph of dependents in a monorepo
The npm package @changesets/get-dependents-graph receives a total of 2,333,823 weekly downloads. As such, @changesets/get-dependents-graph popularity was classified as popular.
We found that @changesets/get-dependents-graph demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
/Company News
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.

Research
/Security News
Benign-looking npm packages split malicious functionality across a dependency chain that deploys a cross-platform RAT targeting Alibaba developers.

Research
/Security News
Two Joyfill npm beta releases contain an import-time implant that uses blockchain transactions to retrieve a remote-access trojan.