depgraph-core 1.0.3 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vscode/depgraph-output.json +4634 -0
- package/README.md +64 -37
- package/depgraph-output.json +404 -47
- package/depgraph.js +1295 -74
- package/docs/stage-impact.md +4 -4
- package/docs/stage-output.md +2 -2
- package/package.json +4 -1
package/docs/stage-impact.md
CHANGED
|
@@ -58,10 +58,10 @@ Impact level is determined by **BFS depth**:
|
|
|
58
58
|
|
|
59
59
|
| Depth | Impact Level | Breaking Change? |
|
|
60
60
|
|---|---|---|
|
|
61
|
-
| 1 | `critical` |
|
|
62
|
-
| 2 | `high` |
|
|
63
|
-
| 3–4 | `medium` |
|
|
64
|
-
| 5–10 | `low` |
|
|
61
|
+
| 1 | `critical` | Yes |
|
|
62
|
+
| 2 | `high` | Yes |
|
|
63
|
+
| 3–4 | `medium` | No |
|
|
64
|
+
| 5–10 | `low` | No |
|
|
65
65
|
|
|
66
66
|
Nodes at depth ≤ 2 are flagged as `breakingChange: true` because they directly consume the target's interface.
|
|
67
67
|
|
package/docs/stage-output.md
CHANGED
|
@@ -72,7 +72,7 @@ if (!fs.existsSync(dir)) {
|
|
|
72
72
|
After a successful write, a summary is printed to stdout:
|
|
73
73
|
|
|
74
74
|
```
|
|
75
|
-
|
|
75
|
+
Output written to ./depgraph-output.json
|
|
76
76
|
12 files
|
|
77
77
|
87 nodes
|
|
78
78
|
143 edges
|
|
@@ -82,7 +82,7 @@ After a successful write, a summary is printed to stdout:
|
|
|
82
82
|
If an impact report was included:
|
|
83
83
|
|
|
84
84
|
```
|
|
85
|
-
|
|
85
|
+
Impact Report included
|
|
86
86
|
Target : getUserById__userService
|
|
87
87
|
Risk Level : HIGH
|
|
88
88
|
Risk Score : 62
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "depgraph-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "Dependency mapping and impact simulation for JS/TS projects",
|
|
5
5
|
"main": "depgraph.js",
|
|
6
6
|
"bin": {
|
|
@@ -31,5 +31,8 @@
|
|
|
31
31
|
"esbuild": "^0.28.1",
|
|
32
32
|
"typescript": "^6.0.3",
|
|
33
33
|
"vitest": "^4.1.10"
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"depgraph-core": "^1.0.3"
|
|
34
37
|
}
|
|
35
38
|
}
|