sha-256 compilation warning
peterpeterparker opened this issue · comments
Describe the bug
Noticed this warning while building a dapp today:
transforming (182) node_modules/@dfinity/agent/lib/esm/canisters/management_idl.jsUse of eval in "node_modules/js-sha256/src/sha256.js" is strongly discouraged as it poses security risks and may cause issues with minification.
Use of eval in "node_modules/js-sha256/src/sha256.js" is strongly discouraged as it poses security risks and may cause issues with minification.
transforming (220) node_modules/@dfinity/candid/lib/esm/utils/bigint-math.jsUse of eval in "node_modules/js-sha256/src/sha256.js" is strongly discouraged as it poses security risks and may cause issues with minification.
Use of eval in "node_modules/js-sha256/src/sha256.js" is strongly discouraged as it poses security risks and may cause issues with minification.
Expected behavior
No security risk and no warning.