driftdetect-core 0.4.6 → 0.5.0

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.
Files changed (325) hide show
  1. package/dist/call-graph/extractors/csharp-data-access-extractor.d.ts +8 -0
  2. package/dist/call-graph/extractors/csharp-data-access-extractor.d.ts.map +1 -1
  3. package/dist/call-graph/extractors/csharp-data-access-extractor.js +8 -0
  4. package/dist/call-graph/extractors/csharp-data-access-extractor.js.map +1 -1
  5. package/dist/call-graph/extractors/csharp-extractor.d.ts +35 -0
  6. package/dist/call-graph/extractors/csharp-extractor.d.ts.map +1 -1
  7. package/dist/call-graph/extractors/csharp-extractor.js +362 -4
  8. package/dist/call-graph/extractors/csharp-extractor.js.map +1 -1
  9. package/dist/call-graph/extractors/csharp-hybrid-extractor.d.ts +37 -0
  10. package/dist/call-graph/extractors/csharp-hybrid-extractor.d.ts.map +1 -0
  11. package/dist/call-graph/extractors/csharp-hybrid-extractor.js +408 -0
  12. package/dist/call-graph/extractors/csharp-hybrid-extractor.js.map +1 -0
  13. package/dist/call-graph/extractors/hybrid-extractor-base.d.ts +102 -0
  14. package/dist/call-graph/extractors/hybrid-extractor-base.d.ts.map +1 -0
  15. package/dist/call-graph/extractors/hybrid-extractor-base.js +289 -0
  16. package/dist/call-graph/extractors/hybrid-extractor-base.js.map +1 -0
  17. package/dist/call-graph/extractors/index.d.ts +17 -13
  18. package/dist/call-graph/extractors/index.d.ts.map +1 -1
  19. package/dist/call-graph/extractors/index.js +24 -23
  20. package/dist/call-graph/extractors/index.js.map +1 -1
  21. package/dist/call-graph/extractors/java-data-access-extractor.d.ts +8 -0
  22. package/dist/call-graph/extractors/java-data-access-extractor.d.ts.map +1 -1
  23. package/dist/call-graph/extractors/java-data-access-extractor.js +8 -0
  24. package/dist/call-graph/extractors/java-data-access-extractor.js.map +1 -1
  25. package/dist/call-graph/extractors/java-extractor.d.ts +15 -0
  26. package/dist/call-graph/extractors/java-extractor.d.ts.map +1 -1
  27. package/dist/call-graph/extractors/java-extractor.js +120 -4
  28. package/dist/call-graph/extractors/java-extractor.js.map +1 -1
  29. package/dist/call-graph/extractors/java-hybrid-extractor.d.ts +36 -0
  30. package/dist/call-graph/extractors/java-hybrid-extractor.d.ts.map +1 -0
  31. package/dist/call-graph/extractors/java-hybrid-extractor.js +426 -0
  32. package/dist/call-graph/extractors/java-hybrid-extractor.js.map +1 -0
  33. package/dist/call-graph/extractors/php-data-access-extractor.d.ts +8 -0
  34. package/dist/call-graph/extractors/php-data-access-extractor.d.ts.map +1 -1
  35. package/dist/call-graph/extractors/php-data-access-extractor.js +8 -0
  36. package/dist/call-graph/extractors/php-data-access-extractor.js.map +1 -1
  37. package/dist/call-graph/extractors/php-extractor.d.ts +48 -1
  38. package/dist/call-graph/extractors/php-extractor.d.ts.map +1 -1
  39. package/dist/call-graph/extractors/php-extractor.js +460 -6
  40. package/dist/call-graph/extractors/php-extractor.js.map +1 -1
  41. package/dist/call-graph/extractors/php-hybrid-extractor.d.ts +35 -0
  42. package/dist/call-graph/extractors/php-hybrid-extractor.d.ts.map +1 -0
  43. package/dist/call-graph/extractors/php-hybrid-extractor.js +393 -0
  44. package/dist/call-graph/extractors/php-hybrid-extractor.js.map +1 -0
  45. package/dist/call-graph/extractors/python-data-access-extractor.d.ts +8 -0
  46. package/dist/call-graph/extractors/python-data-access-extractor.d.ts.map +1 -1
  47. package/dist/call-graph/extractors/python-data-access-extractor.js +8 -0
  48. package/dist/call-graph/extractors/python-data-access-extractor.js.map +1 -1
  49. package/dist/call-graph/extractors/python-hybrid-extractor.d.ts +85 -0
  50. package/dist/call-graph/extractors/python-hybrid-extractor.d.ts.map +1 -0
  51. package/dist/call-graph/extractors/python-hybrid-extractor.js +462 -0
  52. package/dist/call-graph/extractors/python-hybrid-extractor.js.map +1 -0
  53. package/dist/call-graph/extractors/regex/base-regex-extractor.d.ts +154 -0
  54. package/dist/call-graph/extractors/regex/base-regex-extractor.d.ts.map +1 -0
  55. package/dist/call-graph/extractors/regex/base-regex-extractor.js +346 -0
  56. package/dist/call-graph/extractors/regex/base-regex-extractor.js.map +1 -0
  57. package/dist/call-graph/extractors/regex/csharp-regex.d.ts +34 -0
  58. package/dist/call-graph/extractors/regex/csharp-regex.d.ts.map +1 -0
  59. package/dist/call-graph/extractors/regex/csharp-regex.js +393 -0
  60. package/dist/call-graph/extractors/regex/csharp-regex.js.map +1 -0
  61. package/dist/call-graph/extractors/regex/index.d.ts +25 -0
  62. package/dist/call-graph/extractors/regex/index.d.ts.map +1 -0
  63. package/dist/call-graph/extractors/regex/index.js +66 -0
  64. package/dist/call-graph/extractors/regex/index.js.map +1 -0
  65. package/dist/call-graph/extractors/regex/java-regex.d.ts +34 -0
  66. package/dist/call-graph/extractors/regex/java-regex.d.ts.map +1 -0
  67. package/dist/call-graph/extractors/regex/java-regex.js +327 -0
  68. package/dist/call-graph/extractors/regex/java-regex.js.map +1 -0
  69. package/dist/call-graph/extractors/regex/php-regex.d.ts +30 -0
  70. package/dist/call-graph/extractors/regex/php-regex.d.ts.map +1 -0
  71. package/dist/call-graph/extractors/regex/php-regex.js +333 -0
  72. package/dist/call-graph/extractors/regex/php-regex.js.map +1 -0
  73. package/dist/call-graph/extractors/regex/python-regex.d.ts +46 -0
  74. package/dist/call-graph/extractors/regex/python-regex.d.ts.map +1 -0
  75. package/dist/call-graph/extractors/regex/python-regex.js +380 -0
  76. package/dist/call-graph/extractors/regex/python-regex.js.map +1 -0
  77. package/dist/call-graph/extractors/regex/typescript-regex.d.ts +27 -0
  78. package/dist/call-graph/extractors/regex/typescript-regex.d.ts.map +1 -0
  79. package/dist/call-graph/extractors/regex/typescript-regex.js +349 -0
  80. package/dist/call-graph/extractors/regex/typescript-regex.js.map +1 -0
  81. package/dist/call-graph/extractors/semantic-data-access-scanner.d.ts +7 -0
  82. package/dist/call-graph/extractors/semantic-data-access-scanner.d.ts.map +1 -1
  83. package/dist/call-graph/extractors/semantic-data-access-scanner.js +7 -0
  84. package/dist/call-graph/extractors/semantic-data-access-scanner.js.map +1 -1
  85. package/dist/call-graph/extractors/types.d.ts +111 -0
  86. package/dist/call-graph/extractors/types.d.ts.map +1 -0
  87. package/dist/call-graph/extractors/types.js +68 -0
  88. package/dist/call-graph/extractors/types.js.map +1 -0
  89. package/dist/call-graph/extractors/typescript-data-access-extractor.d.ts +8 -0
  90. package/dist/call-graph/extractors/typescript-data-access-extractor.d.ts.map +1 -1
  91. package/dist/call-graph/extractors/typescript-data-access-extractor.js +8 -0
  92. package/dist/call-graph/extractors/typescript-data-access-extractor.js.map +1 -1
  93. package/dist/call-graph/extractors/typescript-hybrid-extractor.d.ts +116 -0
  94. package/dist/call-graph/extractors/typescript-hybrid-extractor.d.ts.map +1 -0
  95. package/dist/call-graph/extractors/typescript-hybrid-extractor.js +635 -0
  96. package/dist/call-graph/extractors/typescript-hybrid-extractor.js.map +1 -0
  97. package/dist/error-handling/error-handling-analyzer.d.ts +73 -0
  98. package/dist/error-handling/error-handling-analyzer.d.ts.map +1 -0
  99. package/dist/error-handling/error-handling-analyzer.js +706 -0
  100. package/dist/error-handling/error-handling-analyzer.js.map +1 -0
  101. package/dist/error-handling/index.d.ts +8 -0
  102. package/dist/error-handling/index.d.ts.map +1 -0
  103. package/dist/error-handling/index.js +8 -0
  104. package/dist/error-handling/index.js.map +1 -0
  105. package/dist/error-handling/types.d.ts +307 -0
  106. package/dist/error-handling/types.d.ts.map +1 -0
  107. package/dist/error-handling/types.js +7 -0
  108. package/dist/error-handling/types.js.map +1 -0
  109. package/dist/index.d.ts +14 -0
  110. package/dist/index.d.ts.map +1 -1
  111. package/dist/index.js +29 -0
  112. package/dist/index.js.map +1 -1
  113. package/dist/lake/pattern-shard-store.d.ts +6 -0
  114. package/dist/lake/pattern-shard-store.d.ts.map +1 -1
  115. package/dist/lake/pattern-shard-store.js +6 -0
  116. package/dist/lake/pattern-shard-store.js.map +1 -1
  117. package/dist/module-coupling/coupling-analyzer.d.ts +73 -0
  118. package/dist/module-coupling/coupling-analyzer.d.ts.map +1 -0
  119. package/dist/module-coupling/coupling-analyzer.js +668 -0
  120. package/dist/module-coupling/coupling-analyzer.js.map +1 -0
  121. package/dist/module-coupling/index.d.ts +9 -0
  122. package/dist/module-coupling/index.d.ts.map +1 -0
  123. package/dist/module-coupling/index.js +9 -0
  124. package/dist/module-coupling/index.js.map +1 -0
  125. package/dist/module-coupling/types.d.ts +273 -0
  126. package/dist/module-coupling/types.d.ts.map +1 -0
  127. package/dist/module-coupling/types.js +8 -0
  128. package/dist/module-coupling/types.js.map +1 -0
  129. package/dist/patterns/adapters/index.d.ts +11 -0
  130. package/dist/patterns/adapters/index.d.ts.map +1 -0
  131. package/dist/patterns/adapters/index.js +11 -0
  132. package/dist/patterns/adapters/index.js.map +1 -0
  133. package/dist/patterns/adapters/pattern-store-adapter.d.ts +59 -0
  134. package/dist/patterns/adapters/pattern-store-adapter.d.ts.map +1 -0
  135. package/dist/patterns/adapters/pattern-store-adapter.js +468 -0
  136. package/dist/patterns/adapters/pattern-store-adapter.js.map +1 -0
  137. package/dist/patterns/adapters/service-factory.d.ts +40 -0
  138. package/dist/patterns/adapters/service-factory.d.ts.map +1 -0
  139. package/dist/patterns/adapters/service-factory.js +144 -0
  140. package/dist/patterns/adapters/service-factory.js.map +1 -0
  141. package/dist/patterns/errors.d.ts +32 -0
  142. package/dist/patterns/errors.d.ts.map +1 -0
  143. package/dist/patterns/errors.js +45 -0
  144. package/dist/patterns/errors.js.map +1 -0
  145. package/dist/patterns/impl/cached-repository.d.ts +79 -0
  146. package/dist/patterns/impl/cached-repository.d.ts.map +1 -0
  147. package/dist/patterns/impl/cached-repository.js +296 -0
  148. package/dist/patterns/impl/cached-repository.js.map +1 -0
  149. package/dist/patterns/impl/file-repository.d.ts +75 -0
  150. package/dist/patterns/impl/file-repository.d.ts.map +1 -0
  151. package/dist/patterns/impl/file-repository.js +507 -0
  152. package/dist/patterns/impl/file-repository.js.map +1 -0
  153. package/dist/patterns/impl/index.d.ts +16 -0
  154. package/dist/patterns/impl/index.d.ts.map +1 -0
  155. package/dist/patterns/impl/index.js +21 -0
  156. package/dist/patterns/impl/index.js.map +1 -0
  157. package/dist/patterns/impl/memory-repository.d.ts +56 -0
  158. package/dist/patterns/impl/memory-repository.d.ts.map +1 -0
  159. package/dist/patterns/impl/memory-repository.js +323 -0
  160. package/dist/patterns/impl/memory-repository.js.map +1 -0
  161. package/dist/patterns/impl/pattern-service.d.ts +52 -0
  162. package/dist/patterns/impl/pattern-service.d.ts.map +1 -0
  163. package/dist/patterns/impl/pattern-service.js +382 -0
  164. package/dist/patterns/impl/pattern-service.js.map +1 -0
  165. package/dist/patterns/impl/repository-factory.d.ts +44 -0
  166. package/dist/patterns/impl/repository-factory.d.ts.map +1 -0
  167. package/dist/patterns/impl/repository-factory.js +140 -0
  168. package/dist/patterns/impl/repository-factory.js.map +1 -0
  169. package/dist/patterns/impl/unified-file-repository.d.ts +111 -0
  170. package/dist/patterns/impl/unified-file-repository.d.ts.map +1 -0
  171. package/dist/patterns/impl/unified-file-repository.js +677 -0
  172. package/dist/patterns/impl/unified-file-repository.js.map +1 -0
  173. package/dist/patterns/index.d.ts +23 -0
  174. package/dist/patterns/index.d.ts.map +1 -0
  175. package/dist/patterns/index.js +41 -0
  176. package/dist/patterns/index.js.map +1 -0
  177. package/dist/patterns/repository.d.ts +241 -0
  178. package/dist/patterns/repository.d.ts.map +1 -0
  179. package/dist/patterns/repository.js +23 -0
  180. package/dist/patterns/repository.js.map +1 -0
  181. package/dist/patterns/service.d.ts +245 -0
  182. package/dist/patterns/service.d.ts.map +1 -0
  183. package/dist/patterns/service.js +25 -0
  184. package/dist/patterns/service.js.map +1 -0
  185. package/dist/patterns/types.d.ts +227 -0
  186. package/dist/patterns/types.d.ts.map +1 -0
  187. package/dist/patterns/types.js +117 -0
  188. package/dist/patterns/types.js.map +1 -0
  189. package/dist/store/pattern-store.d.ts +6 -0
  190. package/dist/store/pattern-store.d.ts.map +1 -1
  191. package/dist/store/pattern-store.js +6 -0
  192. package/dist/store/pattern-store.js.map +1 -1
  193. package/dist/test-topology/extractors/base-test-extractor.d.ts +89 -0
  194. package/dist/test-topology/extractors/base-test-extractor.d.ts.map +1 -0
  195. package/dist/test-topology/extractors/base-test-extractor.js +187 -0
  196. package/dist/test-topology/extractors/base-test-extractor.js.map +1 -0
  197. package/dist/test-topology/extractors/csharp-test-extractor.d.ts +23 -0
  198. package/dist/test-topology/extractors/csharp-test-extractor.d.ts.map +1 -0
  199. package/dist/test-topology/extractors/csharp-test-extractor.js +367 -0
  200. package/dist/test-topology/extractors/csharp-test-extractor.js.map +1 -0
  201. package/dist/test-topology/extractors/index.d.ts +12 -0
  202. package/dist/test-topology/extractors/index.d.ts.map +1 -0
  203. package/dist/test-topology/extractors/index.js +12 -0
  204. package/dist/test-topology/extractors/index.js.map +1 -0
  205. package/dist/test-topology/extractors/java-test-extractor.d.ts +20 -0
  206. package/dist/test-topology/extractors/java-test-extractor.d.ts.map +1 -0
  207. package/dist/test-topology/extractors/java-test-extractor.js +275 -0
  208. package/dist/test-topology/extractors/java-test-extractor.js.map +1 -0
  209. package/dist/test-topology/extractors/php-test-extractor.d.ts +24 -0
  210. package/dist/test-topology/extractors/php-test-extractor.d.ts.map +1 -0
  211. package/dist/test-topology/extractors/php-test-extractor.js +409 -0
  212. package/dist/test-topology/extractors/php-test-extractor.js.map +1 -0
  213. package/dist/test-topology/extractors/python-test-extractor.d.ts +23 -0
  214. package/dist/test-topology/extractors/python-test-extractor.d.ts.map +1 -0
  215. package/dist/test-topology/extractors/python-test-extractor.js +342 -0
  216. package/dist/test-topology/extractors/python-test-extractor.js.map +1 -0
  217. package/dist/test-topology/extractors/regex/csharp-test-regex.d.ts +51 -0
  218. package/dist/test-topology/extractors/regex/csharp-test-regex.d.ts.map +1 -0
  219. package/dist/test-topology/extractors/regex/csharp-test-regex.js +383 -0
  220. package/dist/test-topology/extractors/regex/csharp-test-regex.js.map +1 -0
  221. package/dist/test-topology/extractors/regex/index.d.ts +18 -0
  222. package/dist/test-topology/extractors/regex/index.d.ts.map +1 -0
  223. package/dist/test-topology/extractors/regex/index.js +43 -0
  224. package/dist/test-topology/extractors/regex/index.js.map +1 -0
  225. package/dist/test-topology/extractors/regex/java-test-regex.d.ts +50 -0
  226. package/dist/test-topology/extractors/regex/java-test-regex.d.ts.map +1 -0
  227. package/dist/test-topology/extractors/regex/java-test-regex.js +370 -0
  228. package/dist/test-topology/extractors/regex/java-test-regex.js.map +1 -0
  229. package/dist/test-topology/extractors/regex/php-test-regex.d.ts +56 -0
  230. package/dist/test-topology/extractors/regex/php-test-regex.d.ts.map +1 -0
  231. package/dist/test-topology/extractors/regex/php-test-regex.js +503 -0
  232. package/dist/test-topology/extractors/regex/php-test-regex.js.map +1 -0
  233. package/dist/test-topology/extractors/regex/python-test-regex.d.ts +57 -0
  234. package/dist/test-topology/extractors/regex/python-test-regex.d.ts.map +1 -0
  235. package/dist/test-topology/extractors/regex/python-test-regex.js +381 -0
  236. package/dist/test-topology/extractors/regex/python-test-regex.js.map +1 -0
  237. package/dist/test-topology/extractors/regex/typescript-test-regex.d.ts +60 -0
  238. package/dist/test-topology/extractors/regex/typescript-test-regex.d.ts.map +1 -0
  239. package/dist/test-topology/extractors/regex/typescript-test-regex.js +368 -0
  240. package/dist/test-topology/extractors/regex/typescript-test-regex.js.map +1 -0
  241. package/dist/test-topology/extractors/typescript-test-extractor.d.ts +24 -0
  242. package/dist/test-topology/extractors/typescript-test-extractor.d.ts.map +1 -0
  243. package/dist/test-topology/extractors/typescript-test-extractor.js +266 -0
  244. package/dist/test-topology/extractors/typescript-test-extractor.js.map +1 -0
  245. package/dist/test-topology/hybrid-test-topology-analyzer.d.ts +98 -0
  246. package/dist/test-topology/hybrid-test-topology-analyzer.d.ts.map +1 -0
  247. package/dist/test-topology/hybrid-test-topology-analyzer.js +555 -0
  248. package/dist/test-topology/hybrid-test-topology-analyzer.js.map +1 -0
  249. package/dist/test-topology/index.d.ts +16 -0
  250. package/dist/test-topology/index.d.ts.map +1 -0
  251. package/dist/test-topology/index.js +19 -0
  252. package/dist/test-topology/index.js.map +1 -0
  253. package/dist/test-topology/test-topology-analyzer.d.ts +85 -0
  254. package/dist/test-topology/test-topology-analyzer.d.ts.map +1 -0
  255. package/dist/test-topology/test-topology-analyzer.js +538 -0
  256. package/dist/test-topology/test-topology-analyzer.js.map +1 -0
  257. package/dist/test-topology/types.d.ts +300 -0
  258. package/dist/test-topology/types.d.ts.map +1 -0
  259. package/dist/test-topology/types.js +7 -0
  260. package/dist/test-topology/types.js.map +1 -0
  261. package/dist/wrappers/clustering/clusterer.d.ts +43 -0
  262. package/dist/wrappers/clustering/clusterer.d.ts.map +1 -0
  263. package/dist/wrappers/clustering/clusterer.js +374 -0
  264. package/dist/wrappers/clustering/clusterer.js.map +1 -0
  265. package/dist/wrappers/clustering/exclusions.d.ts +47 -0
  266. package/dist/wrappers/clustering/exclusions.d.ts.map +1 -0
  267. package/dist/wrappers/clustering/exclusions.js +318 -0
  268. package/dist/wrappers/clustering/exclusions.js.map +1 -0
  269. package/dist/wrappers/clustering/index.d.ts +6 -0
  270. package/dist/wrappers/clustering/index.d.ts.map +1 -0
  271. package/dist/wrappers/clustering/index.js +6 -0
  272. package/dist/wrappers/clustering/index.js.map +1 -0
  273. package/dist/wrappers/detection/detector.d.ts +69 -0
  274. package/dist/wrappers/detection/detector.d.ts.map +1 -0
  275. package/dist/wrappers/detection/detector.js +279 -0
  276. package/dist/wrappers/detection/detector.js.map +1 -0
  277. package/dist/wrappers/detection/index.d.ts +5 -0
  278. package/dist/wrappers/detection/index.d.ts.map +1 -0
  279. package/dist/wrappers/detection/index.js +5 -0
  280. package/dist/wrappers/detection/index.js.map +1 -0
  281. package/dist/wrappers/export/index.d.ts +5 -0
  282. package/dist/wrappers/export/index.d.ts.map +1 -0
  283. package/dist/wrappers/export/index.js +5 -0
  284. package/dist/wrappers/export/index.js.map +1 -0
  285. package/dist/wrappers/export/json.d.ts +127 -0
  286. package/dist/wrappers/export/json.d.ts.map +1 -0
  287. package/dist/wrappers/export/json.js +160 -0
  288. package/dist/wrappers/export/json.js.map +1 -0
  289. package/dist/wrappers/index.d.ts +56 -0
  290. package/dist/wrappers/index.d.ts.map +1 -0
  291. package/dist/wrappers/index.js +159 -0
  292. package/dist/wrappers/index.js.map +1 -0
  293. package/dist/wrappers/integration/adapter.d.ts +52 -0
  294. package/dist/wrappers/integration/adapter.d.ts.map +1 -0
  295. package/dist/wrappers/integration/adapter.js +209 -0
  296. package/dist/wrappers/integration/adapter.js.map +1 -0
  297. package/dist/wrappers/integration/index.d.ts +9 -0
  298. package/dist/wrappers/integration/index.d.ts.map +1 -0
  299. package/dist/wrappers/integration/index.js +12 -0
  300. package/dist/wrappers/integration/index.js.map +1 -0
  301. package/dist/wrappers/integration/pattern-adapter.d.ts +52 -0
  302. package/dist/wrappers/integration/pattern-adapter.d.ts.map +1 -0
  303. package/dist/wrappers/integration/pattern-adapter.js +192 -0
  304. package/dist/wrappers/integration/pattern-adapter.js.map +1 -0
  305. package/dist/wrappers/integration/scanner.d.ts +85 -0
  306. package/dist/wrappers/integration/scanner.d.ts.map +1 -0
  307. package/dist/wrappers/integration/scanner.js +367 -0
  308. package/dist/wrappers/integration/scanner.js.map +1 -0
  309. package/dist/wrappers/primitives/discovery.d.ts +57 -0
  310. package/dist/wrappers/primitives/discovery.d.ts.map +1 -0
  311. package/dist/wrappers/primitives/discovery.js +389 -0
  312. package/dist/wrappers/primitives/discovery.js.map +1 -0
  313. package/dist/wrappers/primitives/index.d.ts +6 -0
  314. package/dist/wrappers/primitives/index.d.ts.map +1 -0
  315. package/dist/wrappers/primitives/index.js +6 -0
  316. package/dist/wrappers/primitives/index.js.map +1 -0
  317. package/dist/wrappers/primitives/registry.d.ts +63 -0
  318. package/dist/wrappers/primitives/registry.d.ts.map +1 -0
  319. package/dist/wrappers/primitives/registry.js +447 -0
  320. package/dist/wrappers/primitives/registry.js.map +1 -0
  321. package/dist/wrappers/types.d.ts +137 -0
  322. package/dist/wrappers/types.d.ts.map +1 -0
  323. package/dist/wrappers/types.js +7 -0
  324. package/dist/wrappers/types.js.map +1 -0
  325. package/package.json +5 -1
@@ -0,0 +1,380 @@
1
+ /**
2
+ * Python Regex Extractor
3
+ *
4
+ * Regex-based fallback extractor for Python when tree-sitter is unavailable.
5
+ */
6
+ import { BaseRegexExtractor } from './base-regex-extractor.js';
7
+ /**
8
+ * Python regex patterns
9
+ */
10
+ const PYTHON_PATTERNS = {
11
+ language: 'python',
12
+ functions: [],
13
+ classes: [],
14
+ imports: [],
15
+ exports: [],
16
+ calls: [],
17
+ };
18
+ /**
19
+ * Python regex-based extractor
20
+ */
21
+ export class PythonRegexExtractor extends BaseRegexExtractor {
22
+ language = 'python';
23
+ extensions = ['.py', '.pyw', '.pyi'];
24
+ patterns = PYTHON_PATTERNS;
25
+ /**
26
+ * Override preprocessSource for Python-specific handling
27
+ */
28
+ preprocessSource(source) {
29
+ // Remove multi-line strings (docstrings)
30
+ let clean = source.replace(/'''[\s\S]*?'''/g, (match) => ' '.repeat(match.length));
31
+ clean = clean.replace(/"""[\s\S]*?"""/g, (match) => ' '.repeat(match.length));
32
+ // Remove single-line comments
33
+ clean = clean.replace(/#.*$/gm, (match) => ' '.repeat(match.length));
34
+ // Remove strings
35
+ clean = clean.replace(/"(?:[^"\\]|\\.)*"/g, (match) => '"' + ' '.repeat(match.length - 2) + '"');
36
+ clean = clean.replace(/'(?:[^'\\]|\\.)*'/g, (match) => "'" + ' '.repeat(match.length - 2) + "'");
37
+ return clean;
38
+ }
39
+ // ==========================================================================
40
+ // Function Extraction
41
+ // ==========================================================================
42
+ extractFunctions(cleanSource, originalSource, _filePath) {
43
+ const functions = [];
44
+ const seen = new Set();
45
+ // Pattern: def name(params): or async def name(params):
46
+ // Captures indentation to determine scope
47
+ const funcPattern = /^(\s*)(?:async\s+)?def\s+(\w+)\s*\(([^)]*)\)\s*(?:->\s*([^:]+))?:/gm;
48
+ let match;
49
+ while ((match = funcPattern.exec(cleanSource)) !== null) {
50
+ const indent = match[1];
51
+ const name = match[2];
52
+ const paramsStr = match[3] || '';
53
+ const returnType = match[4]?.trim();
54
+ const startLine = this.getLineNumber(originalSource, match.index);
55
+ const key = `${name}:${startLine}`;
56
+ if (seen.has(key))
57
+ continue;
58
+ seen.add(key);
59
+ // Find end of function by looking for next line with same or less indentation
60
+ const endLine = this.findPythonBlockEnd(cleanSource, match.index, indent.length);
61
+ const isAsync = match[0].includes('async');
62
+ const isMethod = indent.length >= 4; // Indented = likely a method
63
+ const isPrivate = name.startsWith('_') && !name.startsWith('__');
64
+ const isDunder = name.startsWith('__') && name.endsWith('__');
65
+ // Parse parameters (skip self/cls)
66
+ const params = this.parsePythonParameters(paramsStr);
67
+ // Get decorators
68
+ const decorators = this.getDecoratorsAbove(cleanSource, match.index);
69
+ const funcOpts = {
70
+ name,
71
+ startLine,
72
+ endLine,
73
+ parameters: params,
74
+ isMethod,
75
+ isStatic: decorators.some(d => d.includes('@staticmethod') || d.includes('@classmethod')),
76
+ isExported: !isPrivate || isDunder,
77
+ isConstructor: name === '__init__',
78
+ isAsync,
79
+ decorators,
80
+ };
81
+ if (returnType)
82
+ funcOpts.returnType = returnType;
83
+ functions.push(this.createFunction(funcOpts));
84
+ }
85
+ return functions;
86
+ }
87
+ /**
88
+ * Find the end of a Python block based on indentation
89
+ */
90
+ findPythonBlockEnd(source, startIndex, baseIndent) {
91
+ const lines = source.slice(startIndex).split('\n');
92
+ let lineCount = 1;
93
+ let foundBody = false;
94
+ for (let i = 1; i < lines.length; i++) {
95
+ const line = lines[i];
96
+ const trimmed = line.trim();
97
+ // Skip empty lines and comments
98
+ if (!trimmed || trimmed.startsWith('#')) {
99
+ lineCount++;
100
+ continue;
101
+ }
102
+ // Count leading spaces
103
+ const indent = line.length - line.trimStart().length;
104
+ // First non-empty line after def should be indented more
105
+ if (!foundBody) {
106
+ if (indent > baseIndent) {
107
+ foundBody = true;
108
+ lineCount++;
109
+ continue;
110
+ }
111
+ }
112
+ // If we found body and now see same or less indent, we're done
113
+ if (foundBody && indent <= baseIndent) {
114
+ break;
115
+ }
116
+ lineCount++;
117
+ }
118
+ const startLine = this.getLineNumber(source, startIndex);
119
+ return startLine + lineCount - 1;
120
+ }
121
+ /**
122
+ * Get decorators above a function definition
123
+ */
124
+ getDecoratorsAbove(source, funcIndex) {
125
+ const decorators = [];
126
+ const beforeFunc = source.slice(0, funcIndex);
127
+ const lines = beforeFunc.split('\n');
128
+ // Walk backwards from the function
129
+ for (let i = lines.length - 1; i >= 0; i--) {
130
+ const line = lines[i].trim();
131
+ if (line.startsWith('@')) {
132
+ decorators.unshift(line);
133
+ }
134
+ else if (line && !line.startsWith('#')) {
135
+ // Non-decorator, non-comment line - stop
136
+ break;
137
+ }
138
+ }
139
+ return decorators;
140
+ }
141
+ /**
142
+ * Parse Python parameters
143
+ */
144
+ parsePythonParameters(paramsStr) {
145
+ if (!paramsStr.trim())
146
+ return [];
147
+ const params = [];
148
+ const parts = paramsStr.split(',');
149
+ for (const part of parts) {
150
+ const trimmed = part.trim();
151
+ if (!trimmed || trimmed === 'self' || trimmed === 'cls')
152
+ continue;
153
+ // Handle *args and **kwargs
154
+ const isRest = trimmed.startsWith('*');
155
+ let name = trimmed.replace(/^\*+/, '');
156
+ let type;
157
+ let hasDefault = false;
158
+ // Handle default values
159
+ if (name.includes('=')) {
160
+ hasDefault = true;
161
+ name = name.split('=')[0].trim();
162
+ }
163
+ // Handle type annotations
164
+ if (name.includes(':')) {
165
+ const [n, t] = name.split(':');
166
+ name = n.trim();
167
+ type = t.trim();
168
+ }
169
+ if (name) {
170
+ params.push({ name, type, hasDefault, isRest });
171
+ }
172
+ }
173
+ return params;
174
+ }
175
+ // ==========================================================================
176
+ // Class Extraction
177
+ // ==========================================================================
178
+ extractClasses(cleanSource, originalSource, _filePath) {
179
+ const classes = [];
180
+ // Pattern: class Name(Base1, Base2):
181
+ const classPattern = /^(\s*)class\s+(\w+)(?:\(([^)]*)\))?\s*:/gm;
182
+ let match;
183
+ while ((match = classPattern.exec(cleanSource)) !== null) {
184
+ const indent = match[1];
185
+ const name = match[2];
186
+ const basesStr = match[3] || '';
187
+ const startLine = this.getLineNumber(originalSource, match.index);
188
+ const endLine = this.findPythonBlockEnd(cleanSource, match.index, indent.length);
189
+ // Parse base classes
190
+ const baseClasses = basesStr
191
+ .split(',')
192
+ .map(b => b.trim())
193
+ .filter(b => b && b !== 'object');
194
+ // Extract method names from class body
195
+ const classBody = cleanSource.slice(match.index, this.getIndexFromLine(cleanSource, endLine));
196
+ const methods = this.extractMethodNames(classBody);
197
+ const isPrivate = name.startsWith('_') && !name.startsWith('__');
198
+ classes.push(this.createClass({
199
+ name,
200
+ startLine,
201
+ endLine,
202
+ baseClasses,
203
+ methods,
204
+ isExported: !isPrivate,
205
+ }));
206
+ }
207
+ return classes;
208
+ }
209
+ /**
210
+ * Get character index from line number
211
+ */
212
+ getIndexFromLine(source, lineNum) {
213
+ const lines = source.split('\n');
214
+ let index = 0;
215
+ for (let i = 0; i < lineNum - 1 && i < lines.length; i++) {
216
+ index += lines[i].length + 1;
217
+ }
218
+ return index;
219
+ }
220
+ /**
221
+ * Extract method names from a class body
222
+ */
223
+ extractMethodNames(classBody) {
224
+ const methods = [];
225
+ const methodPattern = /^\s+(?:async\s+)?def\s+(\w+)\s*\(/gm;
226
+ let match;
227
+ while ((match = methodPattern.exec(classBody)) !== null) {
228
+ methods.push(match[1]);
229
+ }
230
+ return methods;
231
+ }
232
+ // ==========================================================================
233
+ // Import Extraction
234
+ // ==========================================================================
235
+ extractImports(cleanSource, originalSource, _filePath) {
236
+ const imports = [];
237
+ // Pattern 1: from module import name1, name2
238
+ const fromImportPattern = /^from\s+(\S+)\s+import\s+(.+)$/gm;
239
+ let match;
240
+ while ((match = fromImportPattern.exec(cleanSource)) !== null) {
241
+ const source = match[1];
242
+ const namesStr = match[2];
243
+ const line = this.getLineNumber(originalSource, match.index);
244
+ // Handle wildcard import
245
+ if (namesStr.trim() === '*') {
246
+ imports.push(this.createImport({
247
+ source,
248
+ names: [{ imported: '*', local: '*', isNamespace: true }],
249
+ line,
250
+ }));
251
+ continue;
252
+ }
253
+ // Handle parenthesized imports
254
+ let cleanNames = namesStr;
255
+ if (namesStr.includes('(')) {
256
+ // Multi-line import - find closing paren
257
+ const parenStart = cleanSource.indexOf('(', match.index);
258
+ const parenEnd = cleanSource.indexOf(')', parenStart);
259
+ if (parenEnd > parenStart) {
260
+ cleanNames = cleanSource.slice(parenStart + 1, parenEnd);
261
+ }
262
+ }
263
+ const names = cleanNames.split(',').map(n => {
264
+ const parts = n.trim().split(/\s+as\s+/);
265
+ const imported = parts[0].trim();
266
+ const local = (parts[1] || parts[0]).trim();
267
+ return { imported, local, isDefault: false, isNamespace: false };
268
+ }).filter(n => n.imported);
269
+ imports.push(this.createImport({ source, names, line }));
270
+ }
271
+ // Pattern 2: import module or import module as alias
272
+ const importPattern = /^import\s+(\S+)(?:\s+as\s+(\w+))?$/gm;
273
+ while ((match = importPattern.exec(cleanSource)) !== null) {
274
+ const source = match[1];
275
+ const alias = match[2];
276
+ const line = this.getLineNumber(originalSource, match.index);
277
+ imports.push(this.createImport({
278
+ source,
279
+ names: [{
280
+ imported: source,
281
+ local: alias || source.split('.').pop(),
282
+ isDefault: false,
283
+ isNamespace: false,
284
+ }],
285
+ line,
286
+ }));
287
+ }
288
+ return imports;
289
+ }
290
+ // ==========================================================================
291
+ // Export Extraction
292
+ // ==========================================================================
293
+ extractExports(cleanSource, originalSource, _filePath) {
294
+ const exports = [];
295
+ // Python doesn't have explicit exports, but we can detect __all__
296
+ const allPattern = /__all__\s*=\s*\[([^\]]+)\]/g;
297
+ let match;
298
+ while ((match = allPattern.exec(cleanSource)) !== null) {
299
+ const namesStr = match[1];
300
+ const line = this.getLineNumber(originalSource, match.index);
301
+ const names = namesStr.split(',').map(n => {
302
+ // Remove quotes
303
+ return n.trim().replace(/['"]/g, '');
304
+ }).filter(n => n);
305
+ for (const name of names) {
306
+ exports.push(this.createExport({ name, line }));
307
+ }
308
+ }
309
+ // Also consider top-level public functions/classes as exports
310
+ // (This is handled by the function/class extraction with isExported flag)
311
+ return exports;
312
+ }
313
+ // ==========================================================================
314
+ // Call Extraction
315
+ // ==========================================================================
316
+ extractCalls(cleanSource, originalSource, _filePath) {
317
+ const calls = [];
318
+ const seen = new Set();
319
+ // Pattern 1: Method calls - obj.method(...)
320
+ const methodCallPattern = /(\w+)\.(\w+)\s*\(/g;
321
+ let match;
322
+ while ((match = methodCallPattern.exec(cleanSource)) !== null) {
323
+ const receiver = match[1];
324
+ const calleeName = match[2];
325
+ const line = this.getLineNumber(originalSource, match.index);
326
+ const key = `${receiver}.${calleeName}:${line}`;
327
+ if (seen.has(key))
328
+ continue;
329
+ seen.add(key);
330
+ // Skip self.method calls for now (they're internal)
331
+ if (receiver === 'self' || receiver === 'cls')
332
+ continue;
333
+ calls.push(this.createCall({
334
+ calleeName,
335
+ receiver,
336
+ fullExpression: `${receiver}.${calleeName}`,
337
+ line,
338
+ isMethodCall: true,
339
+ }));
340
+ }
341
+ // Pattern 2: Direct function calls - func(...)
342
+ const funcCallPattern = /(?<![.\w])(\w+)\s*\(/g;
343
+ while ((match = funcCallPattern.exec(cleanSource)) !== null) {
344
+ const calleeName = match[1];
345
+ const line = this.getLineNumber(originalSource, match.index);
346
+ const key = `${calleeName}:${line}`;
347
+ if (seen.has(key))
348
+ continue;
349
+ seen.add(key);
350
+ // Skip keywords
351
+ if (['if', 'for', 'while', 'with', 'except', 'def', 'class', 'return', 'yield', 'raise', 'assert', 'print', 'lambda'].includes(calleeName))
352
+ continue;
353
+ // Check if it looks like a class instantiation (PascalCase)
354
+ const isConstructorCall = /^[A-Z]/.test(calleeName);
355
+ calls.push(this.createCall({
356
+ calleeName,
357
+ fullExpression: calleeName,
358
+ line,
359
+ isConstructorCall,
360
+ }));
361
+ }
362
+ // Pattern 3: Decorator calls - @decorator(...)
363
+ const decoratorCallPattern = /@(\w+)\s*\(/g;
364
+ while ((match = decoratorCallPattern.exec(cleanSource)) !== null) {
365
+ const calleeName = match[1];
366
+ const line = this.getLineNumber(originalSource, match.index);
367
+ const key = `@${calleeName}:${line}`;
368
+ if (seen.has(key))
369
+ continue;
370
+ seen.add(key);
371
+ calls.push(this.createCall({
372
+ calleeName,
373
+ fullExpression: `@${calleeName}`,
374
+ line,
375
+ }));
376
+ }
377
+ return calls;
378
+ }
379
+ }
380
+ //# sourceMappingURL=python-regex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"python-regex.js","sourceRoot":"","sources":["../../../../src/call-graph/extractors/regex/python-regex.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAW/D;;GAEG;AACH,MAAM,eAAe,GAAqB;IACxC,QAAQ,EAAE,QAAQ;IAClB,SAAS,EAAE,EAAE;IACb,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,KAAK,EAAE,EAAE;CACV,CAAC;AAEF;;GAEG;AACH,MAAM,OAAO,oBAAqB,SAAQ,kBAAkB;IACjD,QAAQ,GAAsB,QAAQ,CAAC;IACvC,UAAU,GAAa,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,QAAQ,GAAG,eAAe,CAAC;IAE9C;;OAEG;IACgB,gBAAgB,CAAC,MAAc;QAChD,yCAAyC;QACzC,IAAI,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,iBAAiB,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;QACnF,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,iBAAiB,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;QAE9E,8BAA8B;QAC9B,KAAK,GAAG,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D,MAAM,iBAAiB,GAAG,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAEpD,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC;gBACzB,UAAU;gBACV,cAAc,EAAE,UAAU;gBAC1B,IAAI;gBACJ,iBAAiB;aAClB,CAAC,CAAC,CAAC;QACN,CAAC;QAED,+CAA+C;QAC/C,MAAM,oBAAoB,GAAG,cAAc,CAAC;QAE5C,OAAO,CAAC,KAAK,GAAG,oBAAoB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC;YACjE,MAAM,UAAU,GAAG,KAAK,CAAC,CAAC,CAAE,CAAC;YAC7B,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,cAAc,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;YAC7D,MAAM,GAAG,GAAG,IAAI,UAAU,IAAI,IAAI,EAAE,CAAC;YAErC,IAAI,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;gBAAE,SAAS;YAC5B,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAEd,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC;gBACzB,UAAU;gBACV,cAAc,EAAE,IAAI,UAAU,EAAE;gBAChC,IAAI;aACL,CAAC,CAAC,CAAC;QACN,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;CACF"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * TypeScript/JavaScript Regex Extractor
3
+ *
4
+ * Regex-based fallback extractor for TypeScript/JavaScript when tree-sitter
5
+ * or the TypeScript compiler API is unavailable.
6
+ */
7
+ import { BaseRegexExtractor } from './base-regex-extractor.js';
8
+ import type { CallGraphLanguage, FunctionExtraction, CallExtraction, ImportExtraction, ExportExtraction, ClassExtraction } from '../../types.js';
9
+ import type { LanguagePatterns } from '../types.js';
10
+ /**
11
+ * TypeScript/JavaScript regex-based extractor
12
+ */
13
+ export declare class TypeScriptRegexExtractor extends BaseRegexExtractor {
14
+ readonly language: CallGraphLanguage;
15
+ readonly extensions: string[];
16
+ protected readonly patterns: LanguagePatterns;
17
+ protected extractFunctions(cleanSource: string, originalSource: string, _filePath: string): FunctionExtraction[];
18
+ protected extractClasses(cleanSource: string, originalSource: string, _filePath: string): ClassExtraction[];
19
+ /**
20
+ * Extract method names from a class body
21
+ */
22
+ private extractMethodNames;
23
+ protected extractImports(_cleanSource: string, originalSource: string, _filePath: string): ImportExtraction[];
24
+ protected extractExports(cleanSource: string, originalSource: string, _filePath: string): ExportExtraction[];
25
+ protected extractCalls(cleanSource: string, originalSource: string, _filePath: string): CallExtraction[];
26
+ }
27
+ //# sourceMappingURL=typescript-regex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typescript-regex.d.ts","sourceRoot":"","sources":["../../../../src/call-graph/extractors/regex/typescript-regex.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EAChB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAcpD;;GAEG;AACH,qBAAa,wBAAyB,SAAQ,kBAAkB;IAC9D,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,CAAgB;IACpD,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,CAAkE;IAC/F,SAAS,CAAC,QAAQ,CAAC,QAAQ,mBAAe;IAM1C,SAAS,CAAC,gBAAgB,CACxB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,SAAS,EAAE,MAAM,GAChB,kBAAkB,EAAE;IA0GvB,SAAS,CAAC,cAAc,CACtB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,SAAS,EAAE,MAAM,GAChB,eAAe,EAAE;IAkCpB;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAqB1B,SAAS,CAAC,cAAc,CACtB,YAAY,EAAE,MAAM,EACpB,cAAc,EAAE,MAAM,EACtB,SAAS,EAAE,MAAM,GAChB,gBAAgB,EAAE;IAkErB,SAAS,CAAC,cAAc,CACtB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,SAAS,EAAE,MAAM,GAChB,gBAAgB,EAAE;IAyDrB,SAAS,CAAC,YAAY,CACpB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,SAAS,EAAE,MAAM,GAChB,cAAc,EAAE;CA2FpB"}