-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Babel CLI vulnerability in Javascript ES6 generator #3393
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
Labels
Comments
👍 Thanks for opening this issue! The team will review the labels and make any necessary changes. |
@freemanchen would you like to file a PR? |
@macjohnny Sure, but I probably won't get around to it until Monday. |
4 tasks
@macjohnny PR has been created. Thanks. |
@freemanchen thanks a lot! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Description
The babel upgrades done to the Javascript Flowtyped generator are needed in the Javascript ES6 generator as well. The 6.26.0 version of babel-cli causes a lot of
npm audit
vulnerabilitiesopenapi-generator version
Using the latest 4.0.3 release, ES6 Javascript generator
OpenAPI declaration file content or url
Command line used for generation
Running the following command in a CI step:
Running an
npm audit
returns many vulnerabilities similar to the following:Steps to reproduce
npm install
npm audit
will warn about vulnerabilities due to dependencies ofbabel-cli
Related issues/PRs
#3121
Fixed for Javascript-Flowtyped generator in this previous PR by upgrading to
@babel/cli: ^7.0.0
along with other related packages.Suggest a fix/enhancement
Upgrade the same babel packages for the Javascript ES6 generator here: https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/Javascript/es6/package.mustache
The text was updated successfully, but these errors were encountered: