@vidavidorra/bunyan-pretty-stream 3.0.5 → 3.0.8

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,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import { Transform, TransformCallback } from 'stream';
3
4
  import { Options } from './options';
4
5
  declare class PrettyStream extends Transform {
@@ -8,18 +8,18 @@ declare const schema: z.ZodObject<{
8
8
  source: z.ZodDefault<z.ZodBoolean>;
9
9
  extras: z.ZodDefault<z.ZodBoolean>;
10
10
  }, "strict", z.ZodTypeAny, {
11
- time: boolean;
11
+ source: boolean;
12
12
  name: boolean;
13
+ time: boolean;
13
14
  hostname: boolean;
14
15
  pid: boolean;
15
- source: boolean;
16
16
  extras: boolean;
17
17
  }, {
18
- time?: boolean | undefined;
18
+ source?: boolean | undefined;
19
19
  name?: boolean | undefined;
20
+ time?: boolean | undefined;
20
21
  hostname?: boolean | undefined;
21
22
  pid?: boolean | undefined;
22
- source?: boolean | undefined;
23
23
  extras?: boolean | undefined;
24
24
  }>>;
25
25
  extras: z.ZodDefault<z.ZodObject<{
@@ -30,26 +30,26 @@ declare const schema: z.ZodObject<{
30
30
  total: z.ZodDefault<z.ZodNumber>;
31
31
  }, "strict", z.ZodTypeAny, {
32
32
  key: number;
33
- value: number;
34
33
  total: number;
34
+ value: number;
35
35
  }, {
36
36
  key?: number | undefined;
37
- value?: number | undefined;
38
37
  total?: number | undefined;
38
+ value?: number | undefined;
39
39
  }>>;
40
40
  }, "strict", z.ZodTypeAny, {
41
41
  key?: string | undefined;
42
42
  maxLength: {
43
43
  key: number;
44
- value: number;
45
44
  total: number;
45
+ value: number;
46
46
  };
47
47
  }, {
48
48
  key?: string | undefined;
49
49
  maxLength?: {
50
50
  key?: number | undefined;
51
- value?: number | undefined;
52
51
  total?: number | undefined;
52
+ value?: number | undefined;
53
53
  } | undefined;
54
54
  }>>;
55
55
  indent: z.ZodDefault<z.ZodObject<{
@@ -82,28 +82,33 @@ declare const schema: z.ZodObject<{
82
82
  format: z.ZodDefault<z.ZodString>;
83
83
  }, "strict", z.ZodTypeAny, {
84
84
  type: "long" | "short" | "format";
85
- local: boolean;
86
85
  format: string;
86
+ local: boolean;
87
87
  }, {
88
88
  type?: "long" | "short" | "format" | undefined;
89
- local?: boolean | undefined;
90
89
  format?: string | undefined;
90
+ local?: boolean | undefined;
91
91
  }>>;
92
92
  }, "strict", z.ZodTypeAny, {
93
93
  show: {
94
- time: boolean;
94
+ source: boolean;
95
95
  name: boolean;
96
+ time: boolean;
96
97
  hostname: boolean;
97
98
  pid: boolean;
98
- source: boolean;
99
99
  extras: boolean;
100
100
  };
101
+ time: {
102
+ type: "long" | "short" | "format";
103
+ format: string;
104
+ local: boolean;
105
+ };
101
106
  extras: {
102
107
  key?: string | undefined;
103
108
  maxLength: {
104
109
  key: number;
105
- value: number;
106
110
  total: number;
111
+ value: number;
107
112
  };
108
113
  };
109
114
  indent: {
@@ -112,26 +117,26 @@ declare const schema: z.ZodObject<{
112
117
  };
113
118
  basePath: string;
114
119
  newLineCharacter: "\r" | "\n" | "\r\n";
115
- time: {
116
- type: "long" | "short" | "format";
117
- local: boolean;
118
- format: string;
119
- };
120
120
  }, {
121
121
  show?: {
122
- time?: boolean | undefined;
122
+ source?: boolean | undefined;
123
123
  name?: boolean | undefined;
124
+ time?: boolean | undefined;
124
125
  hostname?: boolean | undefined;
125
126
  pid?: boolean | undefined;
126
- source?: boolean | undefined;
127
127
  extras?: boolean | undefined;
128
128
  } | undefined;
129
+ time?: {
130
+ type?: "long" | "short" | "format" | undefined;
131
+ format?: string | undefined;
132
+ local?: boolean | undefined;
133
+ } | undefined;
129
134
  extras?: {
130
135
  key?: string | undefined;
131
136
  maxLength?: {
132
137
  key?: number | undefined;
133
- value?: number | undefined;
134
138
  total?: number | undefined;
139
+ value?: number | undefined;
135
140
  } | undefined;
136
141
  } | undefined;
137
142
  indent?: {
@@ -140,11 +145,6 @@ declare const schema: z.ZodObject<{
140
145
  } | undefined;
141
146
  basePath?: string | undefined;
142
147
  newLineCharacter?: "\r" | "\n" | "\r\n" | undefined;
143
- time?: {
144
- type?: "long" | "short" | "format" | undefined;
145
- local?: boolean | undefined;
146
- format?: string | undefined;
147
- } | undefined;
148
148
  }>;
149
149
  declare type Options = z.input<typeof schema>;
150
150
  declare type ParsedOptions = z.infer<typeof schema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vidavidorra/bunyan-pretty-stream",
3
- "version": "3.0.5",
3
+ "version": "3.0.8",
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": "16.2.4",
55
- "@jest/globals": "27.5.1",
54
+ "@commitlint/cli": "17.0.3",
55
+ "@jest/globals": "28.1.2",
56
56
  "@semantic-release/changelog": "6.0.1",
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": "16.11.33",
62
- "@typescript-eslint/eslint-plugin": "5.22.0",
63
- "@typescript-eslint/parser": "5.22.0",
64
- "@vidavidorra/commitlint-config": "3.2.7",
61
+ "@types/node": "16.11.43",
62
+ "@typescript-eslint/eslint-plugin": "5.30.5",
63
+ "@typescript-eslint/parser": "5.30.5",
64
+ "@vidavidorra/commitlint-config": "4.0.4",
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.14.0",
70
+ "eslint": "8.19.0",
71
71
  "eslint-config-prettier": "8.5.0",
72
- "eslint-plugin-jest": "26.1.5",
72
+ "eslint-plugin-jest": "26.5.3",
73
73
  "eslint-plugin-json": "3.1.0",
74
- "eslint-plugin-prettier": "4.0.0",
75
- "husky": "7.0.4",
76
- "jest": "27.5.1",
77
- "lint-staged": "12.4.1",
74
+ "eslint-plugin-prettier": "4.2.1",
75
+ "husky": "8.0.1",
76
+ "jest": "28.1.2",
77
+ "lint-staged": "13.0.3",
78
78
  "npm-run-all": "4.1.5",
79
- "prettier": "2.6.2",
80
- "semantic-release": "19.0.2",
79
+ "prettier": "2.7.1",
80
+ "semantic-release": "19.0.3",
81
81
  "strip-ansi": "6.0.1",
82
- "ts-jest": "27.1.4",
83
- "typescript": "4.6.4"
82
+ "ts-jest": "28.0.5",
83
+ "typescript": "4.7.4"
84
84
  },
85
85
  "peerDependencies": {
86
86
  "bunyan": "1.8.15"
@@ -89,7 +89,7 @@
89
89
  "@sindresorhus/is": "4.6.0",
90
90
  "chalk": "4.1.2",
91
91
  "json-stringify-pretty-compact": "3.0.0",
92
- "moment": "2.29.3",
93
- "zod": "3.15.1"
92
+ "moment": "2.29.4",
93
+ "zod": "3.17.3"
94
94
  }
95
95
  }