File tree 3 files changed +33
-2
lines changed
workers/loc.api/queue/write-data-to-stream
3 files changed +33
-2
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : " npm"
4
+ target-branch : " staging"
5
+ directory : " /"
6
+ schedule :
7
+ interval : " weekly"
8
+ day : " thursday"
9
+ time : " 00:00"
10
+ timezone : " Etc/UTC"
11
+ commit-message :
12
+ prefix : " [npm] "
13
+ labels :
14
+ - " npm"
15
+ - " dependencies"
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " bfx-report" ,
3
- "version" : " 4.10.5 " ,
3
+ "version" : " 4.10.6 " ,
4
4
"description" : " Reporting tool" ,
5
5
"main" : " worker.js" ,
6
6
"license" : " Apache-2.0" ,
29
29
"lru" : " 3.1.0" ,
30
30
"moment" : " 2.29.4" ,
31
31
"moment-timezone" : " 0.5.39" ,
32
- "pug" : " 3.0.2 " ,
32
+ "pug" : " 3.0.3 " ,
33
33
"reflect-metadata" : " 0.1.13" ,
34
34
"triple-beam" : " 1.3.0" ,
35
35
"uuid" : " 9.0.0" ,
Original file line number Diff line number Diff line change @@ -80,6 +80,22 @@ const _formatters = {
80
80
}
81
81
82
82
return msg
83
+ } ,
84
+ lowerCaseWithUpperFirst : ( str ) => {
85
+ if (
86
+ ! str ||
87
+ typeof str !== 'string' ||
88
+ str . length < 2
89
+ ) {
90
+ return str
91
+ }
92
+
93
+ const lower = str . toLowerCase ( )
94
+ const normalized = lower . replace ( / _ / g, ' ' )
95
+ const head = normalized [ 0 ] . toUpperCase ( )
96
+ const tail = normalized . slice ( 1 )
97
+
98
+ return `${ head } ${ tail } `
83
99
}
84
100
}
85
101
You can’t perform that action at this time.
0 commit comments