Comparing version 7.0.0 to 8.0.0
@@ -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) |
{ | ||
"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" | ||
} | ||
} |
148
README.md
<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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
105058
13
140
1950
+ Added@dependents/detective-less@5.0.0(transitive)
+ Added@jridgewell/sourcemap-codec@1.5.0(transitive)
+ Added@ts-graphviz/adapter@2.0.5(transitive)
+ Added@ts-graphviz/ast@2.0.5(transitive)
+ Added@ts-graphviz/common@2.1.4(transitive)
+ Added@ts-graphviz/core@2.0.5(transitive)
+ Added@typescript-eslint/types@7.18.0(transitive)
+ Added@typescript-eslint/typescript-estree@7.18.0(transitive)
+ Added@typescript-eslint/visitor-keys@7.18.0(transitive)
+ Added@vue/compiler-core@3.5.12(transitive)
+ Added@vue/compiler-dom@3.5.12(transitive)
+ Added@vue/compiler-sfc@3.5.12(transitive)
+ Added@vue/compiler-ssr@3.5.12(transitive)
+ Added@vue/shared@3.5.12(transitive)
+ Addedast-module-types@6.0.0(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedcommander@12.1.0(transitive)
+ Addeddependency-tree@11.0.1(transitive)
+ Addeddetective-amd@6.0.0(transitive)
+ Addeddetective-cjs@6.0.0(transitive)
+ Addeddetective-es6@5.0.0(transitive)
+ Addeddetective-postcss@7.0.0(transitive)
+ Addeddetective-sass@6.0.0(transitive)
+ Addeddetective-scss@5.0.0(transitive)
+ Addeddetective-stylus@5.0.0(transitive)
+ Addeddetective-typescript@13.0.0(transitive)
+ Addeddetective-vue2@2.1.0(transitive)
+ Addedentities@4.5.0(transitive)
+ Addedestree-walker@2.0.2(transitive)
+ Addedfiling-cabinet@5.0.2(transitive)
+ Addedget-amd-module-type@6.0.0(transitive)
+ Addedmagic-string@0.30.12(transitive)
+ Addedminimatch@9.0.5(transitive)
+ Addedmodule-definition@6.0.0(transitive)
+ Addedmodule-lookup-amd@9.0.2(transitive)
+ Addednode-source-walk@7.0.0(transitive)
+ Addedprecinct@12.1.2(transitive)
+ Addedresolve-dependency-path@4.0.0(transitive)
+ Addedsass-lookup@6.0.1(transitive)
+ Addedstylus-lookup@6.0.0(transitive)
+ Addedts-api-utils@1.4.0(transitive)
+ Addedts-graphviz@2.1.4(transitive)
- Removedprecinct@^11.0.5
- Removed@dependents/detective-less@4.1.0(transitive)
- Removed@typescript-eslint/types@5.62.0(transitive)
- Removed@typescript-eslint/typescript-estree@5.62.0(transitive)
- Removed@typescript-eslint/visitor-keys@5.62.0(transitive)
- Removedast-module-types@5.0.0(transitive)
- Removedcommander@10.0.1(transitive)
- Removeddependency-tree@10.0.9(transitive)
- Removeddetective-amd@5.0.2(transitive)
- Removeddetective-cjs@5.0.1(transitive)
- Removeddetective-es6@4.0.1(transitive)
- Removeddetective-postcss@6.1.3(transitive)
- Removeddetective-sass@5.0.3(transitive)
- Removeddetective-scss@4.0.3(transitive)
- Removeddetective-stylus@4.0.0(transitive)
- Removeddetective-typescript@11.2.0(transitive)
- Removedfiling-cabinet@4.2.0(transitive)
- Removedget-amd-module-type@5.0.1(transitive)
- Removedis-relative-path@1.0.2(transitive)
- Removedmodule-definition@5.0.1(transitive)
- Removedmodule-lookup-amd@8.0.5(transitive)
- Removednode-source-walk@6.0.2(transitive)
- Removedprecinct@11.0.5(transitive)
- Removedresolve-dependency-path@3.0.2(transitive)
- Removedsass-lookup@5.0.1(transitive)
- Removedstylus-lookup@5.0.1(transitive)
- Removedts-graphviz@1.8.2(transitive)
- Removedtslib@1.14.1(transitive)
- Removedtsutils@3.21.0(transitive)
Updateddependency-tree@^11.0.0
Updatedts-graphviz@^2.1.2