Skip to content

Move babel dependencies in devDependencies #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dmnsgn opened this issue Oct 8, 2021 · 1 comment
Open

Move babel dependencies in devDependencies #3

dmnsgn opened this issue Oct 8, 2021 · 1 comment

Comments

@dmnsgn
Copy link

dmnsgn commented Oct 8, 2021

"dependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"body-parser": "^1.18.2",
"rimraf": "^2.6.2"
},

None of this dependencies are actually required for the module to function but including them in dependencies instead of devDependencies means they'll get installed - extraneously - alongside your module and potentially trigger security warning such as #1 .

MarkusDeutschmann added a commit to MarkusDeutschmann/express-request-queue that referenced this issue Jan 6, 2022
removed unused bode-parser dependency
moved other dependencies from dependencies to devDependencies
as they are only used for build
@MarkusDeutschmann
Copy link

Hi @jeescu,
created pull request #4 to solve it.
Could you please merge and release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants