pumuki-ast-hooks 5.3.26 → 5.3.27
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.3.
|
|
3
|
+
"version": "5.3.27",
|
|
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": {
|
|
@@ -269,6 +269,9 @@ class iOSEnterpriseAnalyzer {
|
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
async analyzeNetworking(content, filePath) {
|
|
272
|
+
if (String(filePath || '').endsWith('/Package.swift') || String(filePath || '').endsWith('Package.swift')) {
|
|
273
|
+
return;
|
|
274
|
+
}
|
|
272
275
|
if (!content.includes('URLSession') && !content.includes('Alamofire')) {
|
|
273
276
|
if (content.includes('http://') || content.includes('https://')) {
|
|
274
277
|
this.addFinding('ios.networking.missing_urlsession', 'high', filePath, 1,
|
|
@@ -1250,7 +1250,7 @@ async function runIOSIntelligence(project, findings, platform) {
|
|
|
1250
1250
|
);
|
|
1251
1251
|
}
|
|
1252
1252
|
|
|
1253
|
-
if (filePath.endsWith('.swift') && !filePath.includes('/Domain/') && !filePath.includes('/Application/') &&
|
|
1253
|
+
if (filePath.endsWith('.swift') && !filePath.endsWith('/Package.swift') && !filePath.endsWith('Package.swift') && !filePath.includes('/Domain/') && !filePath.includes('/Application/') &&
|
|
1254
1254
|
!filePath.includes('/Infrastructure/') && !filePath.includes('/Presentation/') &&
|
|
1255
1255
|
!filePath.includes('/Tests/') && !filePath.includes('AppDelegate')) {
|
|
1256
1256
|
pushFinding(
|