ts-graphviz 1.5.6-dev.ef6c929b6 → 1.6.1-dev.39dd9d4de

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/lib/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
+ export { $keywords } from './utils/index.js';
1
2
  export * from './common/index.js';
2
3
  export * from './core/index.js';
@@ -1,3 +1,10 @@
1
+ /**
2
+ * @hidden
3
+ */
4
+ type $keywords<T extends string> = {
5
+ [key in T]: key;
6
+ };
7
+
1
8
  type F<A extends any[], O> = (...args: A) => O;
2
9
  type IO<I, O> = F<[I], O>;
3
10
  declare function pipe<I extends any[], O>(f0: F<I, O>): F<I, O>;
@@ -19,4 +26,4 @@ declare function pipe<I extends any[], T1, T2, T3, T4, O>(
19
26
  declare const map: <T, O>(selector: (item: T) => O) => (src: Iterable<T>) => O[];
20
27
  declare const filter: <T>(pred: (item: T) => boolean) => (src: Iterable<T>) => T[];
21
28
 
22
- export { F, IO, filter, map, pipe };
29
+ export { $keywords, F, IO, filter, map, pipe };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-graphviz",
3
- "version": "1.5.6-dev.ef6c929b6",
3
+ "version": "1.6.1-dev.39dd9d4de",
4
4
  "author": "kamiazya <yuki@kamiazya.tech>",
5
5
  "description": "Graphviz library for TypeScript.",
6
6
  "homepage": "https://ts-graphviz.github.io/ts-graphviz/",
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "funding": {
20
20
  "type": "github",
21
- "url": "https://github.com/sponsors/kamiazya"
21
+ "url": "https://github.com/sponsors/ts-graphviz"
22
22
  },
23
23
  "main": "./lib/index.cjs",
24
24
  "module": "./lib/index.js",