@thi.ng/rstream-dot 3.0.156 → 3.0.158
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 +1 -1
- package/index.js +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 211 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
package/index.js
CHANGED
|
@@ -30,7 +30,7 @@ const __subValue = (sub) => {
|
|
|
30
30
|
const traverse = (subs, opts, state) => {
|
|
31
31
|
opts || (opts = {});
|
|
32
32
|
state || (state = { id: 0, subs: /* @__PURE__ */ new Map(), rels: [] });
|
|
33
|
-
for (
|
|
33
|
+
for (const sub of subs) {
|
|
34
34
|
if (state.subs.get(sub)) return state;
|
|
35
35
|
const id = state.id;
|
|
36
36
|
const desc = {
|
|
@@ -45,7 +45,7 @@ const traverse = (subs, opts, state) => {
|
|
|
45
45
|
const children = __getChildren(sub);
|
|
46
46
|
if (children.length) {
|
|
47
47
|
traverse(children, opts, state);
|
|
48
|
-
for (
|
|
48
|
+
for (const c of children) {
|
|
49
49
|
const childNode = state.subs.get(c);
|
|
50
50
|
childNode && state.rels.push([desc, childNode]);
|
|
51
51
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/rstream-dot",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.158",
|
|
4
4
|
"description": "Graphviz DOT conversion of @thi.ng/rstream dataflow graph topologies",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@thi.ng/rstream": "^9.3.
|
|
43
|
-
"@thi.ng/strings": "^3.9.
|
|
44
|
-
"@thi.ng/transducers": "^9.6.
|
|
42
|
+
"@thi.ng/rstream": "^9.3.9",
|
|
43
|
+
"@thi.ng/strings": "^3.9.31",
|
|
44
|
+
"@thi.ng/transducers": "^9.6.19"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"esbuild": "^0.27.0",
|
|
@@ -89,5 +89,5 @@
|
|
|
89
89
|
"tag": "triples",
|
|
90
90
|
"year": 2018
|
|
91
91
|
},
|
|
92
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "8625a1c6383737a8fdbe7a3f96ea3cbabc957fa6\n"
|
|
93
93
|
}
|