Closed
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
@aws-sdk/client-s3 3.529.0 no longer lists fast-xml-parser as a dependency, even though it's used at runtime (and is not bundled in the compiled javascript).
This causes module not found errors.
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v18.19.1
Reproduction Steps
mkdir test && cd test
npm init -y && npm add @aws-sdk/client-s3
echo 'new require("@aws-sdk/client-s3").S3Client();' > test.js
node test.js
Observed Behavior
node:internal/modules/cjs/loader:1137
throw err;
^
Error: Cannot find module 'fast-xml-parser'
Expected Behavior
No errors
Possible Solution
Re-add fast-xml-parser to dependencies or bundle fast-xml-parser with build.
Additional Information/Context
No response