Skip to content

fast-xml-parser not listed as a dependency of @aws-sdk/client-s3 #5866

Closed
@lineape

Description

@lineape

Checkboxes for prior research

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

Metadata

Metadata

Assignees

Labels

bugThis issue is a bug.p1This is a high priority issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions