[Snyk] Security upgrade @aws-sdk/client-s3 from 3.622.0 to 3.894.0#1020
[Snyk] Security upgrade @aws-sdk/client-s3 from 3.622.0 to 3.894.0#1020
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-FASTXMLPARSER-15307668 - https://snyk.io/vuln/SNYK-JS-FASTXMLPARSER-15324289 - https://snyk.io/vuln/SNYK-JS-FASTXMLPARSER-15353391
There was a problem hiding this comment.
Pull request overview
Upgrades the AWS S3 client dependency to address Snyk-reported vulnerabilities (notably via updated transitive fast-xml-parser) in this Node.js CLI/service.
Changes:
- Bump
@aws-sdk/client-s3from the previous 3.x range to^3.894.0inpackage.json. - Regenerate
package-lock.jsonto resolve the upgraded AWS SDK dependency graph (including patched transitive dependencies).
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Updates the declared @aws-sdk/client-s3 version requirement. |
| package-lock.json | Updates the resolved dependency tree to @aws-sdk/client-s3@3.894.0 and related transitive packages. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "@aws-sdk/client-s3": "^3.504.0", | ||
| "@aws-sdk/client-s3": "^3.894.0", | ||
| "@google-analytics/data": "^4.12.0", | ||
| "@smithy/node-http-handler": "^3.0.0", |
There was a problem hiding this comment.
After bumping @aws-sdk/client-s3 to 3.894.0, the lockfile now contains AWS SDK’s @smithy/node-http-handler v4.x while this project still depends on @smithy/node-http-handler ^3.0.0. Since src/publish/s3.js imports NodeHttpHandler from the top-level dependency, it will resolve to v3.x and be passed into an SDK that expects the v4/v5 Smithy protocol stack, which can cause runtime incompatibilities. Update the direct dependency to a compatible v4.x range (or remove the direct dependency and use a handler implementation that matches the SDK’s Smithy version) and regenerate the lockfile.
| "@smithy/node-http-handler": "^3.0.0", | |
| "@smithy/node-http-handler": "^4.0.0", |
Snyk has created this PR to fix 3 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
package.jsonpackage-lock.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-FASTXMLPARSER-15307668
SNYK-JS-FASTXMLPARSER-15324289
SNYK-JS-FASTXMLPARSER-15353391
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Incorrect Regular Expression