
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
grunt-dependencygraph
Advanced tools
Visualize your CommonJS or AMD module dependencies in a force directed graph using D3.js.
You can read the full introduction to the project in my blog post.
The best way to show something is by example, so here I generated a dependencygraph of the offical RequireJS multipage-example

http://auchenberg.github.com/grunt-dependencygraph/example
From the same directory as your Gruntfile, run
npm install grunt-dependencygraph
Then add some configuration for the plugin like so:
grunt.initConfig({
...
dependencygraph: {
targetPath: './app/assets/javascript',
outputPath: './public/graph',
format: 'amd'
},
...
});
Then add the following line to your Gruntfile after the initConfig-section:
grunt.loadNpmTasks('grunt-dependencygraph');
Then just run grunt dependencygraph, go to your outputPath-folder, and open index.html.
Enjoy.
grunt-dependencygraph supports a few options.
targetPath Path for the target source to extract dependencies (supports absolute/relative paths)
outputPath Path for where to output the graph (supports absolute/relative paths)
format Dependency-format to parse, either 'cjs' (common-js), or 'amd' (AMD)
exclude A regular expression for excluding modules
grunt-dependencygraph is still very much in progress, so here is the todo-list:
FAQs
Visualize your CommonJS or AMD module dependencies.
The npm package grunt-dependencygraph receives a total of 1 weekly downloads. As such, grunt-dependencygraph popularity was classified as not popular.
We found that grunt-dependencygraph demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.