Which practice reduces the risk of supply-chain attacks when adding npm packages to a React Native project?
-
A
Pinning exact dependency versions and using a lockfile committed to source control
-
B
Using the latest tag for all dependencies to get security patches automatically
-
C
Installing only packages with more than 1,000 weekly downloads
-
D
Disabling peer dependency warnings in npm config