Update vulnerabilities dependencies #110
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
Current dependency has 6 vulnerabilities.
This problem reported from nom install后有异常 hexo/#3215.
Below is full report.
Fix
1. Update dependencies
Update dependencies package which contain vulnerabilities. Delete jscs. Current jscs has vulnerabilities and it can delete if versionup eslint.
2. Fix eslint style errors
After update eslint, code has some style error.
Fix eslint style and disable no-useless-escape of eslint rule on repository regular expression line.
About the latter a default eslint setting display no-useless-escape error, but the regular expression it seems correct. So, I ignore the line.