-
Notifications
You must be signed in to change notification settings - Fork 634
Closed
Labels
feature-requestNew feature or enhancement. May require GitHub community feedback.New feature or enhancement. May require GitHub community feedback.p3This is a minor priority issueThis is a minor priority issuequeuedThis issues is on the AWS team's backlogThis issues is on the AWS team's backlog
Description
Checkboxes for prior research
- I've gone through Developer Guide and API reference
- I've checked AWS Forums and StackOverflow.
- I've searched for previous similar issues and didn't find any solution.
Describe the bug
We have the following dependency chain:
@aws-sdk/client-s3@npm:3.682.0
->@aws-crypto/sha1-browser@npm:5.2.0
-> @smithy/util-utf8@npm:2.3.0
Which is not compatible with other SDK packages' chains, e.g.:
@aws-sdk/client-dynamodb@npm:3.682.0
->@smithy/util-utf8@npm:3.0.0
@aws-sdk/client-iot
->@smithy/util-utf8@npm:3.0.0
@aws-sdk/middleware-sdk-s3@npm:3.682.0
->@smithy/util-utf8@npm:3.0.0
- ...
This causes two different versions of @smithy/util-utf8
and its dependecies to be bundled in our app.
There are also issues with some semver declarations in other packages, e.g.:
@aws-sdk/client-sqs@npm:3.682.0
->@aws-sdk/middleware-sdk-sqs@npm:3.679.0
(3.679.0
is fixed).
Regression Issue
- Select this option if this issue appears to be a regression.
SDK version number
@aws-sdk/*@3.682.0
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v21.7.3
Reproduction Steps
N/A.
Observed Behavior
See description.
Expected Behavior
Versioning of the SDK packages to be consistent to avoid different versions of modules being bundled together.
Possible Solution
Make sure all packages are bumped together and that correct semver syntax is being used when declaring dependencies.
In the meantime, we are using Yarn Resolutions to mitigate. However, this is risky across major versions like in the case of @smithy/util-utf8@npm:2.3.0
/@smithy/util-utf8@npm:3.0.0
.
Additional Information/Context
N/A.
Metadata
Metadata
Assignees
Labels
feature-requestNew feature or enhancement. May require GitHub community feedback.New feature or enhancement. May require GitHub community feedback.p3This is a minor priority issueThis is a minor priority issuequeuedThis issues is on the AWS team's backlogThis issues is on the AWS team's backlog