ghost-import-hunter 4.0.0 → 4.0.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/README.md +4 -2
- package/media/header_v4.png +0 -0
- package/package.json +2 -2
- package/media/header.png +0 -0
package/README.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<img src="https://raw.githubusercontent.com/01Developer95/Ghost-Import-Hunter/main/media/
|
|
2
|
+
<img src="https://raw.githubusercontent.com/01Developer95/Ghost-Import-Hunter/main/media/header_v4.png" alt="Ghost Import Hunter v4.0.0" width="100%">
|
|
3
3
|
</div>
|
|
4
4
|
|
|
5
|
+
# Ghost Import Hunter v4.0.0
|
|
6
|
+
|
|
5
7
|
<div align="center">
|
|
6
8
|
|
|
7
9
|

|
|
@@ -58,7 +60,7 @@ Just like your terminal finds files when you type `ls *.ts`, Ghost Import Hunter
|
|
|
58
60
|
|
|
59
61
|
### 2. TypeScript Compiler API - The Brain
|
|
60
62
|
**Role:** Understanding your code.
|
|
61
|
-
Unlike
|
|
63
|
+
Unlike early versions that relied on Regex, v4.0.0 uses the real **TypeScript Compiler API** to parse your code, resolve symbols, and track exports across files. This allows it to:
|
|
62
64
|
- Follow `export * from ...` chains.
|
|
63
65
|
- Understand aliased imports (`import { foo as bar }`).
|
|
64
66
|
- Detect missing exports in local files.
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ghost-import-hunter",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "Deterministic tool to detect AI hallucinations and code bloat by verifying import safety against installed node_modules",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -45,4 +45,4 @@
|
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"ts-node": "^10.9.2"
|
|
47
47
|
}
|
|
48
|
-
}
|
|
48
|
+
}
|
package/media/header.png
DELETED
|
Binary file
|