@thi.ng/dgraph-dot 2.1.187 → 2.1.189

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.
Files changed (3) hide show
  1. package/README.md +2 -2
  2. package/index.js +2 -2
  3. package/package.json +5 -5
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 210 standalone projects, maintained as part
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
  >
@@ -67,7 +67,7 @@ For Node.js REPL:
67
67
  const dd = await import("@thi.ng/dgraph-dot");
68
68
  ```
69
69
 
70
- Package sizes (brotli'd, pre-treeshake): ESM: 228 bytes
70
+ Package sizes (brotli'd, pre-treeshake): ESM: 226 bytes
71
71
 
72
72
  ## Dependencies
73
73
 
package/index.js CHANGED
@@ -6,10 +6,10 @@ const toDot = (src, opts) => {
6
6
  const edges = [];
7
7
  const label = opts.label || opts.id;
8
8
  const spec = opts.spec;
9
- for (let n of src.nodes()) {
9
+ for (const n of src.nodes()) {
10
10
  const id = opts.id(n);
11
11
  nodes[id] = spec ? spec(n) : { label: label(n) };
12
- for (let d of src.immediateDependencies(n)) {
12
+ for (const d of src.immediateDependencies(n)) {
13
13
  edges.push({ src: id, dest: opts.id(d) });
14
14
  }
15
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/dgraph-dot",
3
- "version": "2.1.187",
3
+ "version": "2.1.189",
4
4
  "description": "Customizable Graphviz DOT serialization for @thi.ng/dgraph",
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/api": "^8.12.9",
43
- "@thi.ng/dgraph": "^2.1.186",
44
- "@thi.ng/dot": "^2.1.122"
42
+ "@thi.ng/api": "^8.12.10",
43
+ "@thi.ng/dgraph": "^2.1.188",
44
+ "@thi.ng/dot": "^2.1.123"
45
45
  },
46
46
  "devDependencies": {
47
47
  "esbuild": "^0.27.0",
@@ -78,5 +78,5 @@
78
78
  "tag": "graphviz",
79
79
  "year": 2020
80
80
  },
81
- "gitHead": "fdca77cabf47dd23a9ab17a5ca13e3060075c12c\n"
81
+ "gitHead": "8625a1c6383737a8fdbe7a3f96ea3cbabc957fa6\n"
82
82
  }