Skip to content

Commit

Permalink
Merge pull request #80 from snyk-labs/fix/upgrade_axios_to_fix_vuln
Browse files Browse the repository at this point in the history
fix: update axios version to fix vulnerability
  • Loading branch information
TomJMayne authored Feb 15, 2024
2 parents 1d9c124 + fcbff31 commit a13a0f4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ module.exports = {
testEnvironment: 'node',
collectCoverageFrom: ['lib/**/*.ts'],
coverageReporters: ['text-summary', 'html'],
moduleNameMapper: {
'^axios$': 'axios/dist/node/axios.cjs',
},
};
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@types/babel__traverse": "7.17.1",
"@types/debug": "^4.1.7",
"@types/uuid": "^7.0.3",
"axios": "0.27.2",
"axios": "1.6.7",
"chalk": "^4.0.0",
"debug": "^4.1.1",
"global-agent": "3.0.0",
Expand All @@ -50,21 +50,21 @@
},
"devDependencies": {
"@types/global-agent": "^2.1.1",
"@types/jest": "^25.1.1",
"@types/jest": "^26.0.24",
"@types/lodash": "4.14.186",
"@types/node": "^12.12.26",
"@types/proxy-from-env": "^1.0.2",
"@typescript-eslint/eslint-plugin": "^2.18.0",
"@typescript-eslint/parser": "^2.18.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"jest": "^25.1.0",
"jest": "^26.6.3",
"nock": "^12.0.3",
"prettier": "^1.19.1",
"ts-jest": "^25.1.0",
"ts-jest": "^26.5.6",
"ts-node": "8.6.2",
"tsc-watch": "^4.1.0",
"typescript": "^3.7.5"
"typescript": "^4.7.4"
},
"pkg": {
"scripts": [
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"sourceMap": true,
"declaration": true,
"importHelpers": true,
"strict": true
"strict": true,
"useUnknownInCatchVariables": false
},
"include": ["./src/lib/**/*"]
}

0 comments on commit a13a0f4

Please sign in to comment.