@commercetools-backend/loggers 21.23.5 → 21.23.7
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.
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
type TRewriteField = {
|
|
2
2
|
from: string;
|
|
3
3
|
to: string;
|
|
4
4
|
replaceValue?: (value: unknown) => unknown;
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
type TRewriteFieldsFormatterOption = {
|
|
7
7
|
fields: TRewriteField[];
|
|
8
8
|
};
|
|
9
9
|
declare function rewriteFieldsFormatter(options: TRewriteFieldsFormatterOption): import("logform").Format;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Format } from 'logform';
|
|
2
|
-
export
|
|
2
|
+
export type TLoggerOptions = {
|
|
3
3
|
level?: string;
|
|
4
4
|
silent?: boolean;
|
|
5
5
|
json?: boolean;
|
|
6
6
|
formatters?: Format[];
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type TAccessLoggerOptions = TLoggerOptions & {
|
|
9
9
|
ignoreUrls?: string[];
|
|
10
10
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-backend/loggers",
|
|
3
|
-
"version": "21.23.
|
|
3
|
+
"version": "21.23.7",
|
|
4
4
|
"description": "Opinionated JSON loggers for HTTP server applications",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"module": "dist/commercetools-backend-loggers.esm.js",
|
|
26
26
|
"files": ["dist", "package.json", "LICENSE", "README.md"],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@babel/runtime": "^7.
|
|
29
|
-
"@babel/runtime-corejs3": "^7.
|
|
30
|
-
"@sentry/node": "7.
|
|
28
|
+
"@babel/runtime": "^7.20.13",
|
|
29
|
+
"@babel/runtime-corejs3": "^7.20.13",
|
|
30
|
+
"@sentry/node": "7.37.2",
|
|
31
31
|
"@types/triple-beam": "1.3.2",
|
|
32
32
|
"express-winston": "4.2.0",
|
|
33
33
|
"fast-safe-stringify": "2.1.1",
|
|
34
34
|
"lodash": "4.17.21",
|
|
35
|
-
"logform": "2.
|
|
35
|
+
"logform": "2.5.1",
|
|
36
36
|
"triple-beam": "1.3.0",
|
|
37
37
|
"winston": "3.8.2"
|
|
38
38
|
},
|