Skip to content

Commit

Permalink
fix: upgrade vulnerable packages
Browse files Browse the repository at this point in the history
chore: remove redundant "npx tsc" steps
  • Loading branch information
novalex committed Jun 24, 2024
1 parent de985c1 commit c9d35f4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 17 deletions.
3 changes: 0 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
mode: auto
release-branch: master # TODO: remove when master branch is renamed
iac-scan: disabled
open-source-scan: critical # TODO: remove this once Axios vulns are fixed
open-source-additional-arguments: --exclude=test

build-test-monitor:
Expand All @@ -44,7 +43,6 @@ jobs:
- checkout
- run: npm install
- run: npm test
- run: npx tsc
- run: npm run pkg-binaries-linux
- run: ./snyk-api-import-linux help

Expand All @@ -54,7 +52,6 @@ jobs:
- checkout
- run: npm install
- run: npm test
- run: npx tsc

workflows:
version: 2
Expand Down
10 changes: 0 additions & 10 deletions .snyk
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,4 @@ ignore:
reason: there is no fix available
expires: 2023-12-30T17:38:57.751Z
created: 2023-11-30T17:38:57.755Z
SNYK-JS-AXIOS-6032459O:
- '*':
reason: vuln fix broke binary packaging
expires: 2024-04-05T16:28:10.379Z
created: 2024-03-06T16:28:10.387Z
SNYK-JS-AXIOS-6144788O:
- '*':
reason: vuln fix broke binary packaging
expires: 2024-04-05T16:28:56.455Z
created: 2024-03-06T16:28:56.463Z
patch: {}
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',
},
};
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@
"bunyan": "1.8.15",
"debug": "4.3.4",
"lodash": "4.17.21",
"micromatch": "4.0.5",
"micromatch": "4.0.6",
"needle": "2.9.1",
"p-map": "4.0.0",
"parse-link-header": "2.0.0",
"rimraf": "3.0.2",
"simple-git": "3.16.0",
"sleep-promise": "8.0.1",
"snyk-request-manager": "1.8.3",
"snyk-request-manager": "1.8.4",
"source-map-support": "^0.5.16",
"split": "1.0.1",
"yargs": "16.2.0"
Expand All @@ -67,7 +67,7 @@
"@types/debug": "4.1.5",
"@types/jest": "^25.1.1",
"@types/lodash": "^4.14.149",
"@types/micromatch": "4.0.2",
"@types/micromatch": "4.0.6",
"@types/needle": "2.0.4",
"@types/node": "14.14.45",
"@types/parse-link-header": "1.0.0",
Expand All @@ -92,4 +92,4 @@
"dist/**/*.js"
]
}
}
}

0 comments on commit c9d35f4

Please sign in to comment.