ng-di-graph 0.4.0 → 0.4.1

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.
@@ -3,10 +3,12 @@
3
3
  * Filters graphs based on entry points and direction
4
4
  */
5
5
  import type { CliOptions, Graph } from '../types';
6
+ import { type Logger } from './logger';
6
7
  /**
7
8
  * Filters a graph based on entry points and traversal direction
8
9
  * @param graph The graph to filter
9
10
  * @param options CLI options containing entry points and direction
11
+ * @param logger Optional logger for structured output
10
12
  * @returns Filtered graph containing only nodes reachable from entry points
11
13
  */
12
- export declare function filterGraph(graph: Graph, options: CliOptions): Graph;
14
+ export declare function filterGraph(graph: Graph, options: CliOptions, logger?: Logger): Graph;
@@ -9,6 +9,9 @@ export declare class AngularParser {
9
9
  private _circularTypeRefs;
10
10
  private _structuredWarnings;
11
11
  constructor(_options: CliOptions, _logger?: Logger | undefined);
12
+ private verboseInfo;
13
+ private verboseDebug;
14
+ private warn;
12
15
  /**
13
16
  * Reset global warning deduplication state (useful for testing)
14
17
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-di-graph",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Angular DI dependency graph CLI tool",
5
5
  "main": "dist/cli/index.cjs",
6
6
  "bin": {