Skip to content

Commit

Permalink
chore: updated winston to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
ADRFranklin committed Mar 29, 2024
1 parent 630ae05 commit a5a4a0c
Show file tree
Hide file tree
Showing 12 changed files with 40 additions and 33 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions pkg/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
"tsc-alias": "^1.7.0",
"tsyringe": "^4.7.0",
"validator": "^13.7.0",
"winston": "^3.8.2",
"winston-daily-rotate-file": "^4.7.1",
"winston": "^3.13.0",
"winston-daily-rotate-file": "^5.0.0",
"xhr-request": "^1.1.0",
"xml-js": "^1.6.11",
"yargs-parser": "^21.1.1",
Expand Down
10 changes: 5 additions & 5 deletions pkg/api/src/loaders/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ const Logger = winston.createLogger({
format: combine(
timestamp(),
printf((info) => `${JSON.stringify({
[info.timestamp]: {
type: info.level,
log: info.message,
},
})},`),
[info.timestamp]: {
type: info.level,
log: info.message,
},
})},`),
),
log: (info, next) => {
if (info.level !== "http") {
Expand Down
59 changes: 33 additions & 26 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1810,6 +1810,13 @@ __metadata:
languageName: node
linkType: hard

"@colors/colors@npm:^1.6.0":
version: 1.6.0
resolution: "@colors/colors@npm:1.6.0"
checksum: aa209963e0c3218e80a4a20553ba8c0fbb6fa13140540b4e5f97923790be06801fc90172c1114fc8b7e888b3d012b67298cde6b9e81521361becfaee400c662f
languageName: node
linkType: hard

"@commitlint/cli@npm:^16.2.3":
version: 16.3.0
resolution: "@commitlint/cli@npm:16.3.0"
Expand Down Expand Up @@ -5496,8 +5503,8 @@ __metadata:
tsyringe: ^4.7.0
typescript: ^4.8.3
validator: ^13.7.0
winston: ^3.8.2
winston-daily-rotate-file: ^4.7.1
winston: ^3.13.0
winston-daily-rotate-file: ^5.0.0
xhr-request: ^1.1.0
xml-js: ^1.6.11
yargs-parser: ^21.1.1
Expand Down Expand Up @@ -13844,13 +13851,6 @@ __metadata:
languageName: node
linkType: hard

"object-hash@npm:^2.0.1":
version: 2.2.0
resolution: "object-hash@npm:2.2.0"
checksum: 55ba841e3adce9c4f1b9b46b41983eda40f854e0d01af2802d3ae18a7085a17168d6b81731d43fdf1d6bcbb3c9f9c56d22c8fea992203ad90a38d7d919bc28f1
languageName: node
linkType: hard

"object-hash@npm:^3.0.0":
version: 3.0.0
resolution: "object-hash@npm:3.0.0"
Expand Down Expand Up @@ -17853,6 +17853,13 @@ __metadata:
languageName: node
linkType: hard

"triple-beam@npm:^1.4.1":
version: 1.4.1
resolution: "triple-beam@npm:1.4.1"
checksum: 2e881a3e8e076b6f2b85b9ec9dd4a900d3f5016e6d21183ed98e78f9abcc0149e7d54d79a3f432b23afde46b0885bdcdcbff789f39bc75de796316961ec07f61
languageName: node
linkType: hard

"truncate-utf8-bytes@npm:^1.0.0":
version: 1.0.2
resolution: "truncate-utf8-bytes@npm:1.0.2"
Expand Down Expand Up @@ -18831,36 +18838,36 @@ __metadata:
languageName: node
linkType: hard

"winston-daily-rotate-file@npm:^4.7.1":
version: 4.7.1
resolution: "winston-daily-rotate-file@npm:4.7.1"
"winston-daily-rotate-file@npm:^5.0.0":
version: 5.0.0
resolution: "winston-daily-rotate-file@npm:5.0.0"
dependencies:
file-stream-rotator: ^0.6.1
object-hash: ^2.0.1
triple-beam: ^1.3.0
winston-transport: ^4.4.0
object-hash: ^3.0.0
triple-beam: ^1.4.1
winston-transport: ^4.7.0
peerDependencies:
winston: ^3
checksum: 227daea41f722caa017fc7d6f1f80d0e6c428491e57693e6bebc8312b85bcf3aace53cb3a925bda72fab59a6898fa127411d29348ec4b295e2263a7544cda611
checksum: 45d0a1c1d1a178a22a6f92f4248139e0889720947d5afa657314826d6ea48e7dceae37521e2de2ed3a121993c4ae4ddcb0b510613c489a68d2eed689a304bef5
languageName: node
linkType: hard

"winston-transport@npm:^4.4.0, winston-transport@npm:^4.5.0":
version: 4.5.0
resolution: "winston-transport@npm:4.5.0"
"winston-transport@npm:^4.7.0":
version: 4.7.0
resolution: "winston-transport@npm:4.7.0"
dependencies:
logform: ^2.3.2
readable-stream: ^3.6.0
triple-beam: ^1.3.0
checksum: a56e5678a80b88a73e77ed998fc6e19d0db19c989a356b137ec236782f2bf58ae4511b11c29163f99391fa4dc12102c7bc5738dcb6543f28877fa2819adc3ee9
checksum: ce074b5c76a99bee5236cf2b4d30fadfaf1e551d566f654f1eba303dc5b5f77169c21545ff5c5e4fdad9f8e815fc6d91b989f1db34161ecca6e860e62fd3a862
languageName: node
linkType: hard

"winston@npm:^3.8.2":
version: 3.8.2
resolution: "winston@npm:3.8.2"
"winston@npm:^3.13.0":
version: 3.13.0
resolution: "winston@npm:3.13.0"
dependencies:
"@colors/colors": 1.5.0
"@colors/colors": ^1.6.0
"@dabh/diagnostics": ^2.0.2
async: ^3.2.3
is-stream: ^2.0.0
Expand All @@ -18870,8 +18877,8 @@ __metadata:
safe-stable-stringify: ^2.3.1
stack-trace: 0.0.x
triple-beam: ^1.3.0
winston-transport: ^4.5.0
checksum: f7b901798b92ab9e93c850110bf6e98500e9a0e762b62dab410cf928b2a4145533dfa6d3d2b24f7bf0dc94b53808d5bd28aaaeff9a4b43b89ea4c798cce308ea
winston-transport: ^4.7.0
checksum: 66f9fbbadb58e1632701e9c89391f217310c9455462148e163e060dcd25aed21351b0413bdbbf90e5c5fe9bc945fc5de6f53875ac7c7ef3061133a354fc678c0
languageName: node
linkType: hard

Expand Down

0 comments on commit a5a4a0c

Please sign in to comment.