Fix security vulnerabilities by upgrading dependencies#3616
Open
Fix security vulnerabilities by upgrading dependencies#3616
Conversation
- Upgrade @aws-sdk/client-s3 from ^3.600.0 to ^3.894.0 - Upgrade @aws-sdk/client-sts from 3.614.0 to ^3.894.0 - Upgrade ajv from ^8.6.3 to ^8.18.0 This resolves the vulnerable fast-xml-parser@4.2.5 transitive dependency from older AWS SDK versions and addresses ajv security issues. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Update test to properly mock @aws-sdk/client-sts v3.894.0 by using jest.mock() factory functions and importing mocked modules at the top. This ensures compatibility with the upgraded AWS SDK. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3616 +/- ##
==========================================
+ Coverage 80.34% 80.71% +0.37%
==========================================
Files 1283 1593 +310
Lines 23583 30517 +6934
Branches 4728 6592 +1864
==========================================
+ Hits 18947 24632 +5685
- Misses 3755 4994 +1239
- Partials 881 891 +10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| "license": "MIT", | ||
| "devDependencies": { | ||
| "ajv": "^8.6.3", | ||
| "ajv": "^8.18.0", |
Contributor
There was a problem hiding this comment.
Just want to make sure this bump doesn't impact any functionalities. Since this is a minor version bump, not expecting many surprises. But it would good to look a the change long once and confirming
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This resolves the vulnerable fast-xml-parser@4.2.5 transitive dependency from older AWS SDK versions and addresses ajv security issues.
Testing
Include any additional information about the testing you have completed to
ensure your changes behave as expected. For a speedy review, please check
any of the tasks you completed below during your testing.
Security Review
Please ensure sensitive data is properly protected in your integration.
type: 'password'New Destination Checklist
verioning-info.tsfile. example