pumuki-ast-hooks 5.4.1 → 5.4.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pumuki-ast-hooks",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.3",
|
|
4
4
|
"description": "Enterprise-grade AST Intelligence System with multi-platform support (iOS, Android, Backend, Frontend) and Feature-First + DDD + Clean Architecture enforcement. Includes dynamic violations API for intelligent querying.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -409,13 +409,13 @@ function generateOutput(findings, context, project, root) {
|
|
|
409
409
|
console.error(`AST SUMMARY LEVELS: CRITICAL=${levelTotals.CRITICAL} HIGH=${levelTotals.HIGH} MEDIUM=${levelTotals.MEDIUM} LOW=${levelTotals.LOW}`);
|
|
410
410
|
console.error(`AST SUMMARY PLATFORM: Backend=${platformTotals.Backend} Frontend=${platformTotals.Frontend} iOS=${platformTotals.iOS} Android=${platformTotals.Android} Other=${platformTotals.Other}`);
|
|
411
411
|
|
|
412
|
-
saveDetailedReport(findings, levelTotals, platformTotals, project, root);
|
|
412
|
+
saveDetailedReport(findings, levelTotals, platformTotals, project, root, context);
|
|
413
413
|
}
|
|
414
414
|
|
|
415
415
|
/**
|
|
416
416
|
* Save detailed JSON report
|
|
417
417
|
*/
|
|
418
|
-
function saveDetailedReport(findings, levelTotals, platformTotals, project, root) {
|
|
418
|
+
function saveDetailedReport(findings, levelTotals, platformTotals, project, root, context) {
|
|
419
419
|
const outDir = env.get('AUDIT_TMP', path.join(root, ".audit_tmp"));
|
|
420
420
|
try {
|
|
421
421
|
fs.mkdirSync(outDir, { recursive: true });
|
|
@@ -2,7 +2,7 @@ const { execSync } = require('child_process');
|
|
|
2
2
|
const path = require('path');
|
|
3
3
|
const fs = require('fs');
|
|
4
4
|
const { pushFileFinding } = require('../ast-core');
|
|
5
|
-
const env = require('
|
|
5
|
+
const env = require(path.join(__dirname, '../../../config/env'));
|
|
6
6
|
|
|
7
7
|
function getStagedSwiftFiles(repoRoot) {
|
|
8
8
|
try {
|