@webiny/data-migration 5.41.4 → 5.41.5-beta.0
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/createPinoLogger.d.ts +20 -20
- package/package.json +10 -10
package/createPinoLogger.d.ts
CHANGED
|
@@ -4,23 +4,10 @@ export declare const createPinoLogger: () => Logger<{
|
|
|
4
4
|
level: string;
|
|
5
5
|
redact?: string[] | import("@webiny/logger").RedactOptions | undefined;
|
|
6
6
|
transport?: import("pino").default.TransportSingleOptions<Record<string, any>> | import("pino").default.TransportMultiOptions<Record<string, any>> | import("pino").default.TransportPipelineOptions<Record<string, any>> | undefined;
|
|
7
|
-
safe?: boolean | undefined;
|
|
8
7
|
name?: string | undefined;
|
|
9
|
-
|
|
10
|
-
[key: string]:
|
|
11
|
-
} | undefined;
|
|
12
|
-
timestamp?: boolean | (() => string) | undefined;
|
|
13
|
-
customLevels?: {
|
|
14
|
-
[key: string]: number;
|
|
15
|
-
} | undefined;
|
|
16
|
-
useOnlyCustomLevels?: boolean | undefined;
|
|
17
|
-
mixin?: ((mergeObject: object, level: number) => object) | undefined;
|
|
18
|
-
mixinMergeStrategy?: ((mergeObject: object, mixinObject: object) => object) | undefined;
|
|
19
|
-
levelVal?: number | undefined;
|
|
20
|
-
messageKey?: string | undefined;
|
|
21
|
-
errorKey?: string | undefined;
|
|
22
|
-
nestedKey?: string | undefined;
|
|
23
|
-
enabled?: boolean | undefined;
|
|
8
|
+
base?: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
} | null | undefined;
|
|
24
11
|
browser?: {
|
|
25
12
|
asObject?: boolean | undefined;
|
|
26
13
|
write?: import("pino").default.WriteFn | ({
|
|
@@ -39,9 +26,23 @@ export declare const createPinoLogger: () => Logger<{
|
|
|
39
26
|
send: (level: import("pino").default.Level, logEvent: import("pino").default.LogEvent) => void;
|
|
40
27
|
} | undefined;
|
|
41
28
|
} | undefined;
|
|
42
|
-
|
|
43
|
-
[key: string]:
|
|
44
|
-
} |
|
|
29
|
+
customLevels?: {
|
|
30
|
+
[key: string]: number;
|
|
31
|
+
} | undefined;
|
|
32
|
+
useOnlyCustomLevels?: boolean | undefined;
|
|
33
|
+
levelVal?: number | undefined;
|
|
34
|
+
onChild?: (<ChildOptions extends import("pino").default.ChildLoggerOptions>(child: import("pino").default.Logger<import("pino").LoggerOptions & ChildOptions>) => void) | undefined;
|
|
35
|
+
safe?: boolean | undefined;
|
|
36
|
+
serializers?: {
|
|
37
|
+
[key: string]: import("pino").default.SerializerFn;
|
|
38
|
+
} | undefined;
|
|
39
|
+
timestamp?: boolean | (() => string) | undefined;
|
|
40
|
+
mixin?: ((mergeObject: object, level: number) => object) | undefined;
|
|
41
|
+
mixinMergeStrategy?: ((mergeObject: object, mixinObject: object) => object) | undefined;
|
|
42
|
+
messageKey?: string | undefined;
|
|
43
|
+
errorKey?: string | undefined;
|
|
44
|
+
nestedKey?: string | undefined;
|
|
45
|
+
enabled?: boolean | undefined;
|
|
45
46
|
formatters?: {
|
|
46
47
|
level?: ((label: string, number: number) => object) | undefined;
|
|
47
48
|
bindings?: ((bindings: import("pino").default.Bindings) => object) | undefined;
|
|
@@ -53,7 +54,6 @@ export declare const createPinoLogger: () => Logger<{
|
|
|
53
54
|
} | undefined;
|
|
54
55
|
depthLimit?: number | undefined;
|
|
55
56
|
edgeLimit?: number | undefined;
|
|
56
|
-
onChild?: (<ChildOptions extends import("pino").default.ChildLoggerOptions>(child: import("pino").default.Logger<import("pino").LoggerOptions & ChildOptions>) => void) | undefined;
|
|
57
57
|
}>;
|
|
58
58
|
export declare const getChildLogger: (logger: Logger, migration: DataMigration) => import("pino").default.Logger<import("pino").LoggerOptions & {
|
|
59
59
|
msgPrefix: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/data-migration",
|
|
3
|
-
"version": "5.41.
|
|
3
|
+
"version": "5.41.5-beta.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "types.ts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"@babel/runtime": "7.24.1",
|
|
15
15
|
"@elastic/elasticsearch": "7.12.0",
|
|
16
16
|
"@types/pino": "7.0.5",
|
|
17
|
-
"@webiny/aws-sdk": "5.41.
|
|
18
|
-
"@webiny/db-dynamodb": "5.41.
|
|
19
|
-
"@webiny/handler-aws": "5.41.
|
|
20
|
-
"@webiny/ioc": "5.41.
|
|
21
|
-
"@webiny/logger": "5.41.
|
|
22
|
-
"@webiny/utils": "5.41.
|
|
17
|
+
"@webiny/aws-sdk": "5.41.5-beta.0",
|
|
18
|
+
"@webiny/db-dynamodb": "5.41.5-beta.0",
|
|
19
|
+
"@webiny/handler-aws": "5.41.5-beta.0",
|
|
20
|
+
"@webiny/ioc": "5.41.5-beta.0",
|
|
21
|
+
"@webiny/logger": "5.41.5-beta.0",
|
|
22
|
+
"@webiny/utils": "5.41.5-beta.0",
|
|
23
23
|
"center-align": "1.0.1",
|
|
24
24
|
"chalk": "4.1.2",
|
|
25
25
|
"minimatch": "5.1.6",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"@babel/preset-env": "7.24.3",
|
|
33
33
|
"@types/center-align": "1.0.0",
|
|
34
34
|
"@types/semver": "7.3.13",
|
|
35
|
-
"@webiny/cli": "5.41.
|
|
36
|
-
"@webiny/project-utils": "5.41.
|
|
35
|
+
"@webiny/cli": "5.41.5-beta.0",
|
|
36
|
+
"@webiny/project-utils": "5.41.5-beta.0",
|
|
37
37
|
"jest": "29.7.0",
|
|
38
38
|
"jest-dynalite": "3.6.1",
|
|
39
39
|
"jest-mock-console": "1.3.0",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
]
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "daa4faaafec4cd4053c64028d18806ea25b2c583"
|
|
59
59
|
}
|