This PR silences webpack warnings for mongodb optional dependencies
Changes
warning mongodb-client-encryption can't resolve is silenced. This library allows to encrypt fields (password for example) and isn't used in Hastic
warning saslprep can't resolve is silenced. This library normalizes username и password. It can parse utf-8 symbols. Example in picture:
. It's not used in Hastic.
Fixes #820
This PR silences webpack warnings for mongodb optional dependencies
Changes
mongodb-client-encryption can't resolve
is silenced. This library allows to encrypt fields (password for example) and isn't used in Hasticsaslprep can't resolve
is silenced. This library normalizes username и password. It can parse utf-8 symbols. Example in picture: . It's not used in Hastic./mongodb/core/index.js
is silenced. This warning is displayed becausemongodb
usesrequire_optional
plugin. See more about this warning: https://github.com/Automattic/mongoose/issues/7476#issuecomment-461839020