Skip to content

Commit be42b02

Browse files
committed
updated deps
Signed-off-by: Matteo Collina <[email protected]>
1 parent adbb407 commit be42b02

File tree

2 files changed

+37
-37
lines changed

2 files changed

+37
-37
lines changed

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@
2020
],
2121
"license": "MIT",
2222
"devDependencies": {
23-
"@hapi/code": "^8.0.7",
23+
"@hapi/code": "^9.0.0",
2424
"@hapi/hapi": "^20.2.1",
25-
"@hapi/lab": "^24.5.1",
25+
"@hapi/lab": "^25.0.0",
2626
"coveralls": "^3.1.1",
2727
"flush-write-stream": "^2.0.0",
2828
"make-promises-safe": "^5.1.0",
2929
"pino-pretty": "^7.5.3",
3030
"pre-commit": "^1.2.2",
3131
"split2": "^4.1.0",
32-
"standard": "^16.0.4",
33-
"tsd": "^0.19.1"
32+
"standard": "^17.0.0",
33+
"tsd": "^0.20.0"
3434
},
3535
"dependencies": {
36-
"@hapi/hoek": "^9.2.1",
36+
"@hapi/hoek": "^10.0.0",
3737
"@types/hapi__hapi": "^20.0.10",
3838
"abstract-logging": "^2.0.1",
3939
"get-caller-file": "^2.0.5",

test.js

+32-32
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ async function registerWithSink (server, level, func) {
6666
const plugin = {
6767
plugin: Pino,
6868
options: {
69-
stream: stream,
70-
level: level
69+
stream,
70+
level
7171
}
7272
}
7373

@@ -79,9 +79,9 @@ async function tagsWithSink (server, tags, func) {
7979
const plugin = {
8080
plugin: Pino,
8181
options: {
82-
stream: stream,
82+
stream,
8383
level: 'trace',
84-
tags: tags
84+
tags
8585
}
8686
}
8787

@@ -192,7 +192,7 @@ experiment('logs each request', () => {
192192
const plugin = {
193193
plugin: Pino,
194194
options: {
195-
stream: stream,
195+
stream,
196196
level: 'info'
197197
}
198198
}
@@ -431,7 +431,7 @@ experiment('logs each request', () => {
431431
const plugin = {
432432
plugin: Pino,
433433
options: {
434-
stream: stream,
434+
stream,
435435
level: 'info',
436436
logRequestComplete: true,
437437
customRequestErrorMessage: (request, error) => `request failed for ${request.method} ${request.path} with error: ${error.message}`
@@ -652,7 +652,7 @@ experiment('logs through server.log', () => {
652652
const plugin = {
653653
plugin: Pino,
654654
options: {
655-
stream: stream,
655+
stream,
656656
level: 'debug',
657657
allTags: 'debug'
658658
}
@@ -677,7 +677,7 @@ experiment('logs through server.log', () => {
677677
const plugin = {
678678
plugin: Pino,
679679
options: {
680-
stream: stream
680+
stream
681681
}
682682
}
683683

@@ -699,7 +699,7 @@ experiment('logs through server.log', () => {
699699
const plugin = {
700700
plugin: Pino,
701701
options: {
702-
stream: stream,
702+
stream,
703703
customLevels: {
704704
bar: 123
705705
},
@@ -796,7 +796,7 @@ experiment('logs through request.log', () => {
796796
const plugin = {
797797
plugin: Pino,
798798
options: {
799-
stream: stream,
799+
stream,
800800
level: 'debug'
801801
}
802802
}
@@ -829,7 +829,7 @@ experiment('disables log events', () => {
829829
const plugin = {
830830
plugin: Pino,
831831
options: {
832-
stream: stream,
832+
stream,
833833
level: 'info',
834834
logEvents: false
835835
}
@@ -849,7 +849,7 @@ experiment('disables log events', () => {
849849
const plugin = {
850850
plugin: Pino,
851851
options: {
852-
stream: stream,
852+
stream,
853853
level: 'info',
854854
logEvents: false
855855
}
@@ -870,7 +870,7 @@ experiment('disables log events', () => {
870870
const plugin = {
871871
plugin: Pino,
872872
options: {
873-
stream: stream,
873+
stream,
874874
level: 'info',
875875
logEvents: false
876876
}
@@ -890,7 +890,7 @@ experiment('disables log events', () => {
890890
const plugin = {
891891
plugin: Pino,
892892
options: {
893-
stream: stream,
893+
stream,
894894
level: 'info',
895895
logEvents: false
896896
}
@@ -952,7 +952,7 @@ experiment('logging with `request` event listener', () => {
952952
const plugin = {
953953
plugin: Pino,
954954
options: {
955-
stream: stream,
955+
stream,
956956
logEvents: false
957957
}
958958
}
@@ -1047,7 +1047,7 @@ experiment('request.logger.child() bindings', () => {
10471047
const plugin = {
10481048
plugin: Pino,
10491049
options: {
1050-
stream: stream,
1050+
stream,
10511051
level: 'info'
10521052
}
10531053
}
@@ -1071,7 +1071,7 @@ experiment('request.logger.child() bindings', () => {
10711071
const plugin = {
10721072
plugin: Pino,
10731073
options: {
1074-
stream: stream,
1074+
stream,
10751075
level: 'info',
10761076
getChildBindings: (req) => ({ custom: true })
10771077
}
@@ -1101,7 +1101,7 @@ experiment('options.logRequestStart', () => {
11011101
const plugin = {
11021102
plugin: Pino,
11031103
options: {
1104-
stream: stream,
1104+
stream,
11051105
level: 'info'
11061106
}
11071107
}
@@ -1128,7 +1128,7 @@ experiment('options.logRequestStart', () => {
11281128
const plugin = {
11291129
plugin: Pino,
11301130
options: {
1131-
stream: stream,
1131+
stream,
11321132
level: 'info'
11331133
}
11341134
}
@@ -1153,7 +1153,7 @@ experiment('options.logRequestStart', () => {
11531153
const plugin = {
11541154
plugin: Pino,
11551155
options: {
1156-
stream: stream,
1156+
stream,
11571157
level: 'info',
11581158
logRequestStart: true
11591159
}
@@ -1251,7 +1251,7 @@ experiment('options.logRequestStart', () => {
12511251
const plugin = {
12521252
plugin: Pino,
12531253
options: {
1254-
stream: stream,
1254+
stream,
12551255
level: 'info',
12561256
logRequestStart: true
12571257
}
@@ -1288,7 +1288,7 @@ experiment('options.logRequestStart', () => {
12881288
const plugin = {
12891289
plugin: Pino,
12901290
options: {
1291-
stream: stream,
1291+
stream,
12921292
level: 'info',
12931293
getChildBindings: (req) => ({ requestId: 'request1234' }),
12941294
logRequestStart: true
@@ -1325,7 +1325,7 @@ experiment('options.logRequestStart', () => {
13251325
const plugin = {
13261326
plugin: Pino,
13271327
options: {
1328-
stream: stream,
1328+
stream,
13291329
level: 'info',
13301330
logRequestStart: true
13311331
}
@@ -1351,7 +1351,7 @@ experiment('options.logRequestStart', () => {
13511351
const plugin = {
13521352
plugin: Pino,
13531353
options: {
1354-
stream: stream,
1354+
stream,
13551355
level: 'info',
13561356
logRequestStart: true,
13571357
customRequestStartMessage: (request) => `request for ${request.path}`
@@ -1382,7 +1382,7 @@ experiment('options.logRequestComplete', () => {
13821382
const plugin = {
13831383
plugin: Pino,
13841384
options: {
1385-
stream: stream,
1385+
stream,
13861386
level: 'info'
13871387
}
13881388
}
@@ -1409,7 +1409,7 @@ experiment('options.logRequestComplete', () => {
14091409
const plugin = {
14101410
plugin: Pino,
14111411
options: {
1412-
stream: stream,
1412+
stream,
14131413
level: 'info',
14141414
logRequestComplete: true
14151415
}
@@ -1441,7 +1441,7 @@ experiment('options.logRequestComplete', () => {
14411441
const plugin = {
14421442
plugin: Pino,
14431443
options: {
1444-
stream: stream,
1444+
stream,
14451445
level: 'info',
14461446
logRequestStart: true,
14471447
logRequestComplete: false
@@ -1523,7 +1523,7 @@ experiment('options.logRequestComplete', () => {
15231523
const plugin = {
15241524
plugin: Pino,
15251525
options: {
1526-
stream: stream,
1526+
stream,
15271527
level: 'info',
15281528
logRequestComplete: true,
15291529
customRequestCompleteMessage: (request, responseTime) => `request completed for ${request.method} ${request.path} with ${request.response.statusCode} after ${responseTime}ms`
@@ -1550,7 +1550,7 @@ experiment('logging with mergeHapiLogData option enabled', () => {
15501550
const plugin = {
15511551
plugin: Pino,
15521552
options: {
1553-
stream: stream,
1553+
stream,
15541554
level: 'info',
15551555
mergeHapiLogData: true
15561556
}
@@ -1574,7 +1574,7 @@ experiment('logging with mergeHapiLogData option enabled', () => {
15741574
const plugin = {
15751575
plugin: Pino,
15761576
options: {
1577-
stream: stream,
1577+
stream,
15781578
level: 'info',
15791579
mergeHapiLogData: true
15801580
}
@@ -1598,7 +1598,7 @@ experiment('logging with mergeHapiLogData option enabled', () => {
15981598
const plugin = {
15991599
plugin: Pino,
16001600
options: {
1601-
stream: stream,
1601+
stream,
16021602
level: 'info',
16031603
mergeHapiLogData: true
16041604
}
@@ -1622,7 +1622,7 @@ experiment('logging with mergeHapiLogData option enabled', () => {
16221622
const plugin = {
16231623
plugin: Pino,
16241624
options: {
1625-
stream: stream,
1625+
stream,
16261626
level: 'info',
16271627
mergeHapiLogData: true,
16281628
messageKey: 'message'

0 commit comments

Comments
 (0)