-
Notifications
You must be signed in to change notification settings - Fork 919
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
[1.3][CVE-2021-23364] Bump browserslist from 4.12.0 to 4.21.10 #5023
Conversation
aab1a81
to
4970cd0
Compare
Codecov Report
@@ Coverage Diff @@
## 1.3 #5023 +/- ##
=======================================
Coverage 67.50% 67.50%
=======================================
Files 3044 3044
Lines 58692 58691 -1
Branches 8902 8902
=======================================
Hits 39619 39619
+ Misses 16925 16924 -1
Partials 2148 2148
Flags with carried forward coverage won't be shown. Click here to find out more. |
packages/osd-plugin-helpers/src/integration_tests/build.test.ts
Outdated
Show resolved
Hide resolved
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.
osd-optimizer is an internal package - I think bumping deps that only occur there should be totally fine.
packages/osd-plugin-helpers/src/integration_tests/build.test.ts
Outdated
Show resolved
Hide resolved
8f30c19
to
b5b8024
Compare
b5b8024
to
9f122d5
Compare
Signed-off-by: ananzh <ananzh@amazon.com>
9f122d5
to
f5b6062
Compare
See testing issue. Temporarily make it as a draft. Since |
I added some logs in packages/osd-optimizer/src/optimizer/handle_optimizer_completion.ts and see errors is from the mock
Due to
But honestly this Here is the new log after comment out
@AMoo-Miki need your help here |
With the
SemVer
philosophy, when releasing a patch version, it should not introduce breaking changes, which includes bumping a dependency to its major version. To solve this CVE, we need to bump both browserslist.browserslist
is not a direct dependency or dev dependency in any OSD or OSD node modules. It is not included in release artifact. Bumping it should not breakSemVer
rule.Description
We don't need to bump
autoprefixer
becausebrowserslist
version < 4.0.0 is not affected by this CVE. Bumpbrowserslist
directly in yarn.lock.Issues Resolved
CVE-2021-23364
Check List
yarn test:jest
yarn test:jest_integration
yarn test:ftr