Skip to content
This repository has been archived by the owner on Apr 16, 2022. It is now read-only.

Updating package dependencies to fix DoS vulnerability #232

Merged
merged 4 commits into from
Apr 3, 2019

Conversation

acolombier
Copy link
Contributor

Update dependency js-yaml to fix medium security issue. Snyk report here

Copy link
Owner

@martysweet martysweet left a comment

Choose a reason for hiding this comment

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

Hi @acolombier,

Thanks for your contribution to patch this vulnerability with a dependency! The build failed as js-yaml was moved out of the dependencies to devDependencies, however, it is used at runtime.

Marty

package.json Outdated
"dependency-check": "^2.9.1",
"proxyquire-2": "^1.0.7"
"js-yaml": "^3.13.0",
Copy link
Owner

Choose a reason for hiding this comment

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

This should be a dependency, not dev dependency.

@acolombier acolombier force-pushed the feature/security-fix branch from 7aaff61 to 0e57a85 Compare April 2, 2019 10:10
@acolombier
Copy link
Contributor Author

Hi @martysweet

Sorry about the mistake. I fixed it and also had to lock mocha to version 5 since they droped support of Node 4 LTS. I also updated the CHANGELOG so it hopefully save you some time! :)

Antoine

@martysweet martysweet added this to the v1.9.7 milestone Apr 3, 2019
@martysweet martysweet merged commit 9107006 into martysweet:master Apr 3, 2019
@martysweet
Copy link
Owner

Thanks @acolombier, this will be released shortly.

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

Successfully merging this pull request may close these issues.

2 participants