Conversation
|
After Running npm audit fix there we still issues that require manual intervetion because of SEMVER Warnings We should probably just update eslint and mocha to the latest versions. This would require ensuring that the test cases dont break with the major SEMVER change. |
Manually applied the following fixes: - npm install --save-dev mocha@9.2.0 - npm install --save-dev eslint@8.8.0
|
Applied the following manually fixes:
$ npm audit
=== npm audit security report ===
found 0 vulnerabilities
Both unit and functional tests run fine with mochajs 9.2.0 Although now with eslint 8.8.0 running the linter has problems: See https://github.com/IBM/nodejs-itoolkit/runs/5025626973?check_suite_focus=true UPDATE: The error above is expected because eslint-plugin-import is not yet compatible with eslint v8. See import-js/eslint-plugin-import#2251 (comment). Therefore will downgrade eslint to latest of version 7.x.x to fix this. |
|
OK with downgrading eslint we got past the |
|
OK d6dd40d fixed the lint errors. |
|
Closing in favor of #347 |
Ran
npm auditandnpm audit fixlocally to update bunch of dev deps:npm audit === npm audit security report === # Run npm install --save-dev eslint@8.8.0 to resolve 2 vulnerabilities SEMVER WARNING: Recommended action is a potentially breaking change ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Inefficient Regular Expression Complexity in │ │ │ chalk/ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ eslint [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ eslint > strip-ansi > ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-93q8-gq69-wqmw │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Inefficient Regular Expression Complexity in │ │ │ chalk/ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ eslint [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ eslint > table > string-width > strip-ansi > ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-93q8-gq69-wqmw │ └───────────────┴──────────────────────────────────────────────────────────────┘ # Run npm install --save-dev mocha@9.2.0 to resolve 4 vulnerabilities SEMVER WARNING: Recommended action is a potentially breaking change ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Inefficient Regular Expression Complexity in │ │ │ chalk/ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ mocha [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ mocha > yargs > cliui > string-width > strip-ansi > │ │ │ ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-93q8-gq69-wqmw │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Inefficient Regular Expression Complexity in │ │ │ chalk/ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ mocha [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ mocha > yargs-unparser > yargs > cliui > string-width > │ │ │ strip-ansi > ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-93q8-gq69-wqmw │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Inefficient Regular Expression Complexity in │ │ │ chalk/ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ mocha [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ mocha > yargs-unparser > yargs > cliui > wrap-ansi > │ │ │ string-width > strip-ansi > ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-93q8-gq69-wqmw │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Inefficient Regular Expression Complexity in │ │ │ chalk/ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ mocha [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ mocha > wide-align > string-width > strip-ansi > ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-93q8-gq69-wqmw │ └───────────────┴──────────────────────────────────────────────────────────────┘ # Run npm install --save-dev standard-version@9.3.2 to resolve 1 vulnerability ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Regular Expression Denial of Service in trim-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ trim-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > conventional-recommended-bump > │ │ │ git-raw-commits > meow > trim-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-7p7h-4mm5-852v │ └───────────────┴──────────────────────────────────────────────────────────────┘ # Run npm update ansi-regex --depth 7 to resolve 4 vulnerabilities ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Inefficient Regular Expression Complexity in │ │ │ chalk/ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ eslint [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ eslint > inquirer > strip-ansi > ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-93q8-gq69-wqmw │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Inefficient Regular Expression Complexity in │ │ │ chalk/ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ eslint [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ eslint > inquirer > string-width > strip-ansi > ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-93q8-gq69-wqmw │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Inefficient Regular Expression Complexity in │ │ │ chalk/ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > yargs > cliui > string-width > strip-ansi │ │ │ > ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-93q8-gq69-wqmw │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Inefficient Regular Expression Complexity in │ │ │ chalk/ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > yargs > cliui > wrap-ansi > string-width │ │ │ > strip-ansi > ansi-regex │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-93q8-gq69-wqmw │ └───────────────┴──────────────────────────────────────────────────────────────┘ # Run npm update path-parse --depth 10 to resolve 7 vulnerabilities ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Regular Expression Denial of Service in path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ eslint-plugin-import [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ eslint-plugin-import > resolve > path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-hj48-42vr-x3v9 │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Regular Expression Denial of Service in path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ eslint-plugin-import [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ eslint-plugin-import > eslint-import-resolver-node > resolve │ │ │ > path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-hj48-42vr-x3v9 │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Regular Expression Denial of Service in path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ eslint-plugin-import [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ eslint-plugin-import > read-pkg-up > read-pkg > │ │ │ normalize-package-data > resolve > path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-hj48-42vr-x3v9 │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Regular Expression Denial of Service in path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > conventional-recommended-bump > │ │ │ conventional-commits-parser > meow > normalize-package-data │ │ │ > resolve > path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-hj48-42vr-x3v9 │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Regular Expression Denial of Service in path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > conventional-changelog > │ │ │ conventional-changelog-core > conventional-changelog-writer │ │ │ > meow > normalize-package-data > resolve > path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-hj48-42vr-x3v9 │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Regular Expression Denial of Service in path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > conventional-recommended-bump > │ │ │ conventional-commits-parser > meow > read-pkg-up > read-pkg │ │ │ > normalize-package-data > resolve > path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-hj48-42vr-x3v9 │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Regular Expression Denial of Service in path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > conventional-changelog > │ │ │ conventional-changelog-core > conventional-changelog-writer │ │ │ > meow > read-pkg-up > read-pkg > normalize-package-data > │ │ │ resolve > path-parse │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-hj48-42vr-x3v9 │ └───────────────┴──────────────────────────────────────────────────────────────┘ # Run npm update glob-parent --depth 2 to resolve 1 vulnerability ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Regular expression denial of service │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ glob-parent │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ eslint [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ eslint > glob-parent │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-ww39-953v-wcq6 │ └───────────────┴──────────────────────────────────────────────────────────────┘ # Run npm update hosted-git-info --depth 9 to resolve 5 vulnerabilities ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Regular Expression Denial of Service in hosted-git-info │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ hosted-git-info │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ eslint-plugin-import [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ eslint-plugin-import > read-pkg-up > read-pkg > │ │ │ normalize-package-data > hosted-git-info │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-43f8-2h32-f4cj │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Regular Expression Denial of Service in hosted-git-info │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ hosted-git-info │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > conventional-recommended-bump > │ │ │ conventional-commits-parser > meow > normalize-package-data │ │ │ > hosted-git-info │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-43f8-2h32-f4cj │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Regular Expression Denial of Service in hosted-git-info │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ hosted-git-info │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > conventional-changelog > │ │ │ conventional-changelog-core > conventional-changelog-writer │ │ │ > meow > normalize-package-data > hosted-git-info │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-43f8-2h32-f4cj │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Regular Expression Denial of Service in hosted-git-info │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ hosted-git-info │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > conventional-recommended-bump > │ │ │ conventional-commits-parser > meow > read-pkg-up > read-pkg │ │ │ > normalize-package-data > hosted-git-info │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-43f8-2h32-f4cj │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Regular Expression Denial of Service in hosted-git-info │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ hosted-git-info │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > conventional-changelog > │ │ │ conventional-changelog-core > conventional-changelog-writer │ │ │ > meow > read-pkg-up > read-pkg > normalize-package-data > │ │ │ hosted-git-info │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-43f8-2h32-f4cj │ └───────────────┴──────────────────────────────────────────────────────────────┘ # Run npm update handlebars --depth 5 to resolve 1 vulnerability ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Critical │ Remote code execution in handlebars when compiling templates │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ handlebars │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > conventional-changelog > │ │ │ conventional-changelog-core > conventional-changelog-writer │ │ │ > handlebars │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-f2jv-r9rf-7988 │ └───────────────┴──────────────────────────────────────────────────────────────┘ # Run npm update lodash --depth 5 to resolve 8 vulnerabilities ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Command Injection in lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ eslint [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ eslint > lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-35jh-r3h4-6jhm │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Command Injection in lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ eslint [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ eslint > inquirer > lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-35jh-r3h4-6jhm │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Command Injection in lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ sinon [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ sinon > @sinonjs/formatio > @sinonjs/samsam > lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-35jh-r3h4-6jhm │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Command Injection in lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ sinon [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ sinon > nise > @sinonjs/formatio > @sinonjs/samsam > lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-35jh-r3h4-6jhm │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Regular Expression Denial of Service (ReDoS) in lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ eslint [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ eslint > lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-29mw-wpgm-hmr9 │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Regular Expression Denial of Service (ReDoS) in lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ eslint [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ eslint > inquirer > lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-29mw-wpgm-hmr9 │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Regular Expression Denial of Service (ReDoS) in lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ sinon [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ sinon > @sinonjs/formatio > @sinonjs/samsam > lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-29mw-wpgm-hmr9 │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Regular Expression Denial of Service (ReDoS) in lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ sinon [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ sinon > nise > @sinonjs/formatio > @sinonjs/samsam > lodash │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-29mw-wpgm-hmr9 │ └───────────────┴──────────────────────────────────────────────────────────────┘ # Run npm update y18n --depth 4 to resolve 2 vulnerabilities ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Prototype Pollution │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ y18n │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ mocha [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ mocha > yargs > y18n │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-c4w7-xm78-47vh │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Prototype Pollution │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ y18n │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ mocha [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ mocha > yargs-unparser > yargs > y18n │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-c4w7-xm78-47vh │ └───────────────┴──────────────────────────────────────────────────────────────┘ # Run npm update ini --depth 6 to resolve 1 vulnerability ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Prototype Pollution │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ ini │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > conventional-changelog > │ │ │ conventional-changelog-core > git-remote-origin-url > │ │ │ gitconfiglocal > ini │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-qqgx-2p2h-9c37 │ └───────────────┴──────────────────────────────────────────────────────────────┘ # Run npm update trim-newlines --depth 6 to resolve 3 vulnerabilities ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Regular Expression Denial of Service in trim-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ trim-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > git-semver-tags > meow > trim-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-7p7h-4mm5-852v │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Regular Expression Denial of Service in trim-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ trim-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > conventional-recommended-bump > │ │ │ conventional-commits-parser > meow > trim-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-7p7h-4mm5-852v │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Regular Expression Denial of Service in trim-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ trim-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > conventional-changelog > │ │ │ conventional-changelog-core > conventional-changelog-writer │ │ │ > meow > trim-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-7p7h-4mm5-852v │ └───────────────┴──────────────────────────────────────────────────────────────┘ # Run npm update conventional-changelog-core --depth 3 to resolve 2 vulnerabilities ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Regular Expression Denial of Service in trim-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ trim-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > conventional-changelog > │ │ │ conventional-changelog-core > get-pkg-repo > meow > │ │ │ trim-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-7p7h-4mm5-852v │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Regular Expression Denial of Service in trim-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ trim-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > conventional-changelog > │ │ │ conventional-changelog-core > git-raw-commits > meow > │ │ │ trim-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-7p7h-4mm5-852v │ └───────────────┴──────────────────────────────────────────────────────────────┘ # Run npm update shelljs --depth 4 to resolve 2 vulnerabilities ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Improper Privilege Management in shelljs │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ shelljs │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > conventional-changelog > │ │ │ conventional-changelog-core > shelljs │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-64g7-mvw6-v9qj │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Improper Privilege Management in shelljs │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ shelljs │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > conventional-changelog > │ │ │ conventional-changelog-core > shelljs │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-4rq4-32rv-6wp6 │ └───────────────┴──────────────────────────────────────────────────────────────┘ # Run npm update trim-off-newlines --depth 5 to resolve 2 vulnerabilities ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Uncontrolled Resource Consumption in trim-off-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ trim-off-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > conventional-recommended-bump > │ │ │ conventional-commits-parser > trim-off-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-38fc-wpqx-33j7 │ └───────────────┴──────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ Moderate │ Uncontrolled Resource Consumption in trim-off-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ trim-off-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ standard-version [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ standard-version > conventional-changelog > │ │ │ conventional-changelog-core > conventional-commits-parser > │ │ │ trim-off-newlines │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https://github.com/advisories/GHSA-38fc-wpqx-33j7 │ └───────────────┴──────────────────────────────────────────────────────────────┘ found 45 vulnerabilities (29 moderate, 15 high, 1 critical) in 460 scanned packages run `npm audit fix` to fix 39 of them. 6 vulnerabilities require semver-major dependency updates.