File tree 3 files changed +10
-6
lines changed
3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -3,4 +3,7 @@ module.exports = {
3
3
testEnvironment : 'node' ,
4
4
collectCoverageFrom : [ 'lib/**/*.ts' ] ,
5
5
coverageReporters : [ 'text-summary' , 'html' ] ,
6
+ moduleNameMapper : {
7
+ '^axios$' : 'axios/dist/node/axios.cjs' ,
8
+ } ,
6
9
} ;
Original file line number Diff line number Diff line change 36
36
"@types/babel__traverse" : " 7.17.1" ,
37
37
"@types/debug" : " ^4.1.7" ,
38
38
"@types/uuid" : " ^7.0.3" ,
39
- "axios" : " 0.27.2 " ,
39
+ "axios" : " 1.6.7 " ,
40
40
"chalk" : " ^4.0.0" ,
41
41
"debug" : " ^4.1.1" ,
42
42
"global-agent" : " 3.0.0" ,
50
50
},
51
51
"devDependencies" : {
52
52
"@types/global-agent" : " ^2.1.1" ,
53
- "@types/jest" : " ^25.1.1 " ,
53
+ "@types/jest" : " ^26.0.24 " ,
54
54
"@types/lodash" : " 4.14.186" ,
55
55
"@types/node" : " ^12.12.26" ,
56
56
"@types/proxy-from-env" : " ^1.0.2" ,
57
57
"@typescript-eslint/eslint-plugin" : " ^2.18.0" ,
58
58
"@typescript-eslint/parser" : " ^2.18.0" ,
59
59
"eslint" : " ^6.8.0" ,
60
60
"eslint-config-prettier" : " ^6.10.0" ,
61
- "jest" : " ^25.1.0 " ,
61
+ "jest" : " ^26.6.3 " ,
62
62
"nock" : " ^12.0.3" ,
63
63
"prettier" : " ^1.19.1" ,
64
- "ts-jest" : " ^25.1.0 " ,
64
+ "ts-jest" : " ^26.5.6 " ,
65
65
"ts-node" : " 8.6.2" ,
66
66
"tsc-watch" : " ^4.1.0" ,
67
- "typescript" : " ^3 .7.5 "
67
+ "typescript" : " ^4 .7.4 "
68
68
},
69
69
"pkg" : {
70
70
"scripts" : [
Original file line number Diff line number Diff line change 7
7
"sourceMap" : true ,
8
8
"declaration" : true ,
9
9
"importHelpers" : true ,
10
- "strict" : true
10
+ "strict" : true ,
11
+ "useUnknownInCatchVariables" : false
11
12
},
12
13
"include" : [" ./src/lib/**/*" ]
13
14
}
You can’t perform that action at this time.
0 commit comments