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

XMLWordPrintableJSON

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

      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
            Reporter:
            Boris Okunskiy
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: