You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,22 @@
1
1
# circular-dependency-scanner
2
2
3
-
## 3.0.0-beta.0
3
+
## 3.0.0
4
4
5
5
### Major Changes
6
6
7
7
## ⚠️ Breaking
8
8
9
-
Since v3, only support **Node.js v20+**
9
+
Since v3, this tool only support **Node.js v20+**.
10
+
11
+
The **graph detection core algorithm** is implemented in **`rust`** instead, to *save runtime memory and make it much faster*, that is compiled to **`wasm`** and integrated.
12
+
13
+
Prefer to check CHANGELOG history for more information.
14
+
15
+
16
+
## 3.0.0-beta.0
17
+
18
+
### Major Changes
10
19
11
-
## Other
12
20
- perf: implement graph detect algorithm with `rust`, save runtime memory and make it much faster
13
21
- feat: re-export the `analyzeGraph` method and `Edge` type
14
22
- chore: update eco-dependencies and refactor infrastructure
On one hand there are few tools, on the other hand there are too many annoyed problems among the exist tools on the market:
34
-
35
-
1. Not reliable, **usually missed lots of dep-circles**. This is because in common they can't pull out the import/require sources correctly from source files
36
-
2. Not a standalone tool, they often appears as a webpack/rollup/vite plugin, and analyze the relations with help of the module graph created by the plugin's host, which usually under limitations, slow and hard to use.
37
-
38
-
But now, you just run `ds`, all of the **(.js,.jsx,.ts,.tsx,.mjs,.cjs,.vue)** files under current directory will be parsed directly and fast with TypeScript API, which almost include all file types we used. And then the circles among these files will be printed.
39
-
40
32
# Command Line Tool (Prefer)
41
33
42
34
The `ds` command which means `depscan` will be available after you installed this package globally.
On one hand there are few tools, on the other hand there are too many annoyed problems among the exist tools on the market:
104
+
105
+
1. Not reliable, **usually missed lots of dep-circles**. This is because in common they can't pull out the import/require sources correctly from source files
106
+
2. Not a standalone tool, they often appears as a webpack/rollup/vite plugin, and analyze the relations with help of the module graph created by the plugin's host, which usually under limitations, slow and hard to use.
107
+
108
+
But now, you just run `ds`, all of the **(.js,.jsx,.ts,.tsx,.mjs,.cjs,.vue)** files under current directory will be parsed directly and fast, which almost include all file types we used. And then the circles among these files will be printed.
109
+
109
110
# QA
110
111
111
112
## How does this tool handle alias paths?
@@ -161,7 +162,7 @@ The analysis of file reference depend on the `alias` configurations you supplied
161
162
# Reference
162
163
163
164
- The Command Line Tool is based on [commander](https://github.com/tj/commander.js).
164
-
- The circular dependencies analysis algorithm is based on [graph-cycles](https://github.com/grantila/graph-cycles).
165
+
- The circular dependencies analysis algorithm is based on [graph-cycles](https://crates.io/crates/graph-cycles).
165
166
- The typescript paths are transformed by [get-tsconfig](https://github.com/privatenumber/get-tsconfig).
0 commit comments