pumuki-ast-hooks 6.0.11 → 6.0.12
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/docs/RELEASE_NOTES.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# Release Notes - v6.0.12
|
|
2
|
+
|
|
3
|
+
**Release Date**: January 13, 2026
|
|
4
|
+
**Type**: Patch Release
|
|
5
|
+
**Compatibility**: Fully backward compatible with 6.0.x
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## ✅ Fixes
|
|
10
|
+
|
|
11
|
+
- **iOS DIP detector**: protocol-like types are detected even with composition markers (e.g. `LoginUseCase & Sendable`).
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
1
15
|
# Release Notes - v6.0.11
|
|
2
16
|
|
|
3
17
|
**Release Date**: January 13, 2026
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pumuki-ast-hooks",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.12",
|
|
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": {
|
|
@@ -92,7 +92,7 @@ describe('DIValidationService', () => {
|
|
|
92
92
|
it('should skip protocol-named concrete-like types', async () => {
|
|
93
93
|
const properties = [
|
|
94
94
|
{ 'key.name': 'loginUseCase', 'key.typename': 'LoginUseCase' },
|
|
95
|
-
{ 'key.name': 'logoutUseCase', 'key.typename': 'LogoutUseCase' },
|
|
95
|
+
{ 'key.name': 'logoutUseCase', 'key.typename': 'LogoutUseCase & Sendable' },
|
|
96
96
|
{ 'key.name': 'currentUserUseCase', 'key.typename': 'Domain.UserRetrievalUseCase?' },
|
|
97
97
|
{ 'key.name': 'registerUseCase', 'key.typename': 'RegisterUseCase<Auth>' }
|
|
98
98
|
];
|
|
@@ -104,8 +104,10 @@ class ConcreteDependencyStrategy extends DIStrategy {
|
|
|
104
104
|
.replace(/^(any|some)\s+/, '')
|
|
105
105
|
.replace(/[!?]/g, '')
|
|
106
106
|
.replace(/<.*>/g, '')
|
|
107
|
+
.split('&')[0]
|
|
107
108
|
.split('.')
|
|
108
|
-
.pop()
|
|
109
|
+
.pop()
|
|
110
|
+
?.trim() || typename;
|
|
109
111
|
|
|
110
112
|
if (/Impl$/.test(normalized)) {
|
|
111
113
|
return false;
|