File tree 3 files changed +11
-11
lines changed
3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
- - ' 6.14.0'
4
3
- ' 8'
4
+ - ' 10'
5
5
- stable
6
6
sudo : false
Original file line number Diff line number Diff line change 34
34
"lodash" : " ^4.17.5"
35
35
},
36
36
"devDependencies" : {
37
- "@types/chai" : " ^4.1.2 " ,
38
- "@types/mocha" : " ^5.0.0 " ,
39
- "chai" : " ^4.1.2 " ,
40
- "firebase-admin" : " ~6.1.0 " ,
41
- "firebase-functions" : " ^2.1 .0" ,
42
- "mocha" : " ^5.0.5 " ,
43
- "sinon" : " ^4.4.9 " ,
44
- "tslint" : " ^5.8 .0" ,
45
- "typescript" : " ^2.4.1 "
37
+ "@types/chai" : " ~4.2.4 " ,
38
+ "@types/mocha" : " ^5.2.7 " ,
39
+ "chai" : " ^4.2.0 " ,
40
+ "firebase-admin" : " ~8. 6.1" ,
41
+ "firebase-functions" : " ^3.3 .0" ,
42
+ "mocha" : " ^6.2.2 " ,
43
+ "sinon" : " ^7.5.0 " ,
44
+ "tslint" : " ^5.20 .0" ,
45
+ "typescript" : " ^3.6.4 "
46
46
},
47
47
"peerDependencies" : {
48
48
"firebase-functions" : " >1.0.1" ,
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ export function wrap<T>(cloudFunction: CloudFunction<T>): WrappedFunction {
111
111
params : { } ,
112
112
} ;
113
113
114
- if ( has ( defaultContext , 'eventType' ) &&
114
+ if ( has ( defaultContext , 'eventType' ) && defaultContext . eventType !== undefined &&
115
115
defaultContext . eventType . match ( / f i r e b a s e .d a t a b a s e / ) ) {
116
116
defaultContext . authType = 'UNAUTHENTICATED' ;
117
117
defaultContext . auth = null ;
You can’t perform that action at this time.
0 commit comments