
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@11ty/dependency-tree-esm
Advanced tools
Finds all JavaScript ES Module dependencies from a filename.
dependency-tree-esmReturns an unordered array of local paths to dependencies of a Node ES module JavaScript file.
dependency-tree for the CommonJS version.This is used by Eleventy to find dependencies of a JavaScript file to watch for changes to re-run Eleventy’s build.
npm install --save-dev @11ty/dependency-tree-esm
import "my-package")import "path")// my-file.js
// if my-local-dependency.js has dependencies, it will include those too
import "./my-local-dependency.js";
// ignored, is a built-in
import path from "path";
import { find } from "@11ty/dependency-tree-esm";
// CommonJS is fine too
// const { find } = require("@11ty/dependency-tree-esm");
await find("./my-file.js");
// returns ["./my-local-dependency.js"]
Return a dependency-graph instance:
import { findGraph } from "@11ty/dependency-tree-esm";
// CommonJS is fine too
// const { find } = require("@11ty/dependency-tree-esm");
(await findGraph("./my-file.js")).overallOrder();
// returns ["./my-local-dependency.js", "./my-file.js"]
FAQs
Finds all JavaScript ES Module dependencies from a filename.
The npm package @11ty/dependency-tree-esm receives a total of 70,766 weekly downloads. As such, @11ty/dependency-tree-esm popularity was classified as popular.
We found that @11ty/dependency-tree-esm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.