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

madge

Package Overview
Dependencies
Maintainers
2
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

madge - npm Package Compare versions

Comparing version 7.0.0 to 8.0.0

test/vue.js

17

CHANGELOG.md

@@ -5,4 +5,19 @@ ### Changelog

#### [v7.0.0](https://github.com/pahen/madge/compare/v6.1.0...v7.0.0)
#### [v8.0.0](https://github.com/pahen/madge/compare/v7.0.0...v8.0.0)
- chore: edit test/output.sh comply with POSIX [`#391`](https://github.com/pahen/madge/pull/391)
- Update ts-graphviz@2.1.2 and typescript@5.4.4 [`#424`](https://github.com/pahen/madge/pull/424)
- Remove not required dep on precinct [`#421`](https://github.com/pahen/madge/pull/421)
- Cleanup README and remove Travis config [`#422`](https://github.com/pahen/madge/pull/422)
- Correct engine requirements [`#419`](https://github.com/pahen/madge/pull/419)
- Add tests for Vue [`#418`](https://github.com/pahen/madge/pull/418)
- Update to dependency-tree@11 [`#417`](https://github.com/pahen/madge/pull/417)
- Add empty TS config to fix the tests [`0163dc4`](https://github.com/pahen/madge/commit/0163dc469b3a52af423540ea75301d2f6e01b018)
- Add comment [`3a52fae`](https://github.com/pahen/madge/commit/3a52fae6cf4ad3018c3a8c43be4e361cbf4679ec)
- Remove integrated npm cache [`e25fa64`](https://github.com/pahen/madge/commit/e25fa6440631af238edafe02706f3a4616862ffa)
### [v7.0.0](https://github.com/pahen/madge/compare/v6.1.0...v7.0.0)
> 8 April 2024
- devDeps: release-it@^15.6.0->^16.2.1 [`#393`](https://github.com/pahen/madge/pull/393)

@@ -9,0 +24,0 @@ - ci: Run build & test scripts on GitHub Actions [`#394`](https://github.com/pahen/madge/pull/394)

13

package.json
{
"name": "madge",
"version": "7.0.0",
"version": "8.0.0",
"author": "Patrik Henningsson <patrik.henningsson@gmail.com>",

@@ -24,3 +24,3 @@ "repository": "git://github.com/pahen/madge",

"engines": {
"node": ">=14"
"node": ">=18"
},

@@ -52,14 +52,13 @@ "main": "./lib/api",

"debug": "^4.3.4",
"dependency-tree": "^10.0.9",
"dependency-tree": "^11.0.0",
"ora": "^5.4.1",
"pluralize": "^8.0.0",
"precinct": "^11.0.5",
"pretty-ms": "^7.0.1",
"rc": "^1.2.8",
"stream-to-array": "^2.3.0",
"ts-graphviz": "^1.8.1",
"ts-graphviz": "^2.1.2",
"walkdir": "^0.4.1"
},
"peerDependencies": {
"typescript": "^3.9.5 || ^4.9.5 || ^5"
"typescript": "^5.4.4"
},

@@ -79,4 +78,4 @@ "peerDependenciesMeta": {

"should": "^13.2.3",
"typescript": "^5.0.4 <5.2"
"typescript": "^5.4.4"
}
}
<p align="center">
<img alt="madge" src="http://pahen.github.io/madge/logo.svg" width="320">
<img alt="madge" src="http://pahen.github.io/madge/logo.svg" width="320">
</p>
<p align="center">
<img alt="Last version" src="https://img.shields.io/github/tag/pahen/madge.svg?style=flat-square" />
<a href="https://app.travis-ci.com/github/pahen/madge">
<img alt="Build Status" src="http://img.shields.io/travis/pahen/madge/master.svg?style=flat-square" />
</a>
<a href="https://www.npmjs.org/package/madge">
<img alg="NPM Status" src="http://img.shields.io/npm/dm/madge.svg?style=flat-square" />
</a>
<a href="https://paypal.me/pahen" target="_blank">
<img alt="Donate" src="https://img.shields.io/badge/donate-paypal-blue.svg?style=flat-square" />
</a>
<img alt="Last version" src="https://img.shields.io/github/tag/pahen/madge.svg?style=flat-square" />
<a href="https://www.npmjs.org/package/madge">
<img alg="NPM Status" src="http://img.shields.io/npm/dm/madge.svg?style=flat-square" />
</a>
<a href="https://paypal.me/pahen" target="_blank">
<img alt="Donate" src="https://img.shields.io/badge/donate-paypal-blue.svg?style=flat-square" />
</a>
</p>
**Madge** is a developer tool for generating a visual graph of your module dependencies, finding circular dependencies, and giving you other useful info. Joel Kemp's awesome [dependency-tree](https://github.com/mrjoelkemp/node-dependency-tree) is used for extracting the dependency tree.
* Works for JavaScript (AMD, CommonJS, and ES6 modules)

@@ -39,3 +34,3 @@ * Also works for CSS preprocessors (Sass, Stylus, and Less)

<a href="http://pahen.github.io/madge/madge.svg">
<img src="http://pahen.github.io/madge/madge.svg" width="888"/>
<img alt="graph" src="http://pahen.github.io/madge/madge.svg" width="888"/>
</a>

@@ -46,3 +41,3 @@

<a href="http://pahen.github.io/madge/simple.svg">
<img src="http://pahen.github.io/madge/simple.svg" width="300"/>
<img alt="graph-circular" src="http://pahen.github.io/madge/simple.svg" width="300"/>
</a>

@@ -53,3 +48,3 @@

<a href="https://asciinema.org/a/l9tM7lIraCpmzH0rdWw2KLrMc?autoplay=1">
<img src="https://asciinema.org/a/l9tM7lIraCpmzH0rdWw2KLrMc.png" width="590"/>
<img alt="in-action" src="https://asciinema.org/a/l9tM7lIraCpmzH0rdWw2KLrMc.png" width="590"/>
</a>

@@ -250,8 +245,8 @@

{
"fontSize": "10px",
"graphVizOptions": {
"G": {
"rankdir": "LR"
}
}
"fontSize": "10px",
"graphVizOptions": {
"G": {
"rankdir": "LR"
}
}
}

@@ -261,15 +256,16 @@ ```

> package.json
```json
{
"name": "foo",
"version": "0.0.1",
...
"madge": {
"fontSize": "10px",
"graphVizOptions": {
"G": {
"rankdir": "LR"
}
}
}
"name": "foo",
"version": "0.0.1",
...
"madge": {
"fontSize": "10px",
"graphVizOptions": {
"G": {
"rankdir": "LR"
}
}
}
}

@@ -306,3 +302,3 @@ ```

> List dependencies from all *.js and *.jsx files found in a directory
> List dependencies from all \*.js and \*.jsx files found in a directory

@@ -403,9 +399,10 @@ ```sh

For ES6 + CommonJS:
```json
{
"detectiveOptions": {
"es6": {
"mixedImports": true
}
}
"detectiveOptions": {
"es6": {
"mixedImports": true
}
}
}

@@ -415,9 +412,10 @@ ```

For TypeScript + CommonJS:
```json
{
"detectiveOptions": {
"ts": {
"mixedImports": true
}
}
"detectiveOptions": {
"ts": {
"mixedImports": true
}
}
}

@@ -432,7 +430,7 @@ ```

{
"detectiveOptions": {
"es6": {
"skipTypeImports": true
}
}
"detectiveOptions": {
"es6": {
"skipTypeImports": true
}
}
}

@@ -447,7 +445,7 @@ ```

{
"detectiveOptions": {
"ts": {
"skipTypeImports": true
}
}
"detectiveOptions": {
"ts": {
"skipTypeImports": true
}
}
}

@@ -462,10 +460,10 @@ ```

{
"detectiveOptions": {
"ts": {
"skipAsyncImports": true
},
"tsx": {
"skipAsyncImports": true
}
}
"detectiveOptions": {
"ts": {
"skipAsyncImports": true
},
"tsx": {
"skipAsyncImports": true
}
}
}

@@ -482,6 +480,6 @@ ```

{
"compilerOptions": {
"module": "commonjs",
"allowJs": true
}
"compilerOptions": {
"module": "commonjs",
"allowJs": true
}
}

@@ -508,3 +506,3 @@ ```

* **dot** "hierarchical" or layered drawings of directed graphs. This is the default tool to use if edges have directionality.
* **dot** "hierarchical" or layered drawings of directed graphs. This is the default tool to use if edges have directionality.

@@ -514,3 +512,3 @@ * **neato** "spring model'' layouts. This is the default tool to use if the graph is not too large (about 100 nodes) and you don't know anything else about it. Neato attempts to

* **fdp** "spring model'' layouts similar to those of neato, but does this by reducing forces rather than working with energy.
* **fdp** "spring model'' layouts similar to those of neato, but does this by reducing forces rather than working with energy.

@@ -528,3 +526,5 @@ * **sfdp** multiscale version of fdp for the layout of large graphs.

This project exists thanks to all the people who contribute.
<a href="https://github.com/pahen/madge/graphs/contributors"><img src="https://opencollective.com/madge/contributors.svg?width=890&button=false" alt="Contributors"/></a>
<a href="https://github.com/pahen/madge/graphs/contributors">
<img src="https://opencollective.com/madge/contributors.svg?width=890&button=false" alt="Contributors"/>
</a>

@@ -538,3 +538,3 @@ ## Donations ❤️

<div><b>Bernard Stojanović</b> (24 Mars, 2021)</div>
<img src="https://github.com/BeroBurny.png" width="64"/>
<img alt="BeroBurny" src="https://github.com/BeroBurny.png" width="64"/>
</a>

@@ -546,3 +546,3 @@ </p>

<div><b>Ole Jørgen Brønner</b> (Oct 8, 2020)</div>
<img src="https://github.com/olejorgenb.png" width="64"/>
<img alt="olejorgenb" src="https://github.com/olejorgenb.png" width="64"/>
</a>

@@ -554,3 +554,3 @@ </p>

<div><b>RxDB</b> (Apr 1, 2020)</div>
<img src="https://cdn.rawgit.com/pubkey/rxdb/ba7c9b80/docs/files/logo/logo_text.svg" width="128" style="margin: -4px -10px"/>
<img alt="RxDB" src="https://cdn.rawgit.com/pubkey/rxdb/ba7c9b80/docs/files/logo/logo_text.svg" width="128" style="margin: -4px -10px"/>
</a>

@@ -562,3 +562,3 @@ </p>

<div><b>Peter Verswyvelen</b> (Feb 24, 2020)</div>
<img src="https://github.com/Ziriax.png" width="64"/>
<img alt="Ziriax" src="https://github.com/Ziriax.png" width="64"/>
</a>

@@ -570,3 +570,3 @@ </p>

<div><b>Landon Alder</b> (Mar 19, 2019)</div>
<img src="https://github.com/landonalder.png" width="64"/>
<img alt="landonalder" src="https://github.com/landonalder.png" width="64"/>
</a>

@@ -573,0 +573,0 @@ </p>

@@ -7,2 +7,2 @@ class ExportClass {

export = ExportClass;
export default ExportClass;

@@ -7,2 +7,2 @@ class ExportClass {

export = ExportClass;
export default ExportClass;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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