Skip to content
This repository was archived by the owner on Feb 17, 2022. It is now read-only.
This repository was archived by the owner on Feb 17, 2022. It is now read-only.

Unused packages detected in the elasticsearch project on Tag: v16.7.1 #36

@mahirkabir

Description

@mahirkabir

Issue: We have detected the following unused dependencies in your project:
Unused devDependencies

  • @babel/core
  • @babel/preset-env
  • acorn
  • aliasify
  • babel-eslint
  • babel-loader
  • backport
  • browserify
  • eslint-plugin-import
  • eslint-plugin-node
  • eslint-plugin-promise
  • eslint-plugin-standard
  • fast-glob
  • grunt
  • grunt-cli
  • jquery
  • moment
  • null-loader
  • prettier

Questions: We are conducting a research study on the unused packages in JS projects. We were curious:

  1. Will you remove the unused packages mentioned above? (Yes/No), and why?:
  2. Do you have any additional comments? (If so, please write it down):

For any publication or research report based on this study, we will share all responses from developers in an anonymous way. Both your projects and personal information will be kept confidential.

Rationale: When a JS application depends on too many packages, its attack surface can grow dramatically; hackers can get a higher chance of successfully exploiting the vulnerabilities inside those packages and escalating the potential damage. Therefore, JS application developers are recommended to remove unused packages from their projects, in order to eliminate the security risks unnecessarily incurred by those packages.

Steps to reproduce:

  • Execute the “npx depcheck” command to print the list of all the unused dependencies

Suggested Solution: Please look at the unused dependencies list and uninstall them if they do not find them necessary.

Resources:
https://www.npmjs.com/package/depcheck

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions