@thi.ng/system 3.1.6 → 3.1.8

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**: 2024-03-27T09:53:46Z
3
+ - **Last updated**: 2024-04-08T14:59:30Z
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
@@ -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 190 standalone projects, maintained as part
10
+ > This is one of 191 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
  >
@@ -48,7 +48,13 @@ API](https://docs.thi.ng/umbrella/system/interfaces/ILifecycle.html).
48
48
  yarn add @thi.ng/system
49
49
  ```
50
50
 
51
- ES module import:
51
+ ESM import:
52
+
53
+ ```ts
54
+ import * as sys from "@thi.ng/system";
55
+ ```
56
+
57
+ Browser ESM import:
52
58
 
53
59
  ```html
54
60
  <script type="module" src="https://cdn.skypack.dev/@thi.ng/system"></script>
@@ -59,7 +65,7 @@ ES module import:
59
65
  For Node.js REPL:
60
66
 
61
67
  ```js
62
- const system = await import("@thi.ng/system");
68
+ const sys = await import("@thi.ng/system");
63
69
  ```
64
70
 
65
71
  Package sizes (brotli'd, pre-treeshake): ESM: 581 bytes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/system",
3
- "version": "3.1.6",
3
+ "version": "3.1.8",
4
4
  "description": "Minimal and explicit dependency-injection & lifecycle container for stateful app components",
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.9.31",
43
- "@thi.ng/dgraph": "^2.1.111",
44
- "@thi.ng/logger": "^3.0.7"
42
+ "@thi.ng/api": "^8.10.0",
43
+ "@thi.ng/dgraph": "^2.1.113",
44
+ "@thi.ng/logger": "^3.0.8"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@microsoft/api-extractor": "^7.43.0",
@@ -85,5 +85,5 @@
85
85
  "thi.ng": {
86
86
  "year": 2020
87
87
  },
88
- "gitHead": "db5f5a5d1b223a8e6b4999d67836678038fd3560\n"
88
+ "gitHead": "85ac4bd4d6d89f8e3689e2863d5bea0cecdb371c\n"
89
89
  }