@thi.ng/system 2.1.79 → 2.1.81

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**: 2023-10-23T07:37:37Z
3
+ - **Last updated**: 2023-11-09T10:28:19Z
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.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [2.1.80](https://github.com/thi-ng/umbrella/tree/@thi.ng/system@2.1.80) (2023-11-09)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
17
+
12
18
  ### [2.1.34](https://github.com/thi-ng/umbrella/tree/@thi.ng/system@2.1.34) (2022-12-06)
13
19
 
14
20
  #### ♻️ Refactoring
package/README.md CHANGED
@@ -54,7 +54,7 @@ For Node.js REPL:
54
54
  const system = await import("@thi.ng/system");
55
55
  ```
56
56
 
57
- Package sizes (brotli'd, pre-treeshake): ESM: 387 bytes
57
+ Package sizes (brotli'd, pre-treeshake): ESM: 489 bytes
58
58
 
59
59
  ## Dependencies
60
60
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/system",
3
- "version": "2.1.79",
3
+ "version": "2.1.81",
4
4
  "description": "Minimal and explicit dependency-injection & lifecycle container for stateful app components",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -31,22 +31,21 @@
31
31
  "clean": "rimraf --glob '*.js' '*.d.ts' '*.map' doc",
32
32
  "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
33
33
  "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
34
- "doc:readme": "yarn doc:stats && tools:readme",
35
- "doc:stats": "tools:module-stats",
34
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
36
35
  "pub": "yarn npm publish --access public",
37
- "test": "testament test"
36
+ "test": "bun test"
38
37
  },
39
38
  "dependencies": {
40
- "@thi.ng/api": "^8.9.6",
41
- "@thi.ng/dgraph": "^2.1.75",
42
- "@thi.ng/logger": "^1.4.22"
39
+ "@thi.ng/api": "^8.9.8",
40
+ "@thi.ng/dgraph": "^2.1.77",
41
+ "@thi.ng/logger": "^1.4.24"
43
42
  },
44
43
  "devDependencies": {
45
- "@microsoft/api-extractor": "^7.38.0",
46
- "@thi.ng/testament": "^0.3.24",
44
+ "@microsoft/api-extractor": "^7.38.2",
45
+ "@thi.ng/testament": "^0.4.1",
47
46
  "rimraf": "^5.0.5",
48
47
  "tools": "^0.0.1",
49
- "typedoc": "^0.25.2",
48
+ "typedoc": "^0.25.3",
50
49
  "typescript": "^5.2.2"
51
50
  },
52
51
  "keywords": [
@@ -84,5 +83,5 @@
84
83
  "thi.ng": {
85
84
  "year": 2020
86
85
  },
87
- "gitHead": "336bd1bf95825b3c318a3ab49c54451c94aaa883\n"
86
+ "gitHead": "669a3151e4302480244fe3e60eff5e732ea5b7a7\n"
88
87
  }
package/system.js CHANGED
@@ -2,6 +2,9 @@ import { DGraph } from "@thi.ng/dgraph";
2
2
  import { LOGGER, } from "./api.js";
3
3
  export const defSystem = (map) => new System(map);
4
4
  export class System {
5
+ components;
6
+ topology;
7
+ graph;
5
8
  constructor(map) {
6
9
  this.graph = new DGraph();
7
10
  for (let id in map) {