Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4801

MongoDB Driver 4.11.0 unexpectedly installs a lot of @aws-sdk/* dependencies

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: 4.11.0
    • Component/s: None
    • None
    • Not Needed
    • Not Needed

      What problem are you facing?

      After a routine upgrade to 4.11.0 observe a lot of `@aws-sdk/*` packages appearing in `package-lock.json`.

      These were added here https://github.com/mongodb/node-mongodb-native/commit/b879cb590e1c1880d12522aea2a3ac3a66e6031d as optional dependencies. However, npm installs optional dependencies by default, so at the time of writing there is no simple way of avoiding downloading a lot of useless dependencies.

      What driver and relevant dependency versions are you using?

      4.11.0

      Steps to reproduce?

      Just install `mongodb@4.11.0` and observe a lot of `@aws-sdk` entries in `package-lock.json`.

            Assignee:
            Unassigned Unassigned
            Reporter:
            boris.okunskiy@ub.io Boris Okunskiy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: