You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting the following warnings with firefox web extension linter:
DANGEROUS_EVAL The Function constructor is eval.
UNSAFE_VAR_ASSIGNMENT Unsafe assignment to innerHTML
DANGEROUS_EVAL
The reason for dangerous eval is due to the lodash library, which uses the following line: const root = freeGlobalThis || freeGlobal || freeSelf || Function('return this')()
UNSAFE_VAR_ASSIGNMENT
The reason for unsafe var assignment is due to certain functions within the react library. The purpose of these functions appear to be to ensure cross browser compatibility. Below is a code snippet:
// IE does not have innerHTML for SVG nodes, so instead we inject the
// new markup in a temp node and then move the child nodes across into
// the target node
reusableSVGContainer = reusableSVGContainer || document.createElement('div');
reusableSVGContainer.innerHTML = '<svg>' + html.valueOf().toString() + '</svg>';
The text was updated successfully, but these errors were encountered:
Getting the following warnings with firefox web extension linter:
DANGEROUS_EVAL
The reason for
dangerous eval
is due to the lodash library, which uses the following line:const root = freeGlobalThis || freeGlobal || freeSelf || Function('return this')()
UNSAFE_VAR_ASSIGNMENT
The reason for
unsafe var assignment
is due to certain functions within the react library. The purpose of these functions appear to be to ensure cross browser compatibility. Below is a code snippet:The text was updated successfully, but these errors were encountered: