Skip to content

Commit b86b9a8

Browse files
committed
refactor(@angular-devkit/core): deprecate PartiallyOrderedSet
The PartiallyOrderedSet class was only used to handle dependencies in SchemaRegistry transforms. Since that feature is now deprecated, this class is also marked as deprecated.
1 parent a6062ac commit b86b9a8

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

goldens/public-api/angular_devkit/core/index.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ function oneLine(strings: TemplateStringsArray, ...values: any[]): string;
553553
// @public (undocumented)
554554
function parseJsonPointer(pointer: JsonPointer): string[];
555555

556-
// @public (undocumented)
556+
// @public
557557
export class PartiallyOrderedSet<T> {
558558
// (undocumented)
559559
[Symbol.iterator](): IterableIterator<T, undefined, unknown>;

packages/angular_devkit/core/src/utils/partially-ordered-set.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ export class CircularDependencyFoundException extends BaseException {
1919
}
2020
}
2121

22+
/**
23+
* @deprecated Use standard arrays and ensure correct insertion order instead.
24+
*/
2225
export class PartiallyOrderedSet<T> {
2326
private _items = new Map<T, Set<T>>();
2427

0 commit comments

Comments
 (0)