-
Notifications
You must be signed in to change notification settings - Fork 647
Closed
Labels
bugThis issue is a bug.This issue is a bug.
Description
Describe the bug
This otherwise innocuous package includes react-native-get-random-values, which in turn installs all of react-native. It's listed as a production dependency, though it does not appear to be used.
Its adds over 100mb to the install size of the dynamodb-client
❯ npm ls react-native
[email protected] /Users/kyeotic/dev/dynamo-butter
└─┬ @aws-sdk/[email protected]
└─┬ @aws-sdk/[email protected]
└─┬ [email protected]
└─┬ [email protected]
└─┬ @react-native-community/[email protected]
└── [email protected] deduped
I understand that this is done to handle this issue while running in certain environments, but this is a nuclear solution. I think it would be better to push this onto apps that need it, or find a uuid package that doesn't require all of react-native to be installed.
For users in node environments this is a huge counter to the modular nature of this sdk.
jpolo, patchu, andreas-bergstrom, lucasff, coderbyheart and 9 more
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.