diff --git a/.circleci/config.yml b/.circleci/config.yml index de3e332d..720247b9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: @@ -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 @@ -54,7 +52,6 @@ jobs: - checkout - run: npm install - run: npm test - - run: npx tsc workflows: version: 2 diff --git a/.snyk b/.snyk index 76bc817c..47571b38 100644 --- a/.snyk +++ b/.snyk @@ -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: {} diff --git a/jest.config.js b/jest.config.js index 039da88a..f8cdc48d 100644 --- a/jest.config.js +++ b/jest.config.js @@ -3,4 +3,7 @@ module.exports = { testEnvironment: 'node', collectCoverageFrom: ['lib/**/*.ts'], coverageReporters: ['text-summary', 'html'], + moduleNameMapper: { + '^axios$': 'axios/dist/node/axios.cjs', + }, }; diff --git a/package.json b/package.json index 152fd9d6..a456807c 100644 --- a/package.json +++ b/package.json @@ -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" @@ -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", @@ -92,4 +92,4 @@ "dist/**/*.js" ] } -} \ No newline at end of file +}