Skip to content

aws-sdk-client-mock dependency is out of date with aws s3 client types #1344

@sotojn

Description

@sotojn

Problem

I tried updating @aws-sdk/client-s3 and came across some test failures related to types with aws-sdk-client-mock mock client. After looking at the package.json of the mock library, I noticed it is extremely out of date with its aws dependencies:

[email protected]

 "devDependencies": {
    "@aws-sdk/client-dynamodb": "3.363.0",
    "@aws-sdk/client-s3": "3.363.0",
    "@aws-sdk/client-sns": "3.363.0",
    "@aws-sdk/client-sqs": "3.363.0",
    "@aws-sdk/lib-dynamodb": "3.363.0",
    "@aws-sdk/util-dynamodb": "3.363.0",
    "@smithy/types": "1.1.0",
    "typedoc": "0.25.13"
  },

We are trying to update from @aws-sdk/client-s3 version 3.873.0 to 3.884.0 and @smithy/node-http-handler from 4.1.1 to 4.2.0.

Potenital Solutions

  • Fork aws-sdk-client-mock update the dependencies and submit a PR.
  • Still fork and maintain our own version of this repo
  • Replace the s3 client all together with options such as:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions