Component has multiple warnings with severity 'moderate' via npm audit #3995
Labels
Bot Services
Required for internal Azure reporting. Do not delete. Do not change color.
bug
Indicates an unexpected problem or an unintended behavior.
customer-reported
Required for internal Azure reporting. Do not delete.
Version
4.14.0 (via NPM)
Describe the bug
In the custom visual that I am developing, it is not allowed to have any
npm audit
warning of a severity 'moderate' or higher.It seems that there are a few due to
node-fetch
andsanitize-html
, however I am not able to resolve them vianpm audit fix
as well. I didn't check the security (CVE) details yet, however I would say that it should be possible to update these dependencies in some way.When I use
npm audit fix --force
, it will downgrade botframework-webchat from^4.14.0
to^0.15.0
. And I haven't been able to understand why, yet... They mention it in the log below as well.I am not 100% sure if this is an issue in the WebChat, or if I am doing something wrong, but I wonder if this is something someone has seen more often.
Steps to reproduce
git clone https://github.com/iMicknl/powerbi-botframework-chat-transcripts.git
cd powerbi-botframework-chat-transcripts.git
npm audit
npm audit fix
npm audit fix--force
Expected behavior
No severity moderate warning, or a way to resolve them.
Additional context
Issue after
npm audit fix
Output of
npm audit
(which mentions downgrade to 0.15.0)[Bug]
The text was updated successfully, but these errors were encountered: