Forum Discussion
Visual Object - node modules vulnerabilities
Hi jay-jay ,
1.
There are some requirements and tests before a Power BI visual certified.
You may refer to the blogs as below.
For reference:
Test a Power BI visual before submitting it
2.
This PR enables using the existing --production flag when running npm audit. Using this flag will ignore dev dependencies when assigning the requires constant that is passed to audit.generate.
For reference: Enable production flag for npm audit
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- jay-jay4 years agoFrequent Visitor
I read the documentation about certification requirements and one requirement is "the visual must not have vulnerabilities", but it is not guaranteed the visual will not have some in the future.
I cloned the chicletSlicer code from github. The visual is developed with an old version of powerbi-visuals-tools: "npm i" finds some vulnerabilities, on the contrary "npm i --production" doesn't find anything (all packages are in devDependencies). So can I suppose there are not vulnerabilities when I build the component through "pbiviz package" or do I have to set some configuration files?