-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
fix: security vulnerabilities #78
fix: security vulnerabilities #78
Conversation
cli.js
Outdated
@@ -32,7 +32,7 @@ if (!asyncapiFile) { | |||
program.help(); // This exits the process | |||
} | |||
if (!version) { | |||
version = '2.1.0'; | |||
version = '2.2.0'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this related to fixing security vulnerabilities? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No but while testing cli I noticed that without specifying the version it converts the spec to 2.1.0 and not to the latest version 2.2.0. We overlooked this in the previous release :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh ok. I'd say you should be opening another PR for that change but I'm not going to block you for that. Just please take this into account for future PRs. If we had to revert this PR for some reason, we could forget about keeping this change that's not related to the purpose of the PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I will open another PR with that. Could you accept again? :) Thanks!
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
🎉 This PR is included in version 0.6.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Fix security vulnerabilities:
mocha
package to thedevDependencies
npm run audit
:Also update default version to convert from
2.1.0
to2.2.0
.Related issue(s)
Resolves #77