@callidescope/graph 0.0.9 → 0.0.10

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 0.0.10 (2026-10-08)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated callidescope-configuration to 0.0.11
6
+ - Updated callidescope-core to 0.0.10
7
+
1
8
  ## 0.0.9 (2026-10-08)
2
9
 
3
10
  ### 🧱 Updated Dependencies
package/README.md CHANGED
@@ -636,13 +636,13 @@ graph LR
636
636
  ### Project
637
637
 
638
638
  ![Lines of Code](https://img.shields.io/badge/Lines_of_Code-12163-22c55e?style=flat-square)
639
- ![Repository Size](https://img.shields.io/badge/Repository_Size-392.46_kB-6b7280?style=flat-square)
639
+ ![Repository Size](https://img.shields.io/badge/Repository_Size-392.61_kB-6b7280?style=flat-square)
640
640
  ![Folders](https://img.shields.io/badge/Folders-12-4a4a4a?style=flat-square)
641
641
  ![Source Files](https://img.shields.io/badge/Source_Files-89-3178c6?style=flat-square)
642
642
 
643
643
  ### Measured Targets
644
644
 
645
- ![Compiled JavaScript Size](https://img.shields.io/badge/Compiled_JavaScript_Size-14.23_kB_gzip-6b7280?style=flat-square)
645
+ ![Compiled JavaScript Size](https://img.shields.io/badge/Compiled_JavaScript_Size-14.42_kB_gzip-6b7280?style=flat-square)
646
646
 
647
647
  ### TypeScript
648
648
 
@@ -824,16 +824,16 @@ graph LR
824
824
  ### Markdown
825
825
 
826
826
  ![Markdown Files](https://img.shields.io/badge/Markdown_Files-2-083fa1?style=flat-square)
827
- ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-260-1f6feb?style=flat-square)
827
+ ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-267-1f6feb?style=flat-square)
828
828
  ![H1](https://img.shields.io/badge/H1-1-7c3aed?style=flat-square)
829
- ![H2](https://img.shields.io/badge/H2-12-8b5cf6?style=flat-square)
830
- ![H3](https://img.shields.io/badge/H3-18-a78bfa?style=flat-square)
829
+ ![H2](https://img.shields.io/badge/H2-13-8b5cf6?style=flat-square)
830
+ ![H3](https://img.shields.io/badge/H3-19-a78bfa?style=flat-square)
831
831
  ![H4](https://img.shields.io/badge/H4-0-c4b5fd?style=flat-square)
832
832
  ![H5](https://img.shields.io/badge/H5-0-ddd6fe?style=flat-square)
833
833
  ![H6](https://img.shields.io/badge/H6-0-ede9fe?style=flat-square)
834
- ![Paragraphs](https://img.shields.io/badge/Paragraphs-56-64748b?style=flat-square)
835
- ![Lists](https://img.shields.io/badge/Lists-12-16a34a?style=flat-square)
836
- ![List Items](https://img.shields.io/badge/List_Items-36-22c55e?style=flat-square)
834
+ ![Paragraphs](https://img.shields.io/badge/Paragraphs-58-64748b?style=flat-square)
835
+ ![Lists](https://img.shields.io/badge/Lists-13-16a34a?style=flat-square)
836
+ ![List Items](https://img.shields.io/badge/List_Items-38-22c55e?style=flat-square)
837
837
  ![Task List Items](https://img.shields.io/badge/Task_List_Items-0-4ade80?style=flat-square)
838
838
  ![Tables](https://img.shields.io/badge/Tables-2-0284c7?style=flat-square)
839
839
  ![Table Rows](https://img.shields.io/badge/Table_Rows-10-0ea5e9?style=flat-square)
package/dist/src/index.js CHANGED
@@ -4,16 +4,16 @@ import o from "typescript";
4
4
  import { existsSync as s, mkdirSync as ee, readdirSync as te } from "node:fs";
5
5
  import c from "pino";
6
6
  import { execFileSync as ne } from "node:child_process";
7
- //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/callables/address.constants.ts
7
+ //#region \0rolldown/runtime.js
8
8
  var re = /^\d+$/u, ie = /:\d+$/u;
9
9
  //#endregion
10
10
  //#region \0@oxc-project+runtime@0.151.0/helpers/esm/decorateMetadata.js
11
- function l(e, t) {
11
+ function __decorateMetadata(e, t) {
12
12
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
13
13
  }
14
14
  //#endregion
15
15
  //#region \0@oxc-project+runtime@0.151.0/helpers/esm/decorate.js
16
- function u(e, t, n, r) {
16
+ function __decorate(e, t, n, r) {
17
17
  var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
18
18
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
19
19
  else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
@@ -21,7 +21,7 @@ function u(e, t, n, r) {
21
21
  }
22
22
  //#endregion
23
23
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/callables/address.service.ts
24
- var d = class {
24
+ var l = class AddressService {
25
25
  constructor() {}
26
26
  countCandidatesByLine(e) {
27
27
  let t = /* @__PURE__ */ new Map();
@@ -115,10 +115,10 @@ var d = class {
115
115
  };
116
116
  }
117
117
  };
118
- d = u([r(), l("design:paramtypes", [])], d);
118
+ l = __decorate([r(), __decorateMetadata("design:paramtypes", [])], l);
119
119
  //#endregion
120
120
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/callables/callables.constants.ts
121
- var ae = "anonymous", f = class {
121
+ var ae = "anonymous", u = class CallableIdentityService {
122
122
  constructor() {}
123
123
  describeCallbackArgument(e) {
124
124
  let { parent: t } = e;
@@ -164,7 +164,7 @@ var ae = "anonymous", f = class {
164
164
  return o.isConstructorDeclaration(e) ? "constructor" : e.name !== void 0 && o.isIdentifier(e.name) ? `${o.isGetAccessorDeclaration(e) ? "get " : o.isSetAccessorDeclaration(e) ? "set " : ""}${e.name.text}` : this.readBindingName(e.parent) ?? this.describeCallbackArgument(e) ?? "anonymous";
165
165
  }
166
166
  };
167
- f = u([r(), l("design:paramtypes", [])], f);
167
+ u = __decorate([r(), __decorateMetadata("design:paramtypes", [])], u);
168
168
  //#endregion
169
169
  //#region packages/logging/src/modules/logger/logger.constants.ts
170
170
  var oe = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\s+/u, se = /^([A-Za-z]+)/, ce = /* @__PURE__ */ new Set([
@@ -195,9 +195,9 @@ var oe = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\
195
195
  "RouterExplorer",
196
196
  "RoutesResolver",
197
197
  "TypeOrmModule"
198
- ]), p, m = class extends t {
198
+ ]), d, f = class LoggerService extends t {
199
199
  static {
200
- p = this;
200
+ d = this;
201
201
  }
202
202
  constructor() {
203
203
  super();
@@ -205,15 +205,15 @@ var oe = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\
205
205
  static isProduction = process.env.NODE_ENV === "production";
206
206
  static rootLogger;
207
207
  static writesToStandardError = !1;
208
- child = p.root;
208
+ child = d.root;
209
209
  static createRootLogger() {
210
210
  let e = process.env.LOG_LEVEL ?? "info";
211
- return p.isProduction ? p.writesToStandardError ? c({ level: e }, c.destination(2)) : c({ level: e }) : c({
211
+ return d.isProduction ? d.writesToStandardError ? c({ level: e }, c.destination(2)) : c({ level: e }) : c({
212
212
  level: e,
213
213
  transport: {
214
214
  options: {
215
215
  colorize: !0,
216
- destination: p.writesToStandardError ? 2 : 1,
216
+ destination: d.writesToStandardError ? 2 : 1,
217
217
  ignore: "pid,hostname,emoji",
218
218
  messageFormat: "{emoji} {msg}",
219
219
  singleLine: !0
@@ -223,14 +223,14 @@ var oe = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\
223
223
  });
224
224
  }
225
225
  static logToStandardError() {
226
- if (p.rootLogger !== void 0) {
226
+ if (d.rootLogger !== void 0) {
227
227
  process.emitWarning("LoggerService.logToStandardError() was called after the first log line, so log lines still go to standard output and anything piping that stream will read them as data. Call it as the first statement of the application's bootstrap.");
228
228
  return;
229
229
  }
230
- p.writesToStandardError = !0;
230
+ d.writesToStandardError = !0;
231
231
  }
232
232
  assertConventionalMessage(e) {
233
- if (p.isProduction || this.shouldSkipConventionalMessageValidation(e.context)) return;
233
+ if (d.isProduction || this.shouldSkipConventionalMessageValidation(e.context)) return;
234
234
  let t = this.getConventionalMessageViolation(e.parsed);
235
235
  if (t !== void 0) throw Error(t);
236
236
  }
@@ -241,7 +241,7 @@ var oe = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\
241
241
  }), {
242
242
  ...e.data,
243
243
  context: e.context,
244
- ...p.isProduction ? {} : { emoji: e.parsed.emoji }
244
+ ...d.isProduction ? {} : { emoji: e.parsed.emoji }
245
245
  };
246
246
  }
247
247
  getConventionalMessageViolation(e) {
@@ -268,7 +268,7 @@ var oe = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\
268
268
  return e !== void 0 && le.has(e);
269
269
  }
270
270
  static get root() {
271
- return p.rootLogger ??= p.createRootLogger(), p.rootLogger;
271
+ return d.rootLogger ??= d.createRootLogger(), d.rootLogger;
272
272
  }
273
273
  buildErrorLogEntry(e, t) {
274
274
  let n = t instanceof Error ? t.stack || t.message : String(t);
@@ -312,7 +312,7 @@ var oe = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\
312
312
  this.info(e, t, n);
313
313
  }
314
314
  setContext(e) {
315
- super.setContext(e), this.child = p.root.child({ context: e });
315
+ super.setContext(e), this.child = d.root.child({ context: e });
316
316
  }
317
317
  verbose(e, t, n) {
318
318
  let r = this.parseMessage(e);
@@ -331,17 +331,17 @@ var oe = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\
331
331
  }), r.text);
332
332
  }
333
333
  };
334
- m = p = u([r({ scope: a.TRANSIENT }), l("design:paramtypes", [])], m);
334
+ f = d = __decorate([r({ scope: a.TRANSIENT }), __decorateMetadata("design:paramtypes", [])], f);
335
335
  //#endregion
336
336
  //#region packages/logging/src/modules/logger/logger.module.ts
337
- var h = class {};
338
- h = u([n(), i({
337
+ var p = class LoggerModule {};
338
+ p = __decorate([n(), i({
339
339
  controllers: [],
340
- exports: [m],
340
+ exports: [f],
341
341
  imports: [],
342
- providers: [m]
343
- })], h);
344
- var ue = "the directory holds no tsconfig.json", g = class extends Error {
342
+ providers: [f]
343
+ })], p);
344
+ var ue = "the directory holds no tsconfig.json", ProgramConfigurationError = class extends Error {
345
345
  constructor(e) {
346
346
  super(`Could not read ${e.configurationPath}: ${e.messages.join("; ")}`), this.name = "ProgramConfigurationError";
347
347
  }
@@ -354,10 +354,10 @@ var ue = "the directory holds no tsconfig.json", g = class extends Error {
354
354
  "build",
355
355
  "coverage",
356
356
  "out"
357
- ], fe = "package.json", pe = "tsconfig.json", me = "testing", he = /\.(?:end-to-end|integration|unit)?\.?(?:spec|test)\.[cm]?[jt]sx?$/, _, v = _ = class {
357
+ ], fe = "package.json", m = "tsconfig.json", pe = "testing", h = /\.(?:end-to-end|integration|unit)?\.?(?:spec|test)\.[cm]?[jt]sx?$/, g, _ = g = class WorkspaceService {
358
358
  logger;
359
359
  constructor(e) {
360
- this.logger = e, this.logger.setContext(_.name);
360
+ this.logger = e, this.logger.setContext(g.name);
361
361
  }
362
362
  findAllProjectDirectories(e) {
363
363
  let t = [];
@@ -399,7 +399,7 @@ var ue = "the directory holds no tsconfig.json", g = class extends Error {
399
399
  workspaceRoot: t.workspaceRoot
400
400
  })) : this.findAllProjectDirectories(t.workspaceRoot), r = [];
401
401
  for (let i of n) {
402
- let n = e.join(t.workspaceRoot, i, pe);
402
+ let n = e.join(t.workspaceRoot, i, m);
403
403
  if (this.isExcludedProject({
404
404
  configurationPath: n,
405
405
  fileFilter: t.fileFilter,
@@ -408,7 +408,7 @@ var ue = "the directory holds no tsconfig.json", g = class extends Error {
408
408
  this.logger.debug("🔭 Skipped an excluded project", void 0, { root: i });
409
409
  continue;
410
410
  }
411
- if (!s(n)) throw new g({
411
+ if (!s(n)) throw new ProgramConfigurationError({
412
412
  configurationPath: n,
413
413
  messages: [ue]
414
414
  });
@@ -422,7 +422,7 @@ var ue = "the directory holds no tsconfig.json", g = class extends Error {
422
422
  return r.toSorted((e, t) => e.name.localeCompare(t.name));
423
423
  }
424
424
  isTestFile(e) {
425
- return he.test(e) || e.split("/").includes("testing");
425
+ return h.test(e) || e.split("/").includes("testing");
426
426
  }
427
427
  resolveOwningProject(e) {
428
428
  let t;
@@ -453,14 +453,14 @@ var ue = "the directory holds no tsconfig.json", g = class extends Error {
453
453
  }
454
454
  }
455
455
  };
456
- v = _ = u([r(), l("design:paramtypes", [m === void 0 ? Object : m])], v);
456
+ _ = g = __decorate([r(), __decorateMetadata("design:paramtypes", [f === void 0 ? Object : f])], _);
457
457
  //#endregion
458
458
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/workspace/file-filter.service.ts
459
- var y, b = y = class {
459
+ var v, y = v = class FileFilterService {
460
460
  workspaceService;
461
461
  logger;
462
462
  constructor(e, t) {
463
- this.workspaceService = e, this.logger = t, this.logger.setContext(y.name);
463
+ this.workspaceService = e, this.logger = t, this.logger.setContext(v.name);
464
464
  }
465
465
  isExcludedByOwningProject(t) {
466
466
  let n = this.workspaceService.resolveOwningProject({
@@ -512,19 +512,19 @@ var y, b = y = class {
512
512
  }) };
513
513
  }
514
514
  };
515
- b = y = u([r(), l("design:paramtypes", [v === void 0 ? Object : v, m === void 0 ? Object : m])], b);
515
+ y = v = __decorate([r(), __decorateMetadata("design:paramtypes", [_ === void 0 ? Object : _, f === void 0 ? Object : f])], y);
516
516
  //#endregion
517
517
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/workspace/workspace.module.ts
518
- var x = class {};
519
- x = u([i({
518
+ var b = class WorkspaceModule {};
519
+ b = __decorate([i({
520
520
  controllers: [],
521
- exports: [b, v],
522
- imports: [h],
523
- providers: [b, v]
524
- })], x);
521
+ exports: [y, _],
522
+ imports: [p],
523
+ providers: [y, _]
524
+ })], b);
525
525
  //#endregion
526
526
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/program/compiler-host.service.ts
527
- var S = class {
527
+ var x = class CompilerHostService {
528
528
  constructor() {}
529
529
  moduleResolutionCaches = /* @__PURE__ */ new Map();
530
530
  sourceFileCache = /* @__PURE__ */ new Map();
@@ -539,23 +539,25 @@ var S = class {
539
539
  }
540
540
  createHost(e) {
541
541
  let t = o.createCompilerHost(e.options, !0), n = t.getSourceFile.bind(t);
542
- return this.resolveModuleCache(e.options, e.workspaceRoot), t.getSourceFile = (e, t) => {
542
+ this.resolveModuleCache(e.options, e.workspaceRoot);
543
+ let readCached = (e, t) => {
543
544
  let r = typeof t == "object" ? t.languageVersion : t, i = `${e} ${String(r)}`, a = this.sourceFileCache.get(i);
544
545
  if (a !== void 0) return a;
545
546
  let o = n(e, t);
546
547
  return o !== void 0 && this.sourceFileCache.set(i, o), o;
547
- }, t;
548
+ };
549
+ return t.getSourceFile = readCached, t;
548
550
  }
549
551
  };
550
- S = u([r(), l("design:paramtypes", [])], S);
552
+ x = __decorate([r(), __decorateMetadata("design:paramtypes", [])], x);
551
553
  //#endregion
552
554
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/program/program.service.ts
553
- var C, w = C = class {
555
+ var S, C = S = class ProgramService {
554
556
  compilerHostService;
555
557
  logger;
556
558
  workspaceService;
557
559
  constructor(e, t, n) {
558
- this.compilerHostService = e, this.logger = t, this.workspaceService = n, this.logger.setContext(C.name);
560
+ this.compilerHostService = e, this.logger = t, this.workspaceService = n, this.logger.setContext(S.name);
559
561
  }
560
562
  assignOwnership(e) {
561
563
  let t = this.toRealPath(e.workspaceRoot), n = e.programs.map((e) => e.project), r = /* @__PURE__ */ new Set();
@@ -595,7 +597,7 @@ var C, w = C = class {
595
597
  }
596
598
  parseConfiguration(t) {
597
599
  let n = o.readJsonConfigFile(t.configurationPath, (e) => o.sys.readFile(e)), r = o.parseJsonSourceFileConfigFileContent(n, o.sys, e.dirname(t.configurationPath), void 0, t.configurationPath);
598
- if (r.errors.length > 0) throw new g({
600
+ if (r.errors.length > 0) throw new ProgramConfigurationError({
599
601
  configurationPath: t.configurationPath,
600
602
  messages: r.errors.map((e) => o.flattenDiagnosticMessageText(e.messageText, " "))
601
603
  });
@@ -645,23 +647,23 @@ var C, w = C = class {
645
647
  return o.sys.realpath === void 0 ? e : o.sys.realpath(e);
646
648
  }
647
649
  };
648
- w = C = u([r(), l("design:paramtypes", [
649
- S === void 0 ? Object : S,
650
- m === void 0 ? Object : m,
651
- v === void 0 ? Object : v
652
- ])], w);
650
+ C = S = __decorate([r(), __decorateMetadata("design:paramtypes", [
651
+ x === void 0 ? Object : x,
652
+ f === void 0 ? Object : f,
653
+ _ === void 0 ? Object : _
654
+ ])], C);
653
655
  //#endregion
654
656
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/program/program.module.ts
655
- var T = class {};
656
- T = u([i({
657
+ var w = class ProgramModule {};
658
+ w = __decorate([i({
657
659
  controllers: [],
658
- exports: [S, w],
659
- imports: [h, x],
660
- providers: [S, w]
661
- })], T);
660
+ exports: [x, C],
661
+ imports: [p, b],
662
+ providers: [x, C]
663
+ })], w);
662
664
  //#endregion
663
665
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/callables/callables.service.ts
664
- var E = class {
666
+ var T = class CallablesService {
665
667
  callableIdentityService;
666
668
  programService;
667
669
  workspaceService;
@@ -669,14 +671,14 @@ var E = class {
669
671
  this.callableIdentityService = e, this.programService = t, this.workspaceService = n;
670
672
  }
671
673
  collectFromFile(e) {
672
- let t = [], n = (r) => {
673
- this.isCallableDeclaration(r) && r.body !== void 0 && t.push(this.describe({
674
- declaration: r,
674
+ let t = [], visit = (n) => {
675
+ this.isCallableDeclaration(n) && n.body !== void 0 && t.push(this.describe({
676
+ declaration: n,
675
677
  projectProgram: e.projectProgram,
676
678
  workspaceRelativePath: e.workspaceRelativePath
677
- })), o.forEachChild(r, n);
679
+ })), o.forEachChild(n, visit);
678
680
  };
679
- return o.forEachChild(e.sourceFile, n), t;
681
+ return o.forEachChild(e.sourceFile, visit), t;
680
682
  }
681
683
  collectFromProgram(e) {
682
684
  let t = [], n = e.includeTestsByProject.get(e.projectProgram.project.name) ?? e.includeTests;
@@ -749,31 +751,31 @@ var E = class {
749
751
  };
750
752
  }
751
753
  };
752
- E = u([r(), l("design:paramtypes", [
753
- f === void 0 ? Object : f,
754
- w === void 0 ? Object : w,
755
- v === void 0 ? Object : v
756
- ])], E);
754
+ T = __decorate([r(), __decorateMetadata("design:paramtypes", [
755
+ u === void 0 ? Object : u,
756
+ C === void 0 ? Object : C,
757
+ _ === void 0 ? Object : _
758
+ ])], T);
757
759
  //#endregion
758
760
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/callables/callables.module.ts
759
- var D = class {};
760
- D = u([i({
761
+ var E = class CallablesModule {};
762
+ E = __decorate([i({
761
763
  controllers: [],
762
764
  exports: [
763
- d,
764
- f,
765
- E
765
+ l,
766
+ u,
767
+ T
766
768
  ],
767
- imports: [T, x],
769
+ imports: [w, b],
768
770
  providers: [
769
- d,
770
- f,
771
- E
771
+ l,
772
+ u,
773
+ T
772
774
  ]
773
- })], D);
775
+ })], E);
774
776
  //#endregion
775
777
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.constants.ts
776
- var ge = 8, O = class {
778
+ var me = 8, D = class ExternalService {
777
779
  constructor() {}
778
780
  ownedFilePaths = /* @__PURE__ */ new Set();
779
781
  verdicts = /* @__PURE__ */ new WeakMap();
@@ -796,10 +798,10 @@ var ge = 8, O = class {
796
798
  return this.ownedFilePaths.has(e);
797
799
  }
798
800
  };
799
- O = u([r(), l("design:paramtypes", [])], O);
801
+ D = __decorate([r(), __decorateMetadata("design:paramtypes", [])], D);
800
802
  //#endregion
801
803
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts
802
- var k = class {
804
+ var O = class ClassesService {
803
805
  externalService;
804
806
  constructor(e) {
805
807
  this.externalService = e;
@@ -872,19 +874,19 @@ var k = class {
872
874
  return this.lookupCache.set(t, o), o;
873
875
  }
874
876
  };
875
- k = u([r(), l("design:paramtypes", [O === void 0 ? Object : O])], k);
877
+ O = __decorate([r(), __decorateMetadata("design:paramtypes", [D === void 0 ? Object : D])], O);
876
878
  //#endregion
877
879
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.module.ts
878
- var A = class {};
879
- A = u([i({
880
+ var k = class ClassesModule {};
881
+ k = __decorate([i({
880
882
  controllers: [],
881
- exports: [k, O],
883
+ exports: [O, D],
882
884
  imports: [],
883
- providers: [k, O]
884
- })], A);
885
+ providers: [O, D]
886
+ })], k);
885
887
  //#endregion
886
888
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/documentation/documentation.constants.ts
887
- var _e = "deprecated", j = class {
889
+ var A = "deprecated", j = class DocumentationService {
888
890
  constructor() {}
889
891
  readSummary(e) {
890
892
  return o.displayPartsToString(e.symbol.getDocumentationComment(e.checker)).replaceAll(/\s+/g, " ").trim();
@@ -903,17 +905,17 @@ var _e = "deprecated", j = class {
903
905
  symbol: t
904
906
  }), r = t.getJsDocTags(e.checker).map((e) => e.name).filter((e) => e.length > 0);
905
907
  if (n.length !== 0 || r.length !== 0) return {
906
- isDeprecated: r.includes(_e),
908
+ isDeprecated: r.includes(A),
907
909
  summary: n,
908
910
  tags: [...new Set(r)]
909
911
  };
910
912
  }
911
913
  };
912
- j = u([r(), l("design:paramtypes", [])], j);
914
+ j = __decorate([r(), __decorateMetadata("design:paramtypes", [])], j);
913
915
  //#endregion
914
916
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/documentation/documentation.module.ts
915
- var M = class {};
916
- M = u([i({
917
+ var M = class DocumentationModule {};
918
+ M = __decorate([i({
917
919
  controllers: [],
918
920
  exports: [j],
919
921
  imports: [],
@@ -921,7 +923,7 @@ M = u([i({
921
923
  })], M);
922
924
  //#endregion
923
925
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/edges/call-sites.service.ts
924
- var N = class {
926
+ var N = class CallSitesService {
925
927
  constructor() {}
926
928
  isNestedBody(e) {
927
929
  return o.isArrowFunction(e) || o.isFunctionDeclaration(e) || o.isFunctionExpression(e) || o.isMethodDeclaration(e) || o.isConstructorDeclaration(e) || o.isGetAccessorDeclaration(e) || o.isSetAccessorDeclaration(e) || o.isClassDeclaration(e);
@@ -932,16 +934,16 @@ var N = class {
932
934
  collect(e) {
933
935
  let { body: t } = e, n = [];
934
936
  if (t === void 0) return n;
935
- let r = (e) => {
937
+ let visit = (e) => {
936
938
  this.isNestedBody(e) || ((o.isCallExpression(e) || o.isNewExpression(e)) && n.push({
937
939
  expression: e,
938
940
  functionArguments: this.readFunctionArguments(e)
939
- }), o.forEachChild(e, r));
941
+ }), o.forEachChild(e, visit));
940
942
  };
941
- return o.isBlock(t) ? o.forEachChild(t, r) : r(t), n;
943
+ return o.isBlock(t) ? o.forEachChild(t, visit) : visit(t), n;
942
944
  }
943
945
  };
944
- N = u([r(), l("design:paramtypes", [])], N);
946
+ N = __decorate([r(), __decorateMetadata("design:paramtypes", [])], N);
945
947
  //#endregion
946
948
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.constants.ts
947
949
  var P = {
@@ -952,23 +954,23 @@ var P = {
952
954
  declarations: [],
953
955
  reason: "dynamic-value",
954
956
  resolution: "direct"
955
- }, ve = {
957
+ }, he = {
956
958
  declarations: [],
957
959
  reason: "computed-member",
958
960
  resolution: "direct"
959
- }, ye = {
961
+ }, ge = {
960
962
  declarations: [],
961
963
  reason: "no-symbol",
962
964
  resolution: "direct"
963
- }, be = {
965
+ }, _e = {
964
966
  declarations: [],
965
967
  reason: "no-implementation",
966
968
  resolution: "direct"
967
- }, xe = {
969
+ }, ve = {
968
970
  declarations: [],
969
971
  reason: "too-many-implementations",
970
972
  resolution: "implementation"
971
- }, I = class {
973
+ }, I = class SymbolResolutionService {
972
974
  classHierarchyService;
973
975
  externalService;
974
976
  constructor(e, t) {
@@ -1018,14 +1020,14 @@ var P = {
1018
1020
  }
1019
1021
  resolveThroughHierarchy(e) {
1020
1022
  let t = this.readOwner(e.declaration), n = t === void 0 ? void 0 : e.checker.getSymbolAtLocation(t.name);
1021
- if (t === void 0 || n === void 0) return be;
1023
+ if (t === void 0 || n === void 0) return _e;
1022
1024
  let r = this.classHierarchyService.resolveImplementations({
1023
1025
  checker: e.checker,
1024
1026
  memberName: e.memberName,
1025
1027
  ownerName: t.name.text,
1026
1028
  ownerSymbol: n
1027
1029
  });
1028
- return r.exceededCandidateLimit ? xe : {
1030
+ return r.exceededCandidateLimit ? ve : {
1029
1031
  declarations: r.declarations,
1030
1032
  reason: r.declarations.length === 0 ? "no-implementation" : void 0,
1031
1033
  resolution: "implementation"
@@ -1036,11 +1038,11 @@ var P = {
1036
1038
  }
1037
1039
  resolve(e) {
1038
1040
  let t = e.expression.expression;
1039
- if (o.isElementAccessExpression(t) && !o.isStringLiteral(t.argumentExpression)) return ve;
1041
+ if (o.isElementAccessExpression(t) && !o.isStringLiteral(t.argumentExpression)) return he;
1040
1042
  let n = this.readCalleeName(e.expression);
1041
1043
  if (n === void 0) return F;
1042
1044
  let r = e.checker.getSymbolAtLocation(n);
1043
- return r === void 0 ? ye : this.resolveSymbol({
1045
+ return r === void 0 ? ge : this.resolveSymbol({
1044
1046
  callee: t,
1045
1047
  checker: e.checker,
1046
1048
  symbol: r
@@ -1055,10 +1057,10 @@ var P = {
1055
1057
  };
1056
1058
  }
1057
1059
  };
1058
- I = u([r(), l("design:paramtypes", [k === void 0 ? Object : k, O === void 0 ? Object : O])], I);
1060
+ I = __decorate([r(), __decorateMetadata("design:paramtypes", [O === void 0 ? Object : O, D === void 0 ? Object : D])], I);
1059
1061
  //#endregion
1060
1062
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts
1061
- var L, R = L = class {
1063
+ var L, R = L = class EdgesService {
1062
1064
  callSitesService;
1063
1065
  externalService;
1064
1066
  programService;
@@ -1170,18 +1172,18 @@ var L, R = L = class {
1170
1172
  };
1171
1173
  }
1172
1174
  };
1173
- R = L = u([r(), l("design:paramtypes", [
1175
+ R = L = __decorate([r(), __decorateMetadata("design:paramtypes", [
1174
1176
  N === void 0 ? Object : N,
1175
- O === void 0 ? Object : O,
1176
- w === void 0 ? Object : w,
1177
+ D === void 0 ? Object : D,
1178
+ C === void 0 ? Object : C,
1177
1179
  I === void 0 ? Object : I,
1178
- v === void 0 ? Object : v,
1179
- m === void 0 ? Object : m
1180
+ _ === void 0 ? Object : _,
1181
+ f === void 0 ? Object : f
1180
1182
  ])], R);
1181
1183
  //#endregion
1182
1184
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.module.ts
1183
- var z = class {};
1184
- z = u([i({
1185
+ var z = class EdgesModule {};
1186
+ z = __decorate([i({
1185
1187
  controllers: [],
1186
1188
  exports: [
1187
1189
  N,
@@ -1189,11 +1191,11 @@ z = u([i({
1189
1191
  I
1190
1192
  ],
1191
1193
  imports: [
1192
- D,
1193
- A,
1194
- h,
1195
- T,
1196
- x
1194
+ E,
1195
+ k,
1196
+ p,
1197
+ w,
1198
+ b
1197
1199
  ],
1198
1200
  providers: [
1199
1201
  N,
@@ -1203,13 +1205,13 @@ z = u([i({
1203
1205
  })], z);
1204
1206
  //#endregion
1205
1207
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/entries/entries.constants.ts
1206
- var Se = /* @__PURE__ */ new Set([
1208
+ var ye = /* @__PURE__ */ new Set([
1207
1209
  "beforeApplicationShutdown",
1208
1210
  "onApplicationBootstrap",
1209
1211
  "onApplicationShutdown",
1210
1212
  "onModuleDestroy",
1211
1213
  "onModuleInit"
1212
- ]), Ce = "run", we = /* @__PURE__ */ new Set(["bootstrap", "main"]), Te = "/src/main.ts", Ee = "/src/index.ts", B, V = B = class {
1214
+ ]), be = "run", xe = /* @__PURE__ */ new Set(["bootstrap", "main"]), Se = "/src/main.ts", Ce = "/src/index.ts", B, V = B = class EntriesService {
1213
1215
  addressService;
1214
1216
  logger;
1215
1217
  constructor(e, t) {
@@ -1220,7 +1222,7 @@ var Se = /* @__PURE__ */ new Set([
1220
1222
  return this.hasConfiguredDecorator({
1221
1223
  decorators: e.rules.decorators,
1222
1224
  node: t
1223
- }) ? "decorated-method" : Se.has(n.memberName) ? "lifecycle" : this.isCommandRunnerMethod({
1225
+ }) ? "decorated-method" : ye.has(n.memberName) ? "lifecycle" : this.isCommandRunnerMethod({
1224
1226
  ...e,
1225
1227
  declaration: t
1226
1228
  }) ? "decorated-method" : this.isBootstrapFunction(n.location.filePath, n.memberName) ? "module-bootstrap" : e.rules.includeExportedFunctions && n.isExported && n.location.filePath.endsWith("/src/index.ts") ? "exported-function" : void 0;
@@ -1241,7 +1243,7 @@ var Se = /* @__PURE__ */ new Set([
1241
1243
  return this.readDecoratorNames(e.node).some((t) => e.decorators.has(t));
1242
1244
  }
1243
1245
  isBootstrapFunction(e, t) {
1244
- return e.endsWith("/src/main.ts") && we.has(t);
1246
+ return e.endsWith("/src/main.ts") && xe.has(t);
1245
1247
  }
1246
1248
  isCommandRunnerMethod(e) {
1247
1249
  if (e.callable.node.memberName !== "run") return !1;
@@ -1325,19 +1327,19 @@ var Se = /* @__PURE__ */ new Set([
1325
1327
  };
1326
1328
  }
1327
1329
  };
1328
- V = B = u([r(), l("design:paramtypes", [d === void 0 ? Object : d, m === void 0 ? Object : m])], V);
1330
+ V = B = __decorate([r(), __decorateMetadata("design:paramtypes", [l === void 0 ? Object : l, f === void 0 ? Object : f])], V);
1329
1331
  //#endregion
1330
1332
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/entries/entries.module.ts
1331
- var H = class {};
1332
- H = u([i({
1333
+ var H = class EntriesModule {};
1334
+ H = __decorate([i({
1333
1335
  controllers: [],
1334
1336
  exports: [V],
1335
- imports: [D, h],
1337
+ imports: [E, p],
1336
1338
  providers: [V]
1337
1339
  })], H);
1338
1340
  //#endregion
1339
1341
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/graph/address-depth.constants.ts
1340
- var De = 200, U = o.TypeFormatFlags.UseAliasDefinedOutsideCurrentScope, W = class {
1342
+ var we = 200, U = o.TypeFormatFlags.UseAliasDefinedOutsideCurrentScope, W = class SignaturesService {
1341
1343
  constructor() {}
1342
1344
  readParameter(e) {
1343
1345
  let { valueDeclaration: t } = e.parameter, n = t !== void 0 && o.isParameter(t);
@@ -1361,10 +1363,10 @@ var De = 200, U = o.TypeFormatFlags.UseAliasDefinedOutsideCurrentScope, W = clas
1361
1363
  };
1362
1364
  }
1363
1365
  };
1364
- W = u([r(), l("design:paramtypes", [])], W);
1366
+ W = __decorate([r(), __decorateMetadata("design:paramtypes", [])], W);
1365
1367
  //#endregion
1366
1368
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/graph/paths.service.ts
1367
- var G = class {
1369
+ var G = class PathsService {
1368
1370
  documentationService;
1369
1371
  signaturesService;
1370
1372
  constructor(e, t) {
@@ -1410,10 +1412,10 @@ var G = class {
1410
1412
  };
1411
1413
  }
1412
1414
  };
1413
- G = u([r(), l("design:paramtypes", [j === void 0 ? Object : j, W === void 0 ? Object : W])], G);
1415
+ G = __decorate([r(), __decorateMetadata("design:paramtypes", [j === void 0 ? Object : j, W === void 0 ? Object : W])], G);
1414
1416
  //#endregion
1415
1417
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/graph/address-depth.service.ts
1416
- var K = class {
1418
+ var K = class AddressDepthService {
1417
1419
  pathsService;
1418
1420
  constructor(e) {
1419
1421
  this.pathsService = e;
@@ -1526,10 +1528,10 @@ var K = class {
1526
1528
  };
1527
1529
  }
1528
1530
  };
1529
- K = u([r(), l("design:paramtypes", [G === void 0 ? Object : G])], K);
1531
+ K = __decorate([r(), __decorateMetadata("design:paramtypes", [G === void 0 ? Object : G])], K);
1530
1532
  //#endregion
1531
1533
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/graph/breadth.service.ts
1532
- var q = class {
1534
+ var q = class BreadthService {
1533
1535
  constructor() {}
1534
1536
  toReferences(e) {
1535
1537
  let t = [];
@@ -1567,10 +1569,10 @@ var q = class {
1567
1569
  return { byCallable: t };
1568
1570
  }
1569
1571
  };
1570
- q = u([r(), l("design:paramtypes", [])], q);
1572
+ q = __decorate([r(), __decorateMetadata("design:paramtypes", [])], q);
1571
1573
  //#endregion
1572
1574
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/graph/components.constants.ts
1573
- var Oe = 0, J = class {
1575
+ var Te = 0, J = class ComponentsService {
1574
1576
  constructor() {}
1575
1577
  closeNode(e) {
1576
1578
  let { callableId: t, state: n } = e;
@@ -1677,10 +1679,10 @@ var Oe = 0, J = class {
1677
1679
  };
1678
1680
  }
1679
1681
  };
1680
- J = u([r(), l("design:paramtypes", [])], J);
1682
+ J = __decorate([r(), __decorateMetadata("design:paramtypes", [])], J);
1681
1683
  //#endregion
1682
1684
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/graph/graph-depth.service.ts
1683
- var Y = class {
1685
+ var Y = class GraphDepthService {
1684
1686
  constructor() {}
1685
1687
  combine(e) {
1686
1688
  let t = this.foldSuccessors({
@@ -1722,10 +1724,10 @@ var Y = class {
1722
1724
  return { byComponent: n };
1723
1725
  }
1724
1726
  };
1725
- Y = u([r(), l("design:paramtypes", [])], Y);
1727
+ Y = __decorate([r(), __decorateMetadata("design:paramtypes", [])], Y);
1726
1728
  //#endregion
1727
1729
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/graph/graph.service.ts
1728
- var X = class {
1730
+ var X = class GraphService {
1729
1731
  constructor() {}
1730
1732
  append(e) {
1731
1733
  let t = e.index.get(e.key);
@@ -1751,10 +1753,10 @@ var X = class {
1751
1753
  };
1752
1754
  }
1753
1755
  };
1754
- X = u([r(), l("design:paramtypes", [])], X);
1756
+ X = __decorate([r(), __decorateMetadata("design:paramtypes", [])], X);
1755
1757
  //#endregion
1756
1758
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/graph/graph-assembly.service.ts
1757
- var Z = class {
1759
+ var Z = class GraphAssemblyService {
1758
1760
  breadthService;
1759
1761
  componentsService;
1760
1762
  depthService;
@@ -1787,7 +1789,7 @@ var Z = class {
1787
1789
  };
1788
1790
  }
1789
1791
  };
1790
- Z = u([r(), l("design:paramtypes", [
1792
+ Z = __decorate([r(), __decorateMetadata("design:paramtypes", [
1791
1793
  q === void 0 ? Object : q,
1792
1794
  J === void 0 ? Object : J,
1793
1795
  Y === void 0 ? Object : Y,
@@ -1796,8 +1798,8 @@ Z = u([r(), l("design:paramtypes", [
1796
1798
  ])], Z);
1797
1799
  //#endregion
1798
1800
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/signatures/signatures.module.ts
1799
- var Q = class {};
1800
- Q = u([i({
1801
+ var Q = class SignaturesModule {};
1802
+ Q = __decorate([i({
1801
1803
  controllers: [],
1802
1804
  exports: [W],
1803
1805
  imports: [],
@@ -1805,8 +1807,8 @@ Q = u([i({
1805
1807
  })], Q);
1806
1808
  //#endregion
1807
1809
  //#region packages/ic-suite/callidescope/callidescope-graph/src/modules/graph/graph.module.ts
1808
- var $ = class {};
1809
- $ = u([i({
1810
+ var $ = class GraphModule {};
1811
+ $ = __decorate([i({
1810
1812
  controllers: [],
1811
1813
  exports: [
1812
1814
  q,
@@ -1833,4 +1835,4 @@ $ = u([i({
1833
1835
  ]
1834
1836
  })], $);
1835
1837
  //#endregion
1836
- export { ae as ANONYMOUS_MEMBER_NAME, K as AddressDepthService, d as AddressService, Ee as BARREL_FILE_SUFFIX, Te as BOOTSTRAP_FILE_SUFFIX, we as BOOTSTRAP_FUNCTION_NAMES, q as BreadthService, Ce as COMMAND_RUNNER_METHOD_NAME, ve as COMPUTED_MEMBER_CALL, N as CallSitesService, f as CallableIdentityService, D as CallablesModule, E as CallablesService, A as ClassesModule, k as ClassesService, S as CompilerHostService, J as ComponentsService, _e as DEPRECATED_TAG, F as DYNAMIC_CALL, M as DocumentationModule, j as DocumentationService, de as EXCLUDED_SCAN_DIRECTORY_NAMES, P as EXTERNAL_CALL, z as EdgesModule, R as EdgesService, H as EntriesModule, V as EntriesService, O as ExternalService, b as FileFilterService, Z as GraphAssemblyService, Y as GraphDepthService, $ as GraphModule, X as GraphService, Oe as INITIAL_LOW_LINK, Se as LIFECYCLE_METHOD_NAMES, De as MAXIMUM_CALL_ADDRESS_STACKS, ge as MAXIMUM_IMPLEMENTATION_CANDIDATES, be as NO_IMPLEMENTATION_CALL, ye as NO_SYMBOL_CALL, pe as PROJECT_CONFIGURATION_NAME, G as PathsService, g as ProgramConfigurationError, T as ProgramModule, w as ProgramService, U as SIGNATURE_FORMAT_FLAGS, Q as SignaturesModule, W as SignaturesService, I as SymbolResolutionService, me as TEST_DIRECTORY_SEGMENT, he as TEST_FILE_PATTERN, xe as TOO_MANY_IMPLEMENTATIONS_CALL, x as WorkspaceModule, v as WorkspaceService };
1838
+ export { ae as ANONYMOUS_MEMBER_NAME, K as AddressDepthService, l as AddressService, Ce as BARREL_FILE_SUFFIX, Se as BOOTSTRAP_FILE_SUFFIX, xe as BOOTSTRAP_FUNCTION_NAMES, q as BreadthService, be as COMMAND_RUNNER_METHOD_NAME, he as COMPUTED_MEMBER_CALL, N as CallSitesService, u as CallableIdentityService, E as CallablesModule, T as CallablesService, k as ClassesModule, O as ClassesService, x as CompilerHostService, J as ComponentsService, A as DEPRECATED_TAG, F as DYNAMIC_CALL, M as DocumentationModule, j as DocumentationService, de as EXCLUDED_SCAN_DIRECTORY_NAMES, P as EXTERNAL_CALL, z as EdgesModule, R as EdgesService, H as EntriesModule, V as EntriesService, D as ExternalService, y as FileFilterService, Z as GraphAssemblyService, Y as GraphDepthService, $ as GraphModule, X as GraphService, Te as INITIAL_LOW_LINK, ye as LIFECYCLE_METHOD_NAMES, we as MAXIMUM_CALL_ADDRESS_STACKS, me as MAXIMUM_IMPLEMENTATION_CANDIDATES, _e as NO_IMPLEMENTATION_CALL, ge as NO_SYMBOL_CALL, m as PROJECT_CONFIGURATION_NAME, G as PathsService, ProgramConfigurationError, w as ProgramModule, C as ProgramService, U as SIGNATURE_FORMAT_FLAGS, Q as SignaturesModule, W as SignaturesService, I as SymbolResolutionService, pe as TEST_DIRECTORY_SEGMENT, h as TEST_FILE_PATTERN, ve as TOO_MANY_IMPLEMENTATIONS_CALL, b as WorkspaceModule, _ as WorkspaceService };
package/package.json CHANGED
@@ -4,8 +4,8 @@
4
4
  "url": "https://github.com/organizzolini/codebase/issues"
5
5
  },
6
6
  "dependencies": {
7
- "@callidescope/configuration": "0.0.10",
8
- "@callidescope/core": "0.0.9",
7
+ "@callidescope/configuration": "0.0.11",
8
+ "@callidescope/core": "0.0.10",
9
9
  "@nestjs/common": "^11.1.21 || ^12.0.1",
10
10
  "pino": "^10.3.1",
11
11
  "pino-pretty": "^13.1.3",
@@ -66,5 +66,5 @@
66
66
  "strict": true
67
67
  },
68
68
  "types": "./dist/src/index.d.ts",
69
- "version": "0.0.9"
69
+ "version": "0.0.10"
70
70
  }