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.
- package/dist/cli/index.cjs +178 -134
- package/dist/cli/index.cjs.map +1 -1
- package/dist/core/graph-filter.d.ts +3 -1
- package/dist/core/parser.d.ts +3 -0
- package/package.json +1 -1
|
@@ -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;
|
package/dist/core/parser.d.ts
CHANGED
|
@@ -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
|
*/
|