Skip to content

lib-dynamodb v3.666.0 throws error on getting database data (possible regression)Β #6549

@samuel-pipelaunch

Description

@samuel-pipelaunch

Checkboxes for prior research

Describe the bug

Was working perfectly before updating to the latest version.
Now throws error each time I want to read a value from a dynamoDB

Regression Issue

  • Select this option if this issue appears to be a regression.

SDK version number

@aws-sdk/[email protected]

Which JavaScript Runtime is this issue in?

Node.js

Details of the browser/Node.js/ReactNative version

node v20

Reproduction Steps

  • Install the version v3.666.0
  • Compile with serverless-esbuild": "^1.54.3
  • Try to read data const res = await ddbClient.send(new GetCommand(params));

Observed Behavior

TypeError: (0 , import_core29.setFeature) is not a function  at <anonymous> (/node_modules/@aws-sdk/lib-dynamodb/dist-cjs/index.js:147:25)  at <anonymous> (/node_modules/@aws-sdk/client-dynamodb/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:34:28)  at <anonymous> (/node_modules/@aws-sdk/lib-dynamodb/dist-cjs/index.js:490:24)   at _DynamoDBClient.send (/node_modules/@aws-sdk/client-dynamodb/node_modules/@smithy/smithy-client/dist-cjs/index.js:126:14)

Expected Behavior

Do not throw errors

Possible Solution

No response

Additional Information/Context

No response

Metadata

Metadata

Assignees

Labels

bugThis issue is a bug.closing-soonThis issue will automatically close in 4 days unless further comments are made.p2This is a standard priority issuepotential-regressionMarking this issue as a potential regression to be checked by team member

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions