8000
Skip to content

Stop requiring eslint as a production dependency#15

Merged
smusali merged 1 commit intologdna:masterfrom
s100:patch-1
Jun 25, 2020
Merged

Stop requiring eslint as a production dependency#15
smusali merged 1 commit intologdna:masterfrom
s100:patch-1

Conversation

@s100
Copy link
Copy Markdown
Contributor
@s100 s100 commented Jun 25, 2020

It appears that logdna-bunyan does not use eslint at run time, only for linting at development time, so this PR removes that dependency.

This PR is motivated by a prototype pollution vulnerability in lodash, which eslint has a dependency on, and which lodash's maintainers seem not to be acting on. By eliminating eslint as a production dependency, we eliminate the transitive dependency on lodash.

@smusali smusali self-requested a review June 25, 2020 17:07
@smusali smusali self-assigned this Jun 25, 2020
@smusali smusali added bug Something isn't working enhancement New feature or request labels Jun 25, 2020
Copy link
Copy Markdown
Contributor
@smusali smusali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for reporting this, @s100! I will update the package and let you know!

@smusali smusali merged commit 6854142 into logdna:master Jun 25, 2020
@smusali
Copy link
Copy Markdown
Contributor
smusali commented Jun 25, 2020

@s100, we have just released the newest patch version including this change. Thanks again for reporting and fixing this!

@s100 s100 deleted the patch-1 branch June 26, 2020 08:31
@s100
Copy link
Copy Markdown
Contributor Author
s100 commented Jun 26, 2020

Thank you for acting promptly!

8B2E

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0