Problem
CodiMD uses @aws-sdk/client-s3-node v0.1.0-preview.2 for S3 image uploads. This package was a preview release of AWS SDK v3 and has since been renamed to @aws-sdk/client-s3 upon its stable release.
The preview package is no longer maintained and receives no bug fixes or security patches.
Proposed Solution
Update the deprecated preview package to the currently maintained stable release.
|
Current |
Proposed |
| Package |
@aws-sdk/client-s3-node |
@aws-sdk/client-s3 |
| Version |
0.1.0-preview.2 |
^3.x (latest stable) |
The module structure changed between the preview and stable releases, so the import paths in lib/imageRouter/s3.js will also need to be updated.