@thi.ng/rstream-log 4.1.9 → 4.1.12
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 +1 -1
- package/format.d.ts +2 -2
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
package/format.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Transducer } from "@thi.ng/transducers";
|
|
2
2
|
import type { BodyFormat, DateFormat, LogEntry, LogEntryObj } from "./api.js";
|
|
3
3
|
export declare const isoDate: (dt: number) => string;
|
|
4
|
-
export declare const formatString: (dtFmt?: DateFormat
|
|
4
|
+
export declare const formatString: (dtFmt?: DateFormat, bodyFmt?: BodyFormat) => Transducer<LogEntry, string>;
|
|
5
5
|
/**
|
|
6
6
|
* Takes an array of regex patterns and optional `mask` string. Returns
|
|
7
7
|
* transducer which replaces all found pattern occurrences with `mask`.
|
|
@@ -27,5 +27,5 @@ export declare const formatString: (dtFmt?: DateFormat | undefined, bodyFmt?: Bo
|
|
|
27
27
|
*/
|
|
28
28
|
export declare const maskSecrets: (patterns: RegExp[], mask?: string) => Transducer<string, string>;
|
|
29
29
|
export declare const formatObject: () => Transducer<LogEntry, LogEntryObj>;
|
|
30
|
-
export declare const formatJSON: (dtfmt?: DateFormat
|
|
30
|
+
export declare const formatJSON: (dtfmt?: DateFormat) => Transducer<LogEntry, string>;
|
|
31
31
|
//# sourceMappingURL=format.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/rstream-log",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.12",
|
|
4
4
|
"description": "Structured, multilevel & hierarchical loggers based on @thi.ng/rstream",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,21 +34,21 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.3.
|
|
38
|
-
"@thi.ng/checks": "^3.1
|
|
39
|
-
"@thi.ng/errors": "^2.1.
|
|
40
|
-
"@thi.ng/logger": "^1.1.
|
|
41
|
-
"@thi.ng/rstream": "^7.2.
|
|
42
|
-
"@thi.ng/strings": "^3.3.
|
|
43
|
-
"@thi.ng/transducers": "^8.3.
|
|
37
|
+
"@thi.ng/api": "^8.3.7",
|
|
38
|
+
"@thi.ng/checks": "^3.2.1",
|
|
39
|
+
"@thi.ng/errors": "^2.1.7",
|
|
40
|
+
"@thi.ng/logger": "^1.1.7",
|
|
41
|
+
"@thi.ng/rstream": "^7.2.9",
|
|
42
|
+
"@thi.ng/strings": "^3.3.5",
|
|
43
|
+
"@thi.ng/transducers": "^8.3.6"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@microsoft/api-extractor": "^7.
|
|
47
|
-
"@thi.ng/testament": "^0.2.
|
|
46
|
+
"@microsoft/api-extractor": "^7.25.0",
|
|
47
|
+
"@thi.ng/testament": "^0.2.8",
|
|
48
48
|
"rimraf": "^3.0.2",
|
|
49
49
|
"tools": "^0.0.1",
|
|
50
|
-
"typedoc": "^0.22.
|
|
51
|
-
"typescript": "^4.
|
|
50
|
+
"typedoc": "^0.22.17",
|
|
51
|
+
"typescript": "^4.7.3"
|
|
52
52
|
},
|
|
53
53
|
"keywords": [
|
|
54
54
|
"datastructure",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
],
|
|
99
99
|
"year": 2017
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "e64b1ab39ae9bcc494ef006f6329e5182fa2a326\n"
|
|
102
102
|
}
|