Skip to content
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

upgrade moment dependency because CVE-2017-18214 #581

Closed
wants to merge 1 commit into from

Conversation

omkelderman
Copy link

github started to give me the following warning in my own repo:

The moment dependency defined in package-lock.json has a known moderate severity security vulnerability in version range < 2.19.3 and should be updated.

Turned out that my dependency on bunyan, which has dependency on moment, caused this.

I know its listed as an optional dependency, and I assume its only used in the cli-code to display logs. So it probably only is a problem if someone starts editing log files and runs it through the cli or something. But nontheless, I dont think upgrading the dependency does any harm and it'll (hopefully) get rid of vulnerability warnings like the one I mentioned that is currently sitting on my github repo.

(The package-lock.json file is there because npm generated it for me, I figured I'd add it as well, since you're suppose to do that with package-lock.json files, but if you dont want it, or if that isnt aplicable to library projects, lemmy know and I'll take it out)

@omkelderman
Copy link
Author

oh wait, looks like PR's of this already exist, oops, only looked through issues and could find anything...

@trentm
Copy link
Owner

trentm commented Jun 29, 2020

Thanks. I've merged effectively this change via #558

(FYI on the delay in my responding: #335 (comment))

@trentm trentm closed this Jun 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants