Skip to content

Suggestion: audit dependencies

Eric Cornelissen requested to merge (removed):audit-deps into master

I simply ran npm audit fix twice to fix all but one low severity vulnerability in this projects dependencies. It seems to me everything still works as expected after this change, but it might be worthwhile for a maintainer of the project to verify this as well.

The remaining vulnerability requires upgrading gts from v1 to v3, after which running gts fix produces the error message shown below. I do not feel qualified to make this change so I left gts at v1.1.0.

version: 12

Oops! Something went wrong! :(

ESLint: 7.15.0

ESLint couldn't find a configuration file. To set up a configuration file for this project, please run:

    eslint --init

ESLint looked for configuration files in .../jsfuzz/build/src and its ancestors. If it found none, it then looked in your home directory.

If you think you already have a configuration file or if you need more help, please stop by the ESLint chat room: https://eslint.org/chat/help

Error: Command failed with exit code 2: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern
    at makeError (.../jsfuzz/node_modules/execa/lib/error.js:59:11)
    at handlePromise (.../jsfuzz/node_modules/execa/index.js:114:26)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async run (.../jsfuzz/node_modules/gts/build/src/cli.js:123:17) {
  shortMessage: 'Command failed with exit code 2: node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
  command: 'node ./node_modules/eslint/bin/eslint --fix **/*.ts **/*.js **/*.tsx **/*.jsx --no-error-on-unmatched-pattern',
  exitCode: 2,
  signal: undefined,
  signalDescription: undefined,
  stdout: undefined,
  stderr: undefined,
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
}

Merge request reports