@mark1russell7/collections 0.7.0 → 0.7.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/README.md CHANGED
@@ -11,17 +11,21 @@ npm i @mark1russell7/collections
11
11
  ## Lists, maps and behaviors
12
12
 
13
13
  ```ts
14
+ import assert from "node:assert/strict";
14
15
  import { arrayList, compose, hashMap, lruMap } from "@mark1russell7/collections";
15
16
 
16
17
  const list = arrayList<number>();
17
18
  list.add(1);
18
19
  list.add(2);
20
+ assert.deepEqual(list.toArray(), [1, 2]);
19
21
 
20
22
  const cache = compose(lruMap<string, number>({ capacity: 2 }))(hashMap<string, number>());
21
23
  cache.set("a", 1);
22
24
  cache.set("b", 2);
23
25
  cache.set("c", 3);
24
- cache.has("a"); // false: the map removed the oldest key
26
+ // The map removed the oldest key
27
+ assert.equal(cache.has("a"), false);
28
+ assert.equal(cache.get("c"), 3);
25
29
  ```
26
30
 
27
31
  ## The summary tree
@@ -29,6 +33,7 @@ cache.has("a"); // false: the map removed the oldest key
29
33
  A summary tree is a persistent sequence. Each node keeps the sum of its leaves in a monoid. Each change gives a new tree in logarithmic time, and the old tree stays the same.
30
34
 
31
35
  ```ts
36
+ import assert from "node:assert/strict";
32
37
  import { summaryTree, type SummarySpec } from "@mark1russell7/collections";
33
38
 
34
39
  const text: SummarySpec<string, string> = {
@@ -36,7 +41,7 @@ const text: SummarySpec<string, string> = {
36
41
  measure: (leaf) => leaf,
37
42
  };
38
43
  const tree = summaryTree(text, ["a", "b", "c"]);
39
- tree.summary; // "abc"
44
+ assert.equal(tree.summary, "abc");
40
45
  ```
41
46
 
42
47
  ## Dependency graphs
@@ -44,23 +49,37 @@ tree.summary; // "abc"
44
49
  The entry `./dag` gives the levels of a graph, and a run of each level with a limit of concurrency.
45
50
 
46
51
  ```ts
52
+ import assert from "node:assert/strict";
47
53
  import { buildLeveledDAG, getTopologicalOrder } from "@mark1russell7/collections/dag";
48
54
 
49
55
  const nodes = new Map([
50
56
  ["app", { id: "app", dependencies: ["lib"] }],
51
57
  ["lib", { id: "lib", dependencies: [] }],
52
58
  ]);
53
- getTopologicalOrder(buildLeveledDAG(nodes)).map((node) => node.id); // ["lib", "app"]
59
+ assert.deepEqual(getTopologicalOrder(buildLeveledDAG(nodes)).map((node) => node.id), ["lib", "app"]);
54
60
  ```
55
61
 
56
62
  The entry `./graph` gives `hubBreadthFirstOrder`: the order of a weighted graph, from its largest hub, with no other imports.
57
63
 
58
64
  ```ts
65
+ import assert from "node:assert/strict";
59
66
  import { hubBreadthFirstOrder } from "@mark1russell7/collections/graph";
60
67
 
61
- hubBreadthFirstOrder(3, [{ a: 0, b: 1 }, { a: 1, b: 2 }]); // [1, 0, 2]
68
+ assert.deepEqual(hubBreadthFirstOrder(3, [{ a: 0, b: 1 }, { a: 1, b: 2 }]), [1, 0, 2]);
62
69
  ```
63
70
 
71
+ ## Guides
72
+
73
+ Each guide has examples, and a test runs each example:
74
+
75
+ - [Lists](https://github.com/mark1russell7/collections/blob/main/docs/guides/lists.md): `arrayList` and `linkedList`
76
+ - [Maps and sets](https://github.com/mark1russell7/collections/blob/main/docs/guides/maps-and-sets.md): hash maps, tree maps, linked maps, and their sets
77
+ - [Queues](https://github.com/mark1russell7/collections/blob/main/docs/guides/queues.md): `arrayDeque` and `priorityQueue`
78
+ - [Dependency graphs](https://github.com/mark1russell7/collections/blob/main/docs/guides/dag.md): levels, the topological order, and a run with `executeDAG`
79
+ - [Graph orders](https://github.com/mark1russell7/collections/blob/main/docs/guides/graph.md): `hubBreadthFirstOrder`
80
+ - [Layers](https://github.com/mark1russell7/collections/blob/main/docs/guides/layers.md): `compose`, its types and its laws, and behaviors on a collection
81
+ - [Behaviors](https://github.com/mark1russell7/collections/blob/main/docs/guides/behaviors.md): readonly views, safe reads and the locks
82
+
64
83
  ## Contract checks
65
84
 
66
85
  The entry `./testing` gives the small checks of a contract suite: `holds`, `same`, `rejects`, `deepEqual`, `show` and `ContractViolation`. These checks import no test framework.
@@ -1 +1 @@
1
- {"version":3,"file":"layers.js","names":[],"sources":["../../src/core/layers.ts"],"sourcesContent":["/**\n * This module holds the one fold of a stack of layers. A layer wraps the next thing, so a stack\n * of layers wraps a base. The next thing can be a collection, a function or any other value.\n *\n * This file has no imports. A package that needs only the fold loads this one file.\n *\n * @example\n * const parse = compose(\n * (next: (text: string) => number) => (text: string) => next(text.trim()),\n * (next: (text: string) => number) => (text: string) => next(text) * 2\n * )(Number);\n * parse(\" 21 \"); // 42\n */\n\n/**\n * A layer takes the next thing and gives a wrapped thing.\n *\n * @template Inner The type that the layer wraps\n * @template Outer The type that the layer gives\n */\nexport type Layer<Inner = any, Outer = Inner> = (next: Inner) => Outer;\n\n/** This type gives the type that a layer wraps. */\nexport type InnerOf<L> = L extends (next: infer I) => any ? I : never;\n\n/** This type gives the type that a layer gives. */\nexport type OuterOf<L> = L extends (next: any) => infer O ? O : never;\n\n/**\n * This type checks each neighbor pair of a list of layers. The result of the inner neighbor must\n * fit the input of the outer neighbor. At the first bad pair, the compiler marks that argument.\n *\n * The type is tail recursive, so the compiler accepts a chain of 100 layers.\n */\nexport type Chain<L extends readonly unknown[], Done extends readonly unknown[] = readonly []> =\n L extends readonly [infer A, infer B, ...infer R]\n ? [OuterOf<B>] extends [InnerOf<A>]\n ? Chain<readonly [B, ...R], readonly [...Done, A]>\n : readonly [...Done, A, Layer<any, InnerOf<A>>, ...R]\n : readonly [...Done, ...L];\n\n/**\n * This type gives the function that {@link compose} returns. Its input is the input of the last\n * layer, and its result is the result of the first layer. No layers give the identity function.\n * A list that the compiler cannot see as a tuple gives the types of one element.\n */\nexport type Composed<L extends readonly unknown[]> =\n L extends readonly []\n ? <B>(base: B) => B\n : L extends readonly [infer First, ...unknown[]]\n ? L extends readonly [...unknown[], infer Last]\n ? (base: InnerOf<Last>) => OuterOf<First>\n : never\n : L extends readonly (infer E)[]\n ? (base: InnerOf<E>) => OuterOf<E>\n : never;\n\n/** This type gives the intersection of the results of a list of layers. */\nexport type Outers<L extends readonly unknown[], Sum = unknown> =\n L extends readonly [infer First, ...infer Rest] ? Outers<Rest, Sum & OuterOf<First>> : Sum;\n\n/**\n * This type gives the function for layers that keep each capability of the layers under them.\n * Its result has the result of each layer and the base. Use it only when that law holds.\n */\nexport type Stacked<L extends readonly unknown[]> =\n L extends readonly [...unknown[], infer Last]\n ? (base: InnerOf<Last>) => Outers<L> & InnerOf<Last>\n : Composed<L>;\n\n/**\n * This function folds layers into one function that wraps a base. The first layer is the outermost.\n *\n * The fold holds four laws:\n * - Identity: `compose()(b)` is `b`.\n * - One layer: `compose(f)(b)` is `f(b)`.\n * - Associativity: `compose(f, compose(g, h))` equals `compose(compose(f, g), h)`.\n * - Order: `compose(f, g)(b)` is `f(g(b))`.\n *\n * @param layers The layers, from the outermost to the innermost\n * @returns A function that wraps a base in the layers\n */\nexport function compose<const L extends readonly Layer[]>(...layers: L & Chain<L>): Composed<L> {\n const list: readonly Layer[] = layers;\n return ((base: unknown) => list.reduceRight((acc, layer) => layer(acc), base)) as Composed<L>;\n}\n"],"mappings":";;;;;;;;;;;;;AAkFA,SAAgB,QAA0C,GAAG,QAAmC;CAC9F,MAAM,OAAyB;CAC/B,SAAS,SAAkB,KAAK,aAAa,KAAK,UAAU,MAAM,GAAG,GAAG,IAAI;AAC9E"}
1
+ {"version":3,"file":"layers.js","names":[],"sources":["../../src/core/layers.ts"],"sourcesContent":["/**\n * This module holds the one fold of a stack of layers. A layer wraps the next thing, so a stack\n * of layers wraps a base. The next thing can be a collection, a function or any other value.\n *\n * This file has no imports. A package that needs only the fold loads this one file.\n *\n * @example\n * const parse = compose(\n * (next: (text: string) => number) => (text: string) => next(text.trim()),\n * (next: (text: string) => number) => (text: string) => next(text) * 2\n * )(Number);\n * parse(\" 21 \"); // 42\n */\n\n/**\n * A layer takes the next thing and gives a wrapped thing.\n *\n * @template Inner The type that the layer wraps\n * @template Outer The type that the layer gives\n */\nexport type Layer<Inner = any, Outer = Inner> = (next: Inner) => Outer;\n\n/** This type gives the type that a layer wraps. */\nexport type InnerOf<L> = L extends (next: infer I) => any ? I : never;\n\n/** This type gives the type that a layer gives. */\nexport type OuterOf<L> = L extends (next: any) => infer O ? O : never;\n\n/**\n * This type checks each neighbor pair of a list of layers. The result of the inner neighbor must\n * fit the input of the outer neighbor. A bad pair makes the compiler refuse the call. The compiler\n * marks the first argument, not the bad pair. Its message shows the type that the first bad pair\n * needs. At the place of the inner neighbor, it needs a layer that gives the input of the outer one.\n *\n * The type is tail recursive, so the compiler accepts a chain of 100 layers.\n */\nexport type Chain<L extends readonly unknown[], Done extends readonly unknown[] = readonly []> =\n L extends readonly [infer A, infer B, ...infer R]\n ? [OuterOf<B>] extends [InnerOf<A>]\n ? Chain<readonly [B, ...R], readonly [...Done, A]>\n : readonly [...Done, A, Layer<any, InnerOf<A>>, ...R]\n : readonly [...Done, ...L];\n\n/**\n * This type gives the function that {@link compose} returns. Its input is the input of the last\n * layer, and its result is the result of the first layer. No layers give the identity function.\n * A list that the compiler cannot see as a tuple gives the types of one element.\n */\nexport type Composed<L extends readonly unknown[]> =\n L extends readonly []\n ? <B>(base: B) => B\n : L extends readonly [infer First, ...unknown[]]\n ? L extends readonly [...unknown[], infer Last]\n ? (base: InnerOf<Last>) => OuterOf<First>\n : never\n : L extends readonly (infer E)[]\n ? (base: InnerOf<E>) => OuterOf<E>\n : never;\n\n/** This type gives the intersection of the results of a list of layers. */\nexport type Outers<L extends readonly unknown[], Sum = unknown> =\n L extends readonly [infer First, ...infer Rest] ? Outers<Rest, Sum & OuterOf<First>> : Sum;\n\n/**\n * This type gives the function for layers that keep each capability of the layers under them.\n * Its result has the result of each layer and the base. Use it only when that law holds.\n */\nexport type Stacked<L extends readonly unknown[]> =\n L extends readonly [...unknown[], infer Last]\n ? (base: InnerOf<Last>) => Outers<L> & InnerOf<Last>\n : Composed<L>;\n\n/**\n * This function folds layers into one function that wraps a base. The first layer is the outermost.\n *\n * The fold holds four laws:\n * - Identity: `compose()(b)` is `b`.\n * - One layer: `compose(f)(b)` is `f(b)`.\n * - Associativity: `compose(f, compose(g, h))` equals `compose(compose(f, g), h)`.\n * - Order: `compose(f, g)(b)` is `f(g(b))`.\n *\n * @param layers The layers, from the outermost to the innermost\n * @returns A function that wraps a base in the layers\n */\nexport function compose<const L extends readonly Layer[]>(...layers: L & Chain<L>): Composed<L> {\n const list: readonly Layer[] = layers;\n return ((base: unknown) => list.reduceRight((acc, layer) => layer(acc), base)) as Composed<L>;\n}\n"],"mappings":";;;;;;;;;;;;;AAoFA,SAAgB,QAA0C,GAAG,QAAmC;CAC9F,MAAM,OAAyB;CAC/B,SAAS,SAAkB,KAAK,aAAa,KAAK,UAAU,MAAM,GAAG,GAAG,IAAI;AAC9E"}
@@ -36,7 +36,10 @@ interface DependencyDAG<TNode extends DAGNode = DAGNode> {
36
36
  interface DAGExecutionOptions<TNode extends DAGNode = DAGNode> {
37
37
  /** Max parallel operations per level (default: 4) */
38
38
  concurrency?: number;
39
- /** When this value is true, the run stops on the first error. The default is true. */
39
+ /**
40
+ * When this value is true, no level starts after a level with a failure. The default is true.
41
+ * Each node of the level with the failure runs, also a node that did not start before the failure.
42
+ */
40
43
  failFast?: boolean;
41
44
  /**
42
45
  * When this value is true, a node whose dependency failed or was skipped does not start. Its result has `skipped: true`.
@@ -119,9 +122,11 @@ export declare function visualizeDAG<TNode extends DAGNode>(dag: DependencyDAG<T
119
122
  * With `skipDependents` (the default), a node whose dependency failed or was skipped does not start. Its result has
120
123
  * `skipped: true` and an error that names those dependencies. A dependency outside the DAG does not count.
121
124
  *
122
- * `failFast` operates at level granularity. When a node in a level fails, each
123
- * node already in flight in that level continues to completion. No later level
124
- * starts. (There is no mid-level cancellation.)
125
+ * `failFast` operates on levels. When a node of a level fails, each node of that level continues to its end.
126
+ * This includes the nodes that did not start before the failure, when `concurrency` is less than the
127
+ * size of the level. No later level starts. The run does not cancel a node.
128
+ *
129
+ * A node that did not start (`skipped: true`) calls neither `onNodeStart` nor `onNodeComplete`.
125
130
  */
126
131
  export declare function executeDAG<TNode extends DAGNode>(dag: DependencyDAG<TNode>, processor: (node: TNode) => Promise<NodeResult<TNode>>, options?: DAGExecutionOptions<TNode>): Promise<DAGResult<TNode>>;
127
132
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/dag/types.ts","../../src/dag/traversal.ts","../../src/dag/executor.ts","../../src/dag/builder.ts"],"mappings":";;;;;;;;;UAUiB,QAAQ;;EAEvB;;EAEA;;EAEA;;EAEA,OAAO;;;;;UAMQ,cAAc,cAAc,UAAU;;EAErD,OAAO,YAAY;;EAEnB,QAAQ;;EAER;;EAEA;;;;;UAMe,oBAAoB,cAAc,UAAU;;EAE3D;;EAEA;;;;;EAKA;;EAEA,eAAe,MAAM;;EAErB,kBAAkB,QAAQ,WAAW;;;;;UAMtB,WAAW,cAAc,UAAU;;EAElD,MAAM;;EAEN;;EAEA,QAAQ;;EAER;;EAEA;;EAEA;;EAEA;;;;;UAMe,UAAU,cAAc,UAAU;;EAEjD;;EAEA,SAAS,YAAY,WAAW;;EAEhC;;EAEA;;EAEA;;;;;KAMU,cAAc,cAAc,UAAU,YAChD,MAAM,UACH,QAAQ,WAAW;;;;;;;;;;;;wBC3ER,gBAAgB,cAAc,SAC5C,OAAO,YAAY,SAClB,cAAc;;;;wBA+ED,oBAAoB,cAAc,SAChD,KAAK,cAAc,SAClB;;;;wBAOa,aAAa,cAAc,SACzC,KAAK,cAAc;;;;;;;;;;;;;;;;;;wBClCC,WAAW,cAAc,SAC7C,KAAK,cAAc,QACnB,YAAY,MAAM,UAAU,QAAQ,WAAW,SAC/C,UAAS,oBAAoB,SAC5B,QAAQ,UAAU;;;;wBAwFC,qBAAqB,cAAc,SACvD,KAAK,cAAc,QACnB,YAAY,MAAM,UAAU,QAAQ,WAAW,SAC/C,UAAS,KAAK,oBAAoB,yBACjC,QAAQ,UAAU;;;;wBAOL,gBAAgB,cAAc,SAC5C,KAAK,MAAM,UAAU,iBACnB,MAAM,UAAU,QAAQ,WAAW;;;;wBC7KvB,kBAAkB,cAAc,SAC9C,OAAO,YAAY,QACnB,iBACC,YAAY;;;;wBAyBC,aAAa,cAAc,SACzC,OAAO,YAAY,QACnB,aACC;;;;wBA0Ba,eAAe,cAAc,SAC3C,OAAO,YAAY,QACnB,aACC;;;;wBAmCa,WAAW,iBACzB,YACA,yBACA,OAAO,oBACN,QAAQ;;;;wBAWK,aAAa,cAAc,SACzC,OAAO,UACN,YAAY"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/dag/types.ts","../../src/dag/traversal.ts","../../src/dag/executor.ts","../../src/dag/builder.ts"],"mappings":";;;;;;;;;UAUiB,QAAQ;;EAEvB;;EAEA;;EAEA;;EAEA,OAAO;;;;;UAMQ,cAAc,cAAc,UAAU;;EAErD,OAAO,YAAY;;EAEnB,QAAQ;;EAER;;EAEA;;;;;UAMe,oBAAoB,cAAc,UAAU;;EAE3D;;;;;EAKA;;;;;EAKA;;EAEA,eAAe,MAAM;;EAErB,kBAAkB,QAAQ,WAAW;;;;;UAMtB,WAAW,cAAc,UAAU;;EAElD,MAAM;;EAEN;;EAEA,QAAQ;;EAER;;EAEA;;EAEA;;EAEA;;;;;UAMe,UAAU,cAAc,UAAU;;EAEjD;;EAEA,SAAS,YAAY,WAAW;;EAEhC;;EAEA;;EAEA;;;;;KAMU,cAAc,cAAc,UAAU,YAChD,MAAM,UACH,QAAQ,WAAW;;;;;;;;;;;;wBC9ER,gBAAgB,cAAc,SAC5C,OAAO,YAAY,SAClB,cAAc;;;;wBA+ED,oBAAoB,cAAc,SAChD,KAAK,cAAc,SAClB;;;;wBAOa,aAAa,cAAc,SACzC,KAAK,cAAc;;;;;;;;;;;;;;;;;;;;wBChCC,WAAW,cAAc,SAC7C,KAAK,cAAc,QACnB,YAAY,MAAM,UAAU,QAAQ,WAAW,SAC/C,UAAS,oBAAoB,SAC5B,QAAQ,UAAU;;;;wBAwFC,qBAAqB,cAAc,SACvD,KAAK,cAAc,QACnB,YAAY,MAAM,UAAU,QAAQ,WAAW,SAC/C,UAAS,KAAK,oBAAoB,yBACjC,QAAQ,UAAU;;;;wBAOL,gBAAgB,cAAc,SAC5C,KAAK,MAAM,UAAU,iBACnB,MAAM,UAAU,QAAQ,WAAW;;;;wBC/KvB,kBAAkB,cAAc,SAC9C,OAAO,YAAY,QACnB,iBACC,YAAY;;;;wBAyBC,aAAa,cAAc,SACzC,OAAO,YAAY,QACnB,aACC;;;;wBA0Ba,eAAe,cAAc,SAC3C,OAAO,YAAY,QACnB,aACC;;;;wBAmCa,WAAW,iBACzB,YACA,yBACA,OAAO,oBACN,QAAQ;;;;wBAWK,aAAa,cAAc,SACzC,OAAO,UACN,YAAY"}
@@ -125,9 +125,11 @@ function notify(name, listener, arg) {
125
125
  * With `skipDependents` (the default), a node whose dependency failed or was skipped does not start. Its result has
126
126
  * `skipped: true` and an error that names those dependencies. A dependency outside the DAG does not count.
127
127
  *
128
- * `failFast` operates at level granularity. When a node in a level fails, each
129
- * node already in flight in that level continues to completion. No later level
130
- * starts. (There is no mid-level cancellation.)
128
+ * `failFast` operates on levels. When a node of a level fails, each node of that level continues to its end.
129
+ * This includes the nodes that did not start before the failure, when `concurrency` is less than the
130
+ * size of the level. No later level starts. The run does not cancel a node.
131
+ *
132
+ * A node that did not start (`skipped: true`) calls neither `onNodeStart` nor `onNodeComplete`.
131
133
  */
132
134
  async function executeDAG(dag, processor, options = {}) {
133
135
  const { concurrency = 4, failFast = true, skipDependents = true, onNodeStart, onNodeComplete } = options;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/dag/traversal.ts","../../src/dag/executor.ts","../../src/dag/builder.ts"],"sourcesContent":["/**\n * DAG Traversal using Kahn's Algorithm\n *\n * This module implements topological sort with level assignment for parallel execution.\n * Level 0 = leaves (no dependencies), higher levels depend on lower levels.\n */\n\nimport type { DAGNode, DependencyDAG } from \"./types.js\";\n\n/**\n * Build a leveled DAG from nodes using Kahn's algorithm\n *\n * This assigns levels to each node where:\n * - Level 0: Nodes with no dependencies (leaves)\n * - Level N: Nodes whose dependencies are all at level < N\n *\n * Nodes at the same level can be processed in parallel.\n *\n * @throws Error if a cycle is detected\n */\nexport function buildLeveledDAG<TNode extends DAGNode>(\n nodes: Map<string, TNode>\n): DependencyDAG<TNode> {\n const inDegree = new Map<string, number>();\n const dependents = new Map<string, Set<string>>();\n\n for (const [name, node] of nodes) {\n // A set: a dependency that a node lists twice counts once. (`dependents` is a set, so it\n // takes the in-degree down once: a repeated dependency was \"Circular\": deep dive DATA-21.)\n const depsInDag = new Set(node.dependencies.filter((dep) => nodes.has(dep)));\n inDegree.set(name, depsInDag.size);\n dependents.set(name, new Set());\n }\n\n for (const [name, node] of nodes) {\n for (const dep of node.dependencies) {\n if (dependents.has(dep)) {\n dependents.get(dep)!.add(name);\n }\n }\n }\n\n let queue: string[] = [];\n for (const [name, degree] of inDegree) {\n if (degree === 0) {\n queue.push(name);\n }\n }\n\n const levels: TNode[][] = [];\n const nodeLevel = new Map<string, number>();\n let processedCount = 0;\n\n while (queue.length > 0) {\n const currentLevel = levels.length;\n const levelNodes: TNode[] = [];\n const nextQueue: string[] = [];\n\n for (const name of queue) {\n const node = nodes.get(name)!;\n node.level = currentLevel;\n nodeLevel.set(name, currentLevel);\n levelNodes.push(node);\n processedCount++;\n\n for (const dependent of dependents.get(name) ?? []) {\n const newDegree = inDegree.get(dependent)! - 1;\n inDegree.set(dependent, newDegree);\n\n if (newDegree === 0) {\n nextQueue.push(dependent);\n }\n }\n }\n\n levels.push(levelNodes);\n queue = nextQueue;\n }\n\n if (processedCount !== nodes.size) {\n const cycleNodes = [...nodes.keys()].filter((n) => !nodeLevel.has(n));\n throw new Error(\"Circular dependency detected involving: \" + cycleNodes.join(\", \"));\n }\n\n const roots = [...nodes.keys()].filter((name) => {\n const deps = dependents.get(name);\n return !deps || deps.size === 0;\n });\n\n const leaves = [...nodes.keys()].filter((name) => {\n const node = nodes.get(name)!;\n const depsInDag = node.dependencies.filter((dep) => nodes.has(dep));\n return depsInDag.length === 0;\n });\n\n return { nodes, levels, roots, leaves };\n}\n\n/**\n * Get the topological order (flat list, leaves first)\n */\nexport function getTopologicalOrder<TNode extends DAGNode>(\n dag: DependencyDAG<TNode>\n): TNode[] {\n return dag.levels.flat();\n}\n\n/**\n * Visualize the DAG structure (for debugging)\n */\nexport function visualizeDAG<TNode extends DAGNode>(\n dag: DependencyDAG<TNode>\n): string {\n const lines = [\"DAG Structure:\"];\n\n for (let i = 0; i < dag.levels.length; i++) {\n const level = dag.levels[i]!;\n lines.push(\" Level \" + i + \":\");\n for (const node of level) {\n const deps =\n node.dependencies.length > 0\n ? \" -> [\" + node.dependencies.join(\", \") + \"]\"\n : \" (leaf)\";\n lines.push(\" - \" + node.id + deps);\n }\n }\n\n return lines.join(\"\\n\");\n}\n","/**\n * DAG Executor with parallel level-based execution\n */\n\nimport type {\n DependencyDAG,\n DAGNode,\n DAGExecutionOptions,\n NodeResult,\n DAGResult,\n} from \"./types.js\";\n\n/**\n * Start a batch of items with concurrency limit\n */\nasync function executeWithConcurrency<T, R>(\n items: T[],\n fn: (item: T) => Promise<R>,\n limit: number\n): Promise<R[]> {\n const results: R[] = [];\n const executing = new Set<Promise<void>>();\n\n for (const item of items) {\n const promise = fn(item)\n .then((result) => {\n results.push(result);\n })\n .finally(() => {\n // Rejection-safe cleanup: always remove the settled promise from the\n // executing set, even if `fn` rejected, so the set never leaks a\n // settled (possibly rejected) promise into later `race`/`all` waits.\n executing.delete(promise);\n });\n\n executing.add(promise);\n\n if (executing.size >= limit) {\n await Promise.race(executing);\n }\n }\n\n await Promise.all(executing);\n return results;\n}\n\n/**\n * Call a listener. A listener that throws does not stop the run: the function gives a log\n * line for its error (deep dive DATA-21).\n */\nfunction notify<T>(name: string, listener: ((arg: T) => void) | undefined, arg: T): string | undefined {\n if (!listener) return undefined;\n try {\n listener(arg);\n return undefined;\n } catch (error) {\n return name + \" threw: \" + (error instanceof Error ? error.message : String(error));\n }\n}\n\n/**\n * Start DAG with level-based parallelization\n *\n * - Levels are processed sequentially (level 0 first, then level 1, and so on)\n * - Within each level, nodes are processed in parallel up to concurrency limit\n * - Supports fail-fast or continue-on-error modes\n *\n * A processor that throws does NOT reject the whole run. The run records the throw\n * as a failed NodeResult, so partial results are always given.\n *\n * With `skipDependents` (the default), a node whose dependency failed or was skipped does not start. Its result has\n * `skipped: true` and an error that names those dependencies. A dependency outside the DAG does not count.\n *\n * `failFast` operates at level granularity. When a node in a level fails, each\n * node already in flight in that level continues to completion. No later level\n * starts. (There is no mid-level cancellation.)\n */\nexport async function executeDAG<TNode extends DAGNode>(\n dag: DependencyDAG<TNode>,\n processor: (node: TNode) => Promise<NodeResult<TNode>>,\n options: DAGExecutionOptions<TNode> = {}\n): Promise<DAGResult<TNode>> {\n const {\n concurrency = 4,\n failFast = true,\n skipDependents = true,\n onNodeStart,\n onNodeComplete,\n } = options;\n\n const results = new Map<string, NodeResult<TNode>>();\n const failedNodes: string[] = [];\n const skippedNodes: string[] = [];\n // The ids of the nodes that failed or were skipped\n const blocked = new Set<string>();\n const startTime = Date.now();\n let shouldStop = false;\n\n for (const level of dag.levels) {\n if (shouldStop) break;\n\n const runnable: TNode[] = [];\n for (const node of level) {\n const blockers = skipDependents ? node.dependencies.filter((dep) => blocked.has(dep)) : [];\n if (blockers.length === 0) {\n runnable.push(node);\n continue;\n }\n const message = \"Skipped \" + node.id + \": the dependencies \" + blockers.join(\", \") + \" failed or were skipped\";\n results.set(node.id, { node, success: false, skipped: true, error: new Error(message), duration: 0, logs: [message] });\n skippedNodes.push(node.id);\n blocked.add(node.id);\n }\n\n const levelResults = await executeWithConcurrency(\n runnable,\n async (node) => {\n const startError = notify(\"onNodeStart\", onNodeStart, node);\n const nodeStart = Date.now();\n let result: NodeResult<TNode>;\n try {\n result = await processor(node);\n } catch (error) {\n // Convert a thrown processor error into a failed NodeResult instead\n // of rejecting the entire run and discarding partial results.\n const err =\n error instanceof Error ? error : new Error(String(error));\n result = {\n node,\n success: false,\n error: err,\n duration: Date.now() - nodeStart,\n logs: [\"Processor threw: \" + err.message],\n };\n }\n const completeError = notify(\"onNodeComplete\", onNodeComplete, result);\n const listenerErrors = [startError, completeError].filter((line): line is string => line !== undefined);\n if (listenerErrors.length > 0) {\n result = { ...result, logs: [...(result.logs ?? []), ...listenerErrors] };\n }\n return result;\n },\n concurrency\n );\n\n for (const result of levelResults) {\n results.set(result.node.id, result);\n if (!result.success) {\n failedNodes.push(result.node.id);\n blocked.add(result.node.id);\n if (failFast) {\n shouldStop = true;\n }\n }\n }\n }\n\n return {\n success: failedNodes.length === 0 && skippedNodes.length === 0,\n results,\n failedNodes,\n skippedNodes,\n totalDuration: Date.now() - startTime,\n };\n}\n\n/**\n * Start DAG sequentially (no parallelization)\n */\nexport async function executeDAGSequential<TNode extends DAGNode>(\n dag: DependencyDAG<TNode>,\n processor: (node: TNode) => Promise<NodeResult<TNode>>,\n options: Omit<DAGExecutionOptions<TNode>, \"concurrency\"> = {}\n): Promise<DAGResult<TNode>> {\n return executeDAG(dag, processor, { ...options, concurrency: 1 });\n}\n\n/**\n * Make a simple processor that wraps an async function\n */\nexport function createProcessor<TNode extends DAGNode>(\n fn: (node: TNode) => Promise<void>\n): (node: TNode) => Promise<NodeResult<TNode>> {\n return async (node: TNode): Promise<NodeResult<TNode>> => {\n const startTime = Date.now();\n const logs: string[] = [];\n\n try {\n logs.push(\"Starting \" + node.id);\n await fn(node);\n logs.push(\"Completed \" + node.id);\n\n return {\n node,\n success: true,\n duration: Date.now() - startTime,\n logs,\n };\n } catch (error) {\n const err = error instanceof Error ? error : new Error(String(error));\n logs.push(\"Failed \" + node.id + \": \" + err.message);\n\n return {\n node,\n success: false,\n error: err,\n duration: Date.now() - startTime,\n logs,\n };\n }\n };\n}\n","/**\n * DAG Builder utilities\n */\n\nimport type { DAGNode } from \"./types.js\";\n\n/**\n * Filter DAG to only include nodes reachable from a root\n */\nexport function filterDAGFromRoot<TNode extends DAGNode>(\n nodes: Map<string, TNode>,\n rootId: string\n): Map<string, TNode> {\n const filtered = new Map<string, TNode>();\n const visited = new Set<string>();\n\n function visit(id: string): void {\n if (visited.has(id)) return;\n visited.add(id);\n\n const node = nodes.get(id);\n if (!node) return;\n\n filtered.set(id, node);\n\n for (const dep of node.dependencies) {\n visit(dep);\n }\n }\n\n visit(rootId);\n return filtered;\n}\n\n/**\n * Get all ancestors of a node (nodes that this node depends on, transitively)\n */\nexport function getAncestors<TNode extends DAGNode>(\n nodes: Map<string, TNode>,\n id: string\n): Set<string> {\n const ancestors = new Set<string>();\n const visited = new Set<string>();\n\n function visit(n: string): void {\n if (visited.has(n)) return;\n visited.add(n);\n\n const node = nodes.get(n);\n if (!node) return;\n\n for (const dep of node.dependencies) {\n if (nodes.has(dep)) {\n ancestors.add(dep);\n visit(dep);\n }\n }\n }\n\n visit(id);\n return ancestors;\n}\n\n/**\n * Get all descendants of a node (nodes that depend on this node, transitively)\n */\nexport function getDescendants<TNode extends DAGNode>(\n nodes: Map<string, TNode>,\n id: string\n): Set<string> {\n const descendants = new Set<string>();\n const visited = new Set<string>();\n\n // Build reverse dependency map\n const dependents = new Map<string, Set<string>>();\n for (const [nodeId, node] of nodes) {\n for (const dep of node.dependencies) {\n if (!dependents.has(dep)) {\n dependents.set(dep, new Set());\n }\n dependents.get(dep)!.add(nodeId);\n }\n }\n\n function visit(n: string): void {\n if (visited.has(n)) return;\n visited.add(n);\n\n const deps = dependents.get(n);\n if (!deps) return;\n\n for (const dep of deps) {\n descendants.add(dep);\n visit(dep);\n }\n }\n\n visit(id);\n return descendants;\n}\n\n/**\n * Make a DAG node from minimal input\n */\nexport function createNode<TData = unknown>(\n id: string,\n dependencies: string[] = [],\n data?: TData | undefined\n): DAGNode<TData> {\n const node: DAGNode<TData> = { id, dependencies };\n if (data !== undefined) {\n node.data = data;\n }\n return node;\n}\n\n/**\n * Build a Map of nodes from an array\n */\nexport function buildNodeMap<TNode extends DAGNode>(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C,MAAM,0BAAU,IAAI,IAAY;CAGhC,MAAM,6BAAa,IAAI,IAAyB;CAChD,KAAK,MAAM,CAAC,QAAQ,SAAS,OAC3B,KAAK,MAAM,OAAO,KAAK,cAAc;EACnC,IAAI,CAAC,WAAW,IAAI,GAAG,GACrB,WAAW,IAAI,qBAAK,IAAI,IAAI,CAAC;EAE/B,WAAW,IAAI,GAAG,CAAC,CAAE,IAAI,MAAM;CACjC;CAGF,SAAS,MAAM,GAAiB;EAC9B,IAAI,QAAQ,IAAI,CAAC,GAAG;EACpB,QAAQ,IAAI,CAAC;EAEb,MAAM,OAAO,WAAW,IAAI,CAAC;EAC7B,IAAI,CAAC,MAAM;EAEX,KAAK,MAAM,OAAO,MAAM;GACtB,YAAY,IAAI,GAAG;GACnB,MAAM,GAAG;EACX;CACF;CAEA,MAAM,EAAE;CACR,OAAO;AACT;;;;AAKA,SAAgB,WACd,IACA,eAAyB,CAAC,GAC1B,MACgB;CAChB,MAAM,OAAuB;EAAE;EAAI;CAAa;CAChD,IAAI,SAAS,KAAA,GACX,KAAK,OAAO;CAEd,OAAO;AACT;;;;AAKA,SAAgB,aACd,OACoB;CACpB,OAAO,IAAI,IAAI,MAAM,KAAK,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AAC5C"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/dag/traversal.ts","../../src/dag/executor.ts","../../src/dag/builder.ts"],"sourcesContent":["/**\n * DAG Traversal using Kahn's Algorithm\n *\n * This module implements topological sort with level assignment for parallel execution.\n * Level 0 = leaves (no dependencies), higher levels depend on lower levels.\n */\n\nimport type { DAGNode, DependencyDAG } from \"./types.js\";\n\n/**\n * Build a leveled DAG from nodes using Kahn's algorithm\n *\n * This assigns levels to each node where:\n * - Level 0: Nodes with no dependencies (leaves)\n * - Level N: Nodes whose dependencies are all at level < N\n *\n * Nodes at the same level can be processed in parallel.\n *\n * @throws Error if a cycle is detected\n */\nexport function buildLeveledDAG<TNode extends DAGNode>(\n nodes: Map<string, TNode>\n): DependencyDAG<TNode> {\n const inDegree = new Map<string, number>();\n const dependents = new Map<string, Set<string>>();\n\n for (const [name, node] of nodes) {\n // A set: a dependency that a node lists twice counts once. (`dependents` is a set, so it\n // takes the in-degree down once: a repeated dependency was \"Circular\": deep dive DATA-21.)\n const depsInDag = new Set(node.dependencies.filter((dep) => nodes.has(dep)));\n inDegree.set(name, depsInDag.size);\n dependents.set(name, new Set());\n }\n\n for (const [name, node] of nodes) {\n for (const dep of node.dependencies) {\n if (dependents.has(dep)) {\n dependents.get(dep)!.add(name);\n }\n }\n }\n\n let queue: string[] = [];\n for (const [name, degree] of inDegree) {\n if (degree === 0) {\n queue.push(name);\n }\n }\n\n const levels: TNode[][] = [];\n const nodeLevel = new Map<string, number>();\n let processedCount = 0;\n\n while (queue.length > 0) {\n const currentLevel = levels.length;\n const levelNodes: TNode[] = [];\n const nextQueue: string[] = [];\n\n for (const name of queue) {\n const node = nodes.get(name)!;\n node.level = currentLevel;\n nodeLevel.set(name, currentLevel);\n levelNodes.push(node);\n processedCount++;\n\n for (const dependent of dependents.get(name) ?? []) {\n const newDegree = inDegree.get(dependent)! - 1;\n inDegree.set(dependent, newDegree);\n\n if (newDegree === 0) {\n nextQueue.push(dependent);\n }\n }\n }\n\n levels.push(levelNodes);\n queue = nextQueue;\n }\n\n if (processedCount !== nodes.size) {\n const cycleNodes = [...nodes.keys()].filter((n) => !nodeLevel.has(n));\n throw new Error(\"Circular dependency detected involving: \" + cycleNodes.join(\", \"));\n }\n\n const roots = [...nodes.keys()].filter((name) => {\n const deps = dependents.get(name);\n return !deps || deps.size === 0;\n });\n\n const leaves = [...nodes.keys()].filter((name) => {\n const node = nodes.get(name)!;\n const depsInDag = node.dependencies.filter((dep) => nodes.has(dep));\n return depsInDag.length === 0;\n });\n\n return { nodes, levels, roots, leaves };\n}\n\n/**\n * Get the topological order (flat list, leaves first)\n */\nexport function getTopologicalOrder<TNode extends DAGNode>(\n dag: DependencyDAG<TNode>\n): TNode[] {\n return dag.levels.flat();\n}\n\n/**\n * Visualize the DAG structure (for debugging)\n */\nexport function visualizeDAG<TNode extends DAGNode>(\n dag: DependencyDAG<TNode>\n): string {\n const lines = [\"DAG Structure:\"];\n\n for (let i = 0; i < dag.levels.length; i++) {\n const level = dag.levels[i]!;\n lines.push(\" Level \" + i + \":\");\n for (const node of level) {\n const deps =\n node.dependencies.length > 0\n ? \" -> [\" + node.dependencies.join(\", \") + \"]\"\n : \" (leaf)\";\n lines.push(\" - \" + node.id + deps);\n }\n }\n\n return lines.join(\"\\n\");\n}\n","/**\n * DAG Executor with parallel level-based execution\n */\n\nimport type {\n DependencyDAG,\n DAGNode,\n DAGExecutionOptions,\n NodeResult,\n DAGResult,\n} from \"./types.js\";\n\n/**\n * Start a batch of items with concurrency limit\n */\nasync function executeWithConcurrency<T, R>(\n items: T[],\n fn: (item: T) => Promise<R>,\n limit: number\n): Promise<R[]> {\n const results: R[] = [];\n const executing = new Set<Promise<void>>();\n\n for (const item of items) {\n const promise = fn(item)\n .then((result) => {\n results.push(result);\n })\n .finally(() => {\n // Rejection-safe cleanup: always remove the settled promise from the\n // executing set, even if `fn` rejected, so the set never leaks a\n // settled (possibly rejected) promise into later `race`/`all` waits.\n executing.delete(promise);\n });\n\n executing.add(promise);\n\n if (executing.size >= limit) {\n await Promise.race(executing);\n }\n }\n\n await Promise.all(executing);\n return results;\n}\n\n/**\n * Call a listener. A listener that throws does not stop the run: the function gives a log\n * line for its error (deep dive DATA-21).\n */\nfunction notify<T>(name: string, listener: ((arg: T) => void) | undefined, arg: T): string | undefined {\n if (!listener) return undefined;\n try {\n listener(arg);\n return undefined;\n } catch (error) {\n return name + \" threw: \" + (error instanceof Error ? error.message : String(error));\n }\n}\n\n/**\n * Start DAG with level-based parallelization\n *\n * - Levels are processed sequentially (level 0 first, then level 1, and so on)\n * - Within each level, nodes are processed in parallel up to concurrency limit\n * - Supports fail-fast or continue-on-error modes\n *\n * A processor that throws does NOT reject the whole run. The run records the throw\n * as a failed NodeResult, so partial results are always given.\n *\n * With `skipDependents` (the default), a node whose dependency failed or was skipped does not start. Its result has\n * `skipped: true` and an error that names those dependencies. A dependency outside the DAG does not count.\n *\n * `failFast` operates on levels. When a node of a level fails, each node of that level continues to its end.\n * This includes the nodes that did not start before the failure, when `concurrency` is less than the\n * size of the level. No later level starts. The run does not cancel a node.\n *\n * A node that did not start (`skipped: true`) calls neither `onNodeStart` nor `onNodeComplete`.\n */\nexport async function executeDAG<TNode extends DAGNode>(\n dag: DependencyDAG<TNode>,\n processor: (node: TNode) => Promise<NodeResult<TNode>>,\n options: DAGExecutionOptions<TNode> = {}\n): Promise<DAGResult<TNode>> {\n const {\n concurrency = 4,\n failFast = true,\n skipDependents = true,\n onNodeStart,\n onNodeComplete,\n } = options;\n\n const results = new Map<string, NodeResult<TNode>>();\n const failedNodes: string[] = [];\n const skippedNodes: string[] = [];\n // The ids of the nodes that failed or were skipped\n const blocked = new Set<string>();\n const startTime = Date.now();\n let shouldStop = false;\n\n for (const level of dag.levels) {\n if (shouldStop) break;\n\n const runnable: TNode[] = [];\n for (const node of level) {\n const blockers = skipDependents ? node.dependencies.filter((dep) => blocked.has(dep)) : [];\n if (blockers.length === 0) {\n runnable.push(node);\n continue;\n }\n const message = \"Skipped \" + node.id + \": the dependencies \" + blockers.join(\", \") + \" failed or were skipped\";\n results.set(node.id, { node, success: false, skipped: true, error: new Error(message), duration: 0, logs: [message] });\n skippedNodes.push(node.id);\n blocked.add(node.id);\n }\n\n const levelResults = await executeWithConcurrency(\n runnable,\n async (node) => {\n const startError = notify(\"onNodeStart\", onNodeStart, node);\n const nodeStart = Date.now();\n let result: NodeResult<TNode>;\n try {\n result = await processor(node);\n } catch (error) {\n // Convert a thrown processor error into a failed NodeResult instead\n // of rejecting the entire run and discarding partial results.\n const err =\n error instanceof Error ? error : new Error(String(error));\n result = {\n node,\n success: false,\n error: err,\n duration: Date.now() - nodeStart,\n logs: [\"Processor threw: \" + err.message],\n };\n }\n const completeError = notify(\"onNodeComplete\", onNodeComplete, result);\n const listenerErrors = [startError, completeError].filter((line): line is string => line !== undefined);\n if (listenerErrors.length > 0) {\n result = { ...result, logs: [...(result.logs ?? []), ...listenerErrors] };\n }\n return result;\n },\n concurrency\n );\n\n for (const result of levelResults) {\n results.set(result.node.id, result);\n if (!result.success) {\n failedNodes.push(result.node.id);\n blocked.add(result.node.id);\n if (failFast) {\n shouldStop = true;\n }\n }\n }\n }\n\n return {\n success: failedNodes.length === 0 && skippedNodes.length === 0,\n results,\n failedNodes,\n skippedNodes,\n totalDuration: Date.now() - startTime,\n };\n}\n\n/**\n * Start DAG sequentially (no parallelization)\n */\nexport async function executeDAGSequential<TNode extends DAGNode>(\n dag: DependencyDAG<TNode>,\n processor: (node: TNode) => Promise<NodeResult<TNode>>,\n options: Omit<DAGExecutionOptions<TNode>, \"concurrency\"> = {}\n): Promise<DAGResult<TNode>> {\n return executeDAG(dag, processor, { ...options, concurrency: 1 });\n}\n\n/**\n * Make a simple processor that wraps an async function\n */\nexport function createProcessor<TNode extends DAGNode>(\n fn: (node: TNode) => Promise<void>\n): (node: TNode) => Promise<NodeResult<TNode>> {\n return async (node: TNode): Promise<NodeResult<TNode>> => {\n const startTime = Date.now();\n const logs: string[] = [];\n\n try {\n logs.push(\"Starting \" + node.id);\n await fn(node);\n logs.push(\"Completed \" + node.id);\n\n return {\n node,\n success: true,\n duration: Date.now() - startTime,\n logs,\n };\n } catch (error) {\n const err = error instanceof Error ? error : new Error(String(error));\n logs.push(\"Failed \" + node.id + \": \" + err.message);\n\n return {\n node,\n success: false,\n error: err,\n duration: Date.now() - startTime,\n logs,\n };\n }\n };\n}\n","/**\n * DAG Builder utilities\n */\n\nimport type { DAGNode } from \"./types.js\";\n\n/**\n * Filter DAG to only include nodes reachable from a root\n */\nexport function filterDAGFromRoot<TNode extends DAGNode>(\n nodes: Map<string, TNode>,\n rootId: string\n): Map<string, TNode> {\n const filtered = new Map<string, TNode>();\n const visited = new Set<string>();\n\n function visit(id: string): void {\n if (visited.has(id)) return;\n visited.add(id);\n\n const node = nodes.get(id);\n if (!node) return;\n\n filtered.set(id, node);\n\n for (const dep of node.dependencies) {\n visit(dep);\n }\n }\n\n visit(rootId);\n return filtered;\n}\n\n/**\n * Get all ancestors of a node (nodes that this node depends on, transitively)\n */\nexport function getAncestors<TNode extends DAGNode>(\n nodes: Map<string, TNode>,\n id: string\n): Set<string> {\n const ancestors = new Set<string>();\n const visited = new Set<string>();\n\n function visit(n: string): void {\n if (visited.has(n)) return;\n visited.add(n);\n\n const node = nodes.get(n);\n if (!node) return;\n\n for (const dep of node.dependencies) {\n if (nodes.has(dep)) {\n ancestors.add(dep);\n visit(dep);\n }\n }\n }\n\n visit(id);\n return ancestors;\n}\n\n/**\n * Get all descendants of a node (nodes that depend on this node, transitively)\n */\nexport function getDescendants<TNode extends DAGNode>(\n nodes: Map<string, TNode>,\n id: string\n): Set<string> {\n const descendants = new Set<string>();\n const visited = new Set<string>();\n\n // Build reverse dependency map\n const dependents = new Map<string, Set<string>>();\n for (const [nodeId, node] of nodes) {\n for (const dep of node.dependencies) {\n if (!dependents.has(dep)) {\n dependents.set(dep, new Set());\n }\n dependents.get(dep)!.add(nodeId);\n }\n }\n\n function visit(n: string): void {\n if (visited.has(n)) return;\n visited.add(n);\n\n const deps = dependents.get(n);\n if (!deps) return;\n\n for (const dep of deps) {\n descendants.add(dep);\n visit(dep);\n }\n }\n\n visit(id);\n return descendants;\n}\n\n/**\n * Make a DAG node from minimal input\n */\nexport function createNode<TData = unknown>(\n id: string,\n dependencies: string[] = [],\n data?: TData | undefined\n): DAGNode<TData> {\n const node: DAGNode<TData> = { id, dependencies };\n if (data !== undefined) {\n node.data = data;\n }\n return node;\n}\n\n/**\n * Build a Map of nodes from an array\n */\nexport function buildNodeMap<TNode extends DAGNode>(\n nodes: TNode[]\n): Map<string, TNode> {\n return new Map(nodes.map((n) => [n.id, n]));\n}\n"],"mappings":";;;;;;;;;;;;AAoBA,SA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AAS,OAC3B,KAAK,MAAM,OAAO,KAAK,cAAc;EACnC,IAAI,CAAC,WAAW,IAAI,GAAG,GACrB,WAAW,IAAI,qBAAK,IAAI,IAAI,CAAC;EAE/B,WAAW,IAAI,GAAG,CAAC,CAAE,IAAI,MAAM;CACjC;CAGF,SAAS,MAAM,GAAiB;EAC9B,IAAI,QAAQ,IAAI,CAAC,GAAG;EACpB,QAAQ,IAAI,CAAC;EAEb,MAAM,OAAO,WAAW,IAAI,CAAC;EAC7B,IAAI,CAAC,MAAM;EAEX,KAAK,MAAM,OAAO,MAAM;GACtB,YAAY,IAAI,GAAG;GACnB,MAAM,GAAG;EACX;CACF;CAEA,MAAM,EAAE;CACR,OAAO;AACT;;;;AAKA,SAAgB,WACd,IACA,eAAyB,CAAC,GAC1B,MACgB;CAChB,MAAM,OAAuB;EAAE;EAAI;CAAa;CAChD,IAAI,SAAS,KAAA,GACX,KAAK,OAAO;CAEd,OAAO;AACT;;;;AAKA,SAAgB,aACd,OACoB;CACpB,OAAO,IAAI,IAAI,MAAM,KAAK,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AAC5C"}
package/build/index.d.ts CHANGED
@@ -889,10 +889,9 @@ export interface ReadonlyList<T> extends ReadonlyCollection<T> {
889
889
  */
890
890
  lastIndexOf(element: T, fromIndex?: number): number;
891
891
  /**
892
- * This method gives a view of the portion of this list between fromIndex (inclusive)
893
- * and toIndex (exclusive).
892
+ * This method gives a new list with the elements from fromIndex (inclusive) to toIndex (exclusive).
894
893
  *
895
- * Changes to the sublist are reflected in the original list.
894
+ * The new list is a copy, not a view. A change to one list does not change the other list.
896
895
  *
897
896
  * @param fromIndex Start index (inclusive)
898
897
  * @param toIndex End index (exclusive)
@@ -971,7 +970,8 @@ export interface List<T> extends ReadonlyList<T>, Collection<T> {
971
970
  */
972
971
  reverse(): void;
973
972
  /**
974
- * This method gives a mutable sublist view.
973
+ * This method gives a new mutable list with the elements from fromIndex (inclusive) to toIndex (exclusive).
974
+ * The new list is a copy, not a view.
975
975
  *
976
976
  * @param fromIndex Start index (inclusive)
977
977
  * @param toIndex End index (exclusive)
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":["Set","AsyncQueue","Set","PriorityQueue","IPriorityQueue","BoundedCollection","IAsyncQueue","toArray","toSet","toMap","toList","toMap"],"sources":["../src/core/traits.ts","../src/core/policies.ts","../src/interfaces/collection.ts","../src/core/middleware.ts","../src/core/events.ts","../src/interfaces/list.ts","../src/interfaces/map.ts","../src/interfaces/set.ts","../src/storage/listeners.ts","../src/order/rank.ts","../src/interfaces/queue.ts","../src/impl/array-list.ts","../src/impl/array-deque.ts","../src/impl/hash-map.ts","../src/impl/linked-hash-map.ts","../src/impl/tree-map.ts","../src/impl/tree-set.ts","../src/impl/linked-list.ts","../src/impl/hash-set.ts","../src/impl/priority-queue.ts","../src/impl/summary-tree.ts","../src/behaviors/bounded.ts","../src/behaviors/readonly.ts","../src/behaviors/safe.ts","../src/behaviors/evented.ts","../src/behaviors/synchronized.ts","../src/behaviors/lru.ts","../src/behaviors/ttl.ts","../src/async/async-queue.ts","../src/async/channels.ts","../src/async/settled.ts","../src/fx/iter.ts","../src/fx/collectors.ts","../src/utils/defaults.ts","../src/utils/factories.ts","../src/utils/helpers.ts"],"mappings":";;;;;;;;;;;;;;;;YAeY,GAAG,MAAM,GAAG,GAAG,GAAG;;;;;;;;;;;;;;;;;YAkBlB,KAAK,MAAM,OAAO;;;;;;;;;;;;;;YAelB,QAAQ,MAAM,GAAG,GAAG,GAAG;;;;iBAKlB;;WAEN;;;;;iBAMM;;EAEf;;;;;iBAMe;;WAEN;;;;;iBAMM,UAAU;;EAEzB,SAAS;;;;;iBAMM,iBAAiB;;EAEhC,WAAW;;;;;;iBAOI,uBAAuB,WAC9B,OACN,WACA,SAAS,IACT,iBAAiB;;;;;iBAMJ,sBAAsB,WAC7B,uBAAuB,IAC7B;;;;iBAKa,iBAAiB;;WAEvB,IAAI,GAAG;;;;;iBAMD,aAAa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;wBCrUR,YAAY,eAAe,cAAc;;;;;;;;;;wBAezC,kBAAkB,eAAe,cAAc;;;;;;;;;;wBAe/C,iBACd,eACA,aACA,cACA;;;;;;;;;wBAqBc,UAAU,GAAG,OAAO,KAAK,SAAS,GAAG,IAAI,GAAG;;;;;;;;;wBAiB5C,cAAc,GAAG,OAAO,KAAK,SAAS,GAAG,IAAI,GAAG;;;;;;;;;wBAiBhD,cAAc,GAAG,OAAO,KAAK,SAAS,GAAG,IAAI,GAAG;;;;;;;;;wBAYhD,YAAY,GAAG,OAAO,KAAK,SAAS,GAAG,IAAI,GAAG;;;;;;;;;wBAe9C,eAAe,GAAG,OAAO,KAAK,SAAS,GAAG,IAAI,GAAG;;;;;;;wBAqBhD,cAAc,GAAG,OAAO,MAAM,SAAS;;;;;;;wBAUvC,qBAAqB,GAAG,OAAO,MAAM,SAAS;;;;;;;;;wBA4B/C,eAAe,GAAG,OAAO,sBAAsB,mBAAwD;;;;;;;;wBAcvG,gBAAgB,cAAc;;;;;;;;;wBAkB9B,MAAM,eAAe,aAAa;;;;;;;;wBAWlC,eAAe"}
1
+ {"version":3,"file":"index.d.ts","names":["Set","AsyncQueue","Set","PriorityQueue","IPriorityQueue","BoundedCollection","IAsyncQueue","toArray","toSet","toMap","toList","toMap"],"sources":["../src/core/traits.ts","../src/core/policies.ts","../src/interfaces/collection.ts","../src/core/middleware.ts","../src/core/events.ts","../src/interfaces/list.ts","../src/interfaces/map.ts","../src/interfaces/set.ts","../src/storage/listeners.ts","../src/order/rank.ts","../src/interfaces/queue.ts","../src/impl/array-list.ts","../src/impl/array-deque.ts","../src/impl/hash-map.ts","../src/impl/linked-hash-map.ts","../src/impl/tree-map.ts","../src/impl/tree-set.ts","../src/impl/linked-list.ts","../src/impl/hash-set.ts","../src/impl/priority-queue.ts","../src/impl/summary-tree.ts","../src/behaviors/bounded.ts","../src/behaviors/readonly.ts","../src/behaviors/safe.ts","../src/behaviors/evented.ts","../src/behaviors/synchronized.ts","../src/behaviors/lru.ts","../src/behaviors/ttl.ts","../src/async/async-queue.ts","../src/async/channels.ts","../src/async/settled.ts","../src/fx/iter.ts","../src/fx/collectors.ts","../src/utils/defaults.ts","../src/utils/factories.ts","../src/utils/helpers.ts"],"mappings":";;;;;;;;;;;;;;;;YAeY,GAAG,MAAM,GAAG,GAAG,GAAG;;;;;;;;;;;;;;;;;YAkBlB,KAAK,MAAM,OAAO;;;;;;;;;;;;;;YAelB,QAAQ,MAAM,GAAG,GAAG,GAAG;;;;iBAKlB;;WAEN;;;;;iBAMM;;EAEf;;;;;iBAMe;;WAEN;;;;;iBAMM,UAAU;;EAEzB,SAAS;;;;;iBAMM,iBAAiB;;EAEhC,WAAW;;;;;;iBAOI,uBAAuB,WAC9B,OACN,WACA,SAAS,IACT,iBAAiB;;;;;iBAMJ,sBAAsB,WAC7B,uBAAuB,IAC7B;;;;iBAKa,iBAAiB;;WAEvB,IAAI,GAAG;;;;;iBAMD,aAAa;;WAEnB,MAAM,KAAK;;;;;iBAML,mBAAmB;;WAEzB,SAAS,QAAQ;;;;;iBAMX;;WAEN;;WAGA;;WAGA;;;;;iBAMM;;EAEf;;;;;iBAMe,UAAU;;EAEzB,UAAU;;WAGD;;;;;;;;;;;;;;;;;;;YC5IC;;;;iBAWK,gBAAgB;;WAEtB,YAAY;;WAEZ;;WAEA;;WAEA;;;;;;YAOC,gBAAgB,MAAM,SAAS,gBAAgB;;;;;;;;;YAc/C;;;;iBASK;;WAEN;;WAEA;;;;;YAMC,oBAAoB,SAAS;;;;;;;;;;;;;YAkB7B;;;;iBAaK;;WAEN;;EAET;;EAEA;;WAES;;WAEA;;;;;iBAMM,kBAAkB;;WAExB,SAAS;;WAET,UAAU;;;;;;YAOT,iBAAiB,MAC3B,YAAY,kBAAkB,SAC3B;;;;iBASY;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA;;;;;iBAMM;;WAEN;;WAEA;;WAEA;;;;;YAMC,kBAAkB,SAAS;;;;;;;;;YAc3B;;;;YASA,cA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eAAe,aAAa;;;;;;;;wBAWlC,eAAe"}
package/build/index.js CHANGED
@@ -4817,7 +4817,26 @@ const MUTATING_METHODS = /* @__PURE__ */ new Set([
4817
4817
  "computeIfPresent",
4818
4818
  "compute",
4819
4819
  "merge",
4820
- "putAll"
4820
+ "putAll",
4821
+ "pollOrUndefined",
4822
+ "ensureCapacity",
4823
+ "trimToSize",
4824
+ "grow",
4825
+ "resize",
4826
+ "removeAtOffset",
4827
+ "unlinkNode",
4828
+ "heapify",
4829
+ "bubbleUp",
4830
+ "bubbleDown",
4831
+ "addToEnd",
4832
+ "moveToEnd",
4833
+ "removeFromBucket",
4834
+ "removeFromList",
4835
+ "deleteNode",
4836
+ "fixAfterInsertion",
4837
+ "fixAfterDeletion",
4838
+ "rotateLeft",
4839
+ "rotateRight"
4821
4840
  ]);
4822
4841
  /** Methods that return a view of the collection: the view is readonly too. */
4823
4842
  const VIEW_METHODS = /* @__PURE__ */ new Set([