-
Notifications
You must be signed in to change notification settings - Fork 440
TEZ-4422 : [CVE-2021-43138] Upgrade async from 2.3.0 to 2.6.4 #217
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -374,7 +374,7 @@ | |
| </goals> | ||
| <configuration> | ||
| <nodeVersion>${nodeVersion}</nodeVersion> | ||
| <yarnVersion>v0.21.3</yarnVersion> | ||
| <yarnVersion>v1.6.0</yarnVersion> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is this related to async upgrade?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please confirm this one
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @abstractdog I confirm this change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I mean, this looks like a major version change of yarn, can you please let me know how is this related to the CVE patch (or is it necessary)?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @abstractdog The yarnVersion was changed since the selective dependency feature is only supported in yarn 1.0 and above. And yarnVersion of 1.6.0 is compatible with frontend maven plugin 1.8.0. That's why I did this change.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cool, thanks for clarifying @amanraj2520 ! |
||
| </configuration> | ||
| </execution> | ||
| <execution> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -62,5 +62,8 @@ | |
| }, | ||
| "dependencies": { | ||
| "em-tgraph": "0.0.14" | ||
| }, | ||
| "resolutions": { | ||
| "**/form-data/async": "2.6.4" | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -212,16 +212,16 @@ [email protected]: | |
| version "0.9.0" | ||
| resolved "https://registry.yarnpkg.com/async/-/async-0.9.0.tgz#ac3613b1da9bed1b47510bb4651b8931e47146c7" | ||
|
|
||
| [email protected], async@^2.0.1: | ||
| version "2.6.4" | ||
| resolved "https://registry.yarnpkg.com/async/-/async-2.6.4.tgz#706b7ff6084664cd7eae713f6f965433b5504221" | ||
| dependencies: | ||
| lodash "^4.17.14" | ||
|
|
||
| async@^1.0.0: | ||
| version "1.5.2" | ||
| resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" | ||
|
|
||
| async@^2.0.1: | ||
| version "2.3.0" | ||
| resolved "https://registry.yarnpkg.com/async/-/async-2.3.0.tgz#1013d1051047dd320fe24e494d5c66ecaf6147d9" | ||
| dependencies: | ||
| lodash "^4.14.0" | ||
|
|
||
| async@~0.2.6, async@~0.2.9: | ||
| version "0.2.10" | ||
| resolved "https://registry.yarnpkg.com/async/-/async-0.2.10.tgz#b6bbe0b0674b9d719708ca38de8c237cb526c3d1" | ||
|
|
@@ -3115,9 +3115,9 @@ lodash@^3.10.0, lodash@^3.6.0, lodash@^3.9.3: | |
| version "3.10.1" | ||
| resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6" | ||
|
|
||
| lodash@^4.14.0: | ||
| version "4.17.4" | ||
| resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" | ||
| lodash@^4.17.14: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is this related to async upgrade?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @abstractdog Yes these are related to async upgrade. The yark.lock file is automatically updated based on package.json. |
||
| version "4.17.21" | ||
| resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" | ||
|
|
||
| lodash@~2.3.0: | ||
| version "2.3.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 async upgrade?
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.
please confirm this one
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.
@abstractdog I confirm this change