ghost-import-hunter 3.0.0 → 3.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/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -48,7 +48,7 @@ const program = new commander_1.Command();
|
|
|
48
48
|
program
|
|
49
49
|
.name('ghost-import-hunter')
|
|
50
50
|
.description('A deterministic tool to find AI hallucinations and unused code')
|
|
51
|
-
.version('3.0.
|
|
51
|
+
.version('3.0.1')
|
|
52
52
|
.argument('[directory]', 'Directory to scan', '.')
|
|
53
53
|
.option('--fix', 'Automatically fix unused imports')
|
|
54
54
|
.option('--interactive', 'Interactively fix unused imports and hallucinations')
|
|
@@ -81,7 +81,7 @@ program
|
|
|
81
81
|
}
|
|
82
82
|
return;
|
|
83
83
|
}
|
|
84
|
-
console.log(chalk_1.default.blue(`👻 Ghost Hunter scanning: ${directory}...`));
|
|
84
|
+
console.log(chalk_1.default.blue(`👻 Ghost Import Hunter scanning: ${directory}...`));
|
|
85
85
|
try {
|
|
86
86
|
// New v2 Engine using TS Compiler API
|
|
87
87
|
const report = await (0, analyzer_1.analyzeProject)(directory);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ghost-import-hunter",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.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
|
+
}
|