@vidavidorra/bunyan-pretty-stream 3.0.12 → 3.0.14
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/dist/src/bunyan-record.d.ts +1 -1
- package/dist/src/logger.d.ts +1 -1
- package/dist/src/options.d.ts +2 -2
- package/package.json +17 -17
@@ -12,7 +12,7 @@ interface BunyanCoreRecord {
|
|
12
12
|
func?: string;
|
13
13
|
};
|
14
14
|
}
|
15
|
-
|
15
|
+
type BunyanRecord = BunyanCoreRecord & Record<string, unknown>;
|
16
16
|
declare function coreFields(): string[];
|
17
17
|
declare function isBunyanRecord(value: unknown): value is BunyanRecord;
|
18
18
|
declare function fromString(json: string): BunyanRecord;
|
package/dist/src/logger.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
import bunyan from 'bunyan';
|
2
|
-
|
2
|
+
type Logger = Pick<ReturnType<typeof bunyan.createLogger>, 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'fatal'>;
|
3
3
|
export { Logger };
|
package/dist/src/options.d.ts
CHANGED
@@ -146,6 +146,6 @@ declare const schema: z.ZodObject<{
|
|
146
146
|
basePath?: string | undefined;
|
147
147
|
newLineCharacter?: "\r" | "\n" | "\r\n" | undefined;
|
148
148
|
}>;
|
149
|
-
|
150
|
-
|
149
|
+
type Options = z.input<typeof schema>;
|
150
|
+
type ParsedOptions = z.infer<typeof schema>;
|
151
151
|
export { Options, ParsedOptions, schema };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vidavidorra/bunyan-pretty-stream",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.14",
|
4
4
|
"description": "Highly configurable Bunyan stream with pretty output.",
|
5
5
|
"main": "dist/src/index.js",
|
6
6
|
"types": "dist/src/index.d.ts",
|
@@ -51,36 +51,36 @@
|
|
51
51
|
"node": ">=14.0.0"
|
52
52
|
},
|
53
53
|
"devDependencies": {
|
54
|
-
"@commitlint/cli": "17.
|
55
|
-
"@jest/globals": "
|
56
|
-
"@semantic-release/changelog": "6.0.
|
54
|
+
"@commitlint/cli": "17.3.0",
|
55
|
+
"@jest/globals": "29.3.1",
|
56
|
+
"@semantic-release/changelog": "6.0.2",
|
57
57
|
"@semantic-release/exec": "6.0.3",
|
58
58
|
"@semantic-release/git": "10.0.1",
|
59
59
|
"@types/bunyan": "1.8.8",
|
60
60
|
"@types/clone": "2.1.1",
|
61
|
-
"@types/node": "
|
62
|
-
"@typescript-eslint/eslint-plugin": "5.
|
63
|
-
"@typescript-eslint/parser": "5.
|
64
|
-
"@vidavidorra/commitlint-config": "4.0.
|
61
|
+
"@types/node": "18.11.13",
|
62
|
+
"@typescript-eslint/eslint-plugin": "5.46.0",
|
63
|
+
"@typescript-eslint/parser": "5.46.0",
|
64
|
+
"@vidavidorra/commitlint-config": "4.0.7",
|
65
65
|
"bunyan": "*",
|
66
66
|
"bunyan-1.x": "npm:bunyan@1.8.15",
|
67
67
|
"bunyan-2.x": "npm:bunyan@2.0.5",
|
68
68
|
"clone": "2.1.2",
|
69
69
|
"dot-prop": "6.0.1",
|
70
|
-
"eslint": "8.
|
70
|
+
"eslint": "8.29.0",
|
71
71
|
"eslint-config-prettier": "8.5.0",
|
72
|
-
"eslint-plugin-jest": "
|
72
|
+
"eslint-plugin-jest": "27.1.6",
|
73
73
|
"eslint-plugin-json": "3.1.0",
|
74
74
|
"eslint-plugin-prettier": "4.2.1",
|
75
|
-
"husky": "8.0.
|
76
|
-
"jest": "
|
77
|
-
"lint-staged": "13.0
|
75
|
+
"husky": "8.0.2",
|
76
|
+
"jest": "29.3.1",
|
77
|
+
"lint-staged": "13.1.0",
|
78
78
|
"npm-run-all": "4.1.5",
|
79
|
-
"prettier": "2.
|
79
|
+
"prettier": "2.8.1",
|
80
80
|
"semantic-release": "19.0.5",
|
81
81
|
"strip-ansi": "6.0.1",
|
82
|
-
"ts-jest": "
|
83
|
-
"typescript": "4.
|
82
|
+
"ts-jest": "29.0.3",
|
83
|
+
"typescript": "4.9.4"
|
84
84
|
},
|
85
85
|
"peerDependencies": {
|
86
86
|
"bunyan": "1.8.15"
|
@@ -90,6 +90,6 @@
|
|
90
90
|
"chalk": "4.1.2",
|
91
91
|
"json-stringify-pretty-compact": "3.0.0",
|
92
92
|
"moment": "2.29.4",
|
93
|
-
"zod": "3.
|
93
|
+
"zod": "3.20.0"
|
94
94
|
}
|
95
95
|
}
|