signature-v4 has a transitive dependency aws-crt#1.12.4 which has a size of 600MB+
See original GitHub issueDescribe the bug
Our container image size has grown to a size of 1.2 GB
, investigating the issue I found that aws-crt#1.12.4
is the source of the issue.
Using aws-crt#1.12.3
has a normal size, by adding to package.json
:
"resolutions": {
"aws-crt": "1.12.3"
}
I got:
Used package version: @aws-sdk/signature-v4-crt@3.110.0
Expected Behavior
I expect to have a package size of:
Disk size with transitive dependencies: "36.52MB"
Current Behavior
I get a huge size of package:
Disk size with transitive dependencies: "633.91MB"
Reproduction Steps
rm -rf node_modules yarn.lock package-lock.json && yarn
yarn why aws-crt
- See that the size of package is 600MB+
Possible Solution
in signature-v4 package, change package.json
"aws-crt": "^1.12.2"
to "aws-crt": "1.12.3"
until a proper release of aws-crt
is out.
Additional Information/Context
No response
SDK version used
@aws-sdk/signature-v4-crt@3.110.0
Environment details (OS name and version, etc.)
Fedora 36
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks @RanVaknin @sbSteveK , size is back to normal
Thank you @RanVaknin