-
Type: Bug
-
Resolution: Duplicate
-
Priority: Unknown
-
None
-
Affects Version/s: 4.11.0
-
Component/s: 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`.
- duplicates
-
NODE-4736 Move AWS optional dependency to peerDependencies
- Closed