-
Notifications
You must be signed in to change notification settings - Fork 915
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
Bump axios to 0.28.0 in 2.x #6147
Conversation
d567ca2
to
3198ab3
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 2.x #6147 +/- ##
==========================================
- Coverage 67.16% 67.15% -0.02%
==========================================
Files 3330 3330
Lines 64313 64313
Branches 10273 10273
==========================================
- Hits 43199 43190 -9
- Misses 18611 18621 +10
+ Partials 2503 2502 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
3198ab3
to
0726497
Compare
CHANGELOG.md
Outdated
@@ -10,6 +10,8 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) | |||
|
|||
### 🛡 Security | |||
|
|||
- [CVE-2023-45857] Bump `axios` from `0.27.2` to `0.28.0` ([#5470](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/5470)) |
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.
Do we want to update the PR number here? or separate changelog for just the axios?
@@ -37,7 +37,7 @@ import { ToolingLog } from '../tooling_log'; | |||
|
|||
const isConcliftOnGetError = (error: any) => { | |||
return ( | |||
isAxiosResponseError(error) && error.config.method === 'GET' && error.response.status === 409 | |||
isAxiosResponseError(error) && error.config?.method === 'GET' && error.response.status === 409 |
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.
Would like some comment here, is there any breaking change in axios in v0.28 that it may not bring config when throw error?
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.
Their changelog doesn't document any breaking changes; this is more than likely just fine tuning of the types def.
0726497
to
1856601
Compare
* bump oui to 1.5.1 Signed-off-by: Ashwin P Chandran <[email protected]> * Updates changelog --------- Signed-off-by: Ashwin P Chandran <[email protected]> (cherry picked from commit bd75107) Signed-off-by: Miki <[email protected]>
Signed-off-by: Miki <[email protected]>
1856601
to
2ec92c3
Compare
Description
Addresses CVE-2023-45857 with [email protected].
Note 1: You might notice that axios@^1.13 which is dep of chromedriver also got a version bump. Being a nested dep, it is nothing to be reported on.
Note 2: Not backporting to 1.3; i will raise one there separately.
Check List
yarn test:jest
yarn test:jest_integration