@thi.ng/adjacency 2.2.17 → 2.2.19

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-11-23T22:46:54Z
3
+ - **Last updated**: 2022-12-16T12:52:25Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
 
3
- # ![adjacency](https://media.thi.ng/umbrella/banners-20220914/thing-adjacency.svg?f522aab9)
3
+ # ![@thi.ng/adjacency](https://media.thi.ng/umbrella/banners-20220914/thing-adjacency.svg?f522aab9)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/adjacency.svg)](https://www.npmjs.com/package/@thi.ng/adjacency)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/adjacency.svg)
7
- [![Twitter Follow](https://img.shields.io/twitter/follow/thing_umbrella.svg?style=flat-square&label=twitter)](https://twitter.com/thing_umbrella)
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
  This project is part of the
10
10
  [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
@@ -21,7 +21,7 @@ This project is part of the
21
21
 
22
22
  ## About
23
23
 
24
- Sparse & bitwise adjacency matrices and related functions for directed & undirected graphs.
24
+ Sparse & bitwise adjacency matrices and related functions for directed & undirected graphs
25
25
 
26
26
  ## Status
27
27
 
@@ -49,14 +49,11 @@ ES module import:
49
49
 
50
50
  For Node.js REPL:
51
51
 
52
- ```text
53
- # with flag only for < v16
54
- node --experimental-repl-await
55
-
56
- > const adjacency = await import("@thi.ng/adjacency");
52
+ ```js
53
+ const adjacency = await import("@thi.ng/adjacency");
57
54
  ```
58
55
 
59
- Package sizes (gzipped, pre-treeshake): ESM: 2.47 KB
56
+ Package sizes (brotli'd, pre-treeshake): ESM: 2.28 KB
60
57
 
61
58
  ## Dependencies
62
59
 
@@ -87,7 +84,7 @@ TODO
87
84
 
88
85
  ## Authors
89
86
 
90
- Karsten Schmidt
87
+ - [Karsten Schmidt](https://thi.ng)
91
88
 
92
89
  If this project contributes to an academic publication, please cite it as:
93
90
 
@@ -102,4 +99,4 @@ If this project contributes to an academic publication, please cite it as:
102
99
 
103
100
  ## License
104
101
 
105
- &copy; 2018 - 2022 Karsten Schmidt // Apache Software License 2.0
102
+ &copy; 2018 - 2022 Karsten Schmidt // Apache License 2.0
package/api.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { Fn2, Pair } from "@thi.ng/api";
2
- export declare type DegreeType = "in" | "out" | "inout";
2
+ export type DegreeType = "in" | "out" | "inout";
3
3
  /**
4
4
  * @typeParam T - vertex type (default: `number`)
5
5
  */
@@ -63,6 +63,6 @@ export interface IGraph<T = number> {
63
63
  */
64
64
  invert(): IGraph<T>;
65
65
  }
66
- export declare type Edge<T = number> = Pair<T, T>;
67
- export declare type CostFn<T = number> = Fn2<T, T, number>;
66
+ export type Edge<T = number> = Pair<T, T>;
67
+ export type CostFn<T = number> = Fn2<T, T, number>;
68
68
  //# sourceMappingURL=api.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/adjacency",
3
- "version": "2.2.17",
3
+ "version": "2.2.19",
4
4
  "description": "Sparse & bitwise adjacency matrices and related functions for directed & undirected graphs",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -21,7 +21,7 @@
21
21
  "url": "https://patreon.com/thing_umbrella"
22
22
  }
23
23
  ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
24
+ "author": "Karsten Schmidt (https://thi.ng)",
25
25
  "license": "Apache-2.0",
26
26
  "scripts": {
27
27
  "build": "yarn clean && tsc --declaration",
@@ -34,21 +34,21 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.5.0",
38
- "@thi.ng/arrays": "^2.4.3",
39
- "@thi.ng/bitfield": "^2.2.13",
40
- "@thi.ng/dcons": "^3.2.24",
41
- "@thi.ng/errors": "^2.2.4",
42
- "@thi.ng/sparse": "^0.3.29"
37
+ "@thi.ng/api": "^8.6.0",
38
+ "@thi.ng/arrays": "^2.4.5",
39
+ "@thi.ng/bitfield": "^2.2.15",
40
+ "@thi.ng/dcons": "^3.2.26",
41
+ "@thi.ng/errors": "^2.2.6",
42
+ "@thi.ng/sparse": "^0.3.31"
43
43
  },
44
44
  "devDependencies": {
45
- "@microsoft/api-extractor": "^7.33.5",
46
- "@thi.ng/testament": "^0.3.5",
47
- "@thi.ng/vectors": "^7.5.25",
45
+ "@microsoft/api-extractor": "^7.33.7",
46
+ "@thi.ng/testament": "^0.3.7",
47
+ "@thi.ng/vectors": "^7.5.27",
48
48
  "rimraf": "^3.0.2",
49
49
  "tools": "^0.0.1",
50
- "typedoc": "^0.23.20",
51
- "typescript": "^4.8.4"
50
+ "typedoc": "^0.23.22",
51
+ "typescript": "^4.9.4"
52
52
  },
53
53
  "keywords": [
54
54
  "adjacency",
@@ -119,5 +119,5 @@
119
119
  ],
120
120
  "year": 2018
121
121
  },
122
- "gitHead": "75ec32ff7f1b7b5e72e7a04ace24732cd5d6c774\n"
122
+ "gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
123
123
  }