@thi.ng/rstream 8.3.2 → 8.3.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/logger.d.ts +4 -3
- package/logger.js +3 -5
- package/package.json +6 -6
- package/subscription.js +1 -1
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
|
+
### [8.3.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@8.3.3) (2024-02-16)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- update LOGGER handling ([e3e18ab](https://github.com/thi-ng/umbrella/commit/e3e18ab))
|
|
17
|
+
|
|
12
18
|
## [8.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream@8.3.0) (2024-02-06)
|
|
13
19
|
|
|
14
20
|
#### 🚀 Features
|
package/README.md
CHANGED
package/logger.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* See [thi.ng/logger](https://docs.thi.ng/umbrella/logger/) for usage.
|
|
3
|
+
*/
|
|
4
|
+
export declare const LOGGER: import("@thi.ng/logger/root").ProxyLogger;
|
|
4
5
|
//# sourceMappingURL=logger.d.ts.map
|
package/logger.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("rstream");
|
|
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/rstream",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.4",
|
|
4
4
|
"description": "Reactive streams & subscription primitives for constructing dataflow graphs / pipelines",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@thi.ng/api": "^8.9.23",
|
|
43
|
-
"@thi.ng/arrays": "^2.
|
|
44
|
-
"@thi.ng/associative": "^6.3.
|
|
43
|
+
"@thi.ng/arrays": "^2.8.0",
|
|
44
|
+
"@thi.ng/associative": "^6.3.39",
|
|
45
45
|
"@thi.ng/atom": "^5.2.30",
|
|
46
46
|
"@thi.ng/checks": "^3.4.23",
|
|
47
47
|
"@thi.ng/errors": "^2.4.16",
|
|
48
|
-
"@thi.ng/logger": "^
|
|
49
|
-
"@thi.ng/transducers": "^8.9.
|
|
48
|
+
"@thi.ng/logger": "^3.0.0",
|
|
49
|
+
"@thi.ng/transducers": "^8.9.3"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@microsoft/api-extractor": "^7.40.1",
|
|
@@ -214,5 +214,5 @@
|
|
|
214
214
|
],
|
|
215
215
|
"year": 2017
|
|
216
216
|
},
|
|
217
|
-
"gitHead": "
|
|
217
|
+
"gitHead": "ea2ec2e4f14c572bbfac00c43953a6c4033da09e\n"
|
|
218
218
|
}
|
package/subscription.js
CHANGED
|
@@ -146,7 +146,7 @@ class Subscription {
|
|
|
146
146
|
return hasErrorHandler && sub.error(e) || this.unhandledError(e);
|
|
147
147
|
}
|
|
148
148
|
unhandledError(e) {
|
|
149
|
-
(LOGGER !== NULL_LOGGER ? LOGGER : console).warn(
|
|
149
|
+
(LOGGER.parent !== NULL_LOGGER ? LOGGER : console).warn(
|
|
150
150
|
this.id,
|
|
151
151
|
"unhandled error:",
|
|
152
152
|
e
|