@callidescope/graph 0.0.14 → 0.0.15

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.15 (2026-10-13)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated callidescope-configuration to 0.0.16
6
+ - Updated callidescope-core to 0.0.15
7
+
1
8
  ## 0.0.14 (2026-10-12)
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-393.17_kB-6b7280?style=flat-square)
639
+ ![Repository Size](https://img.shields.io/badge/Repository_Size-393.31_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.42_kB_gzip-6b7280?style=flat-square)
645
+ ![Compiled JavaScript Size](https://img.shields.io/badge/Compiled_JavaScript_Size-14.41_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-295-1f6feb?style=flat-square)
827
+ ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-302-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-17-8b5cf6?style=flat-square)
830
- ![H3](https://img.shields.io/badge/H3-23-a78bfa?style=flat-square)
829
+ ![H2](https://img.shields.io/badge/H2-18-8b5cf6?style=flat-square)
830
+ ![H3](https://img.shields.io/badge/H3-24-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-66-64748b?style=flat-square)
835
- ![Lists](https://img.shields.io/badge/Lists-17-16a34a?style=flat-square)
836
- ![List Items](https://img.shields.io/badge/List_Items-46-22c55e?style=flat-square)
834
+ ![Paragraphs](https://img.shields.io/badge/Paragraphs-68-64748b?style=flat-square)
835
+ ![Lists](https://img.shields.io/badge/Lists-18-16a34a?style=flat-square)
836
+ ![List Items](https://img.shields.io/badge/List_Items-48-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
@@ -7,12 +7,12 @@ import { execFileSync as ne } from "node:child_process";
7
7
  //#region \0rolldown/runtime.js
8
8
  var re = /^\d+$/u, ie = /:\d+$/u;
9
9
  //#endregion
10
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/decorateMetadata.js
10
+ //#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorateMetadata.js
11
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
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/decorate.js
15
+ //#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorate.js
16
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);
@@ -223,11 +223,7 @@ var oe = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\
223
223
  });
224
224
  }
225
225
  static logToStandardError() {
226
- if (d.rootLogger !== void 0) {
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
- return;
229
- }
230
- d.writesToStandardError = !0;
226
+ d.rootLogger === void 0 ? d.writesToStandardError = !0 : 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.");
231
227
  }
232
228
  assertConventionalMessage(e) {
233
229
  if (d.isProduction || this.shouldSkipConventionalMessageValidation(e.context)) return;
@@ -404,20 +400,19 @@ var ue = "the directory holds no tsconfig.json", ProgramConfigurationError = cla
404
400
  configurationPath: n,
405
401
  fileFilter: t.fileFilter,
406
402
  workspaceRoot: t.workspaceRoot
407
- })) {
408
- this.logger.debug("🔭 Skipped an excluded project", void 0, { root: i });
409
- continue;
403
+ })) this.logger.debug("🔭 Skipped an excluded project", void 0, { root: i });
404
+ else {
405
+ if (!s(n)) throw new ProgramConfigurationError({
406
+ configurationPath: n,
407
+ messages: [ue]
408
+ });
409
+ r.push({
410
+ configurationPath: n,
411
+ hasPackageManifest: s(e.join(t.workspaceRoot, i, fe)),
412
+ name: i,
413
+ root: i
414
+ });
410
415
  }
411
- if (!s(n)) throw new ProgramConfigurationError({
412
- configurationPath: n,
413
- messages: [ue]
414
- });
415
- r.push({
416
- configurationPath: n,
417
- hasPackageManifest: s(e.join(t.workspaceRoot, i, fe)),
418
- name: i,
419
- root: i
420
- });
421
416
  }
422
417
  return r.toSorted((e, t) => e.name.localeCompare(t.name));
423
418
  }
@@ -492,11 +487,8 @@ var v, y = v = class FileFilterService {
492
487
  let n = /* @__PURE__ */ new Set();
493
488
  for (let r of t.excludeFrom) {
494
489
  let i = e.resolve(t.workspaceRoot, r);
495
- if (!s(i)) {
496
- this.logger.warn("🔭 Skipped a missing ignore file", void 0, { ignoreFile: r });
497
- continue;
498
- }
499
- for (let e of this.listIgnoredFiles({
490
+ if (!s(i)) this.logger.warn("🔭 Skipped a missing ignore file", void 0, { ignoreFile: r });
491
+ else for (let e of this.listIgnoredFiles({
500
492
  ignorePath: i,
501
493
  workspaceRoot: t.workspaceRoot
502
494
  })) n.add(e);
@@ -571,11 +563,7 @@ var S, C = S = class ProgramService {
571
563
  projects: n,
572
564
  workspaceRelativePath: r
573
565
  }), s = e.programs.find((e) => e.project === o);
574
- if (s === void 0) {
575
- this.logger.warn("🔭 Skipped a file no traced project contains", void 0, { workspaceRelativePath: r });
576
- continue;
577
- }
578
- i.set(a, s);
566
+ s === void 0 ? this.logger.warn("🔭 Skipped a file no traced project contains", void 0, { workspaceRelativePath: r }) : i.set(a, s);
579
567
  }
580
568
  return i;
581
569
  }
@@ -1422,30 +1410,18 @@ var K = class AddressDepthService {
1422
1410
  }
1423
1411
  follow(e) {
1424
1412
  let { context: t, frame: n, neighborId: r, paths: i, pending: a } = e;
1425
- if (n.path.includes(r)) {
1426
- i.push([...n.path, r]);
1427
- return;
1428
- }
1429
- if (!t.callablesById.has(r)) {
1430
- i.push(n.path);
1431
- return;
1432
- }
1433
- a.push({
1413
+ n.path.includes(r) ? i.push([...n.path, r]) : t.callablesById.has(r) ? a.push({
1434
1414
  currentId: r,
1435
1415
  nextIndex: 0,
1436
1416
  path: [...n.path, r]
1437
- });
1417
+ }) : i.push(n.path);
1438
1418
  }
1439
1419
  isLowerBound(e) {
1440
1420
  return e.path.some((t) => e.unresolvedCallerIds.has(t));
1441
1421
  }
1442
1422
  step(e) {
1443
1423
  let { context: t, frame: n, paths: r, pending: i } = e, a = t.adjacency.get(n.currentId) ?? [], o = n.nextIndex === 0, s = a.at(n.nextIndex);
1444
- if (n.nextIndex += 1, s === void 0) {
1445
- o && r.push(n.path), i.pop();
1446
- return;
1447
- }
1448
- this.follow({
1424
+ n.nextIndex += 1, s === void 0 ? (o && r.push(n.path), i.pop()) : this.follow({
1449
1425
  context: t,
1450
1426
  frame: n,
1451
1427
  neighborId: s,
@@ -1623,17 +1599,13 @@ var Te = 0, J = class ComponentsService {
1623
1599
  }
1624
1600
  visitSuccessor(e) {
1625
1601
  let { parentId: t, state: n, successor: r } = e;
1626
- if (!n.order.has(r)) {
1627
- this.openNode({
1628
- callableId: r,
1629
- state: n
1630
- });
1631
- return;
1632
- }
1633
- n.onStack.has(r) && this.liftLowLink({
1602
+ n.order.has(r) ? n.onStack.has(r) && this.liftLowLink({
1634
1603
  child: r,
1635
1604
  parent: t,
1636
1605
  state: n
1606
+ }) : this.openNode({
1607
+ callableId: r,
1608
+ state: n
1637
1609
  });
1638
1610
  }
1639
1611
  buildSuccessors(e) {
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.15",
8
- "@callidescope/core": "0.0.14",
7
+ "@callidescope/configuration": "0.0.16",
8
+ "@callidescope/core": "0.0.15",
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.14"
69
+ "version": "0.0.15"
70
70
  }