@thi.ng/system 3.0.2 → 3.0.4
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 +7 -1
- package/README.md +1 -1
- package/api.d.ts +2 -7
- package/api.js +3 -5
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2024-02-
|
|
3
|
+
- **Last updated**: 2024-02-16T20:01:44Z
|
|
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
|
+
### [3.0.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/system@3.0.3) (2024-02-16)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- update LOGGER handling ([a11f2a8](https://github.com/thi-ng/umbrella/commit/a11f2a8))
|
|
17
|
+
|
|
12
18
|
# [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/system@3.0.0) (2024-02-01)
|
|
13
19
|
|
|
14
20
|
#### 🛑 Breaking changes
|
package/README.md
CHANGED
package/api.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Fn, Keys } from "@thi.ng/api";
|
|
2
|
-
import type { ILogger } from "@thi.ng/logger";
|
|
3
2
|
import type { System } from "./system.js";
|
|
4
3
|
export interface ILifecycle<T extends SystemMap<T> = any> {
|
|
5
4
|
/**
|
|
@@ -54,12 +53,8 @@ export interface SystemSpec<T extends SystemMap<T>> {
|
|
|
54
53
|
* validate all specs.
|
|
55
54
|
*/
|
|
56
55
|
export type SystemSpecs<T extends SystemMap<T>> = Record<Keys<T>, SystemSpec<T>>;
|
|
57
|
-
/** @internal */
|
|
58
|
-
export declare let LOGGER: ILogger;
|
|
59
56
|
/**
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* @param logger -
|
|
57
|
+
* See [thi.ng/logger](https://docs.thi.ng/umbrella/logger/) for usage.
|
|
63
58
|
*/
|
|
64
|
-
export declare const
|
|
59
|
+
export declare const LOGGER: import("@thi.ng/logger/root").ProxyLogger;
|
|
65
60
|
//# sourceMappingURL=api.d.ts.map
|
package/api.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
const setLogger = (logger) => LOGGER = logger;
|
|
1
|
+
import { ROOT } from "@thi.ng/logger/root";
|
|
2
|
+
const LOGGER = ROOT.childLogger("system");
|
|
4
3
|
export {
|
|
5
|
-
LOGGER
|
|
6
|
-
setLogger
|
|
4
|
+
LOGGER
|
|
7
5
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/system",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"description": "Minimal and explicit dependency-injection & lifecycle container for stateful app components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@thi.ng/api": "^8.9.23",
|
|
42
|
-
"@thi.ng/dgraph": "^2.1.
|
|
43
|
-
"@thi.ng/logger": "^
|
|
42
|
+
"@thi.ng/dgraph": "^2.1.97",
|
|
43
|
+
"@thi.ng/logger": "^3.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@microsoft/api-extractor": "^7.40.1",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"thi.ng": {
|
|
85
85
|
"year": 2020
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "ea2ec2e4f14c572bbfac00c43953a6c4033da09e\n"
|
|
88
88
|
}
|